/** * Function to get the latest currency exchange rate based on base currency (HKD) and transaction currency(USD) * @param baseCurrency * @param sourceCurrency * @return exchangeRate **/ function getExchangeRate(baseCurrency, sourceCurrency) { try { let exchangeRate = 0; let currencyrateSearchObj = search.create({ type: “currencyrate”, filters: [ [“basecurrency”, “anyof”, baseCurrency], “AND”, [“transactioncurrency”, “anyof”,… Continue reading Function to get the latest currency exchange rate
Tag: Exchange Rate
exchange rate fields in General Ledger and Balance Sheet reports
Added exchange rate fields in General Ledger and Balance Sheet reports. However, the decimal point is not displayed.Enhancement # 145845 – Exchange rates should not be rounded off to 2 decimal places when exposed on saved searches and reports. Enhancement # 372832 – Balance Sheet Detail Report > Exchange Rate Field > Change Decimal Places to Match with the… Continue reading exchange rate fields in General Ledger and Balance Sheet reports
Exchange rate search
Scenario: We require an exchange rate search that provides the exchange rate of the selected currency on the chosen date. If the date is in the future, the exchange rate for that day will not be available. In such cases, we need the latest exchange rate available in NetSuite. If the selected currency is the… Continue reading Exchange rate search
Function to get the latest currency exchange rate based on base currency and transaction currency
Function to get the latest currency exchange rate based on base currency and transaction currency
Function to get Exchange Rates
Jira Code : BGGN-529