Configure X++ enum data types for more than 251 values

Important

This content is archived and is not being updated. For the latest documentation, go to What's new or changed in Finance and Operations apps home page. For the latest release plans, go to Dynamics 365, Power Platform, and Cloud for Industry release plans.

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Sep 1, 2023 -

Business value

Currently in finance and operations apps you can declare up to 251 (0 to 250) enum values in a single X++ enum type. However, industry enhancements demand a higher number of enum values to be configurable. Some areas, such as LedgerPostingTypes, get trimmed due to the 251 value size limitation. Removing the value limitation will provide more flexibility so that you can declare as many enum values as needed.

Feature details

In the 2023 release wave 1 plan, we are providing the capability to remove the enum value restriction. That way, enums that require more than 251 values, such as LedgerPostingTypes, can be successfully configured.

See also

Write extensible enums (docs)