Hello, I have 2 separate reports that use the same xml datasource. I would like to put the one report in the other as a sub-report. I have tried every possibility I could think of but no matter what I do not see my subreport data, however if I view the reports separately the one being used as the subreport displays data. I have copied my jrxml file from the master report. If anyone sees something I'm doing wrong, I would greatly appreciate the input. Thanks in advance! <?xml version="1.0" encoding="UTF-8" ?> <!-- Created with iReport - A designer for JasperReports --> <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"> <jasperReport name="netrecloc_2" columnCount="1" printOrder="Vertical" orientation="Landscape" pageWidth="792" pageHeight="612" columnWidth="732" columnSpacing="0" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20" whenNoDataType="NoPages" isTitleNewPage="false" isSummaryNewPage="false"> <property name="ireport.scriptlethandling" value="0" /> <property name="ireport.encoding" value="UTF-8" /> <import value="java.util.*" /> <import value="net.sf.jasperreports.engine.*" /> <import value="net.sf.jasperreports.engine.data.*" /> <queryString language="xPath"><![CDATA[/smartxml/repdata]]></queryString> <field name="routecode" class="java.lang.String"> <fieldDescription><![CDATA[routecode]]></fieldDescription> </field> <field name="routeorig" class="java.lang.String"> <fieldDescription><![CDATA[routeorig]]></fieldDescription> </field> <field name="locationcode" class="java.lang.String"> <fieldDescription><![CDATA[locationcode]]></fieldDescription> </field> <field name="locationadd1" class="java.lang.String"> <fieldDescription><![CDATA[locationadd1]]></fieldDescription> </field> <field name="routedescr" class="java.lang.String"> <fieldDescription><![CDATA[routedescr]]></fieldDescription> </field> <field name="storenumber" class="java.lang.String"> <fieldDescription><![CDATA[storenumber]]></fieldDescription> </field> <field name="totvends" class="java.lang.Double"> <fieldDescription><![CDATA[totvends]]></fieldDescription> </field> <field name="slsactivity" class="java.lang.Double"> <fieldDescription><![CDATA[slsactivity]]></fieldDescription> </field> <field name="totcomm" class="java.lang.Double"> <fieldDescription><![CDATA[totcomm]]></fieldDescription> </field> <field name="tottax" class="java.lang.Double"> <fieldDescription><![CDATA[tottax]]></fieldDescription> </field> <field name="totcost" class="java.lang.Double"> <fieldDescription><![CDATA[totcost]]></fieldDescription> </field> <field name="totadj" class="java.lang.Double"> <fieldDescription><![CDATA[totadj]]></fieldDescription> </field> <field name="locname" class="java.lang.String"> <fieldDescription><![CDATA[locname]]></fieldDescription> </field> <field name="netrec" class="java.lang.Double"> <fieldDescription><![CDATA[netrec]]></fieldDescription> </field> <field name="label_route" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/genlabels/g-route/label]]></fieldDescription> </field> <field name="reportname" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/general/reportname]]></fieldDescription> </field> <field name="sysname" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/general/sysname]]></fieldDescription> </field> <field name="username" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/general/username]]></fieldDescription> </field> <field name="reporttime" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/general/reporttime]]></fieldDescription> </field> <field name="reportdate" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/general/reportdate]]></fieldDescription> </field> <field name="entlogo" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/general/entlogo]]></fieldDescription> </field> <field name="page_label" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/genlabels/g-page/label]]></fieldDescription> </field> <field name="of_label" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/genlabels/g-of/label]]></fieldDescription> </field> <field name="label_routecode" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/labels/routecode]]></fieldDescription> </field> <field name="label_locationcode" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/labels/locationcode]]></fieldDescription> </field> <field name="label_totvends" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/labels/totvends]]></fieldDescription> </field> <field name="label_slsactivity" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/labels/slsactivity]]></fieldDescription> </field> <field name="label_totcomm" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/labels/totcomm]]></fieldDescription> </field> <field name="label_tottax" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/labels/tottax]]></fieldDescription> </field> <field name="label_totcost" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/labels/totcost]]></fieldDescription> </field> <field name="label_totadj" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/labels/totadj]]></fieldDescription> </field> <field name="label_netrec" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/labels/netrec]]></fieldDescription> </field> <field name="label_net" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/genlabels/g-blank5/label]]></fieldDescription> </field> <field name="label_servicedt" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/genlabels/g-blank6/label]]></fieldDescription> </field> <field name="label_venddt" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/genlabels/g-blank7/label]]></fieldDescription> </field> <field name="label_detail" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/genlabels/g-detail/label]]></fieldDescription> </field> <field name="label_summary" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/genlabels/g-summary/label]]></fieldDescription> </field> <field name="label_storenumber" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/labels/storenumber]]></fieldDescription> </field> <field name="label_reptot" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/genlabels/g-reptot/label]]></fieldDescription> </field> <field name="label_totfor" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/genlabels/g-totfor/label]]></fieldDescription> </field> <field name="subrepfile" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/general/user]]></fieldDescription> </field> <field name="notavail_label" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/genlabels/g-blank2/label]]></fieldDescription> </field> <field name="datefrm_label" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/selections/s-datefrm/label]]></fieldDescription> </field> <field name="datefrm_repsel" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/selections/s-datefrm/repsel]]></fieldDescription> </field> <field name="dateto_label" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/selections/s-dateto/label]]></fieldDescription> </field> <field name="dateto_repsel" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/selections/s-dateto/repsel]]></fieldDescription> </field> <field name="route_label" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/selections/s-route/label]]></fieldDescription> </field> <field name="route_repsel" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/selections/s-route/repsel]]></fieldDescription> </field> <field name="location_label" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/selections/s-location/label]]></fieldDescription> </field> <field name="location_repsel" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/selections/s-location/repsel]]></fieldDescription> </field> <field name="detsum_label" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/selections/s-detsum/label]]></fieldDescription> </field> <field name="detsum_repsel" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/selections/s-detsum/repsel]]></fieldDescription> </field> <field name="dtetype_label" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/selections/s-dtetype/label]]></fieldDescription> </field> <field name="dtetype_repsel" class="java.lang.String"> <fieldDescription><![CDATA[/smartxml/lang/selections/s-dtetype/repsel]]></fieldDescription> </field> <sortField name="routecode" /> <sortField name="locationcode" /> <variable name="full_route" class="java.lang.String" resetType="Group" resetGroup="Route" calculation="Nothing"> <variableExpression><![CDATA[$F{routecode} + ", " + $F{routedescr}]]></variableExpression> </variable> <variable name="rte_vends" class="java.lang.Double" resetType="Group" resetGroup="Route" calculation="Sum"> <variableExpression><![CDATA[$F{totvends}]]></variableExpression> </variable> <variable name="tot_vends" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[$F{totvends}]]></variableExpression> </variable> <variable name="loc_vends" class="java.lang.Double" resetType="Group" resetGroup="Location" calculation="Sum"> <variableExpression><![CDATA[$F{totvends}]]></variableExpression> </variable> <variable name="loc_slsactivity" class="java.lang.Double" resetType="Group" resetGroup="Location" calculation="Sum"> <variableExpression><![CDATA[$F{slsactivity}]]></variableExpression> </variable> <variable name="rte_slsactivity" class="java.lang.Double" resetType="Group" resetGroup="Route" calculation="Sum"> <variableExpression><![CDATA[$F{slsactivity}]]></variableExpression> </variable> <variable name="tot_slsactivity" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[$F{slsactivity}]]></variableExpression> </variable> <variable name="loc_totcost" class="java.lang.Double" resetType="Group" resetGroup="Location" calculation="Sum"> <variableExpression><![CDATA[$F{totcost}]]></variableExpression> </variable> <variable name="rte_totcost" class="java.lang.Double" resetType="Group" resetGroup="Route" calculation="Sum"> <variableExpression><![CDATA[$F{totcost}]]></variableExpression> </variable> <variable name="tot_totcost" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[$F{totcost}]]></variableExpression> </variable> <variable name="loc_totadj" class="java.lang.Double" resetType="Group" resetGroup="Location" calculation="Sum"> <variableExpression><![CDATA[$F{totadj}]]></variableExpression> </variable> <variable name="rte_totadj" class="java.lang.Double" resetType="Group" resetGroup="Route" calculation="Sum"> <variableExpression><![CDATA[$F{totadj}]]></variableExpression> </variable> <variable name="tot_totadj" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[$F{totadj}]]></variableExpression> </variable> <variable name="loc_tottax" class="java.lang.Double" resetType="Group" resetGroup="Location" calculation="Sum"> <variableExpression><![CDATA[$F{tottax}]]></variableExpression> </variable> <variable name="rte_tottax" class="java.lang.Double" resetType="Group" resetGroup="Route" calculation="Sum"> <variableExpression><![CDATA[$F{tottax}]]></variableExpression> </variable> <variable name="tot_tottax" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[$F{tottax}]]></variableExpression> </variable> <variable name="loc_totcomm" class="java.lang.Double" resetType="Group" resetGroup="Location" calculation="Sum"> <variableExpression><![CDATA[$F{totcomm}]]></variableExpression> </variable> <variable name="rte_totcomm" class="java.lang.Double" resetType="Group" resetGroup="Route" calculation="Sum"> <variableExpression><![CDATA[$F{totcomm}]]></variableExpression> </variable> <variable name="tot_totcomm" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[$F{totcomm}]]></variableExpression> </variable> <variable name="loc_netrec" class="java.lang.Double" resetType="Group" resetGroup="Location" calculation="Sum"> <variableExpression><![CDATA[$F{netrec}]]></variableExpression> </variable> <variable name="rte_netrec" class="java.lang.Double" resetType="Group" resetGroup="Route" calculation="Sum"> <variableExpression><![CDATA[$F{netrec}]]></variableExpression> </variable> <variable name="tot_netrec" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[$F{netrec}]]></variableExpression> </variable> <variable name="loc_totnet" class="java.lang.Double" resetType="Group" resetGroup="Location" calculation="Sum"> <variableExpression><![CDATA[new java.lang.Double( ($F{netrec}.doubleValue()) -($F{totcomm}.doubleValue()) )]]></variableExpression> </variable> <variable name="rte_totnet" class="java.lang.Double" resetType="Group" resetGroup="Route" calculation="Sum"> <variableExpression><![CDATA[new java.lang.Double( ($F{netrec}.doubleValue()) -($F{totcomm}.doubleValue()) )]]></variableExpression> </variable> <variable name="tot_totnet" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[new java.lang.Double( ($F{netrec}.doubleValue()) -($F{totcomm}.doubleValue()) )]]></variableExpression> </variable> <variable name="MyPgCount" class="java.lang.Integer" resetType="Report" incrementType="Report" calculation="Nothing"> <variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression> </variable> <group name="Route" > <groupExpression><![CDATA[$F{routecode}]]></groupExpression> <groupHeader> <band height="16" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="3" y="1" width="636" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font pdfFontName="Helvetica-Bold" size="10" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{label_route} + ": " + $F{routecode} + ", " + $F{routedescr}]]></textFieldExpression> </textField> </band> </groupHeader> <groupFooter> <band height="30" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="#,##0;(#,##0)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="149" y="9" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{rte_vends}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="222" y="9" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{rte_slsactivity}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.000000;(#,##0.000000)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="295" y="9" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{rte_totcost}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="368" y="9" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{rte_totadj}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="441" y="9" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{rte_tottax}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="514" y="9" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{rte_netrec}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="587" y="9" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{rte_totcomm}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="660" y="9" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{rte_totnet}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="2" y="9" width="146" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{label_totfor} + " " + $F{label_routecode}+ " " + $F{routecode} + ":"]]></textFieldExpression> </textField> </band> </groupFooter> </group> <group name="Location" > <groupExpression><![CDATA[$F{locationcode}]]></groupExpression> <groupHeader> <band height="14" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="10" y="1" width="647" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font pdfFontName="Helvetica" size="8" isBold="false"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{locationcode} + ", " + $F{locname}]]></textFieldExpression> </textField> </band> </groupHeader> <groupFooter> <band height="13" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="24" y="0" width="125" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font size="8"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[( ($F{storenumber} != null && $F{storenumber}.length() > 0) ? $F{label_storenumber} + ": " + $F{storenumber} : $F{label_storenumber} + ": " + $F{notavail_label} )]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0;(#,##0)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="149" y="0" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font size="8"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{loc_vends}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="222" y="0" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font size="8"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{loc_slsactivity}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.000000;(#,##0.000000)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="295" y="0" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font size="8"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{loc_totcost}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="368" y="0" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font size="8"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{loc_totadj}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="441" y="0" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font size="8"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{loc_tottax}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="587" y="0" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font size="8"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{loc_totcomm}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="514" y="0" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font size="8"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{loc_netrec}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="660" y="0" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font size="8"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{loc_totnet}]]></textFieldExpression> </textField> </band> </groupFooter> </group> <background> <band height="0" isSplitAllowed="true" > </band> </background> <title> <band height="98" isSplitAllowed="true" > <subreport isUsingCache="true"> <reportElement x="10" y="10" width="706" height="69" key="subreport-1"/> <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> <subreportExpression class="java.lang.String"><![CDATA["c:/Temp/netrecloc_criteria.jasper"]]></subreportExpression> </subreport> </band> </title> <pageHeader> <band height="47" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="157" y="2" width="414" height="18" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font pdfFontName="Helvetica-Bold" size="12" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{sysname}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="157" y="20" width="414" height="18" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font pdfFontName="Helvetica-Bold" size="12" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{reportname}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="592" y="20" width="135" height="18" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{username}]]></textFieldExpression> </textField> <image evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="3" y="2" width="82" height="39" key="image-1"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <graphicElement stretchType="NoStretch"/> <imageExpression class="java.lang.String"><![CDATA[$F{entlogo}]]></imageExpression> </image> <line direction="TopDown"> <reportElement x="2" y="43" width="728" height="0" key="line-1"/> <graphicElement stretchType="NoStretch"/> </line> </band> </pageHeader> <columnHeader> <band height="22" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="24" y="5" width="114" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{label_storenumber}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="147" y="5" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{label_totvends}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="220" y="5" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{label_slsactivity}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="293" y="5" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{label_totcost}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="368" y="5" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{label_totadj}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="441" y="5" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{label_tottax}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="514" y="5" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Top"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{label_net}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="587" y="5" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Top"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{label_totcomm}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="660" y="5" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{label_netrec}]]></textFieldExpression> </textField> <line direction="TopDown"> <reportElement x="3" y="20" width="728" height="0" key="line-2"/> <graphicElement stretchType="NoStretch"/> </line> </band> </columnHeader> <detail> <band height="0" isSplitAllowed="true" > </band> </detail> <columnFooter> <band height="0" isSplitAllowed="true" > </band> </columnFooter> <pageFooter> <band height="27" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="5" y="13" width="100" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font size="8"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{reporttime}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="5" y="3" width="100" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font size="8"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{reportdate}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="524" y="13" width="147" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font size="8"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$V{PAGE_NUMBER} + " " + $F{of_label}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="673" y="13" width="58" height="13" key="textField-4"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left"> <font size="8"/> </textElement> <textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> </textField> </band> </pageFooter> <lastPageFooter> <band height="50" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="#,##0.000000;(#,##0.000000)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="295" y="0" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font pdfFontName="Helvetica-Bold" size="8" isBold="true"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{tot_totcost}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="368" y="0" width="70" height="13" key="textField"/> <box topBorder="None" topBorderColor="