PaymCalendarProcessor.calculateAdjustedDate Method [AX 2012]

Adjusts the due date based on the found calendar with the result saved in a class variable.

private DueDate calculateAdjustedDate(
    DueDate _dueDate, 
    PaymentDueDateUpdatePolicy _updatePolicy, 
    PaymCalendarFindCalendarResults _calendar)

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.
_calendar
Type: PaymCalendarFindCalendarResults Class
A class that specifies the payment calendar.

Return Value

Type: DueDate Extended Data Type
The adjusted due date.

The findPaymCalendar method must be called before invoking this method.

Community Additions

ADD
Show: