Revision [464]

Last edited on 2011-07-22 16:30:31 by admin
Additions:
======Payments by Place of Service and Year======
SELECT
year(c.trandate) as YEAR,
defcode as POS,
sum(crsplamt) as "TOTAL PAID"
FROM
jcrsplits a
join jcredits b
join journal c
join rv_charges d on a.chgsplnum=d.chgsplnum
join poscodes e on d.poscodenum=e.poscodenum
WHERE
b.credtype <> 'Adjustment'
GROUP BY
year,pos
ORDER BY
year,pos
Deletions:
======Query Title ======
comments here appear in italics
paste your tested query here


Revision [463]

The oldest known version of this page was created on 2011-07-22 14:38:09 by admin [Cloned from NewQuery]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki