InventDim::create Method
Creates a new InventDim record that has the same values as specified in the _inventDim buffer.
Syntax
server public static InventDim create(InventDim _inventDim)
Run On
Server
Parameters
- _inventDim
Type: InventDim Table
The _inventDim buffer contains all the inventory dimensions for the new record.
Return Value
Type: InventDim Table
A buffer from the InventDim table.
Exceptions
Exception | Condition |
---|---|
Error | Number sequence for InventDimId was incorrectly configured. |
Remarks
This method will fail if a record with the same dimensions already exists.