Share via


InventBatchConsumptionValidator::validateAllStatic Method [AX 2012]

Validates all conditions are met to allow reservation of the batch.

Syntax

client server public static boolean validateAllStatic(
    InventBatchId _batchId, 
    InventMovement _movement, 
    InventDim _dimCriteria, 
   [TmpPdsBatchAttribSelect _prevAttrSel])

Run On

Called

Parameters

  • _dimCriteria
    Type: InventDim Table
    The inventory dimension criteria that must be met by the reservation.

Return Value

Type: boolean
true if the batch is valid for reservation; otherwise, false.

Remarks

This method should be used in scenarios where persisting data and caching within the InventBatchConsumptionValidator class will unlikely be used.

Typically it should only be called once during any one process.

See Also

Reference

InventBatchConsumptionValidator Class