skip to main | skip to sidebar

bellresources

Wednesday, August 6, 2008

GP Total invoiced quantity per item, per customer

SELECT
m.CUSTNMBR, d.ITEMNMBR,
d.ITEMDESC, SUM(d.QUANTITY) AS 'Total_QTY'
FROM SOP30200 m
inner Join SOP30300 d on m.SOPNUMBE = d.SOPNUMBE
WHERE Year(m.docdate) = 2007 AND m.SOPTYPE = 3
GROUP BY
m.CUSTNMBR, d.ITEMNMBR, d.ITEMDESC
Posted by Jason Bell at 6:17 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2008 (16)
    • ▼  August (16)
      • Known issues and related support articles for Outl...
      • Microsoft CRM Outlook client and authentication ba...
      • GP Customer Balance
      • GP Total invoiced quantity per item, per customer
      • GP Show the earnings of each product with comparat...
      • GP current year sales of each product in inventory
      • GP invoice year total of each customer between the...
      • GP Invoice Summary
      • Cust History
      • orders due
      • GRANT ALL USERS
      • more dex.ini
      • one day auction
      • State of the Union Address
      • iRack
      • GP 10 dex.ini settings
  • ►  2007 (1)
    • ►  August (1)

About Me

My photo
Jason Bell
View my complete profile