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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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