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.

public void initFromArgs(Args _args)

Run On

Server

Parameters

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

ExceptionCondition
Error

The caller dataset is not in the RBODiscountOfferTable table.

-or-

The call to the class is wrong.

Show: