Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
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?