Dictionary.licenseCodeName2Id Method [AX 2012]

Provides the ID for a specified license code, based on the license code name.

public LicenseCodeId licenseCodeName2Id(str name)

Run On

Called

Parameters

name
Type: str
A string that indicates the license code name.

Return Value

Type: LicenseCodeId Extended Data Type
A licenseCodeId system data type value that indicates the license code ID; 0 (zero) if you pass a name value for a nonexistent license code.

Community Additions

ADD
Show: