Dictionary.className2Id Method [AX 2012]

Provides the ID for a specified class, based on the class name.

public ClassId className2Id(str name)

Run On

Called

Parameters

name
Type: str
A string that indicates the class name.

Return Value

Type: ClassId Extended Data Type
A classId system data type value that indicates the class ID; 0 (zero) if you pass a name value for a nonexistent class.

Community Additions

ADD
Show: