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!
Using customform
When using the server script, I want to use a different form than the one that is marked preferred.
The script is a scheduled script that uses the following code to update the contact sales status:
var contactFormNumber = 50;
var record = nlapiLoadRecord('contact', contInternalID);
record.setFieldValue('customform', contactFormNumber);
record.setFieldValue('custentityeicontsalesstatus', '14');
nlapiSubmitRecord(record, false);
Thanks,
Brenda
0