For example. I have a cash sale charging function ...
# suitescript
r
For example. I have a cash sale charging function that is called from UEs, scheduled scripts and sometimes restlets. I define my function in SuiteScripts/Common/bill.js and require the bill js file in other scripts as needed