Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds or creates a new InventSerial record for the InventTrans record.
Syntax
protected InventSerial findOrCreateInventSerial(InventTrans _inventTrans, InventDim _inventDim)
Run On
Client
Parameters
- _inventTrans
Type: InventTrans Table
An InventTrans record for which to create the serial number.
- _inventDim
Type: InventDim Table
An InventDim record for which to create the serial number.
Return Value
Type: InventSerial Table
The existing InventSerial record if found; otherwise, the created InventSerial record.
Exceptions
| Exception | Condition |
|---|---|
| Error | The serial number cannot be generated. |