--SQL Query--
SELECT sum(QUANTITY) INBOUND_INV_ITEM_QTY
FROM INV_SUPPLY_V
WHERE
supply_type_code <> 'RECEIVING'
AND req_line_id IS NULL
AND item_id IS NOT NULL
AND ITEM_ID=300000010379046
AND to_organization_id =300000002993023