PaymCalendarProcessor.getAdjustedDate Method [AX 2012]

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

public PaymCalendarAdjustedDate getAdjustedDate(
    DueDate _dueDate, 
    PaymentDueDateUpdatePolicy _updatePolicy, 
    PaymCalendarIDerivationSource _paymCalendarDerivationSource)

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.
_paymCalendarDerivationSource
Type: PaymCalendarIDerivationSource Interface
An interface that provides the information that is required to retrieve the payment calendar.

Return Value

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

An empty record ID is returned for the payment calendar and calendar rule whenever a calendar is not found.

Community Additions

ADD
Show: