Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
How to create address in customer record type nlapiCreateRecord
Wits end again. Probably me, but becoming blurry-eyed reading docs over and over to find nothing...
I am trying to create a customer record (nlapiCreateRecord('customer')). Works fine, saves fine, etc but can not figure out any way to get the address fields set. Can anyone help? Is it a separate record that is linked? Help. Tried defaultaddress but it didn't work either.
Second question around contact. After I create the customer record, I get the Id back and try to create a contact record associated with the just created customer record. I pass the Id for the 'company' field, and set the other fields I need to. When I submit the record (nlapiSubmitRecord) I get a _funcname not defined. It is in a different try/catch than the field setting and object creating so can't figure it out (see code below). If anyone can spot it please let me know.