Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
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. Register now
Ceating items problem on tax code
Hi
We are trying to add inventory items via Web services but have failed in setting the taxt code. Can anybody help with this please.
This is the type of SOPA message we send:
<listAcct:displayName>test</listAcct:displayName>
<listAcct:itemId>123</listAcct:itemId>
<listAcct:purchaseTaxCode xsi:type="platformCore:RecordRef">17.5%</listAcct:purchaseTaxCode>
<listAcct:salesTaxCode xsi:type="platformCore:RecordRef">17.5%</listAcct:salesTaxCode>
This is the error we get:
Array ( [faultcode] => soapenv:Server.userException [faultstring] => org.xml.sax.SAXException: Unable to marshall between XML and Castor Objects :Illegal Text data found as child of: purchaseTaxCode value: "17.5%" [detail] => Array ( [hostname] => sb-partners-java002.svale.netledger.com ) )