pen one
05/06/2022, 3:51 PMdefine(['N/currentRecord', 'N/search', 'N/ui/dialog', './exportRates.js'], (currentRecord, search, dialog, rates)
The script I am importing is in the same folder where the script I am importing to is.
And am calling the function this way:
rates();
But I am getting a rates is not a function error.
If someone can point me in the right direction would be appreciated.Bibek Shrestha
05/06/2022, 3:53 PMrates.rates()
pen one
05/06/2022, 3:56 PM