src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceEdit.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) 2001-2006 Openbravo SL 
* All Rights Reserved. 
* Contributor(s):  ______________________________________.
************************************************************************
-->
<REPORT>
  <template file="ReportTaxInvoiceEdit.html"/>

	<PARAMETER id="paramDirection" name="direction" default=""/>
	<PARAMETER id="paramLanguage" name="language" default=""/>
	<PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>

  <PARAMETER id="paramTitleSale" name="titleSale"/>
  <PARAMETER id="paramTitlePurchase" name="titlePurchase"/>
  <PARAMETER id="paramSale" name="sale"/>
  <PARAMETER id="paramPurchase" name="purchase"/>
 
  
  <structure name="structure1Sale">
    <FIELD id="fieldDocumentnoSale">documentno</FIELD>
    <FIELD id="fieldTaxnameSale">taxname</FIELD>
    <FIELD id="fieldTaxbaseamtSale" format="amountInform">taxbaseamt</FIELD>
    <FIELD id="fieldTaxamtSale" format="amountInform">taxamt</FIELD>
    <FIELD id="fieldDateinvoicedSale">dateinvoiced</FIELD>
    <FIELD id="fieldBpartnerSale">bpartner</FIELD>
    <FUNCTION id="functionCountInvoicesSale" name="COUNT">taxbaseamt</FUNCTION>
    <FUNCTION id="functionSumTaxbaseamtSale" name="SUM" format="amountInform">taxbaseamt</FUNCTION>
    <FUNCTION id="functionSumTaxamtSale" name="SUM" format="amountInform">taxamt</FUNCTION>
    <SECTION id="sectionTaxSale" field="taxname"/>
    <SECTION id="sectionDetailSale"/>
  </structure>
  <structure name="structure2Sale">
    <FIELD id="fieldDocumentno1Sale">documentno</FIELD>
    <FIELD id="fieldTaxname1Sale">taxname</FIELD>
    <FIELD id="fieldTaxbaseamt1Sale" format="amountInform">taxbaseamt</FIELD>
    <FIELD id="fieldTaxamt1Sale" format="amountInform">taxamt</FIELD>
    <FIELD id="fieldDateinvoiced1Sale">dateinvoiced</FIELD>
    <FIELD id="fieldBpartner1Sale">bpartner</FIELD>
    <FUNCTION id="functionCountInvoices1Sale" name="COUNT">taxbaseamt</FUNCTION>
    <FUNCTION id="functionSumTaxbaseamt1Sale" name="SUM" format="amountInform">taxbaseamt</FUNCTION>
    <FUNCTION id="functionSumTaxamt1Sale" name="SUM" format="amountInform">taxamt</FUNCTION>
    <SECTION id="sectionTaxForeignSale" field="taxname"/>
    <SECTION id="sectionDetail1Sale"/>
  </structure>
  <structure name="structure1Purchase">
    <FIELD id="fieldDocumentnoPurchase">documentno</FIELD>
    <FIELD id="fieldTaxnamePurchase">taxname</FIELD>
    <FIELD id="fieldTaxbaseamtPurchase" format="amountInform">taxbaseamt</FIELD>
    <FIELD id="fieldTaxamtPurchase" format="amountInform">taxamt</FIELD>
    <FIELD id="fieldDateinvoicedPurchase">dateinvoiced</FIELD>
    <FIELD id="fieldBpartnerPurchase">bpartner</FIELD>
    <FUNCTION id="functionCountInvoicesPurchase" name="COUNT">taxbaseamt</FUNCTION>
    <FUNCTION id="functionSumTaxbaseamtPurchase" name="SUM" format="amountInform">taxbaseamt</FUNCTION>
    <FUNCTION id="functionSumTaxamtPurchase" name="SUM" format="amountInform">taxamt</FUNCTION>
    <SECTION id="sectionTaxPurchase" field="taxname"/>
    <SECTION id="sectionDetailPurchase"/>
  </structure>
  <structure name="structure2Purchase">
    <FIELD id="fieldDocumentno1Purchase">documentno</FIELD>
    <FIELD id="fieldTaxname1Purchase">taxname</FIELD>
    <FIELD id="fieldTaxbaseamt1Purchase" format="amountInform">taxbaseamt</FIELD>
    <FIELD id="fieldTaxamt1Purchase" format="amountInform">taxamt</FIELD>
    <FIELD id="fieldDateinvoiced1Purchase">dateinvoiced</FIELD>
    <FIELD id="fieldBpartner1Purchase">bpartner</FIELD>
    <FUNCTION id="functionCountInvoices1Purchase" name="COUNT">taxbaseamt</FUNCTION>
    <FUNCTION id="functionSumTaxbaseamt1Purchase" name="SUM" format="amountInform">taxbaseamt</FUNCTION>
    <FUNCTION id="functionSumTaxamt1Purchase" name="SUM" format="amountInform">taxamt</FUNCTION>
    <SECTION id="sectionTaxForeignPurchase" field="taxname"/>
    <SECTION id="sectionDetail1Purchase"/>
  </structure>
</REPORT>