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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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