AxdBase.getActionList Method [AX 2012]

Gets a list of all possible actions for the particular Axd document.

Syntax

public abstract AifActionInfoList getActionList()

Run On

Server

Return Value

Type: AifActionInfoList Class
A list of all possible actions for the particular Axd document.

Remarks

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

Examples

The following example shows how to find the possible actions for AxdPurchaseRequisition.

    AxdBase             axdBase =  
  AxdBase::newClassId(classNum(AxdPurchaseRequisition)); 
    AifActionInfoList   allowedActions; 
 
    allowedActions = axdBase.getActionList();

See Also

AxdBase Class

AifActionInfoList Class

AxdPurchaseRequisition Class