Share via


InventDim.initFromInventTable Method

Initializes the current InventDim buffer with default inventory dimensions from an item.

Syntax

    public void initFromInventTable(
        InventTable _inventTable, 
       [InventItemOrderSetupType _setupType, 
        InventDim _inventDimDefault])

Run On

Called

Parameters

  • _inventTable
    Type: InventTable Table
    The InventTable buffer from which the default inventory dimensions should be taken.
  • _inventDimDefault
    Type: InventDim Table
    The InventDim buffer with the preferred dimensions that should be used.

Remarks

If the preferred warehouse dimension does not belong to the default site, the default warehouse from the item order settings will be used. If there is passed configuration, size, color or style in the InventDim buffer, the values will be kept if the product dimension is active for the item.

See Also

Reference

InventDim Table