AX – D365FO – Set NULL/Empty value as a default value on an enum type

It’s not possible to set an enum type with a null value

This is default behavior of Base Enumeration. By default if user doesn’t choose a value the index 0 is defaulted for new record.

If you want to achieve what you are looking for, you may add a third element in Base Enum, set third element as “Not Specified”. Make sure to keep your element “Not Specified” with Int Value 0 so it will be defaulted as default vale.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s