details: https://code.openbravo.com/erp/devel/pi/rev/4cfbd5d699d2
changeset: 26277:4cfbd5d699d2
user: Unai Martirena <unai.martirena <at> openbravo.com>
date: Thu Mar 26 16:41:55 2015 +0100
summary: Fixes issue 29431: Add missing inserting to if clause
diffstat:
src-db/database/model/triggers/C_INVOICELINE_TRG2.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 9a240957107d -r 4cfbd5d699d2
src-db/database/model/triggers/C_INVOICELINE_TRG2.xml
--- a/src-db/database/model/triggers/C_INVOICELINE_TRG2.xml Thu Mar 26
15:33:52 2015 +0000
+++ b/src-db/database/model/triggers/C_INVOICELINE_TRG2.xml Thu Mar 26
16:41:55 2015 +0100
@@ -14,7 +14,7 @@
* under the License.
* The Original Code is Openbravo ERP.
* The Initial Developer of the Original Code is Openbravo SLU
-* All portions are Copyright (C) 2001-2012 Openbravo SLU
+* All portions are Copyright (C) 2001-2015 Openbravo SLU
* All Rights Reserved.
* Contributor(s): ______________________________________.
************************************************************************/
@@ -68,7 +68,7 @@
IF (UPDATING) THEN
v_oldgrossamt := :old.line_gross_amount;
v_newgrossamt := :new.line_gross_amount;
- ELSE
+ ELSIF (INSERTING) THEN
v_newgrossamt := :new.line_gross_amount;
END IF;
END IF;
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits