IFiscalDocTransAggregationRules_BR.aggregate Method [AX 2012]
Aggregates two FiscalDocTrans_BR records.
Syntax
public FiscalDocumentLine_BR aggregate(FiscalDocumentLine_BR _aggregation, FiscalDocumentLine_BR _tobeAggregated)
Run On
Called
Parameters
- _aggregation
Type: FiscalDocumentLine_BR Table
The FiscalDocTrans_BR record that will receive the values of the second record and be persisted.
- _tobeAggregated
Type: FiscalDocumentLine_BR Table
The FiscalDocTrans_BR record that will be aggregated into the record that is specified by the _aggregation parameter.
Return Value
Type: FiscalDocumentLine_BR Table
The aggregated FiscalDocTrans_BR record.
Remarks
This method should implement the aggregation of two records by using sum, average, or other aggregation.