Revision [167]

Last edited on 2008-11-10 17:01:57 by SethKrieger
Additions:
adjcode, fullnameid, trandate, payorname, amount
adjcode, fullnameid, payorname, SUM(amount)
adjcode, fullnameid, payorname
Deletions:
adjcode, fullnameid, trandate, amount, payorname
adjcode, fullnameid, SUM(amount), payorname
adjcode, fullnameid, payorname


Revision [166]

Edited on 2008-11-10 16:59:43 by SethKrieger
Additions:
and the summary query would be:
Deletions:
and the summary query woulbe be:


Revision [165]

Edited on 2008-11-10 16:59:21 by SethKrieger
Additions:
======Adjustments by Type and by Client for a Period======
Deletions:
======AdjustmentsByTypeByClientForPeriod Adjustments by Type and by Client for a Period======


Revision [164]

Edited on 2008-11-10 16:58:51 by SethKrieger
Additions:
======AdjustmentsByTypeByClientForPeriod Adjustments by Type and by Client for a Period======
I want a detailed or summary report of adjustments for a particular date range, grouped by type and then by client.
The detailed query would be:
SELECT
adjcode, fullnameid, trandate, amount, payorname
FROM
rv_credits
WHERE
credtype = 'Adjustment'
AND trandate BETWEEN '2000-01-01' AND '2008-07-31'
ORDER BY
adjcode, fullnameid, trandate
and the summary query woulbe be:
SELECT
adjcode, fullnameid, SUM(amount), payorname
FROM
rv_credits
WHERE
credtype = 'Adjustment'
AND trandate BETWEEN '2000-01-01' AND '2008-07-31'
GROUP BY
adjcode, fullnameid, payorname
ORDER BY
adjcode, fullnameid, payorname
Deletions:
======Query Title ======
comments here appear in italics
paste your tested query here


Revision [163]

The oldest known version of this page was created on 2008-11-10 16:55:20 by SethKrieger [Cloned from NewQuery]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki