projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8baa95
)
pgsql/investigations/ar-debitmemo.sql
author
Edward
<edward@roojs.com>
Tue, 4 Feb 2014 10:11:21 +0000
(18:11 +0800)
committer
Edward
<edward@roojs.com>
Tue, 4 Feb 2014 10:11:21 +0000
(18:11 +0800)
pgsql/investigations/ar-debitmemo.sql
patch
|
blob
|
history
diff --git
a/pgsql/investigations/ar-debitmemo.sql
b/pgsql/investigations/ar-debitmemo.sql
index
0c2d510
..
793a6b8
100644
(file)
--- a/
pgsql/investigations/ar-debitmemo.sql
+++ b/
pgsql/investigations/ar-debitmemo.sql
@@
-75,8
+75,8
@@
BEGIN
SELECT
gltrans_id,
- gltrans_amount,
- ROUND( _ar.aropen_amount / _ar.aropen_curr_rate, 3 ) - ROUND(gltrans_amount, 3),
+ gltrans_amount
* -1.0
,
+ ROUND( _ar.aropen_amount / _ar.aropen_curr_rate, 3 ) - ROUND(gltrans_amount
* -1.0
, 3),
v_diff
INTO
v_gl_id,