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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
soap response: Invalid Type
I'm using c# and trying to just add a test customer and I get an error of Invalid Type. I'm using the 2022_1 wsdl
RecordRef status = new RecordRef();
status.internalId = "13";
status.type = RecordType.customerStatus;
Customer customer = new Customer();
customer.externalId = "CALEBTEST";
customer.altPhone = "2146733423";
customer.entityStatus = status;
customer.entityId = "Caleb Test";
customer.companyName = "caleb Test";
customer.email = "xxxx.gmail.com;
customer.monthlyClosing = CustomerMonthlyClosing._endOfTheMonth;
addResponse response = await client.addAsync(CreateTokenPassport(), null, null,null, customer);
0