Global::legacyID2Name Method [AX 2012]

Converts the legacy ID of an element to the name of an element.

Syntax

client server public static UtilElementName legacyID2Name(
    UtilElementType _type, 
    int _legacyId, 
   [UtilElementName _parentName])

Run On

Called

Parameters

  • _legacyId
    Type: int
    The legacy ID of the element.

Return Value

Type: UtilElementName Extended Data Type
The name of the element that has the specified legacy ID; otherwise, an empty string.

See Also

Reference

Global Class