Share via


InventBatchConsumptionValidator.validateSameBatchAvailQty Method [AX 2012]

Determines if there is enough inventory available for the batch selected to satisfy the entire on order amount of the movement.

Syntax

public boolean validateSameBatchAvailQty(
    InventMovement _movement, 
    InventDim _inventDimCriteria, 
    InventDim _inventDimCriteriaSelected, 
    CreatedTransactionId _ttsId, 
    boolean _isWork, 
    boolean _allowReservedOrdered, 
    InventQty _availPhysical, 
    InventQty _availOrdered)

Run On

Called

Parameters

  • _inventDimCriteria
    Type: InventDim Table
    The inventory dimension criteria used to reserve inventory.
  • _inventDimCriteriaSelected
    Type: InventDim Table
    The inventory dimension criteria currently selected to be reserved.
  • _isWork
    Type: boolean
    A boolean flag determining if the calculation should be done different because the movement is of a "work" type.
  • _allowReservedOrdered
    Type: boolean
    Determines if the reservation is allowed to be Reserved Ordered.
  • _availPhysical
    Type: InventQty Extended Data Type
    The available physical amount calculated for the full dimensions attempting to be reserved.

Return Value

Type: boolean
true, if there is enough inventory to satisfy the same batch criteria; otherwise, false.

See Also

Reference

InventBatchConsumptionValidator Class