SalesCalcAvailableDlvDates::initDateFields Method [AX 2012]
Initiates the Requested ship date, Requested receipt date, Confirmed ship date, and Confirmed receipt date fields
Syntax
server public static void initDateFields(Common _record, [PriceDisc_Price _priceDisc])
Run On
Server
Parameters
- _record
Type: Common Table
The record that contains the date fields to be initiated; optional.
- _priceDisc
Type: PriceDisc_Price Class
The instance of the price and discount class to use during the calculation.
Remarks
If one or both of the confirmed fields in the _record parameter are filled, these two confirmed fields will be initiated; otherwise, the two requested fields will be initiated.