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.
How can I use nlapiSetLineItemValue with suitelet?
Hi,
How can I use nlapiSetLineItemValue with suitelet?
I have the following suitelet:
var newForm = nlapiCreateForm('Test'); newForm.addField('msg', 'text', 'Message'); newForm.setScript(xxx); newForm.addButton('submit', 'Submit', "onclick();"); response.writePage(newForm);Where xxx is the internal id for a client script.
What should I add in my client script to save the field msg in a custom field in custom record?
Note: nlapiSetFieldValue is supported by suitelet
0