RetailPromotionDiscount.initFromArgs Method [AX 2012]

Initializes the caller record of the discount offer table, discount type, and action to perform based on the _args parameter.

Syntax

public void initFromArgs(Args _args)

Run On

Server

Parameters

  • _args
    Type: Args Class
    An arguments object that contains the caller data source.

Exceptions

Exception Condition
Error

The caller dataset is not in the RBODiscountOfferTable table.

-or-

The call to the class is wrong.

See Also

Reference

RetailPromotionDiscount Class