InventSupply.receiptDateCust Method [AX 2012]
Calculates the receipt date of the customer based on the shipping date, the transport time, and the customer calendar.
Syntax
protected TransDate receiptDateCust(
TransDate _shipDateReq,
DlvModeId _dlvModeReqToCust,
InventSupplyTransportTimeSupply _transportTimeReqToCust)
Run On
Server
Parameters
- _shipDateReq
Type: TransDate Extended Data Type
The date of shipping (pick up) from the requirement warehouse.
- _dlvModeReqToCust
Type: DlvModeId Extended Data Type
The mode of delivery that is used to transport the items to the customer.
- _transportTimeReqToCust
Type: InventSupplyTransportTimeSupply Extended Data Type
The number of days used for transport.
Return Value
Type: TransDate Extended Data Type
The date the items can be received by the customer.