sistemata query

This commit is contained in:
2025-08-26 12:22:15 +02:00
parent 944ddfd40c
commit 1b70481bb3

View File

@@ -0,0 +1,442 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.21.3.final using JasperReports Library version 6.21.3-4a3078d20785ebe464f18037d738d12fc98c13cf -->
<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="ControlloProduzione" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b8bf8a64-2432-44f9-8b9d-757e9e737965">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="RossoGargano\DataAdapter.jrdax"/>
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<property name="com.jaspersoft.studio.report.description" value=""/>
<style name="LetturaFacilitata" mode="Transparent" backcolor="#FFFFFF">
<conditionalStyle>
<conditionExpression><![CDATA[($V{REPORT_COUNT} % 2) == 0?true:false]]></conditionExpression>
<style mode="Opaque" backcolor="#E6E6E6"/>
</conditionalStyle>
</style>
<parameter name="data_iniz" class="java.lang.String"/>
<parameter name="data_fine" class="java.lang.String"/>
<queryString>
<![CDATA[select IIF(mtb_colr.barcode_ul_out is not null, mtb_colr.barcode_ul_out,
mtb_colr.barcode_ul_in) AS barcode_ul,
SUM(qta_col) as qta_col,
SUM(num_cnf) as num_cnf,
mtb_colr.qta_cnf,
mtb_colt.gestione,
mtb_colt.data_collo,
mtb_colt.ser_collo,
mtb_colt.num_collo,
mtb_colt.cod_mdep,
mtb_colt.posizione,
mtb_aart.cod_mart,
isnull(mtb_aart.descrizione_estesa,mtb_aart.descrizione) as descrizione,
isnull(partita_mag_prod,mtb_partita_mag.partita_mag) as partita_mag,
dtb_ordt.cod_jcom,
mtb_colt.cod_jfas,
mtb_aart.unt_mis,
mtb_colr.datetime_row,
mtb_colt.progressivo_ul,
nome_ditta,
dtb_ordt.data_ord,
dtb_ordt.num_ord,
dtb_ordt.cod_prod,
mt.descrizione as descrizione_prodotto,
mtb_colt.segno
from mtb_colt
inner join mtb_colr on mtb_colt.gestione = mtb_colr.gestione and mtb_colt.data_collo = mtb_colr.data_collo and
mtb_colt.ser_collo = mtb_colr.ser_collo and mtb_colt.num_collo = mtb_colr.num_collo
inner join mtb_aart on mtb_colr.cod_mart = mtb_aart.cod_mart
inner join dtb_ordt on dtb_ordt.data_ord = mtb_colt.data_ord and dtb_ordt.num_ord = mtb_colt.num_ord and
dtb_ordt.gestione = mtb_colt.gestione
inner join mtb_aart mt on dtb_ordt.cod_prod = mt.cod_mart
inner join mtb_partita_mag on mtb_colr.cod_mart = mtb_partita_mag.cod_mart and
mtb_colr.partita_mag = mtb_partita_mag.partita_mag
inner join jtb_fasi on dtb_ordt.cod_jfas = jtb_fasi.cod_jfas,
azienda
where mtb_colt.gestione = 'L'
and mtb_colr.data_collo between $P{data_iniz} and $P{data_fine}
and jtb_fasi.um_prod IS NOT NULL
and jtb_fasi.flag_attivo = 'S'
group by IIF(mtb_colr.barcode_ul_out is not null, mtb_colr.barcode_ul_out,
mtb_colr.barcode_ul_in) , mtb_colt.posizione, mtb_colt.cod_mdep, mtb_colt.num_collo, mtb_colt.ser_collo, mtb_colt.data_collo,
mtb_colt.gestione, mtb_colr.qta_cnf, mtb_aart.cod_mart, isnull(mtb_aart.descrizione_estesa,mtb_aart.descrizione) ,
isnull(partita_mag_prod,mtb_partita_mag.partita_mag) , dtb_ordt.cod_jcom, mtb_colt.cod_jfas, mtb_aart.unt_mis, mtb_colt.barcode_ul,
mtb_colr.datetime_row, mtb_colt.progressivo_ul, nome_ditta, dtb_ordt.data_ord, dtb_ordt.num_ord,dtb_ordt.cod_prod, mt.descrizione, mtb_colt.segno
order by num_ord, data_ord,cod_mart, partita_mag, mtb_colt.cod_jfas, mtb_colt.progressivo_ul, mtb_colt.barcode_ul, datetime_row]]>
</queryString>
<field name="barcode_ul" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="barcode_ul"/>
<property name="com.jaspersoft.studio.field.label" value="barcode_ul"/>
</field>
<field name="qta_col" class="java.math.BigDecimal">
<property name="com.jaspersoft.studio.field.name" value="qta_col"/>
<property name="com.jaspersoft.studio.field.label" value="qta_col"/>
</field>
<field name="num_cnf" class="java.math.BigDecimal">
<property name="com.jaspersoft.studio.field.name" value="num_cnf"/>
<property name="com.jaspersoft.studio.field.label" value="num_cnf"/>
</field>
<field name="qta_cnf" class="java.math.BigDecimal">
<property name="com.jaspersoft.studio.field.name" value="qta_cnf"/>
<property name="com.jaspersoft.studio.field.label" value="qta_cnf"/>
</field>
<field name="gestione" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="gestione"/>
<property name="com.jaspersoft.studio.field.label" value="gestione"/>
</field>
<field name="data_collo" class="java.sql.Timestamp">
<property name="com.jaspersoft.studio.field.name" value="data_collo"/>
<property name="com.jaspersoft.studio.field.label" value="data_collo"/>
</field>
<field name="ser_collo" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="ser_collo"/>
<property name="com.jaspersoft.studio.field.label" value="ser_collo"/>
</field>
<field name="num_collo" class="java.lang.Integer">
<property name="com.jaspersoft.studio.field.name" value="num_collo"/>
<property name="com.jaspersoft.studio.field.label" value="num_collo"/>
</field>
<field name="cod_mdep" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="cod_mdep"/>
<property name="com.jaspersoft.studio.field.label" value="cod_mdep"/>
</field>
<field name="posizione" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="posizione"/>
<property name="com.jaspersoft.studio.field.label" value="posizione"/>
</field>
<field name="cod_mart" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="cod_mart"/>
<property name="com.jaspersoft.studio.field.label" value="cod_mart"/>
</field>
<field name="descrizione" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="descrizione"/>
<property name="com.jaspersoft.studio.field.label" value="descrizione"/>
</field>
<field name="partita_mag" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="partita_mag"/>
<property name="com.jaspersoft.studio.field.label" value="partita_mag"/>
</field>
<field name="cod_jcom" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="cod_jcom"/>
<property name="com.jaspersoft.studio.field.label" value="cod_jcom"/>
</field>
<field name="cod_jfas" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="cod_jfas"/>
<property name="com.jaspersoft.studio.field.label" value="cod_jfas"/>
</field>
<field name="unt_mis" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="unt_mis"/>
<property name="com.jaspersoft.studio.field.label" value="unt_mis"/>
</field>
<field name="datetime_row" class="java.sql.Timestamp">
<property name="com.jaspersoft.studio.field.name" value="datetime_row"/>
<property name="com.jaspersoft.studio.field.label" value="datetime_row"/>
</field>
<field name="progressivo_ul" class="java.lang.Integer">
<property name="com.jaspersoft.studio.field.name" value="progressivo_ul"/>
<property name="com.jaspersoft.studio.field.label" value="progressivo_ul"/>
</field>
<field name="nome_ditta" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="nome_ditta"/>
<property name="com.jaspersoft.studio.field.label" value="nome_ditta"/>
</field>
<field name="data_ord" class="java.sql.Timestamp">
<property name="com.jaspersoft.studio.field.name" value="data_ord"/>
<property name="com.jaspersoft.studio.field.label" value="data_ord"/>
</field>
<field name="num_ord" class="java.lang.Integer">
<property name="com.jaspersoft.studio.field.name" value="num_ord"/>
<property name="com.jaspersoft.studio.field.label" value="num_ord"/>
</field>
<field name="cod_prod" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="cod_prod"/>
<property name="com.jaspersoft.studio.field.label" value="cod_prod"/>
</field>
<field name="descrizione_prodotto" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="descrizione_prodotto"/>
<property name="com.jaspersoft.studio.field.label" value="descrizione_prodotto"/>
</field>
<field name="segno" class="java.lang.Short">
<property name="com.jaspersoft.studio.field.name" value="segno"/>
<property name="com.jaspersoft.studio.field.label" value="segno"/>
</field>
<variable name="qta_col" class="java.math.BigDecimal" resetType="Group" resetGroup="Gruppo2" calculation="Sum">
<variableExpression><![CDATA[$F{qta_col}]]></variableExpression>
</variable>
<variable name="num_cnf" class="java.math.BigDecimal" resetType="Group" resetGroup="Gruppo2" calculation="Sum">
<variableExpression><![CDATA[$F{num_cnf}]]></variableExpression>
</variable>
<variable name="barcode_ul1" class="java.lang.Integer" resetType="Group" resetGroup="Gruppo2" calculation="Count">
<variableExpression><![CDATA[$F{progressivo_ul}]]></variableExpression>
</variable>
<group name="Gruppo1" isReprintHeaderOnEachPage="true">
<groupExpression><![CDATA[new SimpleDateFormat(" dd-MM-yyyy").format($F{data_ord})+$F{num_ord} + $F{segno}]]></groupExpression>
<groupHeader>
<band height="15">
<textField textAdjust="StretchHeight" evaluationTime="Group" evaluationGroup="Gruppo2" isBlankWhenNull="true">
<reportElement x="0" y="0" width="150" height="15" uuid="995646d4-f75b-4794-a9d1-6b7a68c7ae4e">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="bedf5343-6f10-4b1c-acb1-01cc1122b0e8"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle" markup="html">
<font fontName="Tahoma" size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Ordine Num. "+$F{num_ord}+" del"+new SimpleDateFormat(" dd-MM-yyyy").format($F{data_ord})]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" evaluationTime="Group" evaluationGroup="Gruppo2" isBlankWhenNull="true">
<reportElement x="152" y="0" width="360" height="15" uuid="898ff18a-e85c-4ea9-bfaf-c50ce665fecd">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="bedf5343-6f10-4b1c-acb1-01cc1122b0e8"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{segno} == -1]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle" markup="html">
<font fontName="Tahoma" size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[($F{cod_prod}==null?"":$F{descrizione_prodotto}==null?"":$F{cod_prod}+" - "+$F{descrizione_prodotto})]]></textFieldExpression>
</textField>
</band>
</groupHeader>
</group>
<group name="Gruppo2" isReprintHeaderOnEachPage="true">
<groupExpression><![CDATA[$F{cod_mart}+$F{partita_mag}+$F{cod_jfas}]]></groupExpression>
<groupHeader>
<band height="24">
<textField textAdjust="StretchHeight" evaluationTime="Group" evaluationGroup="Gruppo2" isBlankWhenNull="true">
<reportElement x="0" y="4" width="320" height="15" uuid="a0f74448-4d79-46c4-81ab-b0118f545017">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="bedf5343-6f10-4b1c-acb1-01cc1122b0e8"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle" markup="html">
<font fontName="Tahoma" size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[($F{cod_mart}==null?"":$F{descrizione}==null?"":$F{cod_mart}+" - "+$F{descrizione}) + ($F{partita_mag}==null?"":" - Lotto: "+$F{partita_mag})]]></textFieldExpression>
</textField>
<textField textAdjust="ScaleFont" evaluationTime="Group" evaluationGroup="Gruppo2" pattern="#,##0.###;(#,##0.###-)">
<reportElement x="459" y="4" width="47" height="15" uuid="049da790-484d-403b-b947-4af191710d7c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Tahoma" size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{qta_col}]]></textFieldExpression>
</textField>
<textField textAdjust="ScaleFont" evaluationTime="Group" evaluationGroup="Gruppo2" pattern="#,##0.###;(#,##0.###-)">
<reportElement x="508" y="4" width="47" height="15" uuid="e5928f2f-4645-4825-9932-4b3ff74a34c1">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font fontName="Tahoma" size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{num_cnf}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight" evaluationTime="Group" evaluationGroup="Gruppo2" isBlankWhenNull="true">
<reportElement x="330" y="4" width="127" height="15" uuid="0c0a7950-bf02-49d6-bb57-01f7796597f7">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="bedf5343-6f10-4b1c-acb1-01cc1122b0e8"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="html">
<font fontName="Tahoma" size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Num. Totale UL: "+$V{barcode_ul1}]]></textFieldExpression>
</textField>
</band>
</groupHeader>
</group>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="40" splitType="Stretch">
<textField textAdjust="StretchHeight">
<reportElement mode="Opaque" x="1" y="2" width="550" height="38" forecolor="#46A0C9" backcolor="#FFFFFF" uuid="a9776138-4cde-41c0-8271-7b2b55558c20">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
</reportElement>
<textElement textAlignment="Left">
<font fontName="Arial Black" size="16" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["CONTROLLO PRODUZIONE DAL"+new SimpleDateFormat(" dd-MM-yyyy").format(new SimpleDateFormat("yyyy-MM-dd").parse($P{data_iniz}.replace("/", "-")))+" AL"+new SimpleDateFormat(" dd-MM-yyyy").format(new SimpleDateFormat("yyyy-MM-dd").parse($P{data_fine}.replace("/", "-")))]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<columnHeader>
<band height="49" splitType="Stretch">
<line>
<reportElement x="0" y="46" width="555" height="1" forecolor="#07A0C9" backcolor="#46A0C9" uuid="00f62cc9-af18-42ee-bad9-6f1afe09ef4d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
</line>
<staticText>
<reportElement mode="Opaque" x="190" y="14" width="108" height="30" backcolor="#D1E4EF" uuid="45a98675-f831-47c5-9297-d9bc963aea5d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Tahoma" size="8"/>
</textElement>
<text><![CDATA[Barcode]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="459" y="14" width="47" height="30" backcolor="#D1E4EF" uuid="7442d550-d3a9-4ed4-ae7c-0ef1321a89b7">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Tahoma" size="8"/>
</textElement>
<text><![CDATA[Qta
colli]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="508" y="14" width="47" height="30" backcolor="#D1E4EF" uuid="8d8846ef-377e-4f1d-a1d6-b3cefe61d0d8">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Tahoma" size="8"/>
</textElement>
<text><![CDATA[Num
cnf]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="406" y="14" width="51" height="30" backcolor="#D1E4EF" uuid="2f9528d1-2e69-4426-9dc7-2a9a0488fb16">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Tahoma" size="8"/>
</textElement>
<text><![CDATA[Linea]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="300" y="14" width="104" height="30" backcolor="#D1E4EF" uuid="9de66af0-fc5d-4ca5-be0c-94840b1c7017">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Tahoma" size="8"/>
</textElement>
<text><![CDATA[Data e Ora]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="0" y="14" width="150" height="30" backcolor="#D1E4EF" uuid="6f363827-648d-4da1-b646-ea2096ed37e5">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Tahoma" size="8"/>
</textElement>
<text><![CDATA[Articolo / Lotto]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="152" y="14" width="36" height="30" backcolor="#D1E4EF" uuid="370de991-9623-44c5-9dd6-52cc36cd5105">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="Tahoma" size="8"/>
</textElement>
<text><![CDATA[Num.
UL]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="15" splitType="Stretch">
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
<reportElement stretchType="ElementGroupHeight" x="191" y="0" width="108" height="15" uuid="0ffd6aca-d4c8-4d3e-8c50-3a49024bd89f">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="819d4748-269f-4d4c-a4f1-7f366779142a"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{barcode_ul}]]></textFieldExpression>
</textField>
<textField textAdjust="ScaleFont" pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
<reportElement stretchType="ElementGroupHeight" x="459" y="0" width="47" height="15" uuid="e34f01c8-e177-46d1-b205-68fee92a4172">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="33cbac9e-31fe-499f-a6fa-2bc91f5d0d6e"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{qta_col}]]></textFieldExpression>
</textField>
<textField textAdjust="ScaleFont" pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
<reportElement stretchType="ElementGroupHeight" x="508" y="0" width="47" height="15" uuid="f82b1580-11b5-4cbc-9c28-f717da098789">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="552e8cf4-29e5-4f90-9f75-582eb6e3e27e"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Right">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{num_cnf}]]></textFieldExpression>
</textField>
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
<reportElement stretchType="ElementGroupHeight" x="406" y="0" width="51" height="15" uuid="19c5404b-aefb-4164-90d3-b47d571f34c3">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="9d42b604-22bd-4e41-9081-362a78a492a1"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{cod_jfas}]]></textFieldExpression>
</textField>
<textField textAdjust="ScaleFont" pattern="dd/MM/yy HH:mm:ss" isBlankWhenNull="true">
<reportElement stretchType="ElementGroupHeight" x="300" y="0" width="104" height="15" uuid="ec25ac97-1c9a-49f1-8961-cef7a81c392a">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="d79f0018-44ce-484e-8636-adc8ef461366"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{datetime_row}]]></textFieldExpression>
</textField>
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
<reportElement stretchType="ElementGroupHeight" x="153" y="0" width="36" height="15" uuid="d28bbc9d-973c-44e8-ae7c-80ebbb677989">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="819d4748-269f-4d4c-a4f1-7f366779142a"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$F{segno}==1]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{progressivo_ul}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band height="17" splitType="Stretch">
<textField>
<reportElement x="227" y="2" width="80" height="15" uuid="a4664c86-dd17-4cf1-9516-6ebaad3547f9"/>
<textElement textAlignment="Right">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression><![CDATA["Pagina "+$V{PAGE_NUMBER}+" di"]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement x="307" y="2" width="40" height="15" uuid="0276f632-fb4e-453e-b50e-321935f7c6f9"/>
<textElement>
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy">
<reportElement x="454" y="2" width="100" height="15" uuid="65488e9e-dfb7-44c0-80fe-7b57d25c9e5c"/>
<textElement textAlignment="Right">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy ").format(new java.util.Date())]]></textFieldExpression>
</textField>
<textField>
<reportElement x="1" y="2" width="210" height="15" uuid="8df0a3be-940e-41d5-8b46-1b4e6148fa9e"/>
<textElement>
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{nome_ditta}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>