RetailStatementPost.postDiscounts Method [AX 2012]
Posts the discounted amount.
Syntax
public void postDiscounts(
str _documentNumber,
RetailTransactionSalesTrans _transactionSalesTrans,
RetailTransactionDiscountTrans _transactionDiscountTrans,
CurrencyCode _currencyCode,
CustAccount _custAccount)
Run On
Server
Parameters
- _documentNumber
Type: str
A RetailTransactionSalesTrans record.
- _transactionSalesTrans
Type: RetailTransactionSalesTrans Table
A RetailTransactionSalesTrans record.
- _transactionDiscountTrans
Type: RetailTransactionDiscountTrans Table
A RetailTransactionDiscountTrans record.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code of the RetailTransactionSalesTrans record.
- _custAccount
Type: CustAccount Extended Data Type
The customer account of the RetailTransactionSalesTrans record.