RetailStatementPost.accountTotalDisc Method [AX 2012]
Finds the ledger account for the specified customer account and discount amount.
public LedgerDimensionDefaultAccount accountTotalDisc(CustAccount _custAccount, DiscAmount _totalDiscAmount)
Run On
ServerParameters
- _custAccount
- Type: CustAccount Extended Data Type
The current value of customer account.
- _totalDiscAmount
- Type: DiscAmount Extended Data Type
The current value of the total discount amount.
Return Value
Type: LedgerDimensionDefaultAccount Extended Data TypeThe ledger account to which total discount is posted.
Community Additions
ADD
Show: