SuiteScript 1.0 MODULE DOES NOT EXIST ERROR?
Hi all,
I have SuiteScript 1.0 thats encounters an error
“{\”userEvent\”:null,\”internalId\”:null,\”code\”:\”MODULE_DOES_NOT_EXIST\”,\”details\”:\”Module does not exist: /BP_SL_Fulfill_FreightCalc.js$792369.js\”,\”stackTrace\”:{\”[Ljava.lang.String;\”:[\”main(BP_SL_Fulfill_FreightCalc.js$792369:59)\”,\”(BP_SL_Fulfill_FreightCalc.js$792369:251)\”]},\”type\”:\”nlobjError\”,\”suppressNotification\”:false}
Found out that this line of code is whats causing it
var soRec = nlapiLoadRecord(‘salesorder’, soId, {recordmode:’dynamic’});
Tried removing the recordmode dynamic and still the issue persist
Anyone have idea to resolve it?
If you are certain that the below line of code is causing the error:
var soRec = nlapiLoadRecord(‘salesorder’, soId, {recordmode:’dynamic’});
I would assume that the nlapiLoadRecord is triggering other User Event scripts on beforeLoad
Yeah youre right. Already fixed it. Thanks!