Backed out changeset 05feefc7fd97. Fix for the issue: 19593
authorXabier Merino <xabier.merino@openbravo.com>
Wed, 29 Feb 2012 18:27:27 +0100
changeset 15668 62eb2ad3d760
parent 15667 7be373a943ba
child 15669 6de349321d77
Backed out changeset 05feefc7fd97. Fix for the issue: 19593
src-db/database/model/triggers/FIN_FINANCIAL_ACCOUNT_TRG2.xml
--- a/src-db/database/model/triggers/FIN_FINANCIAL_ACCOUNT_TRG2.xml	Wed Feb 29 13:03:59 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-  <database name="TRIGGER FIN_FINANCIAL_ACCOUNT_TRG2">
-    <trigger name="FIN_FINANCIAL_ACCOUNT_TRG2" table="FIN_FINANCIAL_ACCOUNT" fires="before" insert="true" update="true" delete="false" foreach="row">
-      <body><![CDATA[
-    /*************************************************************************
-    * The contents of this file are subject to the Openbravo  Public  License
-    * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
-    * Version 1.1  with a permitted attribution clause; you may not  use this
-    * file except in compliance with the License. You  may  obtain  a copy of
-    * the License at http://www.openbravo.com/legal/license.html
-    * Software distributed under the License  is  distributed  on  an "AS IS"
-    * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-    * License for the specific  language  governing  rights  and  limitations
-    * under the License.
-    * The Original Code is Openbravo ERP.
-    * The Initial Developer of the Original Code is Openbravo SLU
-    * All portions are Copyright (C) 2010 Openbravo SLU
-    * All Rights Reserved.
-    * Contributor(s):  ______________________________________.
-    ************************************************************************/
-    TYPE RECORD IS REF CURSOR;
-BEGIN
-
-    IF AD_isTriggerEnabled()='N' THEN RETURN;
-    END IF;
-
-  IF(INSERTING) THEN
-    :NEW.currentbalance := :NEW.initialbalance;
-    
-  END IF;
-END FIN_FINANCIAL_ACCOUNT_TRG2
-]]></body>
-    </trigger>
-  </database>