src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSale.jrxml
changeset 26742 d2bbde0c3d66
parent 22768 1dcbf92e17e9
--- a/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSale.jrxml	Fri May 08 11:10:02 2015 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSale.jrxml	Fri May 08 11:17:47 2015 +0200
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="ReportTaxInvoiceSale" pageWidth="535" pageHeight="842" columnWidth="535" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0">
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="ReportTaxInvoiceSale" pageWidth="535" pageHeight="842" columnWidth="535" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="58fc11f9-1212-48e2-97bf-ff1126396715">
 	<property name="ireport.scriptlethandling" value="0"/>
 	<property name="ireport.encoding" value="UTF-8"/>
 	<property name="ireport.zoom" value="1.0"/>
@@ -115,7 +115,7 @@
 		<groupHeader>
 			<band height="44" splitType="Stretch">
 				<staticText>
-					<reportElement key="staticText" style="GroupHeader_DarkGray" x="1" y="0" width="100" height="20"/>
+					<reportElement key="staticText" style="GroupHeader_DarkGray" x="1" y="0" width="100" height="20" uuid="28c89aba-cec7-4ed7-910a-9a9f96c431bd"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -128,7 +128,7 @@
 					<text><![CDATA[Tax Type]]></text>
 				</staticText>
 				<textField pattern="" isBlankWhenNull="true">
-					<reportElement key="textField" style="GroupHeader_DarkGray" x="101" y="0" width="433" height="20"/>
+					<reportElement key="textField" style="GroupHeader_DarkGray" x="101" y="0" width="433" height="20" uuid="0ba9d2d5-2714-4e5e-945f-d9023c184ecc"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -138,22 +138,22 @@
 					<textElement>
 						<font pdfFontName="Helvetica"/>
 					</textElement>
-					<textFieldExpression class="java.lang.String"><![CDATA[$F{TAXNAME}]]></textFieldExpression>
+					<textFieldExpression><![CDATA[$F{TAXNAME}]]></textFieldExpression>
 				</textField>
 				<line>
-					<reportElement key="line-2" stretchType="RelativeToBandHeight" x="0" y="1" width="1" height="43" forecolor="#555555"/>
+					<reportElement key="line-2" stretchType="RelativeToBandHeight" x="0" y="1" width="1" height="43" forecolor="#555555" uuid="f925e9d3-88fb-42e6-acdb-f92d7b2a2bac"/>
 					<graphicElement>
 						<pen lineWidth="2.0"/>
 					</graphicElement>
 				</line>
 				<line>
-					<reportElement key="line-3" stretchType="RelativeToBandHeight" x="534" y="1" width="1" height="43" forecolor="#555555"/>
+					<reportElement key="line-3" stretchType="RelativeToBandHeight" x="534" y="1" width="1" height="43" forecolor="#555555" uuid="fc79ad2f-a0a5-4565-bf11-ee9141e19989"/>
 					<graphicElement>
 						<pen lineWidth="2.0"/>
 					</graphicElement>
 				</line>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="10" y="28" width="90" height="16">
+					<reportElement key="element-90" style="Detail_Header" x="10" y="28" width="90" height="16" uuid="5d191392-0e36-4218-9630-be72237027ec">
 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
 					</reportElement>
 					<box leftPadding="5">
@@ -162,11 +162,10 @@
 						<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					</box>
-					<textElement/>
 					<text><![CDATA[Invoice]]></text>
 				</staticText>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="100" y="28" width="70" height="16">
+					<reportElement key="element-90" style="Detail_Header" x="100" y="28" width="70" height="16" uuid="c959e0f5-374e-423c-bf55-0deb0fc4304c">
 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
 					</reportElement>
 					<box leftPadding="5">
@@ -175,11 +174,10 @@
 						<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					</box>
-					<textElement/>
 					<text><![CDATA[Date]]></text>
 				</staticText>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="170" y="28" width="170" height="16">
