Compartilhar via


Base Enum Properties

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

The following table describes the properties available for enums.

Property

Description

New in this version of
 Microsoft Dynamics AX

AnalysisUsage

Identifies the role of the enumeration in a cube. This setting is automatically propagated to all table fields that reference the enumeration. However, the setting can be overridden on the table field. Specify one of the following values.

  • Attribute - A field that references the enumeration is a dimension attribute.

  • None - A field that references the enumeration is not a dimension attribute.

ConfigurationKey

Sets the configuration key.

CountryRegionCodes

Specifies the country region code(s) where the view is applicable or valid. The client framework and application may make use of this property to enable or disable country or region specific features. This is implemented as a comma-separated list of ISO country codes in a single string. The values must match data contained in the global address book.

AX 2012

DisplayLength

Sets the number of characters displayed.

Default value is Auto.

Help

Creates a Help string for the field. The Help string displays when the field is used in a form.

Label

Specifies a label that will be shown in forms and reports.

Model

Specifies which model the table is in.

A model is a logical grouping of elements in a layer. An element can exist in exactly one model in a layer. Examples of elements are a table or class. The same element can exist in a customized version in a model in a higher layer.

AX 2012

Name

Specifies the enum name.

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

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

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

Style

Changes the default display of the enum. The options are as follows:

  • Combo box

  • Radio button

UseEnumValue

Indicates that default EnumValue property values were modified if set to Yes. Resets the EnumValue property to default values if set to No.

See also

Best Practices for Enum Properties

Enums

Data Dictionary Node in the AOT