wrong file edited

This commit is contained in:
Paul Trowbridge 2018-09-27 14:56:12 -04:00
parent d712a8ba4c
commit b372f70f12

View File

@ -30,9 +30,9 @@ BEGIN
acct
,fspr
,dur
--put a negative in front to negate the initial debit/credit assignment
,coalesce(-sum(amount) FILTER (WHERE amount > 0),0) debits
,coalesce(-sum(amount) FILTER (WHERE amount < 0),0) credits
put a negative in front to negate the initial debit/credit assignment
,coalesce(sum(amount) FILTER (WHERE amount > 0),0) debits
,coalesce(sum(amount) FILTER (WHERE amount < 0),0) credits
FROM
ins
INNER JOIN evt.fspr f ON