InventBatchJournalAttributeCalculator.compute Method [AX 2012]
Computes or calculates the batch attribute based on the specified batch attribute value.
Syntax
public PdsBatchAttribValue compute(PdsBatchAttribValue _attribValue, InventBatchJournalSource _source)
Run On
Called
Parameters
- _attribValue
Type: PdsBatchAttribValue Extended Data Type
The batch attribute value.
- _source
Type: InventBatchJournalSource Table
The corresponding source line from a batch merge.
Return Value
Type: PdsBatchAttribValue Extended Data Type
The result of the computation as a new batch attribute value rounded to the nearest increment as specified by the batch attribute.
Remarks
The actual computation is dependent on the current instance of a InventBatchJournalAttributeOperator derived object. It is the responsibility of the caller to ensure that the result is within tolerance.