details: https://code.openbravo.com/erp/devel/pi/rev/b018aeca396f
changeset: 17863:b018aeca396f
user: David Miguelez <david.miguelez <at> openbravo.com>
date: Thu Sep 06 12:27:40 2012 +0200
summary: Fixes issue 21566: Changes the parameters when calling the function
C_INVOICETAX_ROUNDING.
diffstat:
src-db/database/model/functions/C_INVOICE_POST.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2d8b2a794d9d -r b018aeca396f
src-db/database/model/functions/C_INVOICE_POST.xml
--- a/src-db/database/model/functions/C_INVOICE_POST.xml Thu Sep 06
12:04:26 2012 +0200
+++ b/src-db/database/model/functions/C_INVOICE_POST.xml Thu Sep 06
12:27:40 2012 +0200
@@ -1330,7 +1330,7 @@
withholdingamount = withholdamount
WHERE C_Invoice_ID=v_Record_ID;
IF (v_istaxincluded = 'Y') THEN
- C_INVOICETAX_ROUNDING(v_Record_ID, v_GrandTotal, v_TotalLines);
+ C_INVOICETAX_ROUNDING(v_Record_ID, v_GrandTotal - v_taxnorecalculable,
v_TotalLines);
END IF;
DBMS_OUTPUT.PUT_LINE('withholdingamount=' || withholdamount);
DBMS_OUTPUT.PUT_LINE('GrandTotal=' || v_GrandTotal) ;
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits