December 2019
Beginner to intermediate
770 pages
16h 14m
English
A field of the option type is used in Dynamics 365 Business Central to define a field that provides a fixed and predefined list of values.
When you define an option field, you define the admitted values for that field in the following way:
field(5; LicenseType; Option){ OptionMembers = " ","Full","Limited"; OptionCaption = ' ,Full,Limited'; Caption = 'License Type'; DataClassification = CustomerContent;}
In the preceding code, we can see that the OptionMembers property contains the predefined value for the field. Here, the License Type field contains three values (blank, Full, Limited), and blank (the first value) is the default one.
But what if you want to extend these options, for example, by adding a new ...
Read now
Unlock full access