How to access/expose Inventory Item Locations sublist fields in Suitescript?
i need to get the fields like Qty on hand, Qty on order, Qty available, value, avg cost, on each location on my item master record.
Rookie Asked on January 27, 2021 in SuiteScript.
Should be available on the locations sublist.
Consider using the NetSuite Field Explorer, the SuiteScript Debugger, or simply load the record in the browser and log the output of its .toJSON method to see what fields are available on the record
I agree that using IEs can help expose the item location ids. You may also check on the link below since it has the same inquiry as yours, and hopefully this helps.