Hi, I have a suitelet and im trying to add a funct...
# suitescript
i
Hi, I have a suitelet and im trying to add a function to a button, looking through the docs I found the function clientScriptModulePath I set it to the client script but, how do I use the functions that are on the client script, because Im setting the button like this
form.addButton({ id : 'custpage_excel', label : 'Test', functionName : 'test()' });
and before that line is
form.clientScriptModulePath = 'SuiteScripts/SLP Accounts payable recd not vouchered/STEMCO_CUE_recNotVouchClientFunctions.js';
but that did not seem to work