PaymCalendarSourceCustInvoiceJournal::getAdjustedDateServer Method [AX 2012]

Retrieves an adjusted due date so that it falls on a business day that follows the calendar rules.

server private static container getAdjustedDateServer(
    DueDate _dueDate, 
    PaymentDueDateUpdatePolicy _updatePolicy, 
    CustInvoiceJour _custInvoiceJour)

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 the next valid business day is determined.
_custInvoiceJour
Type: CustInvoiceJour Table
The customer invoice journal record that specifies the calendar source.

Return Value

Type: container
An instance of the PaymCalendarAdjustedDate class that contains the adjusted due date and the calendar and rule that was applied when the date was adjusted.
Show: