PaymCalendarSourceCustConsInvoice_JP::getAdjustedDueDatePrivate Method [AX 2012]
Gets the adjusted due date so that it falls on a business day, according to calendar rules.
client server public static PaymCalendarAdjustedDate getAdjustedDueDatePrivate(
DueDate _dueDate,
PaymentDueDateUpdatePolicy _updatePolicy,
CustConsInvoice_JP _custConsInvoice)
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 searched for.
- _custConsInvoice
- Type: CustConsInvoice_JP Table
The customer consolidated invoice table buffer that specifies the calendar source.
Return Value
Type: PaymCalendarAdjustedDate ClassAn instance of the PaymCalendarAdjustedDate class that contains the adjusted due date together with the calendar and rule that were applied when the date was adjusted.
Show: