Share via


InventSupply.loopMapsAndInsertOrders Method [AX 2012]

Loops through the two specified maps to insert temporary records in the InventSupplyTmpOrders table for all MOD combinations.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          protected void loopMapsAndInsertOrders(
            InventSupplyTmpOrders _tmpBuffer, 
            Map _mapSuppMOD, 
            Map _mapCustMOD, 
            ItemId _itemId, 
            InventDim _inventDimSupply, 
            inventQtyOrderedSum _orderedSum, 
            InventQtyReservOrdered _reservOrdered, 
            PdsCWInventQtyOrderedSum _cwOrderedSum, 
            PdsCWReservOrdered _cwReservOrdered, 
            TransDate _deliveryDate, 
            boolean _isPlannedOrder, 
            ReqSetupDim _reqSetupDimSupp)

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected void loopMapsAndInsertOrders(
            InventSupplyTmpOrders _tmpBuffer, 
            Map _mapSuppMOD, 
            Map _mapCustMOD, 
            ItemId _itemId, 
            InventDim _inventDimSupply, 
            inventQtyOrderedSum _orderedSum, 
            InventQtyReservOrdered _reservOrdered, 
            PdsCWInventQtyOrderedSum _cwOrderedSum, 
            PdsCWReservOrdered _cwReservOrdered, 
            TransDate _deliveryDate, 
            boolean _isPlannedOrder, 
            ReqSetupDim _reqSetupDimSupp)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void loopMapsAndInsertOrders(
            InventSupplyTmpOrders _tmpBuffer, 
            Map _mapSuppMOD, 
            Map _mapCustMOD, 
            ItemId _itemId, 
            InventDim _inventDimSupply, 
            inventQtyOrderedSum _orderedSum, 
            InventQtyReservOrdered _reservOrdered, 
            PdsCWInventQtyOrderedSum _cwOrderedSum, 
            PdsCWReservOrdered _cwReservOrdered, 
            TransDate _deliveryDate, 
            boolean _isPlannedOrder, 
            ReqSetupDim _reqSetupDimSupp)

  Microsoft Dynamics AX 2012 (FPK)
          protected void loopMapsAndInsertOrders(
            InventSupplyTmpOrders _tmpBuffer, 
            Map _mapSuppMOD, 
            Map _mapCustMOD, 
            ItemId _itemId, 
            InventDim _inventDimSupply, 
            inventQtyOrderedSum _orderedSum, 
            InventQtyReservOrdered _reservOrdered, 
            TransDate _deliveryDate, 
            boolean _isPlannedOrder, 
            ReqSetupDim _reqSetupDimSupp)

  Microsoft Dynamics AX 2012 (SYS)
          protected void loopMapsAndInsertOrders(
            InventSupplyTmpOrders _tmpBuffer, 
            Map _mapSuppMOD, 
            Map _mapCustMOD, 
            ItemId _itemId, 
            InventDim _inventDimSupply, 
            inventQtyOrderedSum _orderedSum, 
            InventQtyReservOrdered _reservOrdered, 
            TransDate _deliveryDate, 
            boolean _isPlannedOrder, 
            ReqSetupDim _reqSetupDimSupp)

Run On

Server

Parameters

  • _tmpBuffer
    Type: InventSupplyTmpOrders Table
    The temporary InventSupplyTmpOnHand buffer to which the information about the orders should be added.
  • _mapSuppMOD
    Type: Map Class
    A map that contains the modes of delivery and the transport times for supply warehouse to requirement warehouse.
  • _mapCustMOD
    Type: Map Class
    A map that contains the modes of delivery and the transport times from requirement warehouse to customer address.
  • _inventDimSupply
    Type: InventDim Table
    The ID of the dimension for the supply warehouse.
  • _isPlannedOrder
    Type: boolean
    A Boolean value that indicates whether the order is a planned order.
  • _reqSetupDimSupp
    Type: ReqSetupDim Class
    A ReqSetupDim object that contains margins for the supply warehouse.

See Also

Reference

InventSupply Class