PaymCalendarSourceVendor::adjustDate Method [AX 2012]

Adjusts the due date so that it falls on a business day per specified calendar source.

server public static DueDate adjustDate(
    DueDate _dueDate, 
    PaymentDueDateUpdatePolicy _updatePolicy, 
    VendTable _vendTable, 
    PaymTermId _paymTerm)

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.
_vendTable
Type: VendTable Table
A reference to a populated VendTable record.
_paymTerm
Type: PaymTermId Extended Data Type
The payment term that is used.

Return Value

Type: DueDate Extended Data Type
The adjusted due date.
Show: