问题
I have created two RESTlet file.
First one uploaded from computer . Script id - 1, Deployment id - 1 Second one uploaded from web . Script id - 2, Deployment id - 1
The RESTlet which was uploaded from computer, can call by token details and can get Netsuite details.
But i could not call and access from Script id -2 and Deployment id-1.
I got reference error, when i call the RESTlet script uploaded from web. This is the link of my file http://support.gunify.com/wp-content/uploads/2015/11/gu_method.js
Error
Array
(
[error] => Array
(
[code] => REFERENCE_ERROR
[message] => ReferenceError: "gu_method" is not defined. (null$lib#4).
)
)
来源:https://stackoverflow.com/questions/34947515/how-to-refer-the-web-file-for-restlet-script-in-netsuite