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.
- _setupType
Type: InventItemOrderSetupType Enumeration
The type of the item order settings that the default site and warehouse dimensions should be taken from; optional.
- _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.