InventMovement.updateSerialNumIssue Method [AX 2012]
Verifies if a particular issue inventory transaction update can be done for a particular serial number, and creates a serial number if necessary.
Syntax
public void updateSerialNumIssue(
InventTrans _inventTrans,
InventTrans _inventTrans_orig,
[InventDim _inventDim])
Run On
Called
Parameters
- _inventTrans
Type: InventTrans Table
Current InventTrans record.
- _inventTrans_orig
Type: InventTrans Table
Original DB InventTrans record.
- _inventDim
Type: InventDim Table
Current InventDim record linked to the _inventTrans record
Exceptions
Exception | Condition |
---|---|
Error | Throw error if different than -1 in either qty or CW qty fields. -or- Throw error if dimAllowBlankReceipt not enabled. -or- Throw error if dimAllowBlankReceipt not enabled. |
Remarks
FS Pds CW: if item is a catch weight item and the InventDim record has a serial number, added cw qty check if greater then negative one(-1).