LedgerJournalEngine.adjustDueDateAddressChange Method [AX 2012]
Adjusts the due date in the LedgerJournalTrans record to a valid business day if a third-party rule exists.
Syntax
public void adjustDueDateAddressChange(LedgerJournalTrans _ledgerJournalTrans, PaymCalendarModuleType _paymCalendarModuleType)
Run On
Called
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The record to validate the due date for.
- _paymCalendarModuleType
Type: PaymCalendarModuleType Enumeration
The module type to restrict the calendar rule by.
Remarks
The method is run when the address for a document changes.