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.
Customer / Contact association problem
I am new to working with the SuiteTalk platform and attempting to add and associate customers and contacts from a system on my network. Everything works great and indicates success except that the contact is not associated with the customer when the code execution completes. Below the code demonstrates the convention I am using to accomplish this:
1. new Customer is created and name and status are assigned.
2. Customer instance is added to NetSuite using NetSuiteService.add(Record) method.SUCCESS
3. new Contact is created and appropriate values are assigned.
4. Contact instance is added to NS using add method.SUCCESS
5. new Customer is created and the internalId is set from the response returned in step 2.