I don't know if it has been posted before, but today I found this way to retrieve the OptionString values of a field using C/AL code (using NAV 5.0 SP1):
Name DataType Subtype Length
myRecRef RecordRef
myFieldRef FieldRef
myRecRef.OPEN(18); // Table Customer
myFieldRef := myRecRef.FIELD(39); // Field Blocked
MESSAGE(myFieldRef.OPTIONSTRING);
No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!