src/org/openbravo/erpCommon/ad_callouts/SL_Requisition_BPartner_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@586
     1
<?xml version="1.0" encoding="UTF-8" ?>
gorkaion@586
     2
<!--
gorkaion@586
     3
 *************************************************************************
gorkaion@586
     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@586
     6
 * Version 1.1  with a permitted attribution clause; you may not  use this
gorkaion@586
     7
 * file except in compliance with the License. You  may  obtain  a copy of
gorkaion@586
     8
 * the License at http://www.openbravo.com/legal/license.html 
gorkaion@586
     9
 * Software distributed under the License  is  distributed  on  an "AS IS"
gorkaion@586
    10
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
gorkaion@586
    11
 * License for the specific  language  governing  rights  and  limitations
gorkaion@586
    12
 * under the License. 
gorkaion@586
    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@586
    16
 * All Rights Reserved. 
gorkaion@586
    17
 * Contributor(s):  ______________________________________.
gorkaion@586
    18
 ************************************************************************
gorkaion@586
    19
-->
gorkaion@586
    20
<SqlClass name="SLRequisitionBPartnerData" package="org.openbravo.erpCommon.ad_callouts">
harikrishnan@7124
    21
  <SqlMethod name="select" type="preparedStatement" return="multiple" default="">
gorkaion@586
    22
    <SqlMethodComment></SqlMethodComment>
gorkaion@586
    23
    <Sql>
gorkaion@586
    24
      <![CDATA[
harikrishnan@7124
    25
      SELECT p.PO_PriceList_ID, m.c_currency_id
harikrishnan@7124
    26
      FROM C_BPartner p,M_Pricelist m
juanpablo@1605
    27
      WHERE p.C_BPartner_ID = ?
harikrishnan@7124
    28
      AND m.M_Pricelist_ID = p.PO_PriceList_ID
gorkaion@586
    29
      ]]>
gorkaion@586
    30
    </Sql>
gorkaion@586
    31
    <Parameter name="cBpartnerId"/>
gorkaion@586
    32
  </SqlMethod>
gorkaion@586
    33
</SqlClass>