SalesCalcAvailableDlvDates::initDateFieldsForSalesCalc Method [AX 2012]
Initiates the Requested ship date, Requested receipt date, Confirmed ship date, and Confirmed receipt date fields based on the specified calculation class instance.
Syntax
server private static void initDateFieldsForSalesCalc(
Common _record,
SalesCalcAvailableDlvDates _salesCalcAvailableDlvDates,
boolean _considerBufferCommitedStatus)
Run On
Server
Parameters
- _record
Type: Common Table
The record that contains the date fields to be initiated.
- _salesCalcAvailableDlvDates
Type: SalesCalcAvailableDlvDates Class
The instance of the SalesCalcAvailableDlvDates class to use in calculations.
- _considerBufferCommitedStatus
Type: boolean
A boolean value indicating whether to consider the commited status of the buffer upon the initialization of the dates.