Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Import Inventory Fees given the Location
Hi,
I need to load all the inventory feeds for a given location in a daily basis so I can keep our website updated according to NetSuite information.
So far the only way I have found to get this information is by using an ItemSearchBasic and filtering by inventoryLocation.
As result, I get a collection of references for InventoryItems or AssemblyItems -the 2 different items we use- and going straight to the locations collection I can get the inventory fee I need:
((InventoryItem)response.recordList[0])).locationsList.locations[2].quantityOnHand
The code above give me the qty on hand for the first item on the third location.
0