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
Help updating or adding InventoryItem
Greetings. I am working on a project in C# that uses the NetSuite webservices API. I am developing in MSVS 2005.
I am having trouble when executing the add or update webservice request with an InventoryItem record. The error report I can get back only states "Unexpected Error occurred". With all other development kinks I have had, I have been able to determine the problem looking at the message in the statusDetail field inside of the WriteResponse.status field, but this message is a bit unhelpful.
Here is my code where I construct the InventoryItem record. This is from a conversion function where I convert a proprietary object into the NetSuite InventoryItem object. Most of the fields in the proprietary object are of the same type as their counterpart in InventoryItem. Where they are not you can see the conversion.