How can I change the default value of a field in BC?

isabtogumonisabtogumon Member Posts: 49
Hi,

How can I change the value of a boolean field in a table or page?
For example, when adding a new item, by default the value of the Blocked field is false, but how can I change it to true in code since the Item Card is opened?

Answers

  • DenSterDenSter Member Posts: 8,307
    You can set the InitValue property in a table extension
  • isabtogumonisabtogumon Member Posts: 49
    Thanks @DenSter

    I tried to take your advice, but apparently the InitialValue property is not customizable in BC Cloud.

    I created a subscription to an event in the Items table where every time a new item is created the value of the field changes it to true.
Sign In or Register to comment.