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 Record Not Allowed As Parent
I'm trying to set the parent customer record on new customer, but NetSuite is returning the error "That record does not exist". The customer record I'm trying to set as the parent definitely exists, and is already the parent customer for multple customers we have creating using the GUI.
I originally pulled the internal ID for the parent from the GUI, and after that didn't work, I used the following code to get a list of possible customer_parent values:
GetSelectValueField getSelectValueField = new GetSelectValueField();
getSelectValueField.setFieldType(GetSelectValueType.customer_parent);
GetSelectValueResult getSelectResult = port.getSelectValue( getSelectValueField );
And sure enough, the customer record I'm trying to set as the parent isn't being returned, nor are a number of others; for no reason I can tell. Any ideas as to why some customers can not be set as parent customers, even if they are used as such in the GUI?