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
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