Posted inDynamics NAV & BC Tips & tricks
Tip #67 | Convert Option field to Enum Field
Today I was working on our ForNAV AppSource App and I decided to clean up some of the warnings that were introduced with BC16. This was about converting Options to Enums and vice versa. Converting an Enum into an Option is easy. Just add ToInteger() and…