Share via


InventBatchJournalAttributeCalculator::newCalculator Method [AX 2012]

Constructs a calculator object to compute batch attribute values based on the specified batch attribute ID.

Syntax

client server public static InventBatchJournalAttributeCalculator newCalculator(PdsBatchAttribId _attribId)

Run On

Called

Parameters

Return Value

Type: InventBatchJournalAttributeCalculator Class
A calculator object to calculate batch attribute values based on the specified batch attribute ID.

Remarks

If a batch attributed ID is specified that is not supported by any InventBatchJournalAttributeOperator derived classes, then a default InventBatchJournalAttributeOperator object is used. Subsequent calls to the method batchAttributeSupported will return false.

See Also

Reference

InventBatchJournalAttributeCalculator Class