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
Getting Inventory item quantity by location via script
Hi,
I need to get the quantity available on an inventory item record, unfortunately I have been having difficulties in locating the ID to get this data.
A little background on what we need to do:
We need a script that will implement logic that changes the shipping location based upon stock quantity held within several warehouse locations.
We have considered running a saved search, but we would rather keep the code from running searches as the amount of inventory is significant and can be lengthy at times ( this script runs as a beforesubmit, so speed is a factor )
We are considering implementing a custom item column that will meet our needs and be easily accessible via code but our solution depends upon the field id.