Dictionary.enumName2Id Method [AX 2012]

Provides the ID of a specified enumeration, based on the name.

public EnumId enumName2Id(str name)

Run On

Called

Parameters

name
Type: str
A string that indicates the name of an enumeration.

Return Value

Type: EnumId Extended Data Type
An enumId system data type value that indicates the ID of the enumeration.

Community Additions

ADD
Show: