InventDim.initFromInventLocationAndDefault Method [AX 2012]

Initializes the current InventDim record based on an InventLocation record and an item ID.

public void initFromInventLocationAndDefault(
    InventLocation _inventLocation, 
    ItemId _itemId, 
    InventDirection _inventDirection, 
    InventDimParm _inventDimParm)

Run On



Type: InventLocation Table
A record in the inventLocation table.
Type: ItemId Extended Data Type
A string that holds the item ID.
Type: InventDirection Enumeration
An enumeration value that determines whether this relates to an issue or a receipt.
Type: InventDimParm Table
A record in the inventDimParm table that determines which of the inventDim fields to initialize.

Community Additions