Share via


InventOnhandReserve.updateReserveNow Method [AX 2012]

Reserves the quantity that is specified in the reserveNow parameter.

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 updateReserveNow(
            InventSum _inventSum, 
            InventDim _inventDim, 
            InventQty _reserveNow, 
           [PdsCWInventQty _cwReserveNow, 
            boolean _cwForceActual])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void updateReserveNow(
            InventSum _inventSum, 
            InventDim _inventDim, 
            InventQty _reserveNow, 
           [PdsCWInventQty _cwReserveNow, 
            boolean _cwForceActual])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void updateReserveNow(
            InventSum _inventSum, 
            InventDim _inventDim, 
            InventQty _reserveNow, 
           [PdsCWInventQty _cwReserveNow, 
            boolean _cwForceActual])

  Microsoft Dynamics AX 2012 (FPK)
          private void updateReserveNow(
            InventSum _inventSum, 
            InventDim _inventDim, 
            InventQty _reserveNow)

  Microsoft Dynamics AX 2012 (SYS)
          private void updateReserveNow(
            InventSum _inventSum, 
            InventDim _inventDim, 
            InventQty _reserveNow)

Run On

Called

Parameters

  • _inventSum
    Type: InventSum Table
    An InventSum record that is required for performance reasons.
  • _inventDim
    Type: InventDim Table
    The inventory dimensions on which the reservation should be done.
  • _reserveNow
    Type: InventQty Extended Data Type
    The quantity that should be reserved. This quantity should be in the inventory unit of measure.
  • _cwForceActual
    Type: boolean
    A Boolean value that indicates whether to reserve the quantity should be reserved instead of the minimum.

Exceptions

Exception Condition
UpdateConflict

The record was updated by another user. Therefore, an update conflict occurred.

UpdateConflictNotRecovered

The method could not recover from an update conflict.

See Also

Reference

InventOnhandReserve Class