Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
First, calculates the first available ship date forward from the planned ship date _fromDate (open for shipping and pickup). Then, calculates the first possible receipt date at the customer (transport and receipt calendar does not have to be open at the same time). Finally, the ship date is moved closer to the calculated receipt date, if it is possible.
Syntax
protected container calcForward(
FromDate _fromDate,
boolean _createOnlyOneRecord,
WorkCalendarSched _workCalendarSched,
CalendarId _shippingCalendarId,
CustVendTransportCalendarId _transportCalendarId,
CustVendTransportDays _transportDays,
LeadTime _salesLeadTimeCalc)
Run On
Called
Parameters
- _fromDate
Type: FromDate Extended Data Type
The starting date for the calculation.
- _createOnlyOneRecord
Type: boolean
If this parameter is true, the lead time is considered and added to the planned ship date in the calculation.
- _workCalendarSched
Type: WorkCalendarSched Class
The class object for class WorkCalendarSched.
- _shippingCalendarId
Type: CalendarId Extended Data Type
- _transportCalendarId
Type: CustVendTransportCalendarId Extended Data Type
The transport calendar.
- _transportDays
Type: CustVendTransportDays Extended Data Type
The number of transport days.
- _salesLeadTimeCalc
Type: LeadTime Extended Data Type
The number of lead time days.
Return Value
Type: container
Available ship date and receipt date.