How do I call one suitescript 2.0 script from anot...
# suitescript
n
How do I call one suitescript 2.0 script from another? online discussion suggests
url.resolveScript(options)
but this just seems to resolve the url to a suitescript...do I just need to then call that via the https module?
b
What type of script from and to
In general your best chance is to add the script file to your dependencies and use it from there
n
oh I see - so just add at head of script and reference in define statement?
The one calling it is scheduled. The one being called...just needs to be called on-demand. Not sure what type to make it.
just a utility function
inside
b
Use it as a custom module
n
Got it working. Thank you!