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.
  • _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.

See Also

Reference

SpecTransManager Class