Share via


InventReleaseOrderPickingForm_Transfer::checkOverActivate Method [AX 2012]

Checks whether the user is requesting to release a quantity that exceeds the available quantity.

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
          server public static boolean checkOverActivate(
            InventTransferLine _inventTransferLine, 
            InventQty _activateNow, 
            boolean _deductUnreserved, 
            PdsCWInventQty _cwActivateNow)

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static boolean checkOverActivate(
            InventTransferLine _inventTransferLine, 
            InventQty _activateNow, 
            boolean _deductUnreserved, 
            PdsCWInventQty _cwActivateNow)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static boolean checkOverActivate(
            InventTransferLine _inventTransferLine, 
            InventQty _activateNow, 
            boolean _deductUnreserved)

  Microsoft Dynamics AX 2012 (FPK)
          server public static boolean checkOverActivate(
            InventTransferLine _inventTransferLine, 
            InventQty _activateNow, 
            boolean _deductUnreserved)

  Microsoft Dynamics AX 2012 (SYS)
          server public static boolean checkOverActivate(
            InventTransferLine _inventTransferLine, 
            InventQty _activateNow, 
            boolean _deductUnreserved)

Run On

Server

Parameters

  • _deductUnreserved
    Type: boolean
    A Boolean value that indicates whether the check box in the form is selected.

Return Value

Type: boolean
true if the quantity is acceptable; otherwise, false.

Remarks

The _cwActivateNow parameter was introduced in Microsoft Dynamics AX 2012 R2 to support the catch-weight feature, which requires tracking of both the inventory quantity and the catch-weight quantity, not just the inventory quantity.

See Also

Reference

InventReleaseOrderPickingForm_Transfer Class