Skip to content

Instantly share code, notes, and snippets.

@JoshZastrow
Created March 21, 2017 15:23
Show Gist options
  • Save JoshZastrow/d29d55427ca2e1e31e394b2384fa281a to your computer and use it in GitHub Desktop.
Save JoshZastrow/d29d55427ca2e1e31e394b2384fa281a to your computer and use it in GitHub Desktop.
EPICOR total parts on hand
SELECT
PartBin.PartNum,
Sum(PartBin.OnhandQty) AS 'ON Hand'
FROM ERP10PROD.Erp.PartBin PartBin
WHERE (PartBin.WarehouseCode='FGI')
GROUP BY PartBin.PartNum
@JoshZastrow
Copy link
Author

total parts on hand across all bins and lot numbers for each part number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment