Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Best Practices for Enum Properties [AX 2012]

Updated: December 6, 2011

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

The best practices for enum properties are shown in the following table. For more information about the properties, see Base Enum Properties.

Property

Rules

Name

An enum name must either indicate the possible enum values or indicate the type of the enum value.

Examples of enums that are named according to the possible values are InclExcl and NextPrevious.

Examples of enums that are named according to the type of the enum value are ArrivalPostingType and ListStatus.

If you try to create an enum with a name that has already been used for an enum in the previous version of Microsoft Dynamics AX, you will get an error. Error icon

Label

Mandatory.

Help

Mandatory.

The Help property should not be identical to the Label property; give the user a more thorough explanation.

DisplayLength

Set to Auto (to allow IntelliMorph features).


Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.

Community Additions

ADD
Show:
© 2015 Microsoft