if this is not your entire script, make sure there...
# suitescript
j
if this is not your entire script, make sure there is no line of code that says
Copy code
var record = ...
because that will replace the reference to the N/record module