Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Country field for customer import now madatory?
Hi all,
We are using SOAP/PHP to import customers
Looks like the Country field in the address has now become mandatory?
I keep getting the following message when trying to create a new customer with address fields:
["faultcode"]=> string(28) "soapenv:Server.userException" ["faultstring"]=> string(144) "com.netled ger.common.schemabean.NLSchemaBeanException: is not a legal value for {urn:types.common_2_5.platform.webservices.netsuite.com}Country" ["detail"]=> array(1) { ["hostname"]=> string(36) "partners-java007.svale.netledger.com"My customer record looks like this:
<platformMsgs:record xsi:type="s0:Customer"> <s0:customForm internalId="11"> <platformCore:name>Tenant custom four sync</platformCore:name> </s0:customForm> <s0:entityId>9036003706568048</s0:entityId> <s0:isPerson>true</s0:isPerson> <s0:firstName>Sandra</s0:firstName> <s0:lastName>Pyke</s0:lastName> <s0:companyName></s0:companyName> <s0:entityStatus internalId="17"> <platformCore:name>CUSTOMER- Closed-Won Customer</platformCore:name> </s0:entityStatus> <s0:parent internalId="5805"> <platformCore:name>19007 - MPRE Carrum Downs</platformCore:name> </s0:parent> <s0:phone>03 9772 3209</s0:phone> <s0:fax> </s0:fax> <s0:email> 0