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
Needed: Convert Non-Inventory Item to Inventory via script
I have a situation where I need to perform a convert non-inventory item to inventory item to perform the same thing that the UI functionality performs but completely in script.
I was hoping nlapiTransformRecord would do the trick but do not see anything for supporting this in either 2009.2 or 2010.1.
Is there a way to do this via script and get the same results as the UI functionality? Specifically, be able to have previous records that used the non-inventory item still point to the old non-inventory item while new ones will see the inventory item.
If this is nothing more than copying data from the non-inventory and changing the accounts, deactivating the non-inventory, then I have no problem scripting all this. I would just need to know what needs to be set on each record type to get the same benefit of the UI functionality.