PaymCalendarSourceCustInvoiceJournal::getAdjustedDatePrivate Method [AX 2012]
Retrieves an adjusted due date so that it falls on a business day that follows the calendar rules.
client server public static PaymCalendarAdjustedDate getAdjustedDatePrivate(
DueDate _dueDate,
PaymentDueDateUpdatePolicy _updatePolicy,
CustInvoiceJour _custInvoiceJour)
Run On
CalledParameters
- _dueDate
- Type: DueDate Extended Data Type
The original due date.
- _updatePolicy
- Type: PaymentDueDateUpdatePolicy Enumeration
A value that specifies the search direction when the next valid business day is determined.
- _custInvoiceJour
- Type: CustInvoiceJour Table
The customer invoice journal record that specifies the calendar source.
Return Value
Type: PaymCalendarAdjustedDate ClassAn instance of PaymCalendarAdjustedDate class that contains the adjusted due date and the calendar and rule that was applied when the date was adjusted.
Show: