Share via


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

  • _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.

Return Value

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

See Also

Reference

InventBatchConsumptionValidator Class