Share via


WMSPickingLocationRefillCheck::checkAndRefill Method [AX 2012]

Checks whether a refill is required.

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 checkAndRefill(
            ItemId _itemId, 
            InventDim _inventDim, 
            WMSLocation _wmsLocation, 
            WMSPickingLocationRefillMin _pickingLocationRefillMin, 
            WMSMaxStorageQuantity _pickingLocationMaxQty, 
            boolean _includePickingRoutesInProgress, 
            boolean _overruleMaxCapacity, 
            boolean _throwErrors, 
           [PdsCWPickingLocationRefillMin _pickingLocationRefillCWMin, 
            PdsCWMaxStorageQuantity _pickingLocationMaxCWQty])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static boolean checkAndRefill(
            ItemId _itemId, 
            InventDim _inventDim, 
            WMSLocation _wmsLocation, 
            WMSPickingLocationRefillMin _pickingLocationRefillMin, 
            WMSMaxStorageQuantity _pickingLocationMaxQty, 
            boolean _includePickingRoutesInProgress, 
            boolean _overruleMaxCapacity, 
            boolean _throwErrors, 
           [PdsCWPickingLocationRefillMin _pickingLocationRefillCWMin, 
            PdsCWMaxStorageQuantity _pickingLocationMaxCWQty])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static boolean checkAndRefill(
            ItemId _itemId, 
            InventDim _inventDim, 
            WMSLocation _wmsLocation, 
            WMSPickingLocationRefillMin _pickingLocationRefillMin, 
            WMSMaxStorageQuantity _pickingLocationMaxQty, 
            boolean _includePickingRoutesInProgress, 
            boolean _overruleMaxCapacity, 
            boolean _throwErrors, 
           [PdsCWPickingLocationRefillMin _pickingLocationRefillCWMin, 
            PdsCWMaxStorageQuantity _pickingLocationMaxCWQty])

  Microsoft Dynamics AX 2012 (FPK)
          server public static boolean checkAndRefill(
            ItemId _itemId, 
            InventDim _inventDim, 
            WMSLocation _wmsLocation, 
            WMSPickingLocationRefillMin _pickingLocationRefillMin, 
            WMSMaxStorageQuantity _pickingLocationMaxQty, 
            boolean _includePickingRoutesInProgress, 
            boolean _overruleMaxCapacity, 
            boolean _throwErrors)

  Microsoft Dynamics AX 2012 (SYS)
          server public static boolean checkAndRefill(
            ItemId _itemId, 
            InventDim _inventDim, 
            WMSLocation _wmsLocation, 
            WMSPickingLocationRefillMin _pickingLocationRefillMin, 
            WMSMaxStorageQuantity _pickingLocationMaxQty, 
            boolean _includePickingRoutesInProgress, 
            boolean _overruleMaxCapacity, 
            boolean _throwErrors)

Run On

Server

Parameters

  • _inventDim
    Type: InventDim Table
    The InventDim value that should be used for refill criteria.
  • _includePickingRoutesInProgress
    Type: boolean
    A Boolean value that, when true, withdraws enabled and started WMSOrderTrans records from the physical quantity of the WMSLocation.
    This parameter should be set to true if you want to include the expected demand from enabled and started picking routes.
  • _overruleMaxCapacity
    Type: boolean
    If true, the maximum capacity setup on the items InventItemLocation will be ignored.
  • _throwErrors
    Type: boolean
    If true, errors will be thrown, if a refill cannot be created.

Return Value

Type: boolean
true if a refill is created; otherwise, false.

Remarks

Errors regarding illegal setup will always be thrown regardless of the value of the _throwErrors parameter.

See Also

Reference

WMSPickingLocationRefillCheck Class