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.
creating 'note' with SuiteScript
Are there any examples of creating a note for a contact using NetSuite? I've been able to find a great one for doing this with the Web Services API, but I can't see anything for doing so with SuiteScript.
I did find some evidence (I think) that it's possible, on this page in the SuiteScript Reference Guide:
SuiteFlex (Customization, Scripting, and WebServices) : SuiteScript : SuiteScript Reference Guide : Communications : Note
the page shows the fields required (presumably by "var myNote = nlapiCreateRecord('note');", but it doesn't explain how to get the values. For example, how do I specify the note type? I do I just say "myNote.notetype = 8;" ?
0