Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Updates the interest amount.
Syntax
client server private static FineAmount_BR calculateAndUpdateInterestAmount_BR(
CompanyId _refCompany,
CustVendTransOpen _custTransOpen,
TransDate _paymentDate,
AmountCur _amountCur,
CurrencyCode _currencyCode)
Run On
Called
Parameters
- _refCompany
Type: CompanyId Extended Data Type
The company that is related to the open customer transaction that should be updated.
- _custTransOpen
Type: CustVendTransOpen Map
The open transaction for which to calculate the fine amount and fine amount currency.
- _paymentDate
Type: TransDate Extended Data Type
The date to use to calculate the interest amount.
- _amountCur
Type: AmountCur Extended Data Type
The amount to use to calculate the interest amount.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency to use.
Return Value
Type: FineAmount_BR Extended Data Type
The calculated interest amount.