PaymCalendarSourceVendInvoiceJournal::getAdjustedDueDatePrivate Method [AX 2012]

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

client server public static PaymCalendarAdjustedDate getAdjustedDueDatePrivate(
    DueDate _dueDate, 
    PaymentDueDateUpdatePolicy _updatePolicy, 
    VendInvoiceJour _vendInvoiceJour)

Run On

Called

Parameters

_dueDate
Type: DueDate Extended Data Type
The original due date.
_updatePolicy
Type: PaymentDueDateUpdatePolicy Enumeration
A value that specifies the search direction when seeking the next valid business day.
_vendInvoiceJour
Type: VendInvoiceJour Table
The vendor invoice journal table buffer that specifies the calendar source.

Return Value

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