Join Slack
Powered by
Seems to be that I missed the general require([ ])...
# suitescript
c
Christiaan
03/11/2020, 7:46 PM
Seems to be that I missed the general require([]) block before assigning it to a variable;
s
Sandii
03/11/2020, 9:39 PM
you need
Copy code
require(['N/currentRecord']) var cr = require('N/currentRecord')
Sandii
03/11/2020, 9:41 PM
You could also use something like this to avoid that
https://netsuiteprofessionals.slack.com/archives/C29HQS63G/p1583430754146900
Open in Slack
Previous
Next