InventBatchConsumptionValidator.validateAll Method [AX 2012]
Validates all conditions are met to allow reservation of the batch.
Syntax
public boolean validateAll(
InventBatchId _batchId,
InventMovement _movement,
InventDim _dimCriteria,
CustAccount _custAccount,
date _checkDate,
[TmpPdsBatchAttribSelect _prevAttrSel])
Run On
Called
Parameters
- _batchId
Type: InventBatchId Extended Data Type
The batch Id being evaluated.
- _movement
Type: InventMovement Class
The movement driving the reservation of the batch.
- _dimCriteria
Type: InventDim Table
The inventory dimension criteria that must be met by the reservation.
- _custAccount
Type: CustAccount Extended Data Type
The customer account used for specific sales order validation. Can be entered as blank for non-sales order movements.
- _checkDate
Type: date
A date value that will be used to verify that the expiration date is beyond this date.
- _prevAttrSel
Type: TmpPdsBatchAttribSelect Table
A PdsBatchAttribAttribSelect record to be used instead of standard attributes.
Return Value
Type: boolean
true if the batch is valid for reservation; otherwise, false.