details: /erp/devel/pi/rev/933d6e1d7dec
changeset: 12348:933d6e1d7dec
user: Adrián Romero <adrianromero <at> openbravo.com>
date: Mon May 23 13:22:01 2011 +0200
summary: Issue 0016534: the invoice date, when the invoice is voided, should
be updatable
removal of dead code lines
diffstat:
src-db/database/model/triggers/C_INVOICE_TRG.xml | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diffs (12 lines):
diff -r d280e62e7919 -r 933d6e1d7dec
src-db/database/model/triggers/C_INVOICE_TRG.xml
--- a/src-db/database/model/triggers/C_INVOICE_TRG.xml Mon May 23 12:31:19
2011 +0200
+++ b/src-db/database/model/triggers/C_INVOICE_TRG.xml Mon May 23 13:22:01
2011 +0200
@@ -39,8 +39,6 @@
-- If invoice is processed, is not allowed to change C_BPartner
IF UPDATING
THEN
- -- If V_Count > 0, means that this invoice was created to void another one.
- SELECT COUNT(*) INTO V_COUNT FROM C_INVOICE_REVERSE WHERE
C_INVOICE_ID=:OLD.C_INVOICE_ID;
IF(:OLD.Processed='Y'
AND ((COALESCE(:OLD.C_BPartner_ID, '0') <> COALESCE(:NEW.C_BPartner_ID,
'0'))
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits