src/org/openbravo/erpCommon/ad_callouts/SL_MInOutTraceReports_data.xsql
author RM packaging bot <staff.rm@openbravo.com>
Tue, 28 Jun 2011 10:33:23 +0000
changeset 9542 845811ab032b
parent 9072 79e55dfc8af0
permissions -rw-r--r--
Update AD_MODULE version to 2.50MP31
gorkaion@1195
     1
<?xml version="1.0" encoding="UTF-8" ?>
gorkaion@1195
     2
<!--
gorkaion@1195
     3
 *************************************************************************
gorkaion@1195
     4
 * The contents of this file are subject to the Openbravo  Public  License
priya@9072
     5
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
gorkaion@1195
     6
 * Version 1.1  with a permitted attribution clause; you may not  use this
gorkaion@1195
     7
 * file except in compliance with the License. You  may  obtain  a copy of
gorkaion@1195
     8
 * the License at http://www.openbravo.com/legal/license.html 
gorkaion@1195
     9
 * Software distributed under the License  is  distributed  on  an "AS IS"
gorkaion@1195
    10
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
gorkaion@1195
    11
 * License for the specific  language  governing  rights  and  limitations
gorkaion@1195
    12
 * under the License. 
gorkaion@1195
    13
 * The Original Code is Openbravo ERP. 
ggi@6701
    14
 * The Initial Developer of the Original Code is Openbravo SLU 
ggi@6701
    15
 * All portions are Copyright (C) 2008 Openbravo SLU 
gorkaion@1195
    16
 * All Rights Reserved. 
gorkaion@1195
    17
 * Contributor(s):  ______________________________________.
gorkaion@1195
    18
 ************************************************************************
gorkaion@1195
    19
-->
gorkaion@1195
    20
gorkaion@1195
    21
<SqlClass name="SLMInOutTraceReportsData" package="org.openbravo.erpCommon.ad_callouts">
gorkaion@1195
    22
  <SqlMethod name="select" type="preparedStatement" return="multiple">
gorkaion@1195
    23
    <SqlMethodComment></SqlMethodComment>
gorkaion@1195
    24
    <Sql>
gorkaion@1195
    25
       <![CDATA[
gorkaion@1195
    26
       SELECT DISTINCT M_PRODUCT_ID AS PADRE, M_ATTRIBUTESETINSTANCE_ID AS ID, AD_COLUMN_IDENTIFIER(TO_CHAR('M_ATTRIBUTESETINSTANCE'), TO_CHAR(M_ATTRIBUTESETINSTANCE_ID), TO_CHAR(?)) AS NAME
gorkaion@1195
    27
       FROM M_TRANSACTION
gorkaion@1195
    28
       WHERE 1=1
juanpablo@1605
    29
        AND M_ATTRIBUTESETINSTANCE_ID <> '0'
juanpablo@1605
    30
        AND M_PRODUCT_ID = ?
gorkaion@1195
    31
       ORDER BY NAME
gorkaion@1195
    32
       ]]></Sql>
gorkaion@1195
    33
     <Parameter name="adLanguage"/>
gorkaion@1195
    34
     <Parameter name="mProductId"/>
gorkaion@1195
    35
  </SqlMethod>
gorkaion@1195
    36
</SqlClass>