AxdBase.getLabel Method [AX 2012]

Returns the label that corresponds to the localized document name.

public abstract LabelString getLabel()

Run On

Server

Return Value

Type: LabelString Extended Data Type
The label that corresponds to the localized document name.

The getLabel method is abstract on the AxdBase class, and must be implemented by all derived classes. For example, AxdSalesOrder.getLabel Method.

The following example shows how to get the label for AxdSalesOrder.

    AxdBase     axdBase =  
  AxdBase::newClassId(classNum(AxdSalesOrder)); 
    LabelString salesOrderLabel; 
 
    salesOrderLabel = axdBase.getLabel();

Community Additions

ADD
Show: