src/org/openbravo/erpCommon/ad_forms/DocLineDPManagement_data.xsql
author Asier Lostalé <asier.lostale@openbravo.com>
Mon, 05 May 2008 06:59:24 +0000
changeset 799 fef2c5e2feb7
parent 423 ecf368072c48
child 1605 8a0fe0193bef
permissions -rw-r--r--
Merged cleanup branch (r3931) with trunk
carlos@0
     1
<?xml version="1.0" encoding="UTF-8" ?>
carlos@0
     2
<!--
asier@799
     3
 *************************************************************************
asier@799
     4
 * The contents of this file are subject to the Openbravo  Public  License
asier@799
     5
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
asier@799
     6
 * Version 1.1  with a permitted attribution clause; you may not  use this
asier@799
     7
 * file except in compliance with the License. You  may  obtain  a copy of
asier@799
     8
 * the License at http://www.openbravo.com/legal/license.html 
asier@799
     9
 * Software distributed under the License  is  distributed  on  an "AS IS"
asier@799
    10
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
asier@799
    11
 * License for the specific  language  governing  rights  and  limitations
asier@799
    12
 * under the License. 
asier@799
    13
 * The Original Code is Openbravo ERP. 
asier@799
    14
 * The Initial Developer of the Original Code is Openbravo SL 
asier@799
    15
 * All portions are Copyright (C) 2001-2008 Openbravo SL 
asier@799
    16
 * All Rights Reserved. 
asier@799
    17
 * Contributor(s):  ______________________________________.
asier@799
    18
 ************************************************************************
carlos@0
    19
-->
carlos@0
    20
<SqlClass name="DocLineDPManagementData" package="org.openbravo.erpCommon.ad_forms">
carlos@0
    21
  <SqlClassComment></SqlClassComment>
carlos@0
    22
  <SqlMethod name="select" type="preparedStatement" return="multiple">
carlos@0
    23
    <SqlMethodComment></SqlMethodComment>
carlos@0
    24
    <Sql>
carlos@0
    25
      <![CDATA[
carlos@0
    26
        SELECT ml.AD_ORG_ID, ml.C_DP_MANAGEMENTLINE_ID, STATUS_FROM, STATUS_TO, DP.ISRECEIPT, AMOUNT, DP.C_BPARTNER_ID, ML.C_DEBT_PAYMENT_ID
carlos@0
    27
          FROM C_DP_MANAGEMENTLINE ML,
carlos@0
    28
               C_DEBT_PAYMENT   DP
carlos@423
    29
         WHERE C_DP_MANAGEMENT_ID = TO_NUMBER(?)
carlos@0
    30
           AND DP.C_DEBT_PAYMENT_ID = ML.C_DEBT_PAYMENT_ID
carlos@0
    31
     ]]>
carlos@0
    32
     </Sql>
carlos@0
    33
     <Parameter name="C_DP_ManagementLine_ID"/>
carlos@0
    34
   </SqlMethod>
carlos@0
    35
  </SqlClass>