Canada
pawan.deep55@gmail.com

Tag: github

D365 Finance & Operations

str2enum SalesStatus

Convert string into enum str2enum in x++

This post will explain how you can assign and convert string input either read from excel etc into enum type variable. For this example, we’ll be going to use SalesStatus Enum used in Sales order to define its current state. Enum has 2 key properties Name – enum element name Label – it is used …