Label.labelId Method [AX 2012]

Returns the number included in a specified label ID.

public int labelId(str label)

Run On

Called

Parameters

label
Type: str
A string data type that specifies the label ID. The string must include the at sign (@) followed by a label file ID and a number.

Return Value

Type: int
An integer data type value that indicates the number included in a label ID.

You must call the searchFirst or searchNext method, and then pass the return value as a parameter to labelId.

Community Additions

ADD
Show: