either you're calling code from a module you haven...
# suitescript
e
either you're calling code from a module you haven't loaded in your define (i.e;
record.load()
but you're not loading
record
) or you have something in your define and NS can't find the file. (custom module)