+					<reportElement key="element-90" style="Detail_Header" x="170" y="28" width="170" height="16" uuid="67f1fffb-2ef1-4a21-8d4e-1cef0684d062">
 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
 					</reportElement>
 					<box leftPadding="5">
@@ -188,11 +186,10 @@
 						<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					</box>
-					<textElement/>
 					<text><![CDATA[Business Partner]]></text>
 				</staticText>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="340" y="28" width="90" height="16"/>
+					<reportElement key="element-90" style="Detail_Header" x="340" y="28" width="90" height="16" uuid="5163c6e4-237c-4e15-a0eb-d75f454770c0"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -203,7 +200,7 @@
 					<text><![CDATA[Taxable Base]]></text>
 				</staticText>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="430" y="28" width="90" height="16"/>
+					<reportElement key="element-90" style="Detail_Header" x="430" y="28" width="90" height="16" uuid="a2a05adf-b648-48a2-99e4-7985efcf13de"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -218,25 +215,25 @@
 		<groupFooter>
 			<band height="25" splitType="Stretch">
 				<line>
-					<reportElement key="line-32" stretchType="RelativeToBandHeight" x="0" y="0" width="1" height="20" forecolor="#555555"/>
+					<reportElement key="line-32" stretchType="RelativeToBandHeight" x="0" y="0" width="1" height="20" forecolor="#555555" uuid="c177c49a-984c-47e0-8f9c-2853f02f5c2d"/>
 					<graphicElement>
 						<pen lineWidth="2.0"/>
 					</graphicElement>
 				</line>
 				<line>
-					<reportElement key="line-33" stretchType="RelativeToBandHeight" x="534" y="0" width="1" height="20" forecolor="#555555"/>
+					<reportElement key="line-33" stretchType="RelativeToBandHeight" x="534" y="0" width="1" height="20" forecolor="#555555" uuid="c70aa4b4-3cf3-4b83-9997-ffd0b1b40a31"/>
 					<graphicElement>
 						<pen lineWidth="2.0"/>
 					</graphicElement>
 				</line>
 				<line>
-					<reportElement key="line-34" x="0" y="20" width="535" height="1" forecolor="#555555"/>
+					<reportElement key="line-34" x="0" y="20" width="535" height="1" forecolor="#555555" uuid="8a4096cf-5848-4830-8e8a-6d710daba6c4"/>
 					<graphicElement>
 						<pen lineWidth="2.0"/>
 					</graphicElement>
 				</line>
 				<staticText>
-					<reportElement key="staticText-4" style="default" x="10" y="1" width="90" height="16"/>
+					<reportElement key="staticText-4" style="default" x="10" y="1" width="90" height="16" uuid="0592f9d9-3003-4f61-9e85-6a9d178d4228"/>
 					<box>
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -249,7 +246,7 @@
 					<text><![CDATA[Total:]]></text>
 				</staticText>
 				<textField isBlankWhenNull="false">
-					<reportElement key="textField" style="Total_Field" x="100" y="1" width="240" height="16"/>
+					<reportElement key="textField" style="Total_Field" x="100" y="1" width="240" height="16" uuid="fa7b8fbb-6df6-4056-ae54-b1ebcdbc90d2"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -257,13 +254,13 @@
 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					</box>
 					<textElement verticalAlignment="Middle"/>
-					<textFieldExpression class="java.lang.Integer"><![CDATA[$V{TAXNAME_COUNT}]]></textFieldExpression>
+					<textFieldExpression><![CDATA[$V{TAXNAME_COUNT}]]></textFieldExpression>
 				</textField>
 				<line>
-					<reportElement key="line-37" x="10" y="0" width="510" height="1" forecolor="#666666"/>
+					<reportElement key="line-37" x="10" y="0" width="510" height="1" forecolor="#666666" uuid="41a238fd-693e-4dca-aa19-02e529f32b4b"/>
 				</line>
 				<textField isBlankWhenNull="false">
