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;" ?
thanks for any help