Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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.