-					<reportElement key="textField" style="Total_Field" x="430" y="1" width="90" height="16"/>
+					<reportElement key="textField" style="Total_Field" x="430" y="1" width="90" height="16" uuid="833af328-aa10-4f59-97f3-80bede62f7ab"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -271,10 +268,10 @@
 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					</box>
 					<textElement textAlignment="Right"/>
-					<textFieldExpression class="java.lang.String"><![CDATA[($V{sumImport}!=null)?$P{NUMBERFORMAT}.format($V{sumImport})+$F{CURRENCY}:new String(" ")]]></textFieldExpression>
+					<textFieldExpression><![CDATA[($V{sumImport}!=null)?$P{NUMBERFORMAT}.format($V{sumImport})+$F{CURRENCY}:new String(" ")]]></textFieldExpression>
 				</textField>
 				<textField isBlankWhenNull="false">
-					<reportElement key="textField" style="Total_Field" x="340" y="1" width="90" height="16"/>
+					<reportElement key="textField" style="Total_Field" x="340" y="1" width="90" height="16" uuid="74378635-9c3b-47ea-a95e-913e8dc99c79"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -282,7 +279,7 @@
 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					</box>
 					<textElement textAlignment="Right" verticalAlignment="Middle"/>
-					<textFieldExpression class="java.lang.String"><![CDATA[($V{sumTaxBaseAmt}!=null)?$P{NUMBERFORMAT}.format($V{sumTaxBaseAmt})+$F{CURRENCY}:new String(" ")]]></textFieldExpression>
+					<textFieldExpression><![CDATA[($V{sumTaxBaseAmt}!=null)?$P{NUMBERFORMAT}.format($V{sumTaxBaseAmt})+$F{CURRENCY}:new String(" ")]]></textFieldExpression>
 				</textField>
 			</band>
 		</groupFooter>
@@ -296,15 +293,14 @@
 	<pageHeader>
 		<band height="20" splitType="Stretch">
 			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
-				<reportElement key="textField" style="Report_Subtitle" x="1" y="0" width="535" height="20"/>
+				<reportElement key="textField" style="Report_Subtitle" x="1" y="0" width="535" height="20" uuid="2c3c6613-8b9d-42e2-b405-3e878e65d7e2"/>
 				<box leftPadding="5">
 					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 				</box>
-				<textElement/>
-				<textFieldExpression class="java.lang.String"><![CDATA[$P{SALE}]]></textFieldExpression>
+				<textFieldExpression><![CDATA[$P{SALE}]]></textFieldExpression>
 			</textField>
 		</band>
 	</pageHeader>
@@ -315,19 +311,19 @@
 		<band height="14" splitType="Stretch">
 			<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
 			<line>
-				<reportElement key="line-16" stretchType="RelativeToBandHeight" x="534" y="0" width="1" height="14" forecolor="#555555"/>
+				<reportElement key="line-16" stretchType="RelativeToBandHeight" x="534" y="0" width="1" height="14" forecolor="#555555" uuid="7f70871f-2289-40b4-89ef-17179888020a"/>
 				<graphicElement>
 					<pen lineWidth="2.0"/>
 				</graphicElement>
 			</line>
 			<line>
-				<reportElement key="line-17" stretchType="RelativeToBandHeight" x="0" y="0" width="1" height="14" forecolor="#555555"/>
+				<reportElement key="line-17" stretchType="RelativeToBandHeight" x="0" y="0" width="1" height="14" forecolor="#555555" uuid="972c2787-8ca5-4028-91c5-cf63ba1d8140"/>
 				<graphicElement>
 					<pen lineWidth="2.0"/>
 				</graphicElement>
 			</line>
 			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
-				<reportElement key="textField" style="Detail_Line" x="10" y="0" width="90" height="14"/>
+				<reportElement key="textField" style="Detail_Line" x="10" y="0" width="90" height="14" uuid="e6806501-bc38-433d-a75f-d27ef8df5684"/>
 				<box leftPadding="2" rightPadding="2">
 					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -335,10 +331,10 @@
 					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 				</box>
 				<textElement verticalAlignment="Middle"/>
