I'm running the following SuiteQL select Item.Quan...
# suiteql
s
I'm running the following SuiteQL select Item.QuantityOnHand, Item.QuantityCommitted, Item.QuantityAvailable,Item.QuantityOnOrder from item where itemtype = 'Assembly' and id = 68412 And I'm getting the following error
Copy code
Search error occurred: Field 'QuantityAvailable' for record 'item' was not found. Reason: REMOVED - Field is removed
Field 'QuantityCommitted' for record 'item' was not found. Reason: REMOVED - Field is removed
Field 'QuantityOnHand' for record 'item' was not found. Reason: REMOVED - Field is removed
Field 'QuantityOnOrder' for record 'item' was not found. Reason: REMOVED - Field is removed
Where are those fields now ?
r
SELECT item, location, quantityavailable, QuantityCommitted, QuantityOnHand, QuantityOnOrder FROM inventoryitemlocations
this may be what you are looking for
or if you have multiple locations and need sums
Select Item.id, QA, QC, QOH, QOO from item left outer join (SELECT item, SUM(quantityavailable) as QA, Sum(QuantityCommitted) as QC, Sum(QuantityOnHand) as QOH, SUM(QuantityOnOrder) as QOO FROM inventoryitemlocations group by item) as itemCounts on (itemCounts.item = item.id) order by Item.Id
Per Tim D, what features you have on your account determine tables and columns available so what is above may or may not work for you.
s
thanks a lot