Dictionary.enumCnt2Id Method [AX 2012]
Provides the ID of a specified enumeration type.
public EnumId enumCnt2Id(int cnt)
Run On
CalledParameters
- cnt
- Type: int
An integer that specifies an enumeration type, based on the order of enumeration types in Microsoft Dynamics AX.
Return Value
Type: EnumId Extended Data TypeAn enumId system data type value that indicates the enumeration type ID; 0 (zero) if you pass a cnt value that is larger than the number of classes that is returned by the Dictionary::enumCnt method.
Community Additions
ADD
Show: