src-db/database/model/triggers/M_RAPPEL_INVOICE_TRG.xml
changeset 771 f0f606b4acf4
parent 756 ae11e4610537
child 778 6150609a1a0a
equal deleted inserted replaced
770:8850d5956eba 771:f0f606b4acf4
     1 <?xml version="1.0"?>
     1 <?xml version="1.0"?>
     2   <database name="TRIGGER M_RAPPEL_INVOICE_TRG">
     2   <database name="TRIGGER M_RAPPEL_INVOICE_TRG">
     3     <trigger name="M_RAPPEL_INVOICE_TRG" table="M_RAPPEL_INVOICE" fires="before" insert="false" update="false" delete="true" foreach="row">
     3     <trigger name="M_RAPPEL_INVOICE_TRG" table="M_RAPPEL_INVOICE" fires="before" insert="false" update="false" delete="true" foreach="row">
     4       <body><![CDATA[
     4       <body><![CDATA[
       
     5     /*************************************************************************
       
     6     * The contents of this file are subject to the Compiere Public
       
     7     * License 1.1 ("License"); You may not use this file except in
       
     8     * compliance with the License. You may obtain a copy of the License in
       
     9     * the legal folder of your Openbravo installation.
     5 
    10 
     6 
       
     7 
       
     8     /*************************************************************************
       
     9     * The contents of this file are subject to the Compiere License
       
    10     * Version 2.5.0 ("License"); You may not use this file except in
       
    11     * compliance with the License. You may obtain a copy of the License at
       
    12     * http://www.compiere.org/license.html
       
    13     * Software distributed under the License is distributed on an
    11     * Software distributed under the License is distributed on an
    14     * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
    12     * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
    15     * implied. See the License for the specific language governing rights
    13     * implied. See the License for the specific language governing rights
       
    14 
    16     * and limitations under the License.
    15     * and limitations under the License.
    17     * The Original Code is  Compiere  ERP &  Business Solution
    16     * The Original Code is  Compiere  ERP \&  Business Solution
    18     * The Initial Developer of the Original Code is Jorg Janke  and ComPiere,
    17     * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc.
    19     Inc.
    18 
    20     * Portions created by Jorg Janke are Copyright (C) 1999-2001 Jorg Janke,
    19     * Portions created by Jorg Janke are Copyright (C) 1999-2001 Jorg Janke,
    21     * parts created by ComPiere are Copyright (C) ComPiere, Inc.;
    20     * parts created by ComPiere are Copyright (C) ComPiere, Inc.;
    22     * All Rights Reserved.
    21     * All Rights Reserved.
    23     * Contributor(s): Openbravo SL
    22     * Contributor(s): Openbravo SL
    24     * Contributions are Copyright (C) 1999-2005 Openbravo, S.L
    23 
       
    24     * Contributions are Copyright (C) 1999-2008 Openbravo, S.L
       
    25     *
       
    26     * Specifically, this derivative work is based upon the following Compiere
       
    27     * file and version.
    25     *************************************************************************
    28     *************************************************************************
    26     * New Accounting Defaults
    29     * New Accounting Defaults
    27     */
    30     */
    28  BEGIN
    31  BEGIN
    29   DELETE FROM c_invoicetax WHERE c_invoice_id=:old.c_invoice_id;
    32   DELETE FROM c_invoicetax WHERE c_invoice_id=:old.c_invoice_id;