InventBatchConsumptionValidator.validateBatchAttributesForReservation Method [AX 2012]
Validates that the batch can be reserved based on batch attributes.
Syntax
protected boolean validateBatchAttributesForReservation(
InventBatch _inventBatch,
CustAccount _custAccount,
[TmpPdsBatchAttribSelect _prevAttrSel])
Run On
Called
Parameters
- _inventBatch
Type: InventBatch Table
The inventory batch to validate.
- _custAccount
Type: CustAccount Extended Data Type
The customer for which to retrieve batch attributes.
- _prevAttrSel
Type: TmpPdsBatchAttribSelect Table
A PdsBatchAttribAttribSelect record to be used instead of standard attributes.
Return Value
Type: boolean
true if the inventory batch can be reserved base on batch attributes; otherwise, false.