Share via


InventSum.updateInventTrans Method

Updates inventory on hand based on the specified transaction.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          public void updateInventTrans(
            InventTrans _inventTrans, 
            NoYes _plus, 
           [InventTrans _inventTrans_ORIG, 
            boolean _keepSequenceNumber, 
            NoYes _canDropInventSumDelta, 
            InventDimId _inventDimIdTransferIssue])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void updateInventTrans(
            InventTrans _inventTrans, 
            NoYes _plus, 
           [InventTrans _inventTrans_ORIG, 
            boolean _keepSequenceNumber, 
            NoYes _canDropInventSumDelta])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void updateInventTrans(
            InventTrans _inventTrans, 
            NoYes _plus, 
           [InventTrans _inventTrans_ORIG, 
            boolean _keepSequenceNumber])

  Microsoft Dynamics AX 2012 (FPK)
          public void updateInventTrans(
            InventTrans _inventTrans, 
            NoYes _plus, 
           [InventTrans _inventTrans_ORIG, 
            boolean _keepSequenceNumber])

  Microsoft Dynamics AX 2012 (SYS)
          public void updateInventTrans(
            InventTrans _inventTrans, 
            NoYes _plus, 
           [InventTrans _inventTrans_ORIG, 
            boolean _keepSequenceNumber])

Run On

ClientOrServer

Parameters

  • _plus
    Type: NoYes Enumeration
    Yes if the transaction is added to on hand; otherwise, No.
  • _inventTrans_ORIG
    Type: InventTrans Table
    The originally selected values for the transaction.
  • _keepSequenceNumber
    Type: boolean
    true if the internal counter for log records to help secure correct order when rollback is performed should remain unchanged; otherwise, false.
  • _canDropInventSumDelta
    Type: NoYes Enumeration
    Yes if InventSum record may be updated directly instead of using InventSumDelta

See Also

Reference

InventSum Table