PaymCalendarSourceLedgerJournalTrans::getAdjustedDateForAddressChgPrivate Method [AX 2012]

Gets the adjusted due date so that it falls on a business day per calendar rules.

client server private static PaymCalendarAdjustedDate getAdjustedDateForAddressChgPrivate(LedgerJournalTrans _ledgerJournalTrans, PaymCalendarModuleType _paymCalendarModuleType)

Run On

Called

Parameters

_ledgerJournalTrans
Type: LedgerJournalTrans Table
The ledger journal transaction table buffer that specifies the due date and the calendar source.
_paymCalendarModuleType
Type: PaymCalendarModuleType Enumeration
The module type to restrict the calendar rule by.

Return Value

Type: PaymCalendarAdjustedDate Class
An instance of the PaymCalendarAdjustedDate record which contains the adjusted due date together with the calendar and rule that was applied when adjusting the date.
Show: