SalesCalcAvailableDlvDates.calcBackward Method [AX 2012]
Calculates the first available receipt date backward from _fromDate. Then, the ship date is calculated based on the first available receipt date.
Syntax
protected container calcBackward(
FromDate _fromDate,
WorkCalendarSched _workCalendarSched,
CalendarId _shippingCalendarId,
CustVendTransportCalendarId _transportCalendarId,
CustVendTransportDays _transportDays)
Run On
Called
Parameters
- _fromDate
Type: FromDate Extended Data Type
The starting date for the calculation.
- _workCalendarSched
Type: WorkCalendarSched Class
Class object for class WorkCalendarSched.
- _shippingCalendarId
Type: CalendarId Extended Data Type
Shipping calendar.
- _transportCalendarId
Type: CustVendTransportCalendarId Extended Data Type
Transport calendar.
- _transportDays
Type: CustVendTransportDays Extended Data Type
Number of transport days.
Return Value
Type: container
Container: Available ship date and available receipt date.