Share via


SalesCalcAvailableDlvDates.calcForward Method [AX 2012]

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

  • _createOnlyOneRecord
    Type: boolean
    If this parameter is true, the lead time is considered and added to the planned ship date in the calculation.

Return Value

Type: container
Available ship date and receipt date.

See Also

Reference

SalesCalcAvailableDlvDates Class