InventBatchConsumptionValidator.validateSameBatch Method [AX 2012]
Validates that the batch is not different than a batch currently set on a movement transaction.
Syntax
protected boolean validateSameBatch(InventMovement _movement, InventBatchId _batchToReserve)
Run On
Called
Parameters
- _movement
Type: InventMovement Class
The movement trying to reserve the batch.
- _batchToReserve
Type: InventBatchId Extended Data Type
The batch Id of the batch being reserved.
Return Value
Type: boolean
true if the batch is not different than the batch of a movement transaction; otherwise, false.