Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -1,14 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.19.1.final utlizzo versione della libreria JasperReports6.19.1-867c00bf88cd4d784d404379d6c05e1b419e8a4c -->
|
||||
<!-- Created with Jaspersoft Studio version 6.21.3.final utlizzo versione della libreria JasperReports6.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="ContrattoAcquistoOlioSfuso" pageWidth="595" pageHeight="842" columnWidth="595" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="0764ea03-df96-40b2-87d2-8402fa270636">
|
||||
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="BIOLEVANTE\DataAdapter.xml"/>
|
||||
<property name="com.jaspersoft.studio.data.sql.tables">
|
||||
<![CDATA[Z3RiX3BhZ2EgLDQzMCwxNjEsOTcyZTBhMjktYWVhZC00OTFjLTg4M2EtODkxZWNiYmIxMzg4O2F2
|
||||
d19jb250cmF0dGlfYWNxdWlzdG8gLDE1LDEzMCw2NTNiNjhhNy1hZWUwLTQ2MWItYWIyMy1hYTJi
|
||||
NzVmZmExMTY7Z3RiX2FuYWcgLDMwMCwxNSw4ZTFhN2ZhMy00ZWMzLTRmOWItYjRkMy1kM2RmZjgw
|
||||
NjAyMTU7YXRiX2Zvcm4gLDE4Myw5NCw0NDFlOTcyMi1jMmU5LTRkMjEtYTUyMC02NTE2YTNmMTlh
|
||||
NzY7YXppZW5kYSAsMzAwLDIyOSw5Y2NhMzBjNC1lNzJhLTQyZWEtOWVlMi1lMTFkYmMxYzZjNjQ7]]>
|
||||
</property>
|
||||
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
|
||||
<property name="com.jaspersoft.studio.unit." value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
|
||||
@@ -26,6 +20,7 @@ NzY7YXppZW5kYSAsMzAwLDIyOSw5Y2NhMzBjNC1lNzJhLTQyZWEtOWVlMi1lMTFkYmMxYzZjNjQ7]]>
|
||||
data_iniz,
|
||||
data_fine,
|
||||
num_off AS versione,
|
||||
id_contratto,
|
||||
c.note,
|
||||
c.cod_vage,
|
||||
rag_soc_age,
|
||||
@@ -36,6 +31,7 @@ NzY7YXppZW5kYSAsMzAwLDIyOSw5Y2NhMzBjNC1lNzJhLTQyZWEtOWVlMi1lMTFkYmMxYzZjNjQ7]]>
|
||||
unt_mis_acq,
|
||||
rap_conv,
|
||||
prz_acq,
|
||||
round(c.prz_acq * (1+c.perc_aliq/100), 5) as prz_acq_ivato,
|
||||
perc_1,
|
||||
perc_2,
|
||||
perc_3,
|
||||
@@ -92,6 +88,10 @@ WHERE c.id_contratto = $P{id_contratto}]]>
|
||||
<property name="com.jaspersoft.studio.field.name" value="versione"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="versione"/>
|
||||
</field>
|
||||
<field name="id_contratto" class="java.lang.Long">
|
||||
<property name="com.jaspersoft.studio.field.name" value="id_contratto"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="id_contratto"/>
|
||||
</field>
|
||||
<field name="note" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="note"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="note"/>
|
||||
@@ -132,6 +132,10 @@ WHERE c.id_contratto = $P{id_contratto}]]>
|
||||
<property name="com.jaspersoft.studio.field.name" value="prz_acq"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="prz_acq"/>
|
||||
</field>
|
||||
<field name="prz_acq_ivato" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="prz_acq_ivato"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="prz_acq_ivato"/>
|
||||
</field>
|
||||
<field name="perc_1" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="perc_1"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="perc_1"/>
|
||||
@@ -467,11 +471,11 @@ WHERE c.id_contratto = $P{id_contratto}]]>
|
||||
</reportElement>
|
||||
</line>
|
||||
<staticText>
|
||||
<reportElement x="0" y="88" width="70" height="20" uuid="d541eb3e-ed72-4c97-8307-452442ce0b9e"/>
|
||||
<reportElement x="0" y="88" width="120" height="20" uuid="d541eb3e-ed72-4c97-8307-452442ce0b9e"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="10" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Prezzo]]></text>
|
||||
<text><![CDATA[Prezzo IVA esclusa]]></text>
|
||||
</staticText>
|
||||
<textField pattern="#,##0.00#;#,##0.00#-">
|
||||
<reportElement x="130" y="88" width="80" height="20" uuid="70ae4719-6fa3-4dc5-afe4-0e61975be424">
|
||||
@@ -483,13 +487,13 @@ WHERE c.id_contratto = $P{id_contratto}]]>
|
||||
<textFieldExpression><![CDATA[$F{prz_acq}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="200" y="88" width="131" height="20" uuid="df7f3907-7786-41c4-9536-5d720d20106e">
|
||||
<reportElement x="200" y="88" width="80" height="20" uuid="df7f3907-7786-41c4-9536-5d720d20106e">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="8f8cbbaf-f8b7-4216-bf74-394276626f0a"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="10" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[" EUR + IVA per " + $F{unt_mis_acq}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[" EUR per " + $F{unt_mis_acq}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="0" y="118" width="70" height="20" uuid="da2374c5-37b0-4018-8e50-c01f4dccb49d"/>
|
||||
@@ -664,6 +668,31 @@ WHERE c.id_contratto = $P{id_contratto}]]>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{rag_soc_age}==null?"":$F{rag_soc_age}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00#;#,##0.00#-">
|
||||
<reportElement x="401" y="88" width="80" height="20" uuid="4139b2e2-0e18-4c75-940b-a42d8de1eacd">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="a303f333-5b77-43cb-9f0e-416d16e63b9c"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="10" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{prz_acq_ivato}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="291" y="88" width="100" height="20" uuid="2284ed19-d37c-4379-af71-e7a6b17c34b8"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="10" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Prezzo IVA inclusa]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement x="475" y="88" width="75" height="20" uuid="9c173d12-1142-43e4-914a-652190b3a478">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="8f8cbbaf-f8b7-4216-bf74-394276626f0a"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="10" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[" EUR per " + $F{unt_mis_acq}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<pageFooter>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.19.1.final utlizzo versione della libreria JasperReports6.19.1-867c00bf88cd4d784d404379d6c05e1b419e8a4c -->
|
||||
<!-- Created with Jaspersoft Studio version 6.21.3.final utlizzo versione della libreria JasperReports6.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="contratto_acquisto" pageWidth="595" pageHeight="842" columnWidth="595" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="f2ecb66c-1d1a-42b0-bfa4-d5e5913b24d0">
|
||||
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="BIOLEVANTE\DataAdapter.xml"/>
|
||||
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
|
||||
@@ -20,6 +20,7 @@
|
||||
data_iniz,
|
||||
data_fine,
|
||||
num_off as versione,
|
||||
id_contratto,
|
||||
cod_vage,
|
||||
rag_soc_age,
|
||||
cod_vvet,
|
||||
@@ -78,6 +79,10 @@ WHERE c.id_contratto = $P{id_contratto}]]>
|
||||
<property name="com.jaspersoft.studio.field.name" value="versione"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="versione"/>
|
||||
</field>
|
||||
<field name="id_contratto" class="java.lang.Long">
|
||||
<property name="com.jaspersoft.studio.field.name" value="id_contratto"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="id_contratto"/>
|
||||
</field>
|
||||
<field name="cod_vage" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_vage"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_vage"/>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.19.1.final utlizzo versione della libreria JasperReports6.19.1-867c00bf88cd4d784d404379d6c05e1b419e8a4c -->
|
||||
<!-- Created with Jaspersoft Studio version 6.21.3.final utlizzo versione della libreria JasperReports6.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="ContrattiAcquisto" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="39d6f9b5-4ec1-4ccb-9411-f5f9fde8299b">
|
||||
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="BIOLEVANTE\DataAdapter.xml"/>
|
||||
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
|
||||
|
||||
380
IntegryReports/CARELLI/ReportRilevatrici.jrxml
Normal file
380
IntegryReports/CARELLI/ReportRilevatrici.jrxml
Normal file
@@ -0,0 +1,380 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.21.3.final utlizzo versione della libreria JasperReports6.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="ReportRilevatrici" pageWidth="842" pageHeight="595" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="a8438d74-9f7c-4aa9-ab2a-b932f7e98cbd">
|
||||
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="CARELLI\Winact.xml"/>
|
||||
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
|
||||
<property name="com.jaspersoft.studio.unit." value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>
|
||||
<style name="LetturaFacilitata">
|
||||
<conditionalStyle>
|
||||
<conditionExpression><![CDATA[($V{REPORT_COUNT} % 2) == 0?true:false]]></conditionExpression>
|
||||
<style mode="Opaque" backcolor="#E6E6E6"/>
|
||||
</conditionalStyle>
|
||||
<conditionalStyle>
|
||||
<conditionExpression><![CDATA[$F{level}.equals(2 )]]></conditionExpression>
|
||||
<style isBold="true" isUnderline="true"/>
|
||||
</conditionalStyle>
|
||||
<conditionalStyle>
|
||||
<conditionExpression><![CDATA[$F{level}.equals( 3)]]></conditionExpression>
|
||||
<style isBold="true"/>
|
||||
</conditionalStyle>
|
||||
</style>
|
||||
<parameter name="data_iniz" class="java.lang.String"/>
|
||||
<parameter name="full_name" class="java.lang.String"/>
|
||||
<parameter name="data_fine" class="java.lang.String"/>
|
||||
<queryString>
|
||||
<![CDATA[use winact;
|
||||
|
||||
|
||||
WITH direzioni AS (SELECT user_name, full_name, user_name2, srl_user.flag_azione
|
||||
FROM stb_user
|
||||
LEFT OUTER JOIN srl_user ON stb_user.user_name = srl_user.user_name1
|
||||
WHERE key_group = '9')
|
||||
SELECT activity.activity_id,
|
||||
activity.user_creator,
|
||||
creator.full_name,
|
||||
activity.data_ins_act,
|
||||
subcat.activity_description AS subcat_description,
|
||||
subcat.activity_id AS parent_activity_id,
|
||||
grup.cod_mgrp,
|
||||
grup.descrizione AS grup_description,
|
||||
cat.activity_description AS cat_description,
|
||||
activity.activity_description,
|
||||
activity.cod_mart,
|
||||
mtb_aart.descrizione,
|
||||
activity.data_ord,
|
||||
activity.num_ord,
|
||||
azienda.nome_ditta
|
||||
FROM stb_activity activity
|
||||
LEFT OUTER JOIN stb_activity subcat ON subcat.activity_id = activity.parent_activity_id
|
||||
LEFT OUTER JOIN stb_activity cat ON cat.activity_id = subcat.parent_activity_id
|
||||
LEFT OUTER JOIN mtb_grup grup ON activity.cod_mgrp = grup.cod_mgrp
|
||||
LEFT OUTER JOIN jtb_fasi inspection ON inspection.cod_jfas = activity.cod_jfas
|
||||
INNER JOIN stb_user creator ON activity.user_creator = creator.user_name
|
||||
INNER JOIN stb_user user_assigned ON activity.user_name = user_assigned.user_name
|
||||
LEFT OUTER JOIN stb_user personaRif ON activity.persona_rif = personaRif.user_name
|
||||
LEFT OUTER JOIN mtb_aart on activity.cod_mart = mtb_aart.cod_mart
|
||||
|
||||
OUTER APPLY (SELECT TOP 1 *
|
||||
FROM direzioni
|
||||
WHERE direzioni.user_name2 =
|
||||
ISNULL(activity.persona_rif, activity.user_name)) direzioni_applied, azienda
|
||||
WHERE activity.activity_type_id = 'SEGNALAZIONE'
|
||||
AND activity.flag_tipologia = 'p'
|
||||
AND activity.cod_jcom = dbo.getGestSetup('PVM', 'MODELLINI', 'COD_JCOM')
|
||||
AND activity.cod_jfas = dbo.getGestSetup('PVM','MODELLINI','COD_JFAS_MODELLINI')
|
||||
AND ($P{full_name} IS NULL OR $P{full_name}= '' OR creator.full_name =$P{full_name} )
|
||||
AND activity.data_ins_act between $P{data_iniz} AND $P{data_fine}
|
||||
AND subcat.activity_description LIKE 'INE%'
|
||||
ORDER BY activity.user_creator, activity.data_ins_act]]>
|
||||
</queryString>
|
||||
<field name="activity_id" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="activity_id"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="activity_id"/>
|
||||
</field>
|
||||
<field name="user_creator" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="user_creator"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="user_creator"/>
|
||||
</field>
|
||||
<field name="full_name" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="full_name"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="full_name"/>
|
||||
</field>
|
||||
<field name="data_ins_act" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_ins_act"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_ins_act"/>
|
||||
</field>
|
||||
<field name="subcat_description" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="subcat_description"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="subcat_description"/>
|
||||
</field>
|
||||
<field name="parent_activity_id" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="parent_activity_id"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="parent_activity_id"/>
|
||||
</field>
|
||||
<field name="cod_mgrp" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_mgrp"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_mgrp"/>
|
||||
</field>
|
||||
<field name="grup_description" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="grup_description"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="grup_description"/>
|
||||
</field>
|
||||
<field name="cat_description" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cat_description"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cat_description"/>
|
||||
</field>
|
||||
<field name="activity_description" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="activity_description"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="activity_description"/>
|
||||
</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="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="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>
|
||||
<group name="Gruppo1">
|
||||
<groupExpression><![CDATA[$F{user_creator}]]></groupExpression>
|
||||
<groupHeader>
|
||||
<band height="15">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="480" height="15" uuid="5d14d969-0e76-48df-b89f-3ae28190d6a5">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="390a9bf0-efc9-4d78-aec4-ad1bdef041e6"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[($F{full_name}==null? "":$F{full_name})]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</groupHeader>
|
||||
</group>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<pageHeader>
|
||||
<band height="35" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement mode="Opaque" x="0" y="0" width="802" height="30" forecolor="#46A0C9" backcolor="#FFFFFF" uuid="3e877efa-d5f0-4614-a933-32ed35445287">
|
||||
<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["Modellini commerciali aperti dal " + new SimpleDateFormat("dd/MM/yyyy").format( new SimpleDateFormat("yyyy/MM/dd").parse($P{data_iniz})) + " al " + new SimpleDateFormat("dd/MM/yyyy").format( new SimpleDateFormat("yyyy/MM/dd").parse($P{data_fine}))]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band height="55" splitType="Stretch">
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="193" y="25" width="260" height="25" backcolor="#D1E4EF" uuid="1d7a0fe1-fd0e-4e65-9f9c-c75e6a0144ee">
|
||||
<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[Descrizione Attività]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="710" y="25" width="55" height="25" backcolor="#D1E4EF" uuid="b65a7395-ab93-4f69-af77-2e2eafe81e49">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Data
|
||||
Ordine]]></text>
|
||||
</staticText>
|
||||
<line>
|
||||
<reportElement x="0" y="52" width="802" height="1" forecolor="#07A0C9" backcolor="#46A0C9" uuid="f7f81c72-72d3-42cf-874b-33227c76f1ca">
|
||||
<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="767" y="25" width="35" height="25" backcolor="#D1E4EF" uuid="54b8f2e6-eb4d-4c25-a11f-bda0053b8130">
|
||||
<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.
|
||||
Ordine
|
||||
]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="126" y="25" width="65" height="25" backcolor="#D1E4EF" uuid="e202f48c-8996-44ab-bdc6-48ced5e0e4f0">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Descrizione Reparto]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="57" y="25" width="67" height="25" backcolor="#D1E4EF" uuid="1b78c423-b297-4578-95d2-d8bceef48568">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Descrizione SottoAttività]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="455" y="25" width="65" height="25" backcolor="#D1E4EF" uuid="4eb9fe5a-4dfe-4c7e-b712-ba1ae75deec7">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Articolo]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="522" y="25" width="186" height="25" backcolor="#D1E4EF" uuid="be04b480-351f-448f-b920-63e8e0f8c918">
|
||||
<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[Descrizione]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="0" y="25" width="55" height="25" backcolor="#D1E4EF" uuid="3d7928ff-8803-4751-a9eb-c9ef3652f244">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Data
|
||||
Inserimento]]></text>
|
||||
</staticText>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="20" splitType="Stretch">
|
||||
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" x="193" y="0" width="260" height="15" uuid="1b4e9964-0ab9-4789-b3ac-914ea33f60b9">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="cbbd9c52-e065-4706-b837-a08c2987c0b4"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{activity_description}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="767" y="0" width="35" height="15" uuid="9da0704a-60eb-4d62-a8fa-5e200af9beb8">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="92f2e009-a524-4037-945d-b9e6a199933d"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{num_ord}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="126" y="0" width="65" height="15" uuid="322db73d-3ba3-46eb-a2f0-9fcbdf570886">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{grup_description}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yy hh:mm" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="57" y="0" width="67" height="15" uuid="66fcf9e1-ce15-447e-a9a1-bebd504ecd9c">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{subcat_description}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="455" y="0" width="65" height="15" uuid="6ad6f33f-3503-4532-9498-bbf7fc2aa314">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="92f2e009-a524-4037-945d-b9e6a199933d"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_mart}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="522" y="0" width="186" height="15" uuid="3e15d080-974e-4c35-a561-0f31142b26c1">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="92f2e009-a524-4037-945d-b9e6a199933d"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{descrizione}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="710" y="0" width="55" height="15" uuid="d7727e3c-5681-4267-8997-cfdd2b1d4e82">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{data_ord}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="0" y="0" width="55" height="15" uuid="e63d61c8-07fc-4f9f-99d2-315075c59b7d">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{data_ins_act}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<pageFooter>
|
||||
<band height="32" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement x="340" y="17" width="80" height="15" uuid="3d66c713-05d5-493c-9d28-6dffe26ee9fd"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font fontName="Tahoma" size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["Pagina "+$V{PAGE_NUMBER}+" di"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report">
|
||||
<reportElement x="420" y="17" width="40" height="15" uuid="7a4e0d44-3b9c-4e11-8ef4-82353411f180"/>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement x="700" y="20" width="100" height="12" uuid="42533a19-5878-45a3-a114-3ababed05ad7"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font fontName="Tahoma" size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="2" y="19" width="100" height="12" uuid="27009baf-630a-4c55-9b9c-cb3144f078e7"/>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nome_ditta}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageFooter>
|
||||
</jasperReport>
|
||||
27
IntegryReports/CARELLI/barcode_negozio.jrxml
Normal file
27
IntegryReports/CARELLI/barcode_negozio.jrxml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.19.1.final utlizzo versione della libreria JasperReports6.19.1-867c00bf88cd4d784d404379d6c05e1b419e8a4c -->
|
||||
<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="barcode_negozio" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="4b2f0a3c-8875-4ec9-bbce-6e119f175264">
|
||||
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="CARELLI\carelli_vpn.xml"/>
|
||||
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
|
||||
<parameter name="cod_mdep" class="java.lang.String"/>
|
||||
<queryString>
|
||||
<![CDATA[select cod_mdep from mtb_depo where cod_mdep = $P{cod_mdep}]]>
|
||||
</queryString>
|
||||
<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>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<detail>
|
||||
<band height="163" splitType="Stretch">
|
||||
<componentElement>
|
||||
<reportElement x="20" y="20" width="140" height="70" uuid="88c50828-32c3-4166-803a-22ba1fe0239d"/>
|
||||
<jr:EAN128 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">
|
||||
<jr:codeExpression><![CDATA["94" + $F{cod_mdep}]]></jr:codeExpression>
|
||||
</jr:EAN128>
|
||||
</componentElement>
|
||||
</band>
|
||||
</detail>
|
||||
</jasperReport>
|
||||
350
IntegryReports/EtichetteSSCC_Linea7_ALNATURA.jrxml
Normal file
350
IntegryReports/EtichetteSSCC_Linea7_ALNATURA.jrxml
Normal file
File diff suppressed because one or more lines are too long
351
IntegryReports/EtichetteSSCC_Linea7_SELIN.jrxml
Normal file
351
IntegryReports/EtichetteSSCC_Linea7_SELIN.jrxml
Normal file
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.19.1.final utlizzo versione della libreria JasperReports6.19.1-867c00bf88cd4d784d404379d6c05e1b419e8a4c -->
|
||||
<!-- Created with Jaspersoft Studio version 6.21.3.final utlizzo versione della libreria JasperReports6.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="OrdiniWeb_Follie" language="groovy" printOrder="Horizontal" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="BlankPage" columnWidth="832" leftMargin="5" rightMargin="5" topMargin="5" bottomMargin="5" isSummaryNewPage="true" uuid="c5e24b65-55ce-4162-90e5-ed8259fcd02e">
|
||||
<property name="ireport.zoom" value="2.0"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
@@ -46,9 +46,6 @@
|
||||
<field name="codMart" class="java.lang.String">
|
||||
<fieldDescription><![CDATA[codMart]]></fieldDescription>
|
||||
</field>
|
||||
<field name="class" class="java.lang.Class">
|
||||
<fieldDescription><![CDATA[class]]></fieldDescription>
|
||||
</field>
|
||||
<field name="codTagl_09" class="java.lang.String">
|
||||
<fieldDescription><![CDATA[codTagl_09]]></fieldDescription>
|
||||
</field>
|
||||
|
||||
189
IntegryReports/GRAMM/Cartella Test/Etichetta_tama_usa.jrxml
Normal file
189
IntegryReports/GRAMM/Cartella Test/Etichetta_tama_usa.jrxml
Normal file
File diff suppressed because one or more lines are too long
@@ -35,6 +35,7 @@
|
||||
dtb_ordt.qta_prod,
|
||||
dtb_ordr.pos_riga,
|
||||
dtb_ordr.partita_mag,
|
||||
dtb_ordt.partita_mag as partita_mag_prod,
|
||||
dtb_ordt.unt_mis_prod,
|
||||
dtb_ordt.compilato_da,
|
||||
dtb_ordt.controllato_da,
|
||||
@@ -164,6 +165,10 @@ ORDER BY dtb_ordt.data_ord ASC,
|
||||
<property name="com.jaspersoft.studio.field.name" value="partita_mag"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="partita_mag"/>
|
||||
</field>
|
||||
<field name="partita_mag_prod" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="partita_mag_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="partita_mag_prod"/>
|
||||
</field>
|
||||
<field name="unt_mis_prod" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="unt_mis_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="unt_mis_prod"/>
|
||||
@@ -795,7 +800,7 @@ ORDER BY dtb_ordt.data_ord ASC,
|
||||
<textFieldExpression><![CDATA[$F{fase}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement x="251" y="70" width="545" height="13" uuid="61eeb326-83ee-474b-98e0-6173b874af2a">
|
||||
<reportElement x="251" y="70" width="245" height="13" uuid="61eeb326-83ee-474b-98e0-6173b874af2a">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
@@ -965,6 +970,27 @@ ORDER BY dtb_ordt.data_ord ASC,
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{quantità_kg}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="506" y="70" width="82" height="13" uuid="a009cf8d-8636-41e1-a321-c386b68450f6">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Partita Prod.:]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement x="588" y="70" width="208" height="13" uuid="f4ba939a-75fa-418d-9b60-cb2aaad0112e">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<pen lineWidth="0.0" lineColor="#B0ABAB"/>
|
||||
</box>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="9" isBold="false" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{partita_mag_prod}==null?' ':$F{partita_mag_prod}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
|
||||
@@ -32,16 +32,23 @@
|
||||
<queryString>
|
||||
<![CDATA[select
|
||||
dtb_ordr.cod_mart,
|
||||
dtb_ordr.descrizione,
|
||||
((dtb_ordr.qta_ord - qta_evasa)* dtb_ordr.rap_conv)/mtb_aart.qta_cnf as CT_da_evadare,
|
||||
(dtb_ordr.qta_ord - qta_evasa)* dtb_ordr.rap_conv * mtb_aart.peso_kg KG_da_evadere,
|
||||
qta_esistente/mtb_aart.qta_cnf as CT_giacenza,
|
||||
dtb_ordr.descrizione,
|
||||
(
|
||||
(dtb_ordr.qta_ord - qta_evasa)* dtb_ordr.rap_conv
|
||||
)/ mtb_aart.qta_cnf as ct_da_evadare,
|
||||
(dtb_ordr.qta_ord - qta_evasa)* dtb_ordr.rap_conv * mtb_aart.peso_kg as kg_da_evadere,
|
||||
qta_esistente / mtb_aart.qta_cnf as ct_giacenza,
|
||||
qta_esistente*mtb_aart.peso_kg as kg_giacenza,
|
||||
case when ((dtb_ordr.qta_ord - qta_evasa)* dtb_ordr.rap_conv * mtb_aart.peso_kg) - (qta_esistente*mtb_aart.peso_kg)< 0 then 0 else ((dtb_ordr.qta_ord - qta_evasa)* dtb_ordr.rap_conv * mtb_aart.peso_kg) - (qta_esistente*mtb_aart.peso_kg) end as Kg_da_produrre,
|
||||
dtb_ordt.num_ord,
|
||||
dtb_ordt.data_ord,
|
||||
data_iniz_trasp,
|
||||
data_iniz_trasp,
|
||||
dbo.relativeWorkDateConsLav(data_iniz_trasp, -gg_tot) as data_partenza,
|
||||
dtb_ordt.cod_anag,
|
||||
gtb_anag.rag_soc,
|
||||
azienda.nome_ditta
|
||||
azienda.nome_ditta,
|
||||
|
||||
max(jtb_dist_clav_dir.cod_jfas) as linea_SL
|
||||
from
|
||||
dtb_ordr
|
||||
inner join mtb_aart on dtb_ordr.cod_mart = mtb_aart.cod_mart
|
||||
@@ -49,16 +56,44 @@ from
|
||||
and dtb_ordr.data_ord = dtb_ordt.data_ord
|
||||
and dtb_ordr.num_ord = dtb_ordt.num_ord
|
||||
inner join gtb_anag on dtb_ordt.cod_anag = gtb_anag.cod_anag
|
||||
inner join mtb_part on mtb_part.cod_mart=dtb_ordr.cod_mart and mtb_part.cod_mdep=dtb_ordt.cod_mdep,
|
||||
inner join mtb_part on mtb_part.cod_mart = dtb_ordr.cod_mart
|
||||
and mtb_part.cod_mdep = '34'
|
||||
left outer join jtb_dist_mate on jtb_dist_mate.cod_prod=dtb_ordr.cod_mart
|
||||
inner join jtb_cicl on jtb_cicl.cod_prod=jtb_dist_mate.cod_prod
|
||||
cross apply [dbo].[f_ExplodeDistMultiLev] (jtb_cicl.cod_prod,'1')
|
||||
inner join jtb_dist_clav_dir on jtb_dist_clav_dir.cod_prod=f_ExplodeDistMultiLev.cod_prod
|
||||
inner join mtb_aart mat on mat.cod_mart=f_ExplodeDistMultiLev.cod_prod,
|
||||
azienda
|
||||
where
|
||||
dtb_ordt.gestione = 'v'
|
||||
and cod_mgrp in ('pfp', 'pfc')
|
||||
and cod_msgr in ('02', '07')
|
||||
and mtb_aart.cod_mgrp in ('pfp', 'pfc')
|
||||
and mtb_aart.cod_msgr in ('02', '07')
|
||||
and flag_evaso = 'i'
|
||||
and dtb_ordt.flag_budget = '0'
|
||||
and dtb_ordt.data_iniz_trasp between $P{data_iniz} and $P{data_fine}
|
||||
order by data_iniz_trasp asc, dtb_ordt.num_ord asc]]>
|
||||
and dtb_ordt.data_iniz_trasp between $P{data_iniz}
|
||||
and $P{data_fine}
|
||||
and mat.cod_mgrp in ('SL')
|
||||
and flag_fase_pref='S'
|
||||
and jtb_dist_clav_dir.activity_type_id='LAVORAZIONE'
|
||||
|
||||
group by
|
||||
dtb_ordr.cod_mart,
|
||||
dtb_ordr.descrizione,
|
||||
(
|
||||
(dtb_ordr.qta_ord - qta_evasa)* dtb_ordr.rap_conv
|
||||
)/ mtb_aart.qta_cnf ,
|
||||
(dtb_ordr.qta_ord - qta_evasa)* dtb_ordr.rap_conv * mtb_aart.peso_kg ,
|
||||
qta_esistente / mtb_aart.qta_cnf ,
|
||||
qta_esistente*MTB_AART.peso_kg ,
|
||||
|
||||
dtb_ordt.num_ord,
|
||||
dtb_ordt.data_ord,
|
||||
data_iniz_trasp,
|
||||
dtb_ordt.cod_anag,
|
||||
gtb_anag.rag_soc,
|
||||
azienda.nome_ditta,
|
||||
jtb_cicl.gg_tot
|
||||
order by linea_sl]]>
|
||||
</queryString>
|
||||
<field name="cod_mart" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_mart"/>
|
||||
@@ -68,17 +103,25 @@ order by data_iniz_trasp asc, dtb_ordt.num_ord asc]]>
|
||||
<property name="com.jaspersoft.studio.field.name" value="descrizione"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="descrizione"/>
|
||||
</field>
|
||||
<field name="CT_da_evadare" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="CT_da_evadare"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="CT_da_evadare"/>
|
||||
<field name="ct_da_evadare" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="ct_da_evadare"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="ct_da_evadare"/>
|
||||
</field>
|
||||
<field name="KG_da_evadere" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="KG_da_evadere"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="KG_da_evadere"/>
|
||||
<field name="kg_da_evadere" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="kg_da_evadere"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="kg_da_evadere"/>
|
||||
</field>
|
||||
<field name="CT_giacenza" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="CT_giacenza"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="CT_giacenza"/>
|
||||
<field name="ct_giacenza" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="ct_giacenza"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="ct_giacenza"/>
|
||||
</field>
|
||||
<field name="kg_giacenza" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="kg_giacenza"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="kg_giacenza"/>
|
||||
</field>
|
||||
<field name="Kg_da_produrre" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="Kg_da_produrre"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="Kg_da_produrre"/>
|
||||
</field>
|
||||
<field name="num_ord" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="num_ord"/>
|
||||
@@ -92,6 +135,10 @@ order by data_iniz_trasp asc, dtb_ordt.num_ord asc]]>
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_iniz_trasp"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_iniz_trasp"/>
|
||||
</field>
|
||||
<field name="data_partenza" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_partenza"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_partenza"/>
|
||||
</field>
|
||||
<field name="cod_anag" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_anag"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_anag"/>
|
||||
@@ -104,18 +151,136 @@ order by data_iniz_trasp asc, dtb_ordt.num_ord asc]]>
|
||||
<property name="com.jaspersoft.studio.field.name" value="nome_ditta"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="nome_ditta"/>
|
||||
</field>
|
||||
<group name="Gruppo1" isReprintHeaderOnEachPage="true">
|
||||
<groupExpression><![CDATA[$F{cod_anag}+$F{rag_soc}]]></groupExpression>
|
||||
<groupHeader>
|
||||
<field name="linea_SL" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="linea_SL"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="linea_SL"/>
|
||||
</field>
|
||||
<variable name="kg_da_evadere" class="java.math.BigDecimal" resetType="Group" resetGroup="Gruppo1" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{kg_da_evadere}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="kg_da_produrre" class="java.math.BigDecimal" resetType="Group" resetGroup="Gruppo1" incrementType="Group" incrementGroup="Gruppo1">
|
||||
<variableExpression><![CDATA[$V{kg_da_evadere}.subtract($F{kg_giacenza})]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="tot_kg_da_evadere" class="java.math.BigDecimal" resetType="Group" resetGroup="Gruppo2" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{kg_da_evadere}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="tot_ct_da_evadere" class="java.math.BigDecimal" resetType="Group" resetGroup="Gruppo2" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{ct_da_evadare}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="tot_kg_da_produrre" class="java.math.BigDecimal" resetType="Group" resetGroup="Gruppo2" incrementType="Group" incrementGroup="Gruppo1" calculation="Sum">
|
||||
<variableExpression><![CDATA[$V{kg_da_produrre} != null && $V{kg_da_produrre}.compareTo(new java.math.BigDecimal(0)) < 0
|
||||
? java.math.BigDecimal.ZERO
|
||||
: $V{kg_da_produrre}]]></variableExpression>
|
||||
</variable>
|
||||
<group name="Gruppo2" isStartNewPage="true">
|
||||
<groupExpression><![CDATA[$F{linea_SL}]]></groupExpression>
|
||||
<groupFooter>
|
||||
<band height="16">
|
||||
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="0" y="1" width="520" height="15" uuid="67ac69d8-db70-46b0-b86c-b6147fd923cf">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="92f2e009-a524-4037-945d-b9e6a199933d"/>
|
||||
<textField evaluationTime="Group" evaluationGroup="Gruppo2" pattern="#,##0.##;-#,##0.##">
|
||||
<reportElement x="514" y="1" width="50" height="15" uuid="c2ca4a3e-9632-4426-84ef-4dfd2c2bfeb5">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_anag}==null?"":$F{rag_soc}==null?"":"Cliente: "+$F{cod_anag}+" - "+$F{rag_soc}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$V{tot_kg_da_produrre}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Group" evaluationGroup="Gruppo2" pattern="#,##0.##;-#,##0.##">
|
||||
<reportElement x="306" y="1" width="50" height="14" uuid="5d2a6ee9-241c-4e77-854b-797469babeb5"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{tot_ct_da_evadere}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Group" evaluationGroup="Gruppo2" pattern="#,##0.##;-#,##0.##">
|
||||
<reportElement x="358" y="1" width="50" height="14" uuid="01be90c2-1e5a-4679-988a-05970b3af235"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{tot_kg_da_evadere}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement x="-2" y="0" width="802" height="1" forecolor="#07A0C9" backcolor="#46A0C9" uuid="92a6b22b-7550-42be-9398-a9e0cc42c7f1">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5" lineColor="#E6E6E6"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<textField evaluationTime="Group" evaluationGroup="Gruppo2" pattern="#,##0.##;-#,##0.##">
|
||||
<reportElement x="82" y="1" width="222" height="14" uuid="b2afb65b-f154-40fc-8368-1d29323bae92"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["Totali su Linea " + $F{linea_SL} + ": "]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</groupFooter>
|
||||
</group>
|
||||
<group name="Gruppo1" isReprintHeaderOnEachPage="true" keepTogether="true">
|
||||
<groupExpression><![CDATA[$F{cod_mart}]]></groupExpression>
|
||||
<groupHeader>
|
||||
<band height="23">
|
||||
<textField textAdjust="ScaleFont" evaluationTime="Group" evaluationGroup="Gruppo2" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" isPrintRepeatedValues="false" x="769" y="8" width="33" height="15" uuid="a077697e-e71a-42f2-b31f-439f4fc0da99">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="92f2e009-a524-4037-945d-b9e6a199933d"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{linea_SL}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Group" evaluationGroup="Gruppo1" pattern="#,##0.###" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="410" y="8" width="50" height="15" uuid="48db9a12-cf95-4076-9118-ca42edea0e31">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{ct_giacenza}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Group" evaluationGroup="Gruppo1" pattern="#,##0.##;-#,##0.##" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="462" y="8" width="50" height="15" uuid="c713dfe4-e77b-44ac-9019-bd0f3cc13dcb">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{kg_giacenza}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Group" evaluationGroup="Gruppo1" pattern="#,##0.##;-#,##0.##" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="514" y="8" width="50" height="15" uuid="1345b095-88d3-439e-8223-8e0f95acb3c3">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{kg_da_produrre} != null && $V{kg_da_produrre}.compareTo(new java.math.BigDecimal(0)) < 0
|
||||
? java.math.BigDecimal.ZERO
|
||||
: $V{kg_da_produrre}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Group" evaluationGroup="Gruppo1" pattern="dd/MM/yy hh:mm" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="0" y="7" width="80" height="15" uuid="3ca91871-816e-4ee7-98e6-c1438034cf80">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_mart}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="StretchHeight" evaluationTime="Group" evaluationGroup="Gruppo1" isBlankWhenNull="true">
|
||||
<reportElement x="82" y="7" width="222" height="15" uuid="4175328b-95ce-4249-a318-60659aecf2be">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="cbbd9c52-e065-4706-b837-a08c2987c0b4"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[" " +$F{descrizione}==null?"":$F{descrizione}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</groupHeader>
|
||||
@@ -138,7 +303,7 @@ order by data_iniz_trasp asc, dtb_ordt.num_ord asc]]>
|
||||
</band>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band height="55" splitType="Stretch">
|
||||
<band height="58" splitType="Stretch">
|
||||
<line>
|
||||
<reportElement x="0" y="52" width="802" height="1" forecolor="#07A0C9" backcolor="#46A0C9" uuid="f7f81c72-72d3-42cf-874b-33227c76f1ca">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
@@ -146,20 +311,40 @@ order by data_iniz_trasp asc, dtb_ordt.num_ord asc]]>
|
||||
</reportElement>
|
||||
</line>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="737" y="25" width="65" height="25" backcolor="#D1E4EF" uuid="4eb9fe5a-4dfe-4c7e-b712-ba1ae75deec7">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<reportElement mode="Opaque" x="82" y="10" width="222" height="40" backcolor="#D1E4EF" uuid="1d7a0fe1-fd0e-4e65-9f9c-c75e6a0144ee">
|
||||
<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[Data
|
||||
Inizio Trasporto]]></text>
|
||||
<text><![CDATA[Descrizione]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="673" y="25" width="62" height="25" backcolor="#D1E4EF" uuid="b65a7395-ab93-4f69-af77-2e2eafe81e49">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<reportElement mode="Opaque" x="0" y="10" width="80" height="40" backcolor="#D1E4EF" uuid="1b78c423-b297-4578-95d2-d8bceef48568">
|
||||
<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]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="665" y="10" width="50" height="40" backcolor="#D1E4EF" uuid="852f3a33-7174-4879-9871-edc82c97d56c">
|
||||
<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[Data Inizio
|
||||
Trasporto]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="613" y="10" width="50" height="40" backcolor="#D1E4EF" uuid="5a8d65ed-e1c0-4b54-9e1b-c90a963b483f">
|
||||
<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"/>
|
||||
@@ -168,7 +353,7 @@ Inizio Trasporto]]></text>
|
||||
Ordine]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="626" y="25" width="45" height="25" backcolor="#D1E4EF" uuid="54b8f2e6-eb4d-4c25-a11f-bda0053b8130">
|
||||
<reportElement mode="Opaque" x="566" y="10" width="45" height="40" backcolor="#D1E4EF" uuid="8d76fab4-a256-41df-b9c6-08110b7c5b02">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
@@ -178,8 +363,9 @@ Ordine]]></text>
|
||||
<text><![CDATA[Numero Ordine]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="559" y="25" width="65" height="25" backcolor="#D1E4EF" uuid="98eaae3b-8d7f-4194-92ab-e6acf207c510">
|
||||
<reportElement mode="Opaque" x="410" y="10" width="50" height="40" backcolor="#D1E4EF" uuid="2cbed1c2-89ee-4949-9c08-bcfaf191a973">
|
||||
<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"/>
|
||||
@@ -188,8 +374,9 @@ Ordine]]></text>
|
||||
giacenza]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="492" y="25" width="65" height="25" backcolor="#D1E4EF" uuid="e202f48c-8996-44ab-bdc6-48ced5e0e4f0">
|
||||
<reportElement mode="Opaque" x="358" y="10" width="50" height="40" backcolor="#D1E4EF" uuid="5f5ce999-7919-4414-8ed1-96d4d9aa1ec5">
|
||||
<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"/>
|
||||
@@ -198,118 +385,259 @@ giacenza]]></text>
|
||||
da evadere]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="103" y="25" width="320" height="25" backcolor="#D1E4EF" uuid="1d7a0fe1-fd0e-4e65-9f9c-c75e6a0144ee">
|
||||
<reportElement mode="Opaque" x="306" y="10" width="50" height="40" backcolor="#D1E4EF" uuid="36d996fe-bc42-4c1b-8afa-b92671171b1e">
|
||||
<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[Descrizione
|
||||
Articolo]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="0" y="25" width="101" height="25" backcolor="#D1E4EF" uuid="1b78c423-b297-4578-95d2-d8bceef48568">
|
||||
<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[Codice
|
||||
Articolo]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="425" y="25" width="65" height="25" backcolor="#D1E4EF" uuid="8ecd9c12-bcc7-449e-9966-010643ea1794">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[CT
|
||||
da evadere]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="717" y="10" width="50" height="40" backcolor="#D1E4EF" uuid="64ebf0d5-4850-40d2-8407-7f5076d441f1">
|
||||
<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[Data
|
||||
Partenza]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="462" y="10" width="50" height="40" backcolor="#D1E4EF" uuid="93f934f8-f12d-4908-9f36-5a22dcbae9f9">
|
||||
<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[KG
|
||||
giacenza]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="769" y="10" width="33" height="40" backcolor="#D1E4EF" uuid="375bbd30-aacd-49b1-9599-84a56c748ed5">
|
||||
<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[Linea]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="514" y="10" width="50" height="40" backcolor="#D1E4EF" uuid="307e7255-cd08-47dd-96d3-af52e1d8d628">
|
||||
<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[KG
|
||||
da produrre
|
||||
(da evadere - giacenza)]]></text>
|
||||
</staticText>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="20" splitType="Stretch">
|
||||
<band height="15" splitType="Stretch">
|
||||
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" x="103" y="0" width="320" height="15" uuid="1b4e9964-0ab9-4789-b3ac-914ea33f60b9">
|
||||
<reportElement x="82" y="0" width="222" height="15" uuid="1b4e9964-0ab9-4789-b3ac-914ea33f60b9">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="cbbd9c52-e065-4706-b837-a08c2987c0b4"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#E6E6E6"/>
|
||||
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
</box>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[" " +$F{descrizione}==null?"":$F{descrizione}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[" " +$F{rag_soc}==null?"":$F{rag_soc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00#;-#,##0.00#" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="559" y="0" width="65" height="15" uuid="44d87b1d-7a2e-4c67-9bb7-3d4ad26a1779">
|
||||
<textField pattern="dd/MM/yy hh:mm" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="0" y="0" width="80" height="15" uuid="66fcf9e1-ce15-447e-a9a1-bebd504ecd9c">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#E6E6E6"/>
|
||||
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_anag}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.###" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="410" y="0" width="50" height="15" uuid="55740456-5d62-4c28-85b1-633b531e7b6e">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<pen lineColor="#E6E6E6"/>
|
||||
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{CT_giacenza}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="673" y="0" width="62" height="15" uuid="28a46b09-2827-4864-83bc-bba69c5362da">
|
||||
<reportElement stretchType="ElementGroupHeight" x="613" y="0" width="50" height="15" uuid="746e80a0-4020-4c38-b1b7-da8ab687beb4">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="92f2e009-a524-4037-945d-b9e6a199933d"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#E6E6E6"/>
|
||||
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{data_ord}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="626" y="0" width="45" height="15" uuid="9da0704a-60eb-4d62-a8fa-5e200af9beb8">
|
||||
<reportElement stretchType="ElementGroupHeight" x="566" y="0" width="45" height="15" uuid="53aa5618-1b8e-4f6a-9e72-1b8ee5a0dc98">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="92f2e009-a524-4037-945d-b9e6a199933d"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#E6E6E6"/>
|
||||
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{num_ord}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00#;-#,##0.00#" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="492" y="0" width="65" height="15" uuid="322db73d-3ba3-46eb-a2f0-9fcbdf570886">
|
||||
<textField pattern="#,##0.##;-#,##0.##" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="358" y="0" width="50" height="15" uuid="13f6a159-1947-4cfd-a8b1-7734e75f9fe3">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#E6E6E6"/>
|
||||
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{KG_da_evadere}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yy hh:mm" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="0" y="0" width="101" height="15" uuid="66fcf9e1-ce15-447e-a9a1-bebd504ecd9c">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_mart}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{kg_da_evadere}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="737" y="0" width="65" height="15" uuid="6ad6f33f-3503-4532-9498-bbf7fc2aa314">
|
||||
<reportElement stretchType="ElementGroupHeight" x="665" y="0" width="50" height="15" uuid="ffd8a3ec-88f5-43d5-aaff-445b210eaf59">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="92f2e009-a524-4037-945d-b9e6a199933d"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#E6E6E6"/>
|
||||
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{data_iniz_trasp}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00#;-#,##0.00#" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="425" y="0" width="65" height="15" uuid="9b45b31b-c2b3-4c75-9f8c-222d2b9e4d99">
|
||||
<textField pattern="#,##0.###" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="306" y="0" width="50" height="15" uuid="de947427-decd-44ff-ba75-ac25d3766753">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#E6E6E6"/>
|
||||
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{ct_da_evadare}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="717" y="0" width="50" height="15" uuid="662b1e8b-302e-4572-8da2-8a67c549d74b">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="92f2e009-a524-4037-945d-b9e6a199933d"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#E6E6E6"/>
|
||||
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{data_partenza}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.##;-#,##0.##" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="462" y="0" width="50" height="15" uuid="30adba9c-c9f0-4856-acaa-0f44985e849a">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<pen lineColor="#E6E6E6"/>
|
||||
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="769" y="0" width="33" height="15" uuid="b4188af3-ae55-4706-b143-c6f4cce4a8c2">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="92f2e009-a524-4037-945d-b9e6a199933d"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<pen lineColor="#E6E6E6"/>
|
||||
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
</box>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
</textField>
|
||||
<textField pattern="#,##0.##;-#,##0.##" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="514" y="0" width="50" height="15" uuid="a7e2901c-7a74-4fca-b0f5-4e5851e4e4df">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
</reportElement>
|
||||
<box>
|
||||
<pen lineColor="#E6E6E6"/>
|
||||
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#E6E6E6"/>
|
||||
</box>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{CT_da_evadare}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
|
||||
@@ -933,7 +933,7 @@ ORDER BY op, produttore, ddt.data_doc]]>
|
||||
<textElement textAlignment="Left">
|
||||
<font fontName="Tahoma" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{numDocProvv}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{numDocProvv}+"/"+$F{serDocProvv}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="10" y="327" width="48" height="15" uuid="4ef6ece4-6dc1-420f-889b-52d533c14071">
|
||||
|
||||
551
IntegryReports/RossoGargano/Controllo Giacenze.jrxml
Normal file
551
IntegryReports/RossoGargano/Controllo Giacenze.jrxml
Normal file
@@ -0,0 +1,551 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.21.3.final utlizzo versione della libreria JasperReports6.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="Controllo Giacenze" 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=""/>
|
||||
<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>
|
||||
<queryString>
|
||||
<![CDATA[select
|
||||
*
|
||||
from
|
||||
(
|
||||
SELECT mt.preparato_da,
|
||||
mt.num_ord,
|
||||
mt.data_ord,
|
||||
mt.data_distribuzione,
|
||||
mt.progressivo_ul AS progressivo_ul,
|
||||
inv.*,
|
||||
mtb_depo.descrizione AS descrizione_deposito,
|
||||
jc.descrizione AS descr_commessa,
|
||||
data_ret,
|
||||
mpm.data_scad,
|
||||
mpm.partita_mag_prod,
|
||||
ms.causale,
|
||||
ma.cod_mtip,
|
||||
ma.cod_mstp,
|
||||
ma.cod_msfa,
|
||||
mt.annotazioni,
|
||||
mt.cod_anag,
|
||||
gtb_anag.rag_soc,
|
||||
mt.cod_tcol,
|
||||
mtb_tcol.descrizione AS descrizione_tcol,
|
||||
azienda.nome_ditta
|
||||
|
||||
FROM mvw_sitart_udc_det_inventario inv
|
||||
INNER JOIN mtb_depo ON inv.cod_mdep = mtb_depo.cod_mdep
|
||||
INNER JOIN mtb_colt mt
|
||||
ON mt.data_collo = inv.data_collo
|
||||
AND mt.gestione = inv.gestione
|
||||
AND mt.ser_collo = inv.ser_collo
|
||||
AND mt.num_collo = inv.num_collo
|
||||
LEFT OUTER JOIN gtb_anag ON mt.cod_anag = gtb_anag.cod_anag
|
||||
LEFT OUTER JOIN jtb_comt jc ON jc.cod_jcom = inv.cod_jcom
|
||||
LEFT OUTER JOIN (SELECT mtb_cols.data_collo,
|
||||
ser_collo,
|
||||
num_collo,
|
||||
gestione,
|
||||
data_move AS data_ret,
|
||||
causale AS causale,
|
||||
ROW_NUMBER() OVER (PARTITION BY mtb_cols.data_collo, ser_collo, num_collo, gestione ORDER BY data_move DESC) AS row_id
|
||||
FROM mtb_cols) AS ms
|
||||
ON mt.gestione = ms.gestione
|
||||
AND mt.data_collo = ms.data_collo
|
||||
AND mt.ser_collo = ms.ser_collo
|
||||
AND mt.num_collo = ms.num_collo
|
||||
AND ms.row_id = 1
|
||||
LEFT OUTER JOIN mtb_partita_mag mpm
|
||||
ON inv.partita_mag = mpm.partita_mag AND inv.cod_mart = mpm.cod_mart
|
||||
LEFT OUTER JOIN mtb_tcol ON mt.cod_tcol = mtb_tcol.cod_tcol
|
||||
INNER JOIN mtb_aart ma ON ma.cod_mart = inv.cod_mart, azienda
|
||||
) t
|
||||
where
|
||||
1 = 1
|
||||
order by t.cod_mdep, t.cod_mart, t.partita_mag, t.cod_jfas, t.progressivo_ul]]>
|
||||
</queryString>
|
||||
<field name="preparato_da" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="preparato_da"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="preparato_da"/>
|
||||
</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="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="data_distribuzione" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_distribuzione"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_distribuzione"/>
|
||||
</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="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="priorita" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="priorita"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="priorita"/>
|
||||
</field>
|
||||
<field name="codGruppo" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="codGruppo"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="codGruppo"/>
|
||||
</field>
|
||||
<field name="Gruppo" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="Gruppo"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="Gruppo"/>
|
||||
</field>
|
||||
<field name="CodSgruppo" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="CodSgruppo"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="CodSgruppo"/>
|
||||
</field>
|
||||
<field name="Sottogruppo" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="Sottogruppo"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="Sottogruppo"/>
|
||||
</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="diacod" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="diacod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="diacod"/>
|
||||
</field>
|
||||
<field name="descrizione_estesa" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="descrizione_estesa"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="descrizione_estesa"/>
|
||||
</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_col" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_col"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_col"/>
|
||||
</field>
|
||||
<field name="cod_tagl" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_tagl"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_tagl"/>
|
||||
</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="peso_netto_kg" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="peso_netto_kg"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="peso_netto_kg"/>
|
||||
</field>
|
||||
<field name="peso_lordo_kg" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="peso_lordo_kg"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="peso_lordo_kg"/>
|
||||
</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="flag_qta_cnf_fissa" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="flag_qta_cnf_fissa"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="flag_qta_cnf_fissa"/>
|
||||
</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="segno" class="java.lang.Short">
|
||||
<property name="com.jaspersoft.studio.field.name" value="segno"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="segno"/>
|
||||
</field>
|
||||
<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="descrizione_deposito" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="descrizione_deposito"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="descrizione_deposito"/>
|
||||
</field>
|
||||
<field name="descr_commessa" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="descr_commessa"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="descr_commessa"/>
|
||||
</field>
|
||||
<field name="data_ret" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_ret"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_ret"/>
|
||||
</field>
|
||||
<field name="data_scad" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_scad"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_scad"/>
|
||||
</field>
|
||||
<field name="partita_mag_prod" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="partita_mag_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="partita_mag_prod"/>
|
||||
</field>
|
||||
<field name="causale" class="java.lang.Short">
|
||||
<property name="com.jaspersoft.studio.field.name" value="causale"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="causale"/>
|
||||
</field>
|
||||
<field name="cod_mtip" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_mtip"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_mtip"/>
|
||||
</field>
|
||||
<field name="cod_mstp" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_mstp"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_mstp"/>
|
||||
</field>
|
||||
<field name="cod_msfa" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_msfa"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_msfa"/>
|
||||
</field>
|
||||
<field name="annotazioni" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="annotazioni"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="annotazioni"/>
|
||||
</field>
|
||||
<field name="cod_anag" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_anag"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_anag"/>
|
||||
</field>
|
||||
<field name="rag_soc" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="rag_soc"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="rag_soc"/>
|
||||
</field>
|
||||
<field name="cod_tcol" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_tcol"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_tcol"/>
|
||||
</field>
|
||||
<field name="descrizione_tcol" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="descrizione_tcol"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="descrizione_tcol"/>
|
||||
</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>
|
||||
<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>
|
||||
<group name="Gruppo1">
|
||||
<groupExpression><![CDATA[$F{cod_mdep}]]></groupExpression>
|
||||
<groupHeader>
|
||||
<band height="15">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="302" height="15" uuid="465f9911-177a-42df-ba82-1e87da06e1b1">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_mdep}==null?"":$F{descrizione_deposito}==null?"":$F{cod_mdep}+" - "+$F{descrizione_deposito}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</groupHeader>
|
||||
<groupFooter>
|
||||
<band height="15"/>
|
||||
</groupFooter>
|
||||
</group>
|
||||
<group name="Gruppo2">
|
||||
<groupExpression><![CDATA[$F{cod_mart}]]></groupExpression>
|
||||
<groupFooter>
|
||||
<band height="20">
|
||||
<textField textAdjust="ScaleFont" evaluationTime="Group" evaluationGroup="Gruppo2" pattern="#,##0.###;(#,##0.###-)">
|
||||
<reportElement x="512" y="4" width="44" height="15" uuid="e5928f2f-4645-4825-9932-4b3ff74a34c1"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{num_cnf}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" evaluationTime="Group" evaluationGroup="Gruppo2" pattern="#,##0.###;(#,##0.###-)">
|
||||
<reportElement x="460" y="4" width="50" 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">
|
||||
<reportElement x="282" y="4" width="176" height="15" uuid="36d0722b-e6d5-471e-b15a-98e00e1d13bd">
|
||||
<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["Totale su prodotto "+$F{cod_mart}+": "]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement x="-1" y="4" width="555" height="1" forecolor="#07A0C9" backcolor="#46A0C9" uuid="9c407b5f-0d5c-4467-979a-b4f95c435ac3">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5" lineColor="#E6E6E6"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
</band>
|
||||
</groupFooter>
|
||||
</group>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<pageHeader>
|
||||
<band height="34" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement mode="Opaque" x="1" y="2" width="550" height="30" 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 GIACENZE"]]></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="0" y="14" width="60" 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[Articolo]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="62" y="14" width="188" height="30" backcolor="#D1E4EF" uuid="7c6c30b4-c312-494b-893c-cd03a2a5e216">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Descrizione]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="252" y="14" width="50" height="30" backcolor="#D1E4EF" uuid="de0c258c-465e-40ab-bb7c-a1b5761144ce">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Lotto]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="331" y="14" width="32" height="30" backcolor="#D1E4EF" uuid="3b559a2c-bcee-45ca-b2fe-d31f85289a7a">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Prog.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="365" y="14" width="91" height="30" backcolor="#D1E4EF" uuid="6fab8e1b-1b2a-405e-aaec-e85f7577d797">
|
||||
<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="458" y="14" width="50" 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
|
||||
]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="510" y="14" width="44" 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="304" y="14" width="25" 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>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="20" splitType="Stretch">
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement x="0" y="5" width="60" height="15" uuid="a7b6bf32-8c01-45fd-8ab6-5534bcac0cb3">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_mart}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
|
||||
<reportElement x="62" y="5" width="188" 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>
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{descrizione_estesa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="252" y="5" width="50" height="15" uuid="46bd7193-ac1f-437f-912d-c11d84127451">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="d79f0018-44ce-484e-8636-adc8ef461366"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{partita_mag_prod}==null?($F{partita_mag}==null?"":$F{partita_mag}):$F{partita_mag_prod}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="331" y="5" width="32" height="15" uuid="8356a471-96d6-47c5-a7a1-b34fc57240ba">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="9d42b604-22bd-4e41-9081-362a78a492a1"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<printWhenExpression><![CDATA[$F{progressivo_ul}!=0]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{progressivo_ul}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="365" y="5" width="91" 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.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Left">
|
||||
<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="458" y="5" width="50" 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"/>
|
||||
</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="510" y="5" width="44" 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="304" y="5" width="25" 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"/>
|
||||
<printWhenExpression><![CDATA[$F{progressivo_ul}!=0]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_jfas}]]></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>
|
||||
@@ -245,7 +245,7 @@ from
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="5"/>
|
||||
<font fontName="Tahoma" size="6"/>
|
||||
</textElement>
|
||||
<text><![CDATA[LOTTO DI PRODUZIONE: ]]></text>
|
||||
</staticText>
|
||||
@@ -261,7 +261,7 @@ from
|
||||
<staticText>
|
||||
<reportElement x="158" y="132" width="40" height="9" uuid="958956df-3c6d-4663-be7b-9908d77bfb72"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="5"/>
|
||||
<font fontName="Tahoma" size="6"/>
|
||||
</textElement>
|
||||
<text><![CDATA[NUMERO DDT: ]]></text>
|
||||
</staticText>
|
||||
@@ -277,9 +277,9 @@ from
|
||||
<staticText>
|
||||
<reportElement x="1" y="149" width="69" height="9" uuid="ebac146b-19bf-4f38-bd92-5d43bb7283f2"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="5"/>
|
||||
<font fontName="Tahoma" size="6"/>
|
||||
</textElement>
|
||||
<text><![CDATA[DATA E ORA DI SCARICO:]]></text>
|
||||
<text><![CDATA[DATA E ORA SCARICO:]]></text>
|
||||
</staticText>
|
||||
<textField pattern="dd/MM/yyyy hh:mm">
|
||||
<reportElement x="70" y="148" width="88" height="10" uuid="d5638b58-bcb7-457b-ae4f-392f466d8abd">
|
||||
@@ -319,11 +319,11 @@ from
|
||||
<text><![CDATA[CALIBRO:]]></text>
|
||||
</staticText>
|
||||
<textField pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
|
||||
<reportElement x="133" y="55" width="110" height="55" uuid="6af19d65-a707-4c4f-a6d9-c6086de972fe">
|
||||
<reportElement x="133" y="55" width="110" height="58" uuid="6af19d65-a707-4c4f-a6d9-c6086de972fe">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font fontName="Tahoma" size="45" isBold="true"/>
|
||||
<font fontName="Tahoma" size="47" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{calibro}]]></textFieldExpression>
|
||||
</textField>
|
||||
@@ -351,7 +351,7 @@ from
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="5"/>
|
||||
<font fontName="Tahoma" size="6"/>
|
||||
</textElement>
|
||||
<text><![CDATA[CASSA N°:]]></text>
|
||||
</staticText>
|
||||
|
||||
@@ -55,6 +55,8 @@
|
||||
CONVERT(INT, SUM(mtb_colr.qta_col / mtb_colr.qta_cnf)) AS quantita,
|
||||
mtb_aart.descrizione_estesa,
|
||||
mtb_colr.partita_mag AS lotto,
|
||||
mtb_partita_mag.partita_mag_prod,
|
||||
mtb_partita_mag.data_prod,
|
||||
mtb_partita_mag.data_scad,
|
||||
|
||||
mtb_colt.progressivo_ul AS n_pedana,
|
||||
@@ -86,6 +88,8 @@ GROUP BY mtb_colr.qta_cnf,
|
||||
IIF(mtb_aart.bar_code IS NULL, cod_barre_imb, mtb_aart.bar_code),
|
||||
mtb_aart.descrizione_estesa,
|
||||
mtb_colr.partita_mag,
|
||||
mtb_partita_mag.partita_mag_prod,
|
||||
mtb_partita_mag.data_prod,
|
||||
mtb_partita_mag.data_scad,
|
||||
ean128.ai_00,
|
||||
ean128.ai_01,
|
||||
@@ -173,6 +177,14 @@ GROUP BY mtb_colr.qta_cnf,
|
||||
<property name="com.jaspersoft.studio.field.name" value="lotto"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="lotto"/>
|
||||
</field>
|
||||
<field name="partita_mag_prod" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="partita_mag_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="partita_mag_prod"/>
|
||||
</field>
|
||||
<field name="data_prod" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_prod"/>
|
||||
</field>
|
||||
<field name="data_scad" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_scad"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_scad"/>
|
||||
@@ -306,7 +318,7 @@ LOT
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="16" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{lotto}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{partita_mag_prod}==null?$F{lotto}:$F{partita_mag_prod}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="230" y="485" width="155" height="27" uuid="d474db10-b835-4c3b-92c9-891dbdd60860">
|
||||
@@ -385,7 +397,7 @@ PRODUCTION DATE]]></text>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="16" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{data_collo}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{data_prod}==null?$F{data_collo}:$F{data_prod}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement x="227" y="112" width="1" height="57" uuid="58ab0fb1-f87b-4ce1-8a01-4f08777498d2"/>
|
||||
432
IntegryReports/RossoGargano/EtichettaSemilavorato.jrxml
Normal file
432
IntegryReports/RossoGargano/EtichettaSemilavorato.jrxml
Normal file
File diff suppressed because one or more lines are too long
@@ -49,6 +49,8 @@
|
||||
) as quantita,
|
||||
mtb_aart.descrizione_estesa,
|
||||
mtb_colr.partita_mag as lotto,
|
||||
mtb_partita_mag.partita_mag_prod,
|
||||
mtb_partita_mag.data_prod,
|
||||
mtb_partita_mag.data_scad,
|
||||
mtb_colt.progressivo_ul AS n_pedana,
|
||||
mtb_colt.cod_jfas,
|
||||
@@ -85,6 +87,8 @@ group by
|
||||
case when mtb_aart.bar_code is null then cod_barre_imb else mtb_aart.bar_code end,
|
||||
mtb_aart.descrizione_estesa,
|
||||
mtb_colr.partita_mag,
|
||||
mtb_partita_mag.partita_mag_prod,
|
||||
mtb_partita_mag.data_prod,
|
||||
mtb_partita_mag.data_scad,
|
||||
ean128.ai_00,
|
||||
ean128.ai_01,
|
||||
@@ -164,6 +168,14 @@ group by
|
||||
<property name="com.jaspersoft.studio.field.name" value="lotto"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="lotto"/>
|
||||
</field>
|
||||
<field name="partita_mag_prod" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="partita_mag_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="partita_mag_prod"/>
|
||||
</field>
|
||||
<field name="data_prod" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_prod"/>
|
||||
</field>
|
||||
<field name="data_scad" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_scad"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_scad"/>
|
||||
@@ -217,7 +229,7 @@ group by
|
||||
</reportElement>
|
||||
</line>
|
||||
<staticText>
|
||||
<reportElement x="160" y="1" width="80" height="7" uuid="81385581-7909-4bd4-a189-ba08a5a6e2ca">
|
||||
<reportElement x="160" y="1" width="83" height="7" uuid="81385581-7909-4bd4-a189-ba08a5a6e2ca">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
@@ -227,7 +239,7 @@ group by
|
||||
<text><![CDATA[PALLET N°]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement x="160" y="8" width="80" height="18" uuid="10538861-6f8f-4673-94df-dad0f81f81bf">
|
||||
<reportElement x="160" y="8" width="83" height="18" uuid="10538861-6f8f-4673-94df-dad0f81f81bf">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
@@ -241,7 +253,7 @@ group by
|
||||
</reportElement>
|
||||
</line>
|
||||
<textField textAdjust="ScaleFont" pattern="###0">
|
||||
<reportElement x="60" y="34" width="60" height="10" uuid="2f99ba4d-e60d-4fa4-a218-0fd9e61e250f">
|
||||
<reportElement x="100" y="34" width="40" height="10" uuid="2f99ba4d-e60d-4fa4-a218-0fd9e61e250f">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center">
|
||||
@@ -250,7 +262,7 @@ group by
|
||||
<textFieldExpression><![CDATA[$F{cod_jfas}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="60" y="27" width="60" height="7" uuid="e891024b-0ac6-4fae-9ffa-9c84fc542e80">
|
||||
<reportElement x="100" y="27" width="40" height="7" uuid="e891024b-0ac6-4fae-9ffa-9c84fc542e80">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom">
|
||||
@@ -259,17 +271,17 @@ group by
|
||||
<text><![CDATA[LINEA
|
||||
]]></text>
|
||||
</staticText>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement x="0" y="34" width="60" height="10" uuid="99a3f3ea-9c11-4233-ab91-39c25ac98056">
|
||||
<textField pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement x="0" y="34" width="100" height="10" uuid="99a3f3ea-9c11-4233-ab91-39c25ac98056">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{data_collo}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{data_vers}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="0" y="27" width="60" height="7" uuid="56b88e5b-c431-4883-a23b-ca551a6547da">
|
||||
<reportElement x="0" y="27" width="100" height="7" uuid="56b88e5b-c431-4883-a23b-ca551a6547da">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom">
|
||||
@@ -278,7 +290,7 @@ group by
|
||||
<text><![CDATA[DATA PROD.]]></text>
|
||||
</staticText>
|
||||
<textField textAdjust="ScaleFont" pattern="###0">
|
||||
<reportElement x="180" y="34" width="60" height="10" uuid="4ea2244b-621e-4c67-9160-8eaca498760e">
|
||||
<reportElement x="200" y="34" width="43" height="10" uuid="4ea2244b-621e-4c67-9160-8eaca498760e">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center">
|
||||
@@ -287,7 +299,7 @@ group by
|
||||
<textFieldExpression><![CDATA[$F{qta_col}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="180" y="27" width="60" height="7" uuid="2ef4d67d-e14d-4f94-9e4b-98f87749cb36">
|
||||
<reportElement x="200" y="27" width="43" height="7" uuid="2ef4d67d-e14d-4f94-9e4b-98f87749cb36">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom">
|
||||
@@ -297,16 +309,16 @@ group by
|
||||
]]></text>
|
||||
</staticText>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement x="120" y="34" width="60" height="10" uuid="6af7d15e-dd02-4590-ae3f-108d1dbd9cd4">
|
||||
<reportElement x="140" y="34" width="60" height="10" uuid="6af7d15e-dd02-4590-ae3f-108d1dbd9cd4">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{lotto}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{partita_mag_prod}==null?$F{lotto}:$F{partita_mag_prod}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="120" y="27" width="60" height="7" uuid="8abee7bb-d4bb-4f20-bda6-fe5280604e4e">
|
||||
<reportElement x="140" y="27" width="60" height="7" uuid="8abee7bb-d4bb-4f20-bda6-fe5280604e4e">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom">
|
||||
@@ -329,17 +341,6 @@ group by
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
</line>
|
||||
<componentElement>
|
||||
<reportElement x="0" y="94" width="243" height="57" uuid="46b72815-11f4-4e1b-a57a-823ba31d5249">
|
||||
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.y" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<jr:Code128 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="1.7" textPosition="none">
|
||||
<jr:codeExpression><![CDATA[$F{sscc}]]></jr:codeExpression>
|
||||
</jr:Code128>
|
||||
</componentElement>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement x="0" y="148" width="242" height="10" uuid="39bcbbc3-6504-49dd-8f70-303f45f1a733">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
@@ -355,17 +356,17 @@ group by
|
||||
</reportElement>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement x="60" y="26" width="1" height="19" uuid="2f6e9ccb-6f80-4270-a6e3-050627cdaaf1">
|
||||
<reportElement x="100" y="26" width="1" height="19" uuid="2f6e9ccb-6f80-4270-a6e3-050627cdaaf1">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement x="120" y="26" width="1" height="19" uuid="aea9aa64-94f1-40fb-9f7d-508216e2fada">
|
||||
<reportElement x="140" y="26" width="1" height="19" uuid="aea9aa64-94f1-40fb-9f7d-508216e2fada">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement x="180" y="26" width="1" height="19" uuid="c43ce975-69f3-4782-9c5f-ee3a99f30d0a">
|
||||
<reportElement x="200" y="26" width="1" height="19" uuid="c43ce975-69f3-4782-9c5f-ee3a99f30d0a">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
</line>
|
||||
@@ -387,6 +388,14 @@ group by
|
||||
<pen lineWidth="8.0"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<componentElement>
|
||||
<reportElement x="0" y="98" width="242" height="50" uuid="9859297e-4050-4e41-b22b-da851cf9e29c">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<jr:EAN128 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="1.7" textPosition="none">
|
||||
<jr:codeExpression><![CDATA[$F{sscc}]]></jr:codeExpression>
|
||||
</jr:EAN128>
|
||||
</componentElement>
|
||||
</band>
|
||||
</detail>
|
||||
</jasperReport>
|
||||
|
||||
@@ -54,6 +54,8 @@
|
||||
) as quantita,
|
||||
mtb_aart.descrizione_estesa,
|
||||
mtb_colr.partita_mag as lotto,
|
||||
mtb_partita_mag.partita_mag_prod,
|
||||
mtb_partita_mag.data_prod,
|
||||
mtb_partita_mag.data_scad,
|
||||
mtb_colt.progressivo_ul AS n_pedana,
|
||||
mtb_colt.cod_jfas,
|
||||
@@ -90,6 +92,8 @@ group by
|
||||
case when mtb_aart.bar_code is null then cod_barre_imb else mtb_aart.bar_code end,
|
||||
mtb_aart.descrizione_estesa,
|
||||
mtb_colr.partita_mag,
|
||||
mtb_partita_mag.partita_mag_prod,
|
||||
mtb_partita_mag.data_prod,
|
||||
mtb_partita_mag.data_scad,
|
||||
ean128.ai_00,
|
||||
ean128.ai_01,
|
||||
@@ -169,6 +173,14 @@ group by
|
||||
<property name="com.jaspersoft.studio.field.name" value="lotto"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="lotto"/>
|
||||
</field>
|
||||
<field name="partita_mag_prod" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="partita_mag_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="partita_mag_prod"/>
|
||||
</field>
|
||||
<field name="data_prod" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_prod"/>
|
||||
</field>
|
||||
<field name="data_scad" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_scad"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_scad"/>
|
||||
@@ -275,7 +287,7 @@ LOT
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="16" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{lotto}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{partita_mag_prod}==null?$F{lotto}:$F{partita_mag_prod}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="132" y="343" width="130" height="27" uuid="d474db10-b835-4c3b-92c9-891dbdd60860"/>
|
||||
@@ -386,12 +398,12 @@ PRODUCTION LINE
|
||||
<text><![CDATA[DATA PRODUZIONE
|
||||
PRODUCTION DATE]]></text>
|
||||
</staticText>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<textField pattern="dd/MM/yyyy hh:mm">
|
||||
<reportElement x="10" y="141" width="203" height="26" uuid="64a4a2da-9639-4001-8d1e-9574f64720ac"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font fontName="Tahoma" size="16" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{data_collo}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{data_vers}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
789
IntegryReports/RossoGargano/PackinglistCarico.jrxml
Normal file
789
IntegryReports/RossoGargano/PackinglistCarico.jrxml
Normal file
@@ -0,0 +1,789 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.21.3.final utlizzo versione della libreria JasperReports6.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="PackingListCarico" pageWidth="595" pageHeight="842" orientation="Landscape" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="d54841b5-6b9c-4160-abbd-efcaa408365e">
|
||||
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="RossoGargano\DataAdapter.jrdax"/>
|
||||
<property name="com.jaspersoft.studio.report.description" value=""/>
|
||||
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
|
||||
<property name="com.jaspersoft.studio.unit." value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>
|
||||
<parameter name="api_webservices" class="java.lang.String"/>
|
||||
<parameter name="IDAttachmentLogo" class="java.lang.String"/>
|
||||
<parameter name="num_doc" class="java.lang.String"/>
|
||||
<parameter name="data_doc" class="java.lang.String"/>
|
||||
<parameter name="ser_doc" class="java.lang.String"/>
|
||||
<queryString>
|
||||
<![CDATA[with colli as (select mtb_colt.gestione,
|
||||
mtb_colt.data_collo,
|
||||
mtb_colt.ser_collo,
|
||||
mtb_colt.num_collo,
|
||||
mtb_colt.cod_dtip,
|
||||
mtb_colt.data_doc,
|
||||
mtb_colt.num_doc,
|
||||
mtb_colt.ser_doc,
|
||||
isNull(mtb_colr.barcode_ul_in, mtb_colt.barcode_ul) as udc,
|
||||
mtb_colr.cod_mart,
|
||||
mtb_colr.partita_mag,
|
||||
mtb_colr.qta_col,
|
||||
mtb_colr.num_cnf,
|
||||
mtb_colr.peso_netto_kg,
|
||||
mtb_colr.peso_lordo_kg,
|
||||
mtb_colr.riga_ord,
|
||||
mtb_colt.cod_jfas,
|
||||
isNull(mtb_colr.posizione_in, mtb_colt.posizione) as posizione,
|
||||
mtb_colt.data_vers,
|
||||
isNull(mtb_colr.cod_mdep_in, mtb_colt.cod_mdep) as deposito,
|
||||
mtb_colt.progressivo_ul
|
||||
from mtb_colt inner join mtb_colr on mtb_colt.num_collo=mtb_colr.num_collo and
|
||||
mtb_colt.data_collo=mtb_colr.data_collo and
|
||||
mtb_colt.ser_collo=mtb_colr.ser_collo and
|
||||
mtb_colt.gestione=mtb_colr.gestione
|
||||
where mtb_colt.segno=1 )
|
||||
|
||||
select UDC,
|
||||
colli.gestione,
|
||||
colli.data_collo,
|
||||
colli.num_collo,
|
||||
colli.ser_collo,
|
||||
case when colli.cod_mart IS null then dtb_docr.cod_mart else colli.cod_mart end as cod_mart,
|
||||
mtb_aart.descrizione,
|
||||
isnull(mtb_partita_mag.partita_mag_prod, case when colli.partita_mag IS null then dtb_docr.partita_mag else colli.partita_mag end) as partita_mag,
|
||||
mtb_aart.unt_mis,
|
||||
sum(case when sum(colli.qta_col) IS null THEN sum(dtb_docr.qta_doc) else sum(colli.qta_col) end ) over (partition by udc) as qta_col,
|
||||
sum(case when sum(colli.num_cnf) IS null THEN sum(dtb_docr.num_cnf) else sum(colli.num_cnf) end ) over (partition by udc) as num_cnf,
|
||||
sum(case when sum(colli.num_cnf) IS null THEN sum(dtb_docr.num_cnf) else sum(colli.num_cnf) end ) over (partition by udc) * case when mtb_grup.tipo_mgrp = 'ACC' then 0 else 1 end as tot_num_cnf,
|
||||
case when sum(colli.peso_netto_kg) IS null then sum(mtb_aart.peso_kg) else sum(colli.peso_netto_kg) end as peso_netto_kg,
|
||||
case when sum(colli.peso_netto_kg) IS null then sum(mtb_aart.peso_kg) else sum(colli.peso_netto_kg) end * case when mtb_grup.tipo_mgrp = 'ACC' then 0 else 1 end as tot_peso_netto,
|
||||
case when sum(colli.peso_lordo_kg) IS null then sum(mtb_aart.peso_kg) else sum(colli.peso_lordo_kg) end as peso_lordo_kg,
|
||||
colli.cod_jfas as fase,
|
||||
colli.posizione as linea,
|
||||
mtb_partita_mag.data_scad,
|
||||
isnull(mtb_partita_mag.data_prod, colli.data_vers) as data_prod,
|
||||
gtb_anag.cod_anag,
|
||||
gtb_anag.rag_soc,
|
||||
gtb_anag.citta,
|
||||
gtb_anag.indirizzo,
|
||||
gtb_anag.cap,
|
||||
gtb_anag.prov,
|
||||
gtb_anag.nazione,
|
||||
azienda.nome_ditta,
|
||||
azienda.indirizzo as indirizzo_azienda,
|
||||
azienda.cap as cap_azienda,
|
||||
azienda.citta as citta_azienda,
|
||||
azienda.prov as prov_azienda,
|
||||
azienda.part_iva as part_iva_azienda,
|
||||
azienda.num_tel as tel_azienda,
|
||||
azienda.num_fax as fax_azienda,
|
||||
azienda.cod_fda,
|
||||
azienda.cod_fce,
|
||||
azienda.cod_lucid,
|
||||
dtb_docr.data_doc,
|
||||
dtb_docr.num_doc,
|
||||
dtb_docr.ser_doc,
|
||||
case when mtb_grup.tipo_mgrp = 'ACC' then 0 else 1 end as tipo_mgrp,
|
||||
colli.deposito,
|
||||
colli.progressivo_ul
|
||||
from dtb_docr LEFT OUTER JOIN colli on dtb_docr.cod_dtip=colli.cod_dtip and
|
||||
dtb_docr.data_doc=colli.data_doc and
|
||||
dtb_docr.num_doc=colli.num_doc and
|
||||
dtb_docr.ser_doc=colli.ser_doc and
|
||||
dtb_docr.cod_mart=colli.cod_mart AND
|
||||
isnull( dtb_docr.partita_mag, '')=isNull(colli.partita_mag,'')
|
||||
LEFT OUTER JOIN dtb_doct on dtb_docr.cod_dtip=dtb_doct.cod_dtip and
|
||||
dtb_docr.data_doc=dtb_doct.data_doc and
|
||||
dtb_docr.num_doc=dtb_doct.num_doc and
|
||||
dtb_docr.ser_doc=dtb_doct.ser_doc and
|
||||
dtb_docr.cod_anag=dtb_doct.cod_anag
|
||||
INNER JOIN mtb_aart on dtb_docr.cod_mart=mtb_aart.cod_mart
|
||||
LEFT OUTER JOIN mtb_grup on mtb_aart.cod_mgrp = mtb_grup.cod_mgrp
|
||||
LEFT OUTER JOIN mtb_partita_mag ON dtb_docr.cod_mart = mtb_partita_mag.cod_mart AND
|
||||
mtb_partita_mag.partita_mag = dtb_docr.partita_mag
|
||||
LEFT OUTER JOIN RossoGarganoExchange.dbo.mtb_partitamag_prefisso p on p.Prefisso = left(mtb_partita_mag.partita_mag, 5)
|
||||
LEFT OUTER JOIN gtb_anag on dtb_docr.cod_anag = gtb_anag.cod_anag,
|
||||
azienda
|
||||
where dtb_docr.num_doc= $P{num_doc} and dtb_docr.data_doc= $P{data_doc} and dtb_docr.ser_doc =$P{ser_doc} AND dtb_docr.cod_mart is not null
|
||||
group by
|
||||
colli.gestione,
|
||||
colli.data_collo,
|
||||
colli.num_collo,
|
||||
colli.ser_collo,
|
||||
UDC,
|
||||
colli.cod_mart ,
|
||||
isnull(mtb_partita_mag.partita_mag_prod, case when colli.partita_mag IS null then dtb_docr.partita_mag else colli.partita_mag end),
|
||||
mtb_aart.descrizione,
|
||||
mtb_aart.unt_mis,
|
||||
dtb_docr.cod_mart,
|
||||
dtb_docr.partita_mag,
|
||||
mtb_grup.tipo_mgrp,
|
||||
colli.cod_jfas,
|
||||
colli.posizione,
|
||||
mtb_partita_mag.data_scad,
|
||||
isnull(mtb_partita_mag.data_prod, colli.data_vers),
|
||||
gtb_anag.cod_anag,
|
||||
gtb_anag.rag_soc,
|
||||
gtb_anag.citta,
|
||||
gtb_anag.indirizzo,
|
||||
gtb_anag.cap,
|
||||
gtb_anag.prov,
|
||||
gtb_anag.nazione,
|
||||
azienda.nome_ditta,
|
||||
azienda.indirizzo,
|
||||
azienda.cap,
|
||||
azienda.citta,
|
||||
azienda.prov,
|
||||
azienda.part_iva,
|
||||
azienda.num_tel,
|
||||
azienda.num_fax,
|
||||
azienda.cod_fda,
|
||||
azienda.cod_fce,
|
||||
azienda.cod_lucid,
|
||||
dtb_docr.data_doc,
|
||||
dtb_docr.num_doc,
|
||||
dtb_docr.ser_doc,
|
||||
colli.deposito,
|
||||
colli.progressivo_ul,
|
||||
p.anno
|
||||
order by udc desc]]>
|
||||
</queryString>
|
||||
<field name="UDC" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="UDC"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="UDC"/>
|
||||
</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="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="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="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="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="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="tot_num_cnf" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="tot_num_cnf"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="tot_num_cnf"/>
|
||||
</field>
|
||||
<field name="peso_netto_kg" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="peso_netto_kg"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="peso_netto_kg"/>
|
||||
</field>
|
||||
<field name="tot_peso_netto" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="tot_peso_netto"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="tot_peso_netto"/>
|
||||
</field>
|
||||
<field name="peso_lordo_kg" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="peso_lordo_kg"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="peso_lordo_kg"/>
|
||||
</field>
|
||||
<field name="fase" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="fase"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="fase"/>
|
||||
</field>
|
||||
<field name="linea" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="linea"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="linea"/>
|
||||
</field>
|
||||
<field name="data_scad" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_scad"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_scad"/>
|
||||
</field>
|
||||
<field name="data_prod" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_prod"/>
|
||||
</field>
|
||||
<field name="cod_anag" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_anag"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_anag"/>
|
||||
</field>
|
||||
<field name="rag_soc" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="rag_soc"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="rag_soc"/>
|
||||
</field>
|
||||
<field name="citta" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="citta"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="citta"/>
|
||||
</field>
|
||||
<field name="indirizzo" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="indirizzo"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="indirizzo"/>
|
||||
</field>
|
||||
<field name="cap" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cap"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cap"/>
|
||||
</field>
|
||||
<field name="prov" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="prov"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="prov"/>
|
||||
</field>
|
||||
<field name="nazione" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="nazione"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="nazione"/>
|
||||
</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="indirizzo_azienda" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="indirizzo_azienda"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="indirizzo_azienda"/>
|
||||
</field>
|
||||
<field name="cap_azienda" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cap_azienda"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cap_azienda"/>
|
||||
</field>
|
||||
<field name="citta_azienda" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="citta_azienda"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="citta_azienda"/>
|
||||
</field>
|
||||
<field name="prov_azienda" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="prov_azienda"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="prov_azienda"/>
|
||||
</field>
|
||||
<field name="part_iva_azienda" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="part_iva_azienda"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="part_iva_azienda"/>
|
||||
</field>
|
||||
<field name="tel_azienda" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="tel_azienda"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="tel_azienda"/>
|
||||
</field>
|
||||
<field name="fax_azienda" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="fax_azienda"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="fax_azienda"/>
|
||||
</field>
|
||||
<field name="cod_fda" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_fda"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_fda"/>
|
||||
</field>
|
||||
<field name="cod_fce" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_fce"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_fce"/>
|
||||
</field>
|
||||
<field name="cod_lucid" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_lucid"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_lucid"/>
|
||||
</field>
|
||||
<field name="data_doc" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_doc"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_doc"/>
|
||||
</field>
|
||||
<field name="num_doc" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="num_doc"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="num_doc"/>
|
||||
</field>
|
||||
<field name="ser_doc" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="ser_doc"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="ser_doc"/>
|
||||
</field>
|
||||
<field name="tipo_mgrp" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="tipo_mgrp"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="tipo_mgrp"/>
|
||||
</field>
|
||||
<field name="deposito" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="deposito"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="deposito"/>
|
||||
</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>
|
||||
<variable name="qta_col1" class="java.math.BigDecimal" resetType="Group" resetGroup="Gruppo1" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qta_col}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="num_cnf1" class="java.math.BigDecimal" resetType="Group" resetGroup="Gruppo1" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{num_cnf}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="peso_netto_kg1" class="java.math.BigDecimal" resetType="Group" resetGroup="Gruppo1" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{peso_netto_kg}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="peso_lordo_kg1" class="java.math.BigDecimal" resetType="Group" resetGroup="Gruppo1" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{peso_lordo_kg}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="tot_num_cnf1" class="java.math.BigDecimal" resetType="Group" resetGroup="Gruppo1" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{tot_num_cnf}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="tot_peso_netto1" class="java.math.BigDecimal" resetType="Group" resetGroup="Gruppo1" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{tot_peso_netto}]]></variableExpression>
|
||||
</variable>
|
||||
<group name="Gruppo1" isReprintHeaderOnEachPage="true">
|
||||
<groupExpression><![CDATA[$F{data_doc}+$F{ser_doc}+$F{num_doc}]]></groupExpression>
|
||||
<groupHeader>
|
||||
<band height="68">
|
||||
<line>
|
||||
<reportElement x="0" y="62" width="555" height="1" forecolor="#46A0C9" uuid="11bde7d1-9f30-46af-949e-d4e2f6f0592a">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
</line>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="305" y="29" width="47" height="30" backcolor="#D0E4EF" uuid="8f59c8ae-db06-4276-a4e7-d7a37fd7e27a">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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>
|
||||
<textFieldExpression><![CDATA["Lotto"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="130" y="29" width="173" height="30" backcolor="#D0E4EF" uuid="ff01c5b4-5782-47fd-a8ef-265b68283e64">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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>
|
||||
<textFieldExpression><![CDATA["Descrizione"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="93" y="29" width="35" height="30" backcolor="#D0E4EF" uuid="a0d7512d-91af-409d-8561-a5ea2c41f7a6">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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>
|
||||
<textFieldExpression><![CDATA["Articolo"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="1" y="29" width="90" height="30" backcolor="#D0E4EF" uuid="8956759d-97fa-43fa-981d-5ba81a3609a1">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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>
|
||||
<textFieldExpression><![CDATA["UDC"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="472" y="29" width="20" height="30" backcolor="#D0E4EF" uuid="b2a9d97b-06f0-4a8e-8c01-51c463cb10a8">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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>
|
||||
<textFieldExpression><![CDATA["Colli"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="391" y="29" width="35" height="30" backcolor="#D0E4EF" uuid="6530dfc2-4446-4533-9b87-93f54a9021c4">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["Data Prod."]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="354" y="29" width="35" height="30" backcolor="#D0E4EF" uuid="e26fc30c-8552-4aa8-9195-0b626b729b26">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["Data Scad."]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="428" y="29" width="20" height="30" backcolor="#D0E4EF" uuid="88f9dceb-db93-4d43-a7b4-f1c0babc584a">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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>
|
||||
<textFieldExpression><![CDATA["Linea Prod."]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="494" y="29" width="30" height="30" backcolor="#D0E4EF" uuid="4d463cd0-667b-4b1d-8bf2-6cbb1ca0b975">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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>
|
||||
<textFieldExpression><![CDATA["P.Netto KG"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="526" y="29" width="29" height="30" backcolor="#D0E4EF" uuid="eb2a433a-c3c5-463d-8df3-e305ae4ed055">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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>
|
||||
<textFieldExpression><![CDATA["P.Lordo KG"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement x="0" y="3" width="480" height="15" uuid="dc13ed0b-518c-4c82-9e22-e84b05fa03b6">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["PACKING LIST: " + $F{num_doc} + " "+ $F{ser_doc} + " DEL "+ new SimpleDateFormat("dd/MM/yyyy").format($F{data_doc})]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="450" y="29" width="20" height="30" backcolor="#D0E4EF" uuid="2b668c2b-78ca-4497-aea1-d22e17400114">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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>
|
||||
<textFieldExpression><![CDATA["Prog"]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</groupHeader>
|
||||
<groupFooter>
|
||||
<band height="44">
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="326" y="6" width="118" height="14" uuid="3cdb2e4d-4158-4aee-8e83-229e5fa8dbd6">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["TOTALE:"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Group" evaluationGroup="Gruppo1" pattern="#,##0.###;(#,##0.###-)">
|
||||
<reportElement x="526" y="6" width="29" height="15" uuid="cb11feb0-e444-453f-b316-cd561184599c"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{peso_lordo_kg1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Group" evaluationGroup="Gruppo1" pattern="#,##0.###;(#,##0.###-)">
|
||||
<reportElement x="446" y="6" width="46" height="15" uuid="1dc971f0-8f6e-4b14-918b-6bc09c769b3f">
|
||||
<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" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{tot_num_cnf1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Group" evaluationGroup="Gruppo1" pattern="#,##0.###;(#,##0.###-)">
|
||||
<reportElement x="494" y="6" width="30" height="15" uuid="3714318a-f4c3-4870-8cc6-f0227624b956"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{tot_peso_netto1}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</groupFooter>
|
||||
</group>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<pageHeader>
|
||||
<band height="155" splitType="Stretch">
|
||||
<image hAlign="Center" vAlign="Middle" isLazy="true" onErrorType="Blank" evaluationTime="Auto">
|
||||
<reportElement x="73" y="3" width="128" height="66" uuid="df686e0f-0a3b-47e4-9ff7-782e8b4a6659">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.y" value="px"/>
|
||||
</reportElement>
|
||||
<imageExpression><![CDATA["http://" + ($P{api_webservices}==null?"services.studioml.it":$P{api_webservices}) +"/ems-api/downloadStbFileAttachment/" + $P{IDAttachmentLogo} + "/logo_azienda_trasp.png?profileDb=ROSSOGARGANO"]]></imageExpression>
|
||||
</image>
|
||||
<textField>
|
||||
<reportElement x="50" y="72" width="170" height="10" uuid="1a374074-1a56-4a23-9547-17642233d771">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["Società Consortile Agricola per azioni"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="50" y="82" width="170" height="10" uuid="8498a967-442d-43ff-9a89-850ba42b75c8"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{indirizzo_azienda}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="50" y="92" width="170" height="10" uuid="407bbc57-286e-41aa-b145-20d78e451498"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[($F{cap_azienda}==null? " ": $F{cap_azienda}) + " "+($F{citta_azienda}==null? "":$F{citta_azienda}) + " "+($F{prov_azienda}==null? "":"("+$F{prov_azienda}+")")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="50" y="102" width="170" height="10" uuid="98f27e94-3f93-46b1-9992-e566e3f18185"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[($F{part_iva_azienda}==null? "P.Iva: ":"P.Iva: "+ $F{part_iva_azienda})]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="50" y="112" width="170" height="10" uuid="2ef65149-1bcc-4ecf-84bf-0b46652d8cfc"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[($F{tel_azienda}==null? "Tel: ":"Tel: "+ $F{tel_azienda}) + " - "+($F{fax_azienda}==null? "Fax: ":"Fax: "+ $F{fax_azienda})]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="50" y="62" width="170" height="10" uuid="a7a4e1d8-d055-48eb-8aea-4fe40adde65b">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["Rossogargano"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement x="307" y="77" width="247" height="15" uuid="08d4daba-4067-4943-9b9c-e4be7098ea25"/>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{rag_soc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement x="307" y="92" width="247" height="15" uuid="c10ba7a5-585e-44af-96d3-44df22e94ece">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{indirizzo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="299" y="62" width="130" height="15" uuid="635aa7f0-5b58-4771-9aa4-e58afc01f3f9">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.y" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="9" isBold="true" isItalic="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["SPETTABILE"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement x="307" y="107" width="40" height="15" uuid="c37907a7-171f-4068-8039-f6df87bb62ef">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cap}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement x="347" y="107" width="207" height="15" uuid="7cc3f624-9403-4094-bfc4-e6728caecdcd">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[($F{citta}==null? "":$F{citta}) + " "+($F{prov}==null? "":"("+$F{prov}+")")+ " "+($F{nazione}==null? "":$F{nazione})]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="50" y="122" width="170" height="10" uuid="b8a03a7c-e36b-43fb-878c-d5949fcc6b77"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[($F{cod_fda}==null? "FDA: ":"FDA: "+ $F{cod_fda}) + " - "+($F{cod_fce}==null? "FCE: ":"FCE: "+ $F{cod_fce})]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="50" y="132" width="170" height="10" uuid="cc226f9e-ba2e-43a1-afb5-48d301b36125"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[($F{cod_lucid}==null? "LUCID: ":"LUCID: "+ $F{cod_lucid})]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageHeader>
|
||||
<detail>
|
||||
<band height="15" splitType="Stretch">
|
||||
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="1" y="0" width="90" height="15" uuid="7658a914-4850-43d0-9f79-0a5d9111ebc8">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{UDC}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="93" y="0" width="35" height="15" uuid="540620b5-c287-4b7a-8cf6-9f3609984596">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_mart}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
|
||||
<reportElement x="130" y="0" width="173" height="15" uuid="f4839bfe-776a-4363-b3d0-1b79216f9701">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{descrizione}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="305" y="0" width="47" height="15" uuid="4c75df28-8957-4f94-a349-819985234112">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{partita_mag}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="472" y="0" width="20" height="15" uuid="86bb7887-f9ab-4e35-adb8-669442a5b70f">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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{num_cnf}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" pattern="dd/MM/yy" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="391" y="0" width="35" height="15" uuid="1801884f-3cef-4e46-8758-c0b23ddf265a">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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{data_prod}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" pattern="dd/MM/yy" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="354" y="0" width="35" height="15" uuid="0f833686-a1b5-4966-bec1-ed00fa034a39">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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{data_scad}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="428" y="0" width="20" height="15" uuid="cf4a512a-4f88-491e-8b87-e9a0564033db">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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{fase}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="494" y="0" width="30" height="15" uuid="e73841e8-4902-4f9f-841b-30d9caa9d0d4">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{peso_netto_kg}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="526" y="0" width="29" height="15" uuid="1df6fdc9-705c-4517-a12e-36126bc3b220">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{peso_lordo_kg}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" isPrintRepeatedValues="false" x="450" y="0" width="20" height="15" uuid="e2741e2c-6b65-45d7-bd89-39b4bd70e145">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<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" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{progressivo_ul}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<pageFooter>
|
||||
<band height="18" splitType="Stretch">
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement x="451" y="2" width="100" height="16" uuid="f68160ba-8b63-46f3-9dac-ccf5056f7d77"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="242" y="2" width="100" height="16" uuid="453583a0-d771-4ae0-9874-e250131ca294"/>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["Pagina " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="1" y="2" width="180" height="16" uuid="45389e13-f7f2-467a-8825-ca8a347bafd5"/>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nome_ditta}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageFooter>
|
||||
</jasperReport>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.21.3.final utlizzo versione della libreria JasperReports6.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="PackingList" pageWidth="595" pageHeight="842" orientation="Landscape" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="d54841b5-6b9c-4160-abbd-efcaa408365e">
|
||||
<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="PackingListScarico" pageWidth="595" pageHeight="842" orientation="Landscape" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="d54841b5-6b9c-4160-abbd-efcaa408365e">
|
||||
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="RossoGargano\DataAdapter.jrdax"/>
|
||||
<property name="com.jaspersoft.studio.report.description" value=""/>
|
||||
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
|
||||
@@ -39,7 +39,7 @@
|
||||
udc.barcode_ul as udc,
|
||||
udc.posizione as posizione_udc,
|
||||
udc.cod_anag,
|
||||
udc.data_vers as data_prod,
|
||||
udc.data_vers as data_prod_vers,
|
||||
udc.cod_mdep,
|
||||
mtb_colt.progressivo_ul
|
||||
from mtb_colt inner join mtb_colr on mtb_colt.num_collo=mtb_colr.num_collo and
|
||||
@@ -51,7 +51,7 @@
|
||||
udc.num_collo=mtb_colr.num_collo_rif and
|
||||
udc.ser_collo = mtb_colr.ser_collo_rif
|
||||
|
||||
where mtb_colt.gestione='V')
|
||||
where mtb_colt.segno=-1)
|
||||
|
||||
select DENSE_RANK() OVER (order by uds desc) as num_uds,
|
||||
UDS,
|
||||
@@ -73,7 +73,9 @@ select DENSE_RANK() OVER (order by uds desc) as num_uds,
|
||||
fase_udc as fase,
|
||||
posizione_udc as linea,
|
||||
mtb_partita_mag.data_scad,
|
||||
colli.data_prod,
|
||||
mtb_partita_mag.partita_mag_prod,
|
||||
mtb_partita_mag.data_prod,
|
||||
colli.data_prod_vers,
|
||||
gtb_anag.cod_anag,
|
||||
gtb_anag.rag_soc,
|
||||
gtb_anag.citta,
|
||||
@@ -106,7 +108,7 @@ from dtb_docr left outer join colli on dtb_docr.cod_dtip=colli.cod_dtip and
|
||||
dtb_docr.num_doc=colli.num_doc and
|
||||
dtb_docr.ser_doc=colli.ser_doc and
|
||||
dtb_docr.cod_mart=colli.cod_mart AND
|
||||
dtb_docr.partita_mag=colli.partita_mag
|
||||
isnull( dtb_docr.partita_mag, '')=isNull(colli.partita_mag,'')
|
||||
left outer join dtb_doct on dtb_docr.cod_dtip=dtb_doct.cod_dtip and
|
||||
dtb_docr.data_doc=dtb_doct.data_doc and
|
||||
dtb_docr.num_doc=dtb_doct.num_doc and
|
||||
@@ -119,7 +121,7 @@ from dtb_docr left outer join colli on dtb_docr.cod_dtip=colli.cod_dtip and
|
||||
left outer join RossoGarganoExchange.dbo.mtb_partitamag_prefisso p on p.Prefisso = left(mtb_partita_mag.partita_mag, 5)
|
||||
LEFT OUTER JOIN gtb_anag on dtb_docr.cod_anag = gtb_anag.cod_anag,
|
||||
azienda
|
||||
where dtb_docr.num_doc= $P{num_doc} and dtb_docr.data_doc= $P{data_doc} and dtb_docr.ser_doc = $P{ser_doc} AND dtb_docr.cod_mart is not null
|
||||
where dtb_docr.num_doc= $P{num_doc} and dtb_docr.data_doc= $P{data_doc} and dtb_docr.ser_doc =$P{ser_doc} AND dtb_docr.cod_mart is not null
|
||||
group by UDS,
|
||||
colli.gestione,
|
||||
colli.data_collo,
|
||||
@@ -135,7 +137,9 @@ group by UDS,
|
||||
fase_udc,
|
||||
posizione_udc,
|
||||
mtb_partita_mag.data_scad,
|
||||
colli.data_prod,
|
||||
mtb_partita_mag.partita_mag_prod,
|
||||
mtb_partita_mag.data_prod,
|
||||
colli.data_prod_vers,
|
||||
gtb_anag.cod_anag,
|
||||
gtb_anag.rag_soc,
|
||||
gtb_anag.citta,
|
||||
@@ -244,10 +248,18 @@ order by uds desc]]>
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_scad"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_scad"/>
|
||||
</field>
|
||||
<field name="partita_mag_prod" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="partita_mag_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="partita_mag_prod"/>
|
||||
</field>
|
||||
<field name="data_prod" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_prod"/>
|
||||
</field>
|
||||
<field name="data_prod_vers" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_prod_vers"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_prod_vers"/>
|
||||
</field>
|
||||
<field name="cod_anag" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_anag"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_anag"/>
|
||||
@@ -388,10 +400,10 @@ order by uds desc]]>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}.equalsIgnoreCase( "IT") ?"Lotto":"Lot"]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}==null?"Lotto":($F{cod_lingua}.equalsIgnoreCase( "IT") ?"Lotto":"Lot")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="134" y="29" width="169" height="30" backcolor="#D0E4EF" uuid="ff01c5b4-5782-47fd-a8ef-265b68283e64">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="144" y="29" width="159" height="30" backcolor="#D0E4EF" uuid="ff01c5b4-5782-47fd-a8ef-265b68283e64">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
@@ -399,17 +411,17 @@ order by uds desc]]>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}.equalsIgnoreCase( "IT") ?"Descrizione":"Description"]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}==null?"Descrizione":($F{cod_lingua}.equalsIgnoreCase( "IT") ?"Descrizione":"Description")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="102" y="29" width="30" height="30" backcolor="#D0E4EF" uuid="a0d7512d-91af-409d-8561-a5ea2c41f7a6">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="112" y="29" width="30" height="30" backcolor="#D0E4EF" uuid="a0d7512d-91af-409d-8561-a5ea2c41f7a6">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}.equalsIgnoreCase( "IT") ?"Articolo":"Article"]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}==null?"Articolo":($F{cod_lingua}.equalsIgnoreCase( "IT") ?"Articolo":"Article")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="0" y="29" width="18" height="30" backcolor="#D0E4EF" uuid="cac635a4-7d22-4733-a40f-12e562b528ee">
|
||||
@@ -420,10 +432,10 @@ order by uds desc]]>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}.equalsIgnoreCase( "IT") ?"UDS":"UDS"]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}==null?"UDS":($F{cod_lingua}.equalsIgnoreCase( "IT") ?"UDS":"UDS")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="20" y="29" width="80" height="30" backcolor="#D0E4EF" uuid="8956759d-97fa-43fa-981d-5ba81a3609a1">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="20" y="29" width="90" height="30" backcolor="#D0E4EF" uuid="8956759d-97fa-43fa-981d-5ba81a3609a1">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
@@ -431,7 +443,7 @@ order by uds desc]]>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}.equalsIgnoreCase( "IT") ?"UDC":"UDC"]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}==null?"UDC":($F{cod_lingua}.equalsIgnoreCase( "IT") ?"UDC":"UDC")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="472" y="29" width="20" height="30" backcolor="#D0E4EF" uuid="b2a9d97b-06f0-4a8e-8c01-51c463cb10a8">
|
||||
@@ -442,7 +454,7 @@ order by uds desc]]>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}.equalsIgnoreCase( "IT") ?"Colli":"PKG"]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}==null?"Colli":($F{cod_lingua}.equalsIgnoreCase( "IT") ?"Colli":"PKG")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="391" y="29" width="35" height="30" backcolor="#D0E4EF" uuid="6530dfc2-4446-4533-9b87-93f54a9021c4">
|
||||
@@ -452,7 +464,7 @@ order by uds desc]]>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}.equalsIgnoreCase( "IT") ?"Data Produzione":"Prod. Date"]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}==null?"Data Prod.":($F{cod_lingua}.equalsIgnoreCase( "IT") ?"Data Prod.":"Prod. Date")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="354" y="29" width="35" height="30" backcolor="#D0E4EF" uuid="e26fc30c-8552-4aa8-9195-0b626b729b26">
|
||||
@@ -462,7 +474,7 @@ order by uds desc]]>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}.equalsIgnoreCase( "IT") ?"Data Scadenza":"Expiry Date"]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}==null?"Data Scadenza":($F{cod_lingua}.equalsIgnoreCase( "IT") ?"Data Scad.":"Expiry Date")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="428" y="29" width="20" height="30" backcolor="#D0E4EF" uuid="88f9dceb-db93-4d43-a7b4-f1c0babc584a">
|
||||
@@ -473,7 +485,7 @@ order by uds desc]]>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}.equalsIgnoreCase( "IT") ?"Linea Prod.":"Prod. Line"]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}==null?"Linea Prod.":($F{cod_lingua}.equalsIgnoreCase( "IT") ?"Linea Prod.":"Prod. Line")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="494" y="29" width="30" height="30" backcolor="#D0E4EF" uuid="4d463cd0-667b-4b1d-8bf2-6cbb1ca0b975">
|
||||
@@ -484,7 +496,7 @@ order by uds desc]]>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}.equalsIgnoreCase( "IT") ?"P.Netto KG":"NetW. KG"]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}==null?"P. Netto KG":($F{cod_lingua}.equalsIgnoreCase( "IT") ?"P.Netto KG":"NetW. KG")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" mode="Opaque" x="526" y="29" width="29" height="30" backcolor="#D0E4EF" uuid="eb2a433a-c3c5-463d-8df3-e305ae4ed055">
|
||||
@@ -495,7 +507,7 @@ order by uds desc]]>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}.equalsIgnoreCase( "IT") ?"P.Lordo KG":"Gross W. KG"]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}==null?"P. Lordo KG":($F{cod_lingua}.equalsIgnoreCase( "IT") ?"P.Lordo KG":"Gross W. KG")]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement x="0" y="3" width="480" height="15" uuid="dc13ed0b-518c-4c82-9e22-e84b05fa03b6">
|
||||
@@ -515,7 +527,7 @@ order by uds desc]]>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}.equalsIgnoreCase( "IT") ?"Prog":"Prog"]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{cod_lingua}==null?"Prog.":($F{cod_lingua}.equalsIgnoreCase( "IT") ?"Prog.":"Prog.")]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</groupHeader>
|
||||
@@ -693,10 +705,9 @@ order by uds desc]]>
|
||||
<detail>
|
||||
<band height="15" splitType="Stretch">
|
||||
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="20" y="0" width="80" height="15" uuid="7658a914-4850-43d0-9f79-0a5d9111ebc8">
|
||||
<reportElement stretchType="ElementGroupHeight" x="20" y="0" width="90" height="15" uuid="7658a914-4850-43d0-9f79-0a5d9111ebc8">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
@@ -704,7 +715,7 @@ order by uds desc]]>
|
||||
<textFieldExpression><![CDATA[$F{UDC}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="102" y="0" width="30" height="15" uuid="540620b5-c287-4b7a-8cf6-9f3609984596">
|
||||
<reportElement stretchType="ElementGroupHeight" x="112" y="0" width="30" height="15" uuid="540620b5-c287-4b7a-8cf6-9f3609984596">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
@@ -715,10 +726,9 @@ order by uds desc]]>
|
||||
<textFieldExpression><![CDATA[$F{cod_mart}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
|
||||
<reportElement x="134" y="0" width="169" height="15" uuid="f4839bfe-776a-4363-b3d0-1b79216f9701">
|
||||
<reportElement x="144" y="0" width="159" height="15" uuid="f4839bfe-776a-4363-b3d0-1b79216f9701">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3234bebf-6305-44d9-8e95-2f968363f894"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
@@ -733,7 +743,7 @@ order by uds desc]]>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{partita_mag}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{partita_mag_prod}==null?$F{partita_mag}:$F{partita_mag_prod}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="472" y="0" width="20" height="15" uuid="86bb7887-f9ab-4e35-adb8-669442a5b70f">
|
||||
@@ -755,7 +765,7 @@ order by uds desc]]>
|
||||
<textElement textAlignment="Center">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{data_prod_calc}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{data_prod}==null?$F{data_prod_calc}:$F{data_prod}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" pattern="dd/MM/yy" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="354" y="0" width="35" height="15" uuid="0f833686-a1b5-4966-bec1-ed00fa034a39">
|
||||
@@ -71,6 +71,8 @@ Select mtb_colt.gestione, mtb_colt.data_ord, mtb_colt.num_ord, mtb_colt.cod_anag
|
||||
mtb_aart.colli_pedana,
|
||||
mtb_aart.unt_mis3,
|
||||
mtb_colr.partita_mag,
|
||||
mtb_partita_mag.partita_mag_prod,
|
||||
mtb_partita_mag.data_prod,
|
||||
mtb_partita_mag.data_scad,
|
||||
SUM(mtb_colr.num_cnf) as num_colli_preparati,
|
||||
COUNT(distinct mtb_colt.num_collo) as inUDS,
|
||||
@@ -96,6 +98,8 @@ group by
|
||||
mtb_colr.cod_mart,
|
||||
mtb_aart.descrizione_estesa,
|
||||
mtb_colr.partita_mag,
|
||||
mtb_partita_mag.partita_mag_prod,
|
||||
mtb_partita_mag.data_prod,
|
||||
mtb_partita_mag.data_scad,
|
||||
mtb_colr.riga_ord,
|
||||
mtb_aart.colli_pedana, mtb_aart.unt_mis3, mtb_colt.preparato_da, azienda.nome_ditta
|
||||
@@ -149,6 +153,8 @@ Select ISNULL(Ordine.gestione, Colli.gestione) as gestione,
|
||||
convert(decimal(10,2),Ordine.tot_colli_ord - sum(colli.num_colli_preparati)over (partition by Ordine.riga_ord )) as check_colli,
|
||||
ISNULL(Ordine.colli_ord, 0 ) as colli_riga_ord,
|
||||
Colli.partita_mag,
|
||||
Colli.partita_mag_prod,
|
||||
Colli.data_prod,
|
||||
colli.data_scad,
|
||||
isNull(Colli.num_colli_preparati,0) as num_colli_preparati,
|
||||
Colli.inUDS,
|
||||
@@ -284,6 +290,14 @@ order by riga_ord, cod_mart, partita_mag]]>
|
||||
<property name="com.jaspersoft.studio.field.name" value="partita_mag"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="partita_mag"/>
|
||||
</field>
|
||||
<field name="partita_mag_prod" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="partita_mag_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="partita_mag_prod"/>
|
||||
</field>
|
||||
<field name="data_prod" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_prod"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_prod"/>
|
||||
</field>
|
||||
<field name="data_scad" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="data_scad"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="data_scad"/>
|
||||
@@ -953,7 +967,7 @@ order by riga_ord, cod_mart, partita_mag]]>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{partita_mag}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{partita_mag_prod}==null?$F{partita_mag}:$F{partita_mag_prod}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement stretchType="ElementGroupHeight" x="22" y="0" width="69" height="27" uuid="22bc8dcf-8178-464a-9a56-3ea32b7250de">
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
udc.num_collo=mtb_colr.num_collo_rif and
|
||||
udc.ser_collo = mtb_colr.ser_collo_rif
|
||||
|
||||
where mtb_colt.gestione='V')
|
||||
where mtb_colt.gestione = 'V')
|
||||
|
||||
select DENSE_RANK() OVER (order by uds desc) as num_uds,
|
||||
UDS,
|
||||
726
IntegryReports/RossoGargano/ReportCQCarciofi.jrxml
Normal file
726
IntegryReports/RossoGargano/ReportCQCarciofi.jrxml
Normal file
@@ -0,0 +1,726 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.21.3.final utlizzo versione della libreria JasperReports6.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="ReportCQCarciofi" pageWidth="842" pageHeight="595" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="a8438d74-9f7c-4aa9-ab2a-b932f7e98cbd">
|
||||
<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.unit." value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>
|
||||
<property name="com.jaspersoft.studio.report.description" value=""/>
|
||||
<style name="LetturaFacilitata">
|
||||
<conditionalStyle>
|
||||
<conditionExpression><![CDATA[($V{REPORT_COUNT} % 2) == 0?true:false]]></conditionExpression>
|
||||
<style mode="Opaque" backcolor="#E6E6E6"/>
|
||||
</conditionalStyle>
|
||||
<conditionalStyle>
|
||||
<conditionExpression><![CDATA[$F{level}.equals(2 )]]></conditionExpression>
|
||||
<style isBold="true" isUnderline="true"/>
|
||||
</conditionalStyle>
|
||||
<conditionalStyle>
|
||||
<conditionExpression><![CDATA[$F{level}.equals( 3)]]></conditionExpression>
|
||||
<style isBold="true"/>
|
||||
</conditionalStyle>
|
||||
</style>
|
||||
<parameter name="cod_jfas" class="java.lang.String"/>
|
||||
<parameter name="cod_mgrp" class="java.lang.String"/>
|
||||
<parameter name="cod_msgr" class="java.lang.String"/>
|
||||
<parameter name="data_vers" class="java.lang.String"/>
|
||||
<queryString>
|
||||
<![CDATA[WITH dati_azienda AS (SELECT atb_forn.cod_atip, gtb_anag.cod_anag, rag_soc, part_iva, rag_soc AS nome_ditta
|
||||
FROM atb_forn
|
||||
INNER JOIN gtb_anag ON atb_forn.cod_anag = gtb_anag.cod_anag
|
||||
WHERE part_iva = (SELECT part_iva FROM azienda)),
|
||||
tipi_forn_soci AS (SELECT value AS cod_atip
|
||||
FROM STRING_SPLIT([dbo].[getGestSetup]('PVM', 'PIAN_ACC_ROSSG', 'COD_ATIP_SOCIO'), '|')),
|
||||
colli AS (SELECT mtb_colt.data_collo,
|
||||
mtb_colt.ser_collo,
|
||||
mtb_colt.num_collo,
|
||||
mtb_colt.gestione,
|
||||
mtb_aart.cod_mart,
|
||||
mtb_aart.descrizione,
|
||||
mtb_aart.unt_mis,
|
||||
mtb_colt.data_vers,
|
||||
-- mtb_colt.data_ins,
|
||||
mtb_colt.data_vers AS data_ins,
|
||||
mtb_colr.partita_mag,
|
||||
mtb_colt.activity_id,
|
||||
mtb_colr.num_cnf,
|
||||
mtb_colr.qta_cnf,
|
||||
mtb_colr.qta_col,
|
||||
mtb_colt.data_ord,
|
||||
mtb_colt.num_ord,
|
||||
mtb_colt.barcode_ul,
|
||||
mtb_colt.num_doc,
|
||||
mtb_colt.num_doc_provv,
|
||||
mtb_colt.data_doc_provv,
|
||||
mtb_colt.ser_doc_provv,
|
||||
mtb_colt.cod_dtip_provv,
|
||||
atb_forn.cod_atip,
|
||||
dtb_ordt.cod_anag,
|
||||
dtb_ordt.cod_jfas,
|
||||
dtb_ordt.cod_vdes,
|
||||
mtb_colt.posizione,
|
||||
carat.val_carat AS varieta,
|
||||
ISNULL(mpd.descrizione, mtb_colt.posizione) AS desc_posizione
|
||||
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
|
||||
LEFT OUTER JOIN mtb_depo_posizioni mpd
|
||||
ON mtb_colt.posizione = mpd.posizione AND mtb_colt.cod_mdep = mpd.cod_mdep
|
||||
INNER JOIN dtb_ordt
|
||||
ON mtb_colt.data_ord = dtb_ordt.data_ord AND mtb_colt.num_ord = dtb_ordt.num_ord AND
|
||||
dtb_ordt.gestione = 'L'
|
||||
INNER JOIN atb_forn
|
||||
ON dtb_ordt.cod_anag = atb_forn.cod_anag
|
||||
LEFT OUTER JOIN mtb_partita_mag_carat carat
|
||||
ON dtb_ordt.partita_mag = carat.partita_mag AND
|
||||
dtb_ordt.cod_prod = carat.cod_mart AND
|
||||
carat.carat = 'varieta' AND carat.activity_id = mtb_colt.activity_id
|
||||
|
||||
WHERE dtb_ordt.cod_jfas = $P{cod_jfas}
|
||||
AND mtb_colr.gestione = 'L'
|
||||
AND segno = 1
|
||||
AND mtb_aart.cod_mgrp = $P{cod_mgrp}
|
||||
AND mtb_aart.cod_msgr = $P{cod_msgr}
|
||||
AND (CAST(data_vers AS DATE) = $P{data_vers} )),
|
||||
carat AS (SELECT mtb_partita_mag_carat.activity_id,
|
||||
mtb_partita_mag_carat.cod_mart,
|
||||
mtb_partita_mag_carat.partita_mag,
|
||||
MIN (CASE WHEN carat = 'Modalita Raccolta' THEN val_carat END) AS modalitaRaccolta, MIN(CASE WHEN carat = 'varieta' THEN val_carat END) AS varieta
|
||||
FROM mtb_partita_mag_carat
|
||||
WHERE carat IN ('Modalita Raccolta', 'varieta')
|
||||
GROUP BY mtb_partita_mag_carat.activity_id, mtb_partita_mag_carat.cod_mart,
|
||||
mtb_partita_mag_carat.partita_mag),
|
||||
calibri
|
||||
AS (SELECT cod_mart, partita_mag, activity_id, [Casse Calibro 60] AS calibro60, [Casse Calibro 70] AS calibro70, [Casse Calibro 80] AS calibro80, [Casse Calibro 90] AS calibro90, [Casse Calibro 100] AS calibro100
|
||||
FROM (SELECT mtb_partita_mag_carat.cod_mart, max_carat.partita_mag, max_carat.activity_id, max_carat.carat, CAST (val_carat AS INTEGER) AS val_carat
|
||||
FROM mtb_partita_mag_carat
|
||||
INNER JOIN (SELECT mtb_partita_mag_carat.cod_mart, mtb_partita_mag_carat.partita_mag, mtb_partita_mag_carat.activity_id, mtb_partita_mag_carat.carat, MAX (data_rilevazione) AS data_rilevazione
|
||||
FROM mtb_partita_mag_carat
|
||||
WHERE EXISTS (SELECT *
|
||||
FROM colli
|
||||
WHERE colli.cod_mart = mtb_partita_mag_carat.cod_mart
|
||||
AND colli.partita_mag = mtb_partita_mag_carat.partita_mag
|
||||
AND colli.activity_id = mtb_partita_mag_carat.activity_id)
|
||||
GROUP BY activity_id, partita_mag, cod_mart, carat) max_carat
|
||||
ON max_carat.cod_mart = mtb_partita_mag_carat.cod_mart
|
||||
AND max_carat.partita_mag = mtb_partita_mag_carat.partita_mag
|
||||
AND max_carat.activity_id = mtb_partita_mag_carat.activity_id
|
||||
AND max_carat.carat = mtb_partita_mag_carat.carat
|
||||
AND max_carat.data_rilevazione =
|
||||
mtb_partita_mag_carat.data_rilevazione) sourceTable
|
||||
PIVOT
|
||||
(
|
||||
SUM (val_carat)
|
||||
FOR carat IN ([Casse Calibro 100], [Casse Calibro 90], [Casse Calibro 80], [Casse Calibro 70], [Casse Calibro 60])
|
||||
) AS pivotTable), TempResult AS (
|
||||
SELECT ROW_NUMBER() OVER (ORDER BY (SELECT NULL)) AS rowNumber, colli.data_collo AS dataCollo, colli.ser_collo AS serCollo, colli.gestione, colli.num_collo AS numCollo, colli.cod_mart AS codMart, colli.descrizione, colli.partita_mag AS partitaMag, colli.data_vers AS dataVers, colli.data_ins AS dataIns, colli.unt_mis AS untMis, colli.qta_col AS qtaCol, colli.qta_cnf AS qtaCnf, colli.num_cnf AS numCnf, colli.num_doc AS numDoc, colli.num_doc_provv AS numDocProvv, colli.data_doc_provv AS dataDocProvv, colli.ser_doc_provv AS serDocProvv, colli.cod_Dtip_provv AS codDtipProvv, colli.barcode_ul AS barcodeUl, calibri.calibro60, calibri.calibro70, calibri.calibro80, calibri.calibro90, calibri.calibro100, colli.activity_id AS activityId, colli.posizione, colli.desc_posizione, carat.varieta, carat.modalitaRaccolta, IIF(tipi_forn_soci.cod_atip IS NULL, gtb_anag.rag_soc, dati_azienda.rag_soc) AS ragSocOp, IIF(tipi_forn_soci.cod_atip IS NULL, gtb_anag.part_iva, dati_azienda.part_iva) AS partIvaOp, IIF(tipi_forn_soci.cod_atip IS NULL, vtb_dest.destinatario, gtb_anag.rag_soc) AS ragSocProduttore, IIF(tipi_forn_soci.cod_atip IS NULL, gtb_anag.part_iva, vtb_dest.part_iva) AS partIvaProduttore, ISNULL(vtb_dest.rag_soc_legale, '') AS ragSocCoop, ISNULL(vtb_dest.part_iva_legale, '') AS partIvaCoop, colli.cod_jfas AS codJfas, dati_azienda.rag_soc as nome_ditta
|
||||
FROM colli
|
||||
LEFT OUTER JOIN calibri
|
||||
ON colli.cod_mart = calibri.cod_mart AND
|
||||
colli.partita_mag = calibri.partita_mag AND
|
||||
colli.activity_id = calibri.activity_id
|
||||
LEFT OUTER JOIN carat ON colli.partita_mag = carat.partita_mag AND
|
||||
colli.cod_mart = carat.cod_mart AND
|
||||
colli.activity_id = carat.activity_id
|
||||
LEFT OUTER JOIN tipi_forn_soci ON colli.cod_atip = tipi_forn_soci.cod_atip
|
||||
INNER JOIN gtb_anag ON colli.cod_anag = gtb_anag.cod_anag
|
||||
LEFT OUTER JOIN vtb_dest ON colli.cod_anag = vtb_dest.cod_anag AND
|
||||
colli.cod_vdes = vtb_dest.cod_vdes
|
||||
, dati_azienda),
|
||||
|
||||
TempCount AS (
|
||||
SELECT COUNT (*) AS rows_count
|
||||
FROM TempResult)
|
||||
SELECT TempResult.*,
|
||||
TempCount.*
|
||||
FROM TempResult,
|
||||
TempCount
|
||||
ORDER BY dataVers ASC]]>
|
||||
</queryString>
|
||||
<field name="rowNumber" class="java.lang.Long">
|
||||
<property name="com.jaspersoft.studio.field.name" value="rowNumber"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="rowNumber"/>
|
||||
</field>
|
||||
<field name="dataCollo" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="dataCollo"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="dataCollo"/>
|
||||
</field>
|
||||
<field name="serCollo" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="serCollo"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="serCollo"/>
|
||||
</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="numCollo" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="numCollo"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="numCollo"/>
|
||||
</field>
|
||||
<field name="codMart" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="codMart"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="codMart"/>
|
||||
</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="partitaMag" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="partitaMag"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="partitaMag"/>
|
||||
</field>
|
||||
<field name="dataVers" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="dataVers"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="dataVers"/>
|
||||
</field>
|
||||
<field name="dataIns" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="dataIns"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="dataIns"/>
|
||||
</field>
|
||||
<field name="untMis" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="untMis"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="untMis"/>
|
||||
</field>
|
||||
<field name="qtaCol" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="qtaCol"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="qtaCol"/>
|
||||
</field>
|
||||
<field name="qtaCnf" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="qtaCnf"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="qtaCnf"/>
|
||||
</field>
|
||||
<field name="numCnf" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="numCnf"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="numCnf"/>
|
||||
</field>
|
||||
<field name="numDoc" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="numDoc"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="numDoc"/>
|
||||
</field>
|
||||
<field name="numDocProvv" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="numDocProvv"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="numDocProvv"/>
|
||||
</field>
|
||||
<field name="dataDocProvv" class="java.sql.Timestamp">
|
||||
<property name="com.jaspersoft.studio.field.name" value="dataDocProvv"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="dataDocProvv"/>
|
||||
</field>
|
||||
<field name="serDocProvv" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="serDocProvv"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="serDocProvv"/>
|
||||
</field>
|
||||
<field name="codDtipProvv" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="codDtipProvv"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="codDtipProvv"/>
|
||||
</field>
|
||||
<field name="barcodeUl" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="barcodeUl"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="barcodeUl"/>
|
||||
</field>
|
||||
<field name="calibro60" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="calibro60"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="calibro60"/>
|
||||
</field>
|
||||
<field name="calibro70" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="calibro70"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="calibro70"/>
|
||||
</field>
|
||||
<field name="calibro80" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="calibro80"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="calibro80"/>
|
||||
</field>
|
||||
<field name="calibro90" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="calibro90"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="calibro90"/>
|
||||
</field>
|
||||
<field name="calibro100" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="calibro100"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="calibro100"/>
|
||||
</field>
|
||||
<field name="activityId" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="activityId"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="activityId"/>
|
||||
</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="desc_posizione" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="desc_posizione"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="desc_posizione"/>
|
||||
</field>
|
||||
<field name="varieta" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="varieta"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="varieta"/>
|
||||
</field>
|
||||
<field name="modalitaRaccolta" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="modalitaRaccolta"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="modalitaRaccolta"/>
|
||||
</field>
|
||||
<field name="ragSocOp" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="ragSocOp"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="ragSocOp"/>
|
||||
</field>
|
||||
<field name="partIvaOp" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="partIvaOp"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="partIvaOp"/>
|
||||
</field>
|
||||
<field name="ragSocProduttore" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="ragSocProduttore"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="ragSocProduttore"/>
|
||||
</field>
|
||||
<field name="partIvaProduttore" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="partIvaProduttore"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="partIvaProduttore"/>
|
||||
</field>
|
||||
<field name="ragSocCoop" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="ragSocCoop"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="ragSocCoop"/>
|
||||
</field>
|
||||
<field name="partIvaCoop" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="partIvaCoop"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="partIvaCoop"/>
|
||||
</field>
|
||||
<field name="codJfas" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="codJfas"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="codJfas"/>
|
||||
</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="rows_count" class="java.lang.Integer">
|
||||
<property name="com.jaspersoft.studio.field.name" value="rows_count"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="rows_count"/>
|
||||
</field>
|
||||
<variable name="casse" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{numCnf}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="tot_quanità" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtaCol}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="calibro60" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{calibro60}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="calibro70" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{calibro70}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="calibro80" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{calibro80}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="calibro90" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{calibro90}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="calibro100" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{calibro100}]]></variableExpression>
|
||||
</variable>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<pageHeader>
|
||||
<band height="35" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement mode="Opaque" x="0" y="0" width="800" height="35" forecolor="#46A0C9" backcolor="#FFFFFF" uuid="3e877efa-d5f0-4614-a933-32ed35445287">
|
||||
<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["C.Q. CARCIOFI AL" + new SimpleDateFormat(" dd/MM/yyyy").format(new SimpleDateFormat("yyyy-MM-dd").parse($P{data_vers}.replace("/", "-")))]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band height="57" splitType="Stretch">
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="47" y="19" width="151" height="31" backcolor="#D1E4EF" uuid="1d7a0fe1-fd0e-4e65-9f9c-c75e6a0144ee">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Prodotto]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="352" y="19" width="46" height="31" backcolor="#D1E4EF" uuid="b65a7395-ab93-4f69-af77-2e2eafe81e49">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[N° certificato]]></text>
|
||||
</staticText>
|
||||
<line>
|
||||
<reportElement x="0" y="52" width="802" height="1" forecolor="#07A0C9" backcolor="#46A0C9" uuid="f7f81c72-72d3-42cf-874b-33227c76f1ca">
|
||||
<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="400" y="19" width="45" height="31" backcolor="#D1E4EF" uuid="54b8f2e6-eb4d-4c25-a11f-bda0053b8130">
|
||||
<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[DDT]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="0" y="19" width="45" height="31" backcolor="#D1E4EF" uuid="1b78c423-b297-4578-95d2-d8bceef48568">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Data e ora
|
||||
Arrivo]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="561" y="35" width="37" height="15" backcolor="#D1E4EF" uuid="6e872a50-46e7-4bd1-95cb-07e9561152d7">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Calibro 60]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="492" y="19" width="67" height="31" backcolor="#D1E4EF" uuid="430092d7-4e6a-4180-b35e-5f0969197414">
|
||||
<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[Quantità
|
||||
Scaricate]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="200" y="19" width="150" height="31" backcolor="#D1E4EF" uuid="67b95b33-3275-40eb-ba06-c91cadf7be04">
|
||||
<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[Socio/Produttore]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="447" y="19" width="43" height="31" backcolor="#D1E4EF" uuid="0c27812e-23ef-4fd5-8ba6-9977fc603f7a">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Casse
|
||||
Scaricate]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="600" y="35" width="37" height="15" backcolor="#D1E4EF" uuid="5aa0fe08-2fad-4b7b-92b4-7145e83f0b81">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Calibro 70]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="639" y="35" width="37" height="15" backcolor="#D1E4EF" uuid="8cd80c9c-69ae-4c77-8ea1-5bb1a106ec56">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Calibro 80]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="678" y="35" width="37" height="15" backcolor="#D1E4EF" uuid="9168e56c-83cc-43f1-8d3a-75b7d07bde2e">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Calibro 90]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="561" y="19" width="196" height="15" backcolor="#D1E4EF" uuid="a6def4ba-19e3-4871-a508-efd8477c8f45">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Num casse per Calibro]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="717" y="35" width="40" height="15" backcolor="#D1E4EF" uuid="2f4ad266-30e3-4547-a14b-46ce1fdc1b8e">
|
||||
<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[Calibro 100]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Opaque" x="759" y="19" width="43" height="31" backcolor="#D1E4EF" uuid="81b87b78-f0ce-4052-8b56-b8232ef2eac7">
|
||||
<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[Linea
|
||||
]]></text>
|
||||
</staticText>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="20" splitType="Stretch">
|
||||
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
|
||||
<reportElement x="47" y="0" width="151" height="15" uuid="1b4e9964-0ab9-4789-b3ac-914ea33f60b9">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="cbbd9c52-e065-4706-b837-a08c2987c0b4"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Middle" markup="html">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{descrizione}==null?"":$F{varieta}==null?"":$F{descrizione}+"<br>"+" Varietà: "+"<b>" +$F{varieta}+"</b></br>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="352" y="0" width="46" height="15" uuid="28a46b09-2827-4864-83bc-bba69c5362da">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="92f2e009-a524-4037-945d-b9e6a199933d"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{numDoc}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="400" y="0" width="45" height="15" uuid="9da0704a-60eb-4d62-a8fa-5e200af9beb8">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="92f2e009-a524-4037-945d-b9e6a199933d"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{numDocProvv}==null?"":$F{serDocProvv}==null?"":$F{numDocProvv}+" "+$F{serDocProvv}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="StretchHeight" pattern="dd/MM/yy HH:mm" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" isPrintRepeatedValues="false" x="0" y="0" width="45" height="15" uuid="66fcf9e1-ce15-447e-a9a1-bebd504ecd9c">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{dataVers}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="561" y="0" width="37" height="15" uuid="b5849d27-264f-4f1f-944e-039079a44fe3">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{calibro60}==null?0: $F{calibro60}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" pattern="#,##0.00#;-#,##0.00#" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="492" y="0" width="67" height="15" uuid="69ce9ff5-3943-4951-94fe-5851d8306c64">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtaCol}==null?"":$F{untMis}==null?"":(new java.text.DecimalFormat("#,##0.##").format($F{qtaCol})+" "+$F{untMis})]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
|
||||
<reportElement x="200" y="0" width="150" height="15" uuid="651acf11-12e2-48b4-b127-e16eceb2b7ed">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="cbbd9c52-e065-4706-b837-a08c2987c0b4"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement verticalAlignment="Middle" markup="html">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{ragSocProduttore}==null?"":$F{ragSocOp}==null?"":"<b>" +$F{ragSocProduttore}+"</b>"+ "<br><i>" + $F{ragSocOp} + "</i></br>"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="447" y="0" width="43" height="15" uuid="9c5fde3d-510e-4f4e-9d17-8748066d1c21">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{numCnf}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="600" y="0" width="37" height="15" uuid="d4ecdc88-8163-4b68-af5c-2d481e203d2a">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{calibro70}==null?0: $F{calibro70}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="639" y="0" width="37" height="15" uuid="52def073-e24a-46ea-8596-9f12b619c365">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{calibro80}==null?0: $F{calibro80}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="678" y="0" width="37" height="15" uuid="aced8f45-8c6e-4536-82fb-5ad87cb6f829">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{calibro90}==null?0: $F{calibro90}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="717" y="0" width="40" height="15" uuid="54b5c470-82c6-4362-acdd-6bb7b0e63478">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{calibro100}==null?0: $F{calibro100}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" pattern="#,##0.00#;-#,##0.00#" isBlankWhenNull="true">
|
||||
<reportElement stretchType="ElementGroupHeight" x="759" y="0" width="42" height="15" uuid="d4aecc26-335f-424f-8c5d-323ed0ff04da">
|
||||
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="6d4bc8c2-0dc8-4d34-a0a1-bf7c177b415c"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{codJfas}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<pageFooter>
|
||||
<band height="32" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement x="340" y="17" width="80" height="15" uuid="3d66c713-05d5-493c-9d28-6dffe26ee9fd"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font fontName="Tahoma" size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["Pagina "+$V{PAGE_NUMBER}+" di"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report">
|
||||
<reportElement x="420" y="17" width="40" height="15" uuid="7a4e0d44-3b9c-4e11-8ef4-82353411f180"/>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement x="700" y="20" width="100" height="12" uuid="42533a19-5878-45a3-a114-3ababed05ad7"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font fontName="Tahoma" size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="2" y="19" width="100" height="12" uuid="27009baf-630a-4c55-9b9c-cb3144f078e7"/>
|
||||
<textElement>
|
||||
<font fontName="Tahoma" size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nome_ditta}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageFooter>
|
||||
<summary>
|
||||
<band height="15">
|
||||
<textField textAdjust="ScaleFont" evaluationTime="Report" pattern="#,##0.###;(#,##0.###-)" isBlankWhenNull="true">
|
||||
<reportElement x="447" y="0" width="43" height="15" uuid="3e3d2927-fb7b-40fd-bb5e-a2a5967f03ba">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{casse}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" evaluationTime="Report" pattern="#,##0.00#;-#,##0.00#" isBlankWhenNull="true">
|
||||
<reportElement x="492" y="0" width="69" height="15" uuid="6751d9f6-4a3e-443c-9229-3888c5c97c4f">
|
||||
<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" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[(new java.text.DecimalFormat("#,##0.##").format($V{tot_quanità})+" "+$F{untMis})]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" evaluationTime="Report" pattern="#,##0.###" isBlankWhenNull="true">
|
||||
<reportElement x="563" y="0" width="37" height="15" uuid="464013da-c3ef-4fba-ba30-28dbce0c7c64">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{calibro60}==null?0:$V{calibro60}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" evaluationTime="Report" pattern="#,##0.###" isBlankWhenNull="true">
|
||||
<reportElement x="602" y="0" width="37" height="15" uuid="1d8fd7a1-751b-48ab-bdfd-cd2aa213fdef">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{calibro70}==null?0:$V{calibro70}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" evaluationTime="Report" pattern="#,##0.###" isBlankWhenNull="true">
|
||||
<reportElement x="641" y="0" width="37" height="15" uuid="4541ca1c-1fbc-4c3b-9ba4-9699929d7d56">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{calibro80}==null?0:$V{calibro80}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" evaluationTime="Report" pattern="#,##0.###" isBlankWhenNull="true">
|
||||
<reportElement x="680" y="0" width="37" height="15" uuid="c3602494-42bf-4744-9190-b7c3c51bb908">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{calibro90}==null?0:$V{calibro90}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" evaluationTime="Report" pattern="#,##0.###" isBlankWhenNull="true">
|
||||
<reportElement x="719" y="0" width="40" height="15" uuid="e81394a1-06b8-4f99-981a-4e096b32130e">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Center" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{calibro100}==null?0:$V{calibro100}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</summary>
|
||||
</jasperReport>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.20.6.final utlizzo versione della libreria JasperReports6.20.6-5c96b6aa8a39ac1dc6b6bea4b81168e16dd39231 -->
|
||||
<!-- Created with Jaspersoft Studio version 6.21.3.final utlizzo versione della libreria JasperReports6.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="EtichettaColloProd" pageWidth="842" pageHeight="595" columnWidth="842" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="4df7bfe5-a131-4a87-bf34-113cd583aedc">
|
||||
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="SMETAR\DataAdapter.xml"/>
|
||||
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
|
||||
@@ -192,7 +192,7 @@ where mtb_colr.gestione = mtb_colt.gestione and
|
||||
<text><![CDATA[Numero/Data Ordine:]]></text>
|
||||
</staticText>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement x="251" y="71" width="44" height="15" uuid="01de4efd-3670-419c-ba13-cc41a4ebdbaa">
|
||||
<reportElement x="256" y="71" width="44" height="15" uuid="01de4efd-3670-419c-ba13-cc41a4ebdbaa">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
@@ -201,7 +201,7 @@ where mtb_colr.gestione = mtb_colt.gestione and
|
||||
<textFieldExpression><![CDATA[$F{num_ord}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement x="295" y="71" width="110" height="15" uuid="d999bb41-a35e-408d-bb73-9d8c844df6e8">
|
||||
<reportElement x="300" y="71" width="110" height="15" uuid="d999bb41-a35e-408d-bb73-9d8c844df6e8">
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
@@ -282,7 +282,7 @@ where mtb_colr.gestione = mtb_colt.gestione and
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{partita_mag}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<textField textAdjust="StretchHeight" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" x="319" y="2" width="268" height="18" uuid="9ab05294-6912-46b9-a192-11f56d52e814">
|
||||
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
||||
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Created with Jaspersoft Studio version 6.21.3.final utlizzo versione della libreria JasperReports6.21.3-4a3078d20785ebe464f18037d738d12fc98c13cf -->
|
||||
<!-- 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="ReportIncassi" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="a8438d74-9f7c-4aa9-ab2a-b932f7e98cbd">
|
||||
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="VGALIMENTI\VgAlimenti.xml"/>
|
||||
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
|
||||
@@ -32,8 +32,9 @@
|
||||
SUM(
|
||||
IIF(doc.cod_forn_td IS NULL AND ISNULL(gtb_paga.gg_prima_rata, 0) = 0,
|
||||
dtb_tipi.segno_qta_scar * (doc.tot_imponib + doc.tot_iva - doc.tot_omaggi), 0)
|
||||
) OVER (PARTITION BY doc.cod_anag, doc.cod_vdes, doc.num_doc) AS da_incassare,
|
||||
distr.imp_incasso,
|
||||
) OVER (PARTITION BY doc.cod_anag, doc.cod_vdes, doc.num_doc,doc.data_doc,doc.ser_doc,distr.imp_incasso) AS da_incassare,
|
||||
sum(distr.imp_incasso) over (partition by doc.data_doc,doc.num_doc,doc.cod_dtip,doc.ser_doc) as imp_incasso,
|
||||
distr.imp_incasso as incasso,
|
||||
gtb_paga.cod_paga,
|
||||
gtb_paga.descrizione,
|
||||
azienda.nome_ditta,
|
||||
@@ -54,6 +55,7 @@
|
||||
azienda
|
||||
WHERE ISNULL(distr.data_dist, doc.data_doc) = $P{data_doc}
|
||||
AND doc.gestione = 'V'
|
||||
AND doc.cod_dtip NOT IN ('BUC')
|
||||
AND dtb_tipi.tipo_emissione = 'DIRETTA'
|
||||
AND ($P{user_name} IS NULL OR $P{user_name}= '' OR su.User_name =$P{user_name} )
|
||||
AND ($P{cod_vvet} IS NULL OR $P{cod_vvet}= '' OR doc.cod_vvet =$P{cod_vvet} )),
|
||||
@@ -71,10 +73,11 @@
|
||||
ELSE 'Documenti parzialmente pagati'
|
||||
END AS gruppo
|
||||
FROM dati
|
||||
WHERE gg_prima_rata = 0),
|
||||
count_per_group AS (SELECT gruppo, COUNT(*) AS count_righe
|
||||
FROM filtrati
|
||||
GROUP BY gruppo)
|
||||
WHERE gg_prima_rata = 0 and cod_paga not in ('39')),
|
||||
count_per_group AS (SELECT gruppo,
|
||||
count(distinct cast(cod_dtip as varchar) + '|' + cast(num_doc as varchar) + '|' + ser_doc + '|' + convert(varchar, data_doc, 112)) as count_righe
|
||||
FROM filtrati
|
||||
GROUP BY gruppo)
|
||||
SELECT filtrati.*,
|
||||
totali.tot_previsto,
|
||||
totali.tot_incasso,
|
||||
@@ -84,12 +87,12 @@ SELECT filtrati.*,
|
||||
FROM filtrati
|
||||
CROSS APPLY totali
|
||||
LEFT JOIN count_per_group ON filtrati.gruppo = count_per_group.gruppo
|
||||
ORDER BY CASE
|
||||
ORDER BY CASE
|
||||
WHEN filtrati.gruppo = 'Documenti pagati' THEN 1
|
||||
WHEN filtrati.gruppo = 'Documenti parzialmente pagati' THEN 2
|
||||
WHEN filtrati.gruppo = 'Documenti sospesi' THEN 3
|
||||
WHEN filtrati.gruppo = 'Documenti sospesi pagati' THEN 4
|
||||
END]]>
|
||||
END, cod_anag, num_doc]]>
|
||||
</queryString>
|
||||
<field name="cod_anag" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_anag"/>
|
||||
@@ -131,6 +134,10 @@ ORDER BY CASE
|
||||
<property name="com.jaspersoft.studio.field.name" value="imp_incasso"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="imp_incasso"/>
|
||||
</field>
|
||||
<field name="incasso" class="java.math.BigDecimal">
|
||||
<property name="com.jaspersoft.studio.field.name" value="incasso"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="incasso"/>
|
||||
</field>
|
||||
<field name="cod_paga" class="java.lang.String">
|
||||
<property name="com.jaspersoft.studio.field.name" value="cod_paga"/>
|
||||
<property name="com.jaspersoft.studio.field.label" value="cod_paga"/>
|
||||
@@ -468,7 +475,7 @@ Paga]]></text>
|
||||
<textElement textAlignment="Right" verticalAlignment="Middle">
|
||||
<font fontName="Tahoma" size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{imp_incasso}==null?"0,00":$F{imp_incasso}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$F{incasso}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField textAdjust="ScaleFont" pattern="#,##0.00#" isBlankWhenNull="true">
|
||||
<reportElement style="LetturaFacilitata" stretchType="ElementGroupHeight" x="453" y="0" width="61" height="15" uuid="9f85e2c6-5c7a-4778-9a6a-68d7e2b5f909">
|
||||
|
||||
Reference in New Issue
Block a user