PaymCalendarSourceLedgerJournalTrans::getAdjustedDateForPaymentMethodChange Method [AX 2012]
Gets the adjusted due date so that it falls on a business day per calendar rules.
client server public static PaymCalendarAdjustedDate getAdjustedDateForPaymentMethodChange(LedgerJournalTrans _ledgerJournalTrans, PaymCalendarModuleType _paymCalendarModuleType)
Run On
CalledParameters
- _ledgerJournalTrans
- Type: LedgerJournalTrans Table
The ledger journal transaction table buffer that specifies the due date and the calendar source.
- _paymCalendarModuleType
- Type: PaymCalendarModuleType Enumeration
The moduole type to restrict the calendar rule by.
Return Value
Type: PaymCalendarAdjustedDate ClassAn instance of PaymCalendarAdjustedDate which contains the adjusted due date together with the calendar and rule that was applied when adjusting the date.
Show: