Hi All, How standard currency exchange rate works ...
# suitescript
s
Hi All, How standard currency exchange rate works (we will manually update the rates every month in this record) I need to get the exchange rates of Jan 2023 through a search in script, how to achieve this in case if few currency exchange rates are updated and few are not updated
v
'N/currency' module
var rate = currency.exchangeRate({ source : transactionCurrency, target : approverCurrency, date : new Date() });
👍🏻 1
n
^^ Note, that will return one result based on the 3 supplied values if a match is made.