I saw that Microsoft is changing standard Option fields into Enum, should we also be able to do it? For Example: in BC25 Could version we have Sales Header field “Document Type” = Enum “Sales Document Type”:
This is clearly an old field that before was an option and now is an Enum. But it hase same id(=1). If I open the sales order, and use Ctrl+Alt+F1, is still option as it was originally.
I have this Question: If this is a breaking change, replacing Option type of existing custom fields, with Enum type directly into existing fields, then why Microsoft is doing it? 🙂
PS I also found an AL extension.
https://community.dynamics.com/blogs/post/?postid=9680a1bf-535f-ee11-a81c-00224852432e
If you check this link, in the final printscreen it’s replacing existing Option with Enum 🙂
What do you think about this?
Behind the scene, in the database, option and enum are the same. Enum’s are mainly a way for AL code to better understand that you can have the option set in different places without having to define it for each place.
Thanks. I found your posting 🙂
https://www.youtube.com/watch?v=s-bccwTRKuM