details:   /erp/devel/pi/rev/df01c4ee458e
changeset: 11584:df01c4ee458e
user:      David Alsasua <david.alsasua <at> openbravo.com>
date:      Fri Apr 15 15:23:27 2011 +0200
summary:   Fixes issue 16831: A trigger condition in c_orderline has been added.
The condition in the trigger is removed

diffstat:

 src-db/database/model/triggers/C_ORDLINE_CHK_RESTRICTIONS_TRG.xml |  6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diffs (16 lines):

diff -r a572df594b0f -r df01c4ee458e 
src-db/database/model/triggers/C_ORDLINE_CHK_RESTRICTIONS_TRG.xml
--- a/src-db/database/model/triggers/C_ORDLINE_CHK_RESTRICTIONS_TRG.xml Fri Apr 
15 16:19:01 2011 +0200
+++ b/src-db/database/model/triggers/C_ORDLINE_CHK_RESTRICTIONS_TRG.xml Fri Apr 
15 15:23:27 2011 +0200
@@ -78,12 +78,6 @@
     END IF;
   END IF;
   
-  IF(UPDATING OR INSERTING) THEN
-     IF (:NEW.C_BPARTNER_ID IS NOT NULL AND :NEW.C_BPARTNER_LOCATION_ID IS 
NULL) THEN
-       RAISE_APPLICATION_ERROR(-20000, '@LocationNotNullConstraint@');
-     END IF;
-  END IF;
-  
   IF(DELETING OR INSERTING) THEN
   SELECT PROCESSED,
     DOCACTION

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to