Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
referancing locations and quantities for inventory items
I am trying to reference inventory locations and quantities via SuiteTalk.
I have tried:
InventoryItem item = (InventoryItem)readResponse.record;
item.locationsList = new InventoryItemLocationsList();
item.locationsList.locations = new InventoryItemLocations[1];
item.locationsList.locations[0] = new InventoryItemLocations();
item.locationsList.locations[0].quantityAvailableSpecified = true;
inv.Add(item.locationsList.locations[0].location, item.locationsList.locations[0].quantityAvailable);
with no luck as item.locationsList.locations[0].location is null.
If I check the response I show proper values for location and qty fields (among others)
Can anyone point me to what I am missing?