Share via


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

  • _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).

See Also

Reference

InventMovement Class