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?