basically have ``` function afterSubmit() { my...
# suitescript
e
basically have
Copy code
function afterSubmit() {
    myModule.doSomething();
}
where
myModule
imports the format module and has:
Copy code
function doSomething() {
  fmt.format(...); // this works fine
  doSomethingElse();
}

function doSomethingElse() {
  fmt.format(...); // this doesn't work
}