LedgerJournalEngine.adjustDueDate Method [AX 2012]
Adjusts the due date so that it falls on a business day per specified calendar source.
Syntax
protected DueDate adjustDueDate(DueDate _dueDate, LedgerJournalTrans _ledgerJournalTrans)
Run On
Called
Parameters
- _dueDate
Type: DueDate Extended Data Type
The original due date.
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The ledger journal transaction table buffer that specifies the calendar source.
Return Value
Type: DueDate Extended Data Type
The adjusted due date.
Remarks
If no adjustment is needed, the original date is returned.