InventSupply.loopMapsAndInsertStdLeadTime Method [AX 2012]
Loops through the map that contains mode of delivery and transport times and inserts records into the temporary InventSupplyTmpStdLeadTime table buffer.
Syntax
protected void loopMapsAndInsertStdLeadTime(
InventSupplyTmpStdLeadtime _tmpBuffer,
Map _mapSuppMOD,
Map _mapCustMOD,
ItemId _itemId,
InventDim _inventDimSupply,
InventSupplyTmpLeadtimeType _leadTimeType,
InventSupplyLeadTimeSource _leadTimeSource,
LeadTime _leadTime,
CalendarDays _calendarDays,
ReqSetupDim _reqSetupDimSupp)
Run On
Server
Parameters
- _tmpBuffer
Type: InventSupplyTmpStdLeadtime Table
The temporary InventSupplyTmpStdLeadTime buffer into which to insert data.
- _mapSuppMOD
Type: Map Class
A map that contains modes of delivery and the transport times.
- _mapCustMOD
Type: Map Class
A map that contains modes of delivery and the transport times.
- _itemId
Type: ItemId Extended Data Type
The ID of the item.
- _inventDimSupply
Type: InventDim Table
The ID of the dimension for supply warehouse.
- _leadTimeType
Type: InventSupplyTmpLeadtimeType Enumeration
The type of lead time (purchase,production).
- _leadTimeSource
Type: InventSupplyLeadTimeSource Enumeration
The origin of the lead time.
- _leadTime
Type: LeadTime Extended Data Type
The lead time in days.
- _calendarDays
Type: CalendarDays Extended Data Type
A Boolean value that specifies whether the lead time is expressed in calendar days.
- _reqSetupDimSupp
Type: ReqSetupDim Class
A ReqSetupDim object that contains margins for the supply warehouse.