PaymCalendarSourcePurchaseOrder::getAdjustedDate Method [AX 2012]

Gets the adjusted due date so that it falls on a business day per calendar rules.

client server public static PaymCalendarAdjustedDate getAdjustedDate(PurchTable _purchTable)

Run On

Called

Parameters

_purchTable
Type: PurchTable Table
The purchase table buffer that specifies the due date and the calendar source.

Return Value

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

If no adjustment is needed, the original date is returned.

Show: