wrong file edited
This commit is contained in:
parent
d712a8ba4c
commit
b372f70f12
@ -30,9 +30,9 @@ BEGIN
|
|||||||
acct
|
acct
|
||||||
,fspr
|
,fspr
|
||||||
,dur
|
,dur
|
||||||
--put a negative in front to negate the initial debit/credit assignment
|
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) debits
|
||||||
,coalesce(-sum(amount) FILTER (WHERE amount < 0),0) credits
|
,coalesce(sum(amount) FILTER (WHERE amount < 0),0) credits
|
||||||
FROM
|
FROM
|
||||||
ins
|
ins
|
||||||
INNER JOIN evt.fspr f ON
|
INNER JOIN evt.fspr f ON
|
||||||
|
Loading…
Reference in New Issue
Block a user