LedgerJournalEngine.updateCashDisc Method [AX 2012]
Recalculates the cash discount for the voucher of the journal.
Syntax
public void updateCashDisc(LedgerJournalTrans _ledgerJournalTrans, [boolean _updateCashDisc])
Run On
Called
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
- _updateCashDisc
Type: boolean
Remarks
This method also maintains an internal cache of the journal lines that have their cash discounts modified.