PaymCalendarSourceVendInvoiceJournal::getAdjustedDueDateServer Method [AX 2012]

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

server private static container getAdjustedDueDateServer(
    DueDate _dueDate, 
    PaymentDueDateUpdatePolicy _updatePolicy, 
    VendInvoiceJour _vendInvoiceJour)

Run On

Server

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: container
A container holding an packed instance of PaymCalendarAdjustedDate .
Show: