SpecTransManager::getTotalInterestAmountForSpecRef_BR Method [AX 2012]
Calculates the Interest total of the associated records in the SpecTrans table in the specified currency.
Syntax
server public static AmountCur getTotalInterestAmountForSpecRef_BR(
CompanyId _specCompany,
TableId _specTableId,
RefRecId _specRecId,
CurrencyCode _specCurrency,
CompanyId _specCurrencyCompany,
TransDate _exchRateDate,
[ExchRate _exchRate])
Run On
Server
Parameters
- _specCompany
Type: CompanyId Extended Data Type
The reference company of the group of SpecTrans records for which to calculate the total amount to settle.
- _specTableId
Type: TableId Extended Data Type
The reference table ID of the group of SpecTrans records for which to calculate the total amount to settle.
- _specRecId
Type: RefRecId Extended Data Type
The reference record ID of the group of SpecTrans records for which to calculate the total amount to settle.
- _specCurrency
Type: CurrencyCode Extended Data Type
The currency of the referenced transaction that is used when converting the total.
- _specCurrencyCompany
Type: CompanyId Extended Data Type
The company of the currency that is used when converting the total.
- _exchRateDate
Type: TransDate Extended Data Type
The date used to find exchange rates.
- _exchRate
Type: ExchRate Extended Data Type
The exchange rate used to convert the total from the specified currency to the monetary standard (MST) currency; optional.
Return Value
Type: AmountCur Extended Data Type
The total Interest amount of associated records in the SpecTrans table.