Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Invalid Reference Key Error
Hi,
I am writing a Scheduled Script to import cashsale records and I am facing a problem. The script is throwing an error like :
INVALID_REF_KEY Invalid reference key [null].
I do not understand what this refers to. This points to the line where I have used nlapiSubmitRecord(record).
Makes me think, probably I have missed our assigning value for a mandatory field or something.
Any help regarding this would be much appreciated.
Thanks
0