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.
Call nlapiGetRecordId() from Suitelet
Hi,
I have a suitelet which has a custom record output to pdf in it. I also have a button in my custom record to call the suitelet.
The issue I have is if I use nlapiGetRecordId() in my suitelet. When I try and run it I get an error as below
Account: 773594
Environment: Production
Date & Time: 4/29/2009 1:03 pm
Execution Time: 0.01s
Script Usage: 0
Script: Contract Print
Type: Suitelet
Function: PrintContract
Error: SSS_MISSING_REQD_ARGUMENT
id
Stack Trace: PrintContract(Contract.js:4)
So my question is how do I get the current record id into my suitelet, am I going about this the wrong way?
0