details: /erp/stable/2.50/rev/7c2971cc4926
changeset: 9454:7c2971cc4926
user: Ioritz Cia <ioritz.cia <at> openbravo.com>
date: Thu May 26 18:34:24 2011 +0200
summary: Fixes issue 17389: Accounting error in Tax Payment process.
diffstat:
src-db/database/model/functions/C_TAXPAYMENT_POST.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r cd0607f1c38d -r 7c2971cc4926
src-db/database/model/functions/C_TAXPAYMENT_POST.xml
--- a/src-db/database/model/functions/C_TAXPAYMENT_POST.xml Thu May 26
17:16:59 2011 +0200
+++ b/src-db/database/model/functions/C_TAXPAYMENT_POST.xml Thu May 26
18:34:24 2011 +0200
@@ -287,7 +287,7 @@
RAISE_APPLICATION_ERROR(-20100, '@TwoRegisterTypesNeeded@');
end if;
- select case when tt.issotrx='Y' then max(glitem_debit_acct) else
max(glitem_credit_acct) end, max(tt.c_glitem_id)
+ select case when tt.issotrx='Y' then max(glitem_credit_acct) else
max(glitem_debit_acct) end, max(tt.c_glitem_id)
into v_glitem_acct, v_glitem_id
from c_taxregister_type tt
inner join c_glitem_acct gia on gia.c_glitem_id=tt.c_glitem_id
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits