PaymCalendarProcessor::getAdjustedDueDate Method [AX 2012]

Prompts the user to accept an adjusted due date based on the payment calendar configuration if it is changed from the previous due date.

client server public static TransDate getAdjustedDueDate(
    TransDate _dueDate, 
    TransDate _priorDueDate, 
    PaymCalendarAdjustedDate _paymCalendarAdjustedDate)

Run On

Called

Parameters

_dueDate
Type: TransDate Extended Data Type
The current due date to adjust from the table buffer.
_priorDueDate
Type: TransDate Extended Data Type
The due date before adjustment.
_paymCalendarAdjustedDate
Type: PaymCalendarAdjustedDate Class
An instance of the PaymCalendarAdjustedDate class that contains the adjusted due date together with the calendar and rule that were applied when the date was adjusted.

Return Value

Type: TransDate Extended Data Type
The adjusted due date if the adjusted due date is accepted; otherwise, the original due date.
Show: