InventMovement.pmfSetMinMaxQty Method [AX 2012]

Gets a quantity based on minimum and maximum quantities from the item setup.

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 Qty pmfSetMinMaxQty(
           [boolean _showUsrDialog, 
            boolean _useDefaultOrderSetup, 
            boolean _doMinQtyCheck, 
            boolean _doMaxQtyCheck])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public Qty pmfSetMinMaxQty([boolean _showUsrDialog, boolean _useDefaultOrderSetup])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public Qty pmfSetMinMaxQty([boolean _showUsrDialog, boolean _useDefaultOrderSetup])

  Microsoft Dynamics AX 2012 (FPK)
          public Qty pmfSetMinMaxQty([boolean _showUsrDialog, boolean _useDefaultOrderSetup])

Run On

Called

Parameters

  • _showUsrDialog
    Type: boolean
    A Boolean value that indicates whether to show the user dialog; optional.
  • _useDefaultOrderSetup
    Type: boolean
    A Boolean value that indicates whether to use the default order setup; optional.
  • _doMinQtyCheck
    Type: boolean
    A Boolean value that indicates whether to perform the minimum value check; optional.
  • _doMaxQtyCheck
    Type: boolean
    A Boolean value that indicates whether to perform the maximum value check; optional.

Return Value

Type: Qty Extended Data Type
A quantity that is in the minimum and maximum quantity range, unless the parameters have been passed to override this behavior.

See Also

Reference

InventMovement Class