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.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
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.