src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscountEdit.xml
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 0 0247c26f10c6
child 1605 8a0fe0193bef
permissions -rw-r--r--
Removed old frame parameter of windowTableId
<?xml version="1.0" encoding="UTF-8"?>
<!--
*************************************************************************
* The contents of this file are subject to the Openbravo  Public  License
* Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
* Version 1.1  with a permitted attribution clause; you may not  use this
* file except in compliance with the License. You  may  obtain  a copy of
* the License at http://www.openbravo.com/legal/license.html 
* Software distributed under the License  is  distributed  on  an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific  language  governing  rights  and  limitations
* under the License. 
* The Original Code is Openbravo ERP. 
* The Initial Developer of the Original Code is Openbravo SL 
* All portions are Copyright (C) 2007 Openbravo SL 
* All Rights Reserved. 
* Contributor(s):  ______________________________________.
************************************************************************
-->
<REPORT>
  <template file="ReportInvoiceDiscountEdit.html"/>
 
  <PARAMETER id="paramLanguage" name="language" default=""/>
  <PARAMETER id="paramDirection" name="direction" default=""/>
	<PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>

  <structure name="structure1">
    <FIELD id="fieldCbpartner">id</FIELD>
    <FIELD id="fieldName">name</FIELD>
    <FIELD id="fieldProductname">productname</FIELD>
    <FIELD id="fieldQty">qty</FIELD>
    <FIELD id="fieldUom">uom</FIELD>
    <FIELD id="fieldPriceactual" format="priceEdition">priceactual</FIELD>
    <FIELD id="fieldTotalline" format="euroInform">totalline</FIELD>
    <FIELD id="fieldRealprice" format="euroInform">realprice</FIELD>
    <FIELD id="fieldTotallinediscount" format="euroInform">totallinediscount</FIELD>
    <FIELD id="fieldDiscount">discount</FIELD>
    <FIELD id="fieldWeigth">weight</FIELD>
    <FIELD id="fieldDiscount" attribute="class" replace="xx">classDesign</FIELD>
    <SUBREPORT id="reportCBPartnerId_IN" name="reportCBPartnerId_IN" report="org/openbravo/erpCommon/reference/List">
      <ARGUMENT name="parameterListSelected" withId="paramVacio"/>
    </SUBREPORT>
    <FUNCTION id="functionTotalWeigth" name="SUM">weight</FUNCTION>
    <FUNCTION id="functionTotalline" name="SUM" format="euroInform">totalline</FUNCTION>
    <FUNCTION id="functionTotallinediscount" name="SUM" format="euroInform">totallinediscount</FUNCTION>
    <FUNCTION id="functionSumTotalWeigth" name="SUM">weight</FUNCTION>
    <FUNCTION id="functionSumTotalline" name="SUM" format="euroInform">totalline</FUNCTION>
    <FUNCTION id="functionSumTotallinediscount" name="SUM" format="euroInform">totallinediscount</FUNCTION>
    <SECTION id="sectionPartner" field="id"/>
    <SECTION id="sectionDetail"/>
  </structure>
</REPORT>