CostSheetNode.calc Method [AX 2012]
Calculates the amounts based on input data and costing sheet structure.
public CostCalcTransData calc(CostSheet _costSheet, CostCalcTransData _costCalcTransData)
Run On
CalledParameters
- _costSheet
- Type: CostSheet Class
The costing sheet object.
- _costCalcTransData
- Type: CostCalcTransData Class
The CostCalcTransData object that has input data.
Every node may be in either "calculated" or "not calculated” state. The costing sheet is calculated in one or more passes until all nodes have "calculated" status. If the node is a "leaf", that is, has no subnodes, the calcLowestLevel method is called that processes the input data and marks the node as "calculated". If the node is a composite, that is, has subnodes, it is marked as "calculated" after all its subnodes are "calculated".
Community Additions
ADD
Show: