LedgerJournalEngine.adjustDueDateOnPaymentMethodChange Method [AX 2012]
Adjusts the due date in the LedgerJournalTrans record to a valid business day if a calendar rule restricted to the payment method exists.
Syntax
public void adjustDueDateOnPaymentMethodChange(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 payment method for a document changes.