Показать сообщение отдельно
Старый 08.05.2020, 17:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,491 / 846 (79) +++++++
Регистрация: 28.10.2006
mark_brummel: Tip #67 | Convert Option field to Enum Field
Источник: https://dynamicsuser.net/nav/b/mark_...-to-enum-field
==============

So much to blog about. Insane. Our world has never changed so fast. Never. 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 you’re done. But how about the other way around? An implicit conversion is being performed from a value of type 'Option' to a value of type 'Enum...(read more)

Источник: https://dynamicsuser.net/nav/b/mark_...-to-enum-field
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.