InventTransWMS_Register::updateTransSerialIdServer Method [AX 2012]
Assigns serial numbers to the InventTrans record.
Syntax
server public static void updateTransSerialIdServer(
InventTrans _inventTrans,
SerialNumberFormat _serialNumberFormat,
SerialNumberIntervalStart _serialNumberIntervalStart,
SerialNumberIntervalEnd _serialNumberIntervalEnd)
Run On
Server
Parameters
- _inventTrans
Type: InventTrans Table
The InventTrans record that has serial numbers assigned to it.
- _serialNumberFormat
Type: SerialNumberFormat Extended Data Type
The formatting code that was provided by the user.
- _serialNumberIntervalStart
Type: SerialNumberIntervalStart Extended Data Type
The initial serial number that was provided by the user.
- _serialNumberIntervalEnd
Type: SerialNumberIntervalEnd Extended Data Type
The ending serial number that was provided by the user.
Exceptions
Exception | Condition |
---|---|
Error | The InventTrans record has been changed in the database after you have started the process. |