Function to get the latest currency exchange rate

  /**        * 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

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