src/org/openbravo/erpCommon/ad_callouts/SL_Project_Margin_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
rafael@1187
     1
<?xml version="1.0" encoding="UTF-8" ?>
rafael@1187
     2
<!--
rafael@1187
     3
 *************************************************************************
rafael@1187
     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
rafael@1187
     6
 * Version 1.1  with a permitted attribution clause; you may not  use this
rafael@1187
     7
 * file except in compliance with the License. You  may  obtain  a copy of
rafael@1187
     8
 * the License at http://www.openbravo.com/legal/license.html 
rafael@1187
     9
 * Software distributed under the License  is  distributed  on  an "AS IS"
rafael@1187
    10
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
rafael@1187
    11
 * License for the specific  language  governing  rights  and  limitations
rafael@1187
    12
 * under the License. 
rafael@1187
    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 
rafael@1187
    16
 * All Rights Reserved. 
rafael@1187
    17
 * Contributor(s):  ______________________________________.
rafael@1187
    18
 ************************************************************************
rafael@1187
    19
-->
rafael@1187
    20
rafael@1187
    21
rafael@1187
    22
rafael@1187
    23
rafael@1187
    24
rafael@1187
    25
<SqlClass name="SLProjectMarginData" package="org.openbravo.erpCommon.ad_callouts">
rafael@1187
    26
  <SqlMethod name="select" type="preparedStatement" return="multiple">
rafael@1187
    27
    <SqlMethodComment></SqlMethodComment>
rafael@1187
    28
    <Sql>
rafael@1187
    29
      SELECT C_Currency.StdPrecision, C_Currency.PricePrecision, M_PriceList.EnforcePriceLimit, M_PriceList.M_PriceList_ID
rafael@1187
    30
      FROM C_Project, M_PriceList, C_Currency 
rafael@1187
    31
      WHERE C_Project.M_PriceList_ID = M_PriceList.M_PriceList_ID
rafael@1187
    32
      AND M_PriceList.C_Currency_ID = C_Currency.C_Currency_ID
juanpablo@1605
    33
      AND C_Project.C_Project_ID = ?
rafael@1187
    34
    </Sql>
rafael@1187
    35
    <Parameter name="cProjectId"/>
rafael@1187
    36
  </SqlMethod>
rafael@1187
    37
</SqlClass>