projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d786ff
)
pgsql/investigations/ar-creditmemo.sql
author
Edward
<edward@roojs.com>
Tue, 4 Feb 2014 10:02:32 +0000
(18:02 +0800)
committer
Edward
<edward@roojs.com>
Tue, 4 Feb 2014 10:02:32 +0000
(18:02 +0800)
pgsql/investigations/ar-creditmemo.sql
patch
|
blob
|
history
diff --git
a/pgsql/investigations/ar-creditmemo.sql
b/pgsql/investigations/ar-creditmemo.sql
index
148363f
..
f0db9ab
100644
(file)
--- a/
pgsql/investigations/ar-creditmemo.sql
+++ b/
pgsql/investigations/ar-creditmemo.sql
@@
-235,7
+235,7
@@
BEGIN
-- if currency rate is off...
IF v_diff != 0.00 THEN
- v_new_rate := _ar.aropen_amount / v_gl
_ar
_amount;
+ v_new_rate := _ar.aropen_amount / v_gl
trans
_amount;
RAISE NOTICE 'aropen_id % change currency rate from % to %', i_aropen_id, _ar.aropen_curr_rate ,v_new_rate ;