Share via


InventReleaseOrderPickingForm_Sales::checkOverActivate Method [AX 2012]

Verifies that the user is requesting to release a quantity that does not exceed 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(
            SalesLine _salesLine, 
            InventQty _activateNow, 
            boolean _deductUnreserved, 
            PdsCWInventQty _cwActivateNow)

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

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

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

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

Run On

Server

Parameters

  • _salesLine
    Type: SalesLine Table
    The sales order line that is being modified.
  • _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_Sales Class