Look at the help docs for `nlapiExchangeRate`; the...
# suitescript
e
Look at the help docs for `nlapiExchangeRate`; the function takes two currencies and a date to get you the rate between those currencies on the given date