Dictionary.licenseCodeCnt2Id Method [AX 2012]

Provides the ID of a specified license code.

public LicenseCodeId licenseCodeCnt2Id(int cnt)

Run On

Called

Parameters

cnt
Type: int
An integer that specifies a license code, based on the order of license codes in Microsoft Dynamics AX.

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 cnt value that is larger than the number of license codes that is returned by the Dictionary::licenseCodeCnt method.

Community Additions

ADD
Show: