InventSupply.pickupDate Method [AX 2012]
Calculates the date for which the items can be picked up based on the calendar for the transport.
Syntax
protected TransDate pickupDate(
TransDate _shipDate,
InventLocationId _fromLocationId,
DlvModeId _dlvMode)
Run On
Server
Parameters
- _shipDate
Type: TransDate Extended Data Type
The base date for the calculation.
- _fromLocationId
Type: InventLocationId Extended Data Type
The ID for the warehouse from which the items are going to be shipped.
- _dlvMode
Type: DlvModeId Extended Data Type
The mode of delivery from the warehouse.
Return Value
Type: TransDate Extended Data Type
The date for which the items can be picked up for transportation.