InventBatchConsumptionValidator Class [AX 2012]
This class handles the validation logic used when reserving specific batch inventory.
Syntax
class InventBatchConsumptionValidator
Run On
Called
Methods
Method | Description | |
---|---|---|
batchAndAboveInventDimParm | Gets information about which dimensions are batch and above in the reservation hierarchy for this instance's item. | |
batchIsAboveLocation | Determines if batch is above location in the reservation hierarchy for this instance's item. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
new | Initializes a new instance of the InventBatchConsumptionValidator class. | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
parmInventTable | Gets or sets the InventTable parameter. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
validateAll | Validates all conditions are met to allow reservation of the batch. | |
validateBatchAttributesForReservation | Validates that the batch can be reserved based on batch attributes. | |
validateBatchDispositionForReservation | Validates that the batch can be reserved based on batch disposition. | |
validateExpiryDate | Validates that the batch can be reserved based on batch expiration date and customer sellable days. | |
validateSameBatch | Validates that the batch is not different than a batch currently set on a movement transaction. | |
validateSameBatchAvailQty | Determines if there is enough inventory available for the batch selected to satisfy the entire on order amount of the movement. | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::newFromInventTable | Creates a new instance of the InventBatchConsumptionValidator class for validating reservations of the specified item. | |
::validateAllStatic | Validates all conditions are met to allow reservation of the batch. |
Top
Inheritance Hierarchy
Object Class
InventBatchConsumptionValidator Class