-				<textFieldExpression class="java.lang.String"><![CDATA[$F{DOCUMENTNO}]]></textFieldExpression>
+				<textFieldExpression><![CDATA[$F{DOCUMENTNO}]]></textFieldExpression>
 			</textField>
 			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
-				<reportElement key="textField" style="Detail_Line" x="100" y="0" width="70" height="14"/>
+				<reportElement key="textField" style="Detail_Line" x="100" y="0" width="70" height="14" uuid="1c91223d-44de-4729-8fad-7850159209a2"/>
 				<box leftPadding="2" rightPadding="2">
 					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -346,10 +342,10 @@
 					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 				</box>
 				<textElement verticalAlignment="Middle"/>
-				<textFieldExpression class="java.sql.Timestamp"><![CDATA[$F{DATEINVOICED}]]></textFieldExpression>
+				<textFieldExpression><![CDATA[$F{DATEINVOICED}]]></textFieldExpression>
 			</textField>
 			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
-				<reportElement key="textField" style="Detail_Line" x="170" y="0" width="170" height="14"/>
+				<reportElement key="textField" style="Detail_Line" x="170" y="0" width="170" height="14" uuid="17f14d8d-a38e-41cb-9e50-4ab126356f80"/>
 				<box leftPadding="2" rightPadding="2">
 					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -357,10 +353,10 @@
 					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 				</box>
 				<textElement verticalAlignment="Middle"/>
-				<textFieldExpression class="java.lang.String"><![CDATA[$F{BPARTNER}]]></textFieldExpression>
+				<textFieldExpression><![CDATA[$F{BPARTNER}]]></textFieldExpression>
 			</textField>
 			<textField pattern="" isBlankWhenNull="false">
-				<reportElement key="textField" style="Detail_Line" x="340" y="0" width="90" height="14"/>
+				<reportElement key="textField" style="Detail_Line" x="340" y="0" width="90" height="14" uuid="ae408521-834a-43a7-8bcf-093665ec7135"/>
 				<box leftPadding="2" rightPadding="2">
 					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -370,10 +366,10 @@
 				<textElement textAlignment="Right" verticalAlignment="Middle">
 					<font size="9"/>
 				</textElement>
-				<textFieldExpression class="java.lang.String"><![CDATA[($F{TAXBASEAMT}!=null)?$P{NUMBERFORMAT}.format($F{TAXBASEAMT})+$F{CURRENCY}:new String(" ")]]></textFieldExpression>
+				<textFieldExpression><![CDATA[($F{TAXBASEAMT}!=null)?$P{NUMBERFORMAT}.format($F{TAXBASEAMT})+$F{CURRENCY}:new String(" ")]]></textFieldExpression>
 			</textField>
 			<textField pattern="" isBlankWhenNull="false">
-				<reportElement key="textField" style="Detail_Line" x="430" y="0" width="90" height="14"/>
+				<reportElement key="textField" style="Detail_Line" x="430" y="0" width="90" height="14" uuid="ab32102e-81e1-4946-9bfc-5a3315375a42"/>
 				<box leftPadding="2" rightPadding="2">
 					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -381,7 +377,7 @@
 					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 				</box>
 				<textElement textAlignment="Right" verticalAlignment="Middle"/>
-				<textFieldExpression class="java.lang.String"><![CDATA[($F{TAXAMT}!=null)?$P{NUMBERFORMAT}.format($F{TAXAMT})+$F{CURRENCY}:new String(" ")]]></textFieldExpression>
+				<textFieldExpression><![CDATA[($F{TAXAMT}!=null)?$P{NUMBERFORMAT}.format($F{TAXAMT})+$F{CURRENCY}:new String(" ")]]></textFieldExpression>
 			</textField>
 		</band>
 	</detail>