Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
We’re excited to announce that the 2025 Community Recap is now available! This special recap highlights the amazing contributions and achievements of our members over the year and celebrates the collective success of our community.
Check your personalized recap to see the impact you made in 2025 and how your efforts helped shape our community’s growth and success.
View Your 2025 Community Recap
Thank you to everyone for your passion, collaboration, and support. Here’s to building an even stronger community together in the year ahead!
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.