261 lines
12 KiB
XML
Executable File
261 lines
12 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Created with Jaspersoft Studio version 5.6.2.final using JasperReports Library version 5.6.1 -->
|
|
<!-- 2014-10-13T16:25:00 -->
|
|
<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="registrosBalisticos" pageWidth="800" pageHeight="842" columnWidth="760" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="80331279-9be4-4003-ad3d-d3b8bfdf2084">
|
|
<property name="ireport.zoom" value="1.0"/>
|
|
<property name="ireport.x" value="0"/>
|
|
<property name="ireport.y" value="0"/>
|
|
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
|
|
<template><![CDATA[$P{pathstyle}]]></template>
|
|
<parameter name="pathimage" class="java.lang.String" isForPrompting="false">
|
|
<parameterDescription><![CDATA[]]></parameterDescription>
|
|
<defaultValueExpression><![CDATA["repo:/maia/1/image/logo"]]></defaultValueExpression>
|
|
</parameter>
|
|
<parameter name="pathstyle" class="java.lang.String" isForPrompting="false">
|
|
<defaultValueExpression><![CDATA["repo:/maia/1/style/style"]]></defaultValueExpression>
|
|
</parameter>
|
|
<parameter name="pathSelloArmas" class="java.lang.String">
|
|
<defaultValueExpression><![CDATA["repo:/maia/1/image/selloarmas"]]></defaultValueExpression>
|
|
</parameter>
|
|
<parameter name="SUBREPORT_DIR" class="java.lang.String">
|
|
<defaultValueExpression><![CDATA["repo:/maia/1/modules/armas/subreports/"]]></defaultValueExpression>
|
|
</parameter>
|
|
<queryString language="SQL">
|
|
<![CDATA[select rownum,
|
|
detailClase.description AS DESCRIPCION,
|
|
detailTipo.description AS TIPO,
|
|
detailestado.description AS ESTADO,
|
|
armas.lote AS SERIE,
|
|
detailtramite.description AS TIPO_TRAMITE,
|
|
person.name AS NOMBRE,
|
|
solicitud.fregistro AS FEC_REGISTRO
|
|
from TarmArmaPruebas armasprueba
|
|
inner join tarmsolicitudarmas solcitudarmas
|
|
on armasprueba.carma = solcitudarmas.carma
|
|
and solcitudarmas.csolicitud = armasprueba.csolicitud
|
|
and solcitudarmas.personcode = armasprueba.personcode
|
|
inner join tarmarmas armas
|
|
on armas.carma = solcitudarmas.carma
|
|
inner join tarmsolicitud solicitud
|
|
on solicitud.csolicitud = solcitudarmas.csolicitud
|
|
and solicitud.personcode = solcitudarmas.personcode
|
|
inner join tarmtramite tramite
|
|
on tramite.ctramite = solicitud.ctramite
|
|
left join tarmarmas armas2
|
|
on solcitudarmas.carma = armas2.carma
|
|
left join tarmtipoarmaexplosivo tipoarmexplosivo
|
|
on tipoarmexplosivo.ctipoarmaexplosivo = armas.ctipoarmaexplosivo
|
|
left join tgenecatalogdetail detailClase
|
|
on detailClase.catalog = tipoarmexplosivo.clase
|
|
and detailClase.catalogcode = tipoarmexplosivo.clasecodigo
|
|
left join tgenecatalogdetail detailTipo
|
|
on detailTipo.catalog = tipoarmexplosivo.tipoarmaexplosivo
|
|
and detailTipo.catalogcode = tipoarmexplosivo.tipoarmaexplosivocodigo
|
|
left join tgenecatalogdetail detailEstado
|
|
on detailEstado.catalog = armas.estado
|
|
and detailestado.catalogcode = armas.estadocodigo
|
|
left join tgenecatalogdetail detailTramite
|
|
on detailTramite.catalog = tramite.tipoautorizacion
|
|
and detailtramite.catalogcode = tramite.tipoautorizacioncodigo
|
|
left join tcustpersondetail person
|
|
on person.personcode = armasprueba.personcode]]>
|
|
</queryString>
|
|
<group name="GRUPO1" isReprintHeaderOnEachPage="true">
|
|
<groupHeader>
|
|
<band height="13">
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
<subreport>
|
|
<reportElement x="0" y="0" width="680" height="13" uuid="5d603489-b468-4f20-aa59-f466fdfc120c">
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
</reportElement>
|
|
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
|
|
<subreportExpression><![CDATA[$P{SUBREPORT_DIR} + "registroBalisticoSub"]]></subreportExpression>
|
|
</subreport>
|
|
</band>
|
|
</groupHeader>
|
|
<groupFooter>
|
|
<band height="13">
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
<textField>
|
|
<reportElement key="" style="title3" x="650" y="0" width="110" height="13" uuid="fd5f8c6d-a64f-48d6-b1df-b52622368c9d">
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
</reportElement>
|
|
<box>
|
|
<topPen lineWidth="0.5"/>
|
|
<leftPen lineWidth="0.5"/>
|
|
<bottomPen lineWidth="0.5"/>
|
|
<rightPen lineWidth="0.5"/>
|
|
</box>
|
|
<textElement textAlignment="Right"/>
|
|
<textFieldExpression><![CDATA[$V{REPORT_COUNT}]]></textFieldExpression>
|
|
</textField>
|
|
<staticText>
|
|
<reportElement key="" style="title3" x="520" y="0" width="130" height="13" uuid="6f30e5d0-9c4b-4ac8-8fa3-5688e0f3e9fa"/>
|
|
<box>
|
|
<topPen lineWidth="0.5"/>
|
|
<leftPen lineWidth="0.5"/>
|
|
<bottomPen lineWidth="0.5"/>
|
|
<rightPen lineWidth="0.5"/>
|
|
</box>
|
|
<text><![CDATA[TOTAL REGISTROS]]></text>
|
|
</staticText>
|
|
</band>
|
|
</groupFooter>
|
|
</group>
|
|
<background>
|
|
<band splitType="Stretch"/>
|
|
</background>
|
|
<title>
|
|
<band height="163" splitType="Stretch">
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
<staticText>
|
|
<reportElement key="" style="title1" x="147" y="92" width="419" height="20" uuid="a5555ed3-8bce-44fd-afbb-28084239a1a1"/>
|
|
<textElement textAlignment="Center"/>
|
|
<text><![CDATA[COMANDO CONJUNTO DE LAS FF. AA.]]></text>
|
|
</staticText>
|
|
<staticText>
|
|
<reportElement key="" style="title2" x="147" y="115" width="419" height="20" uuid="98c268e9-4cb8-4184-9c02-537b79b6957c"/>
|
|
<textElement textAlignment="Center"/>
|
|
<text><![CDATA[DEPARTAMENTO DE CONTROL DE ARMAS]]></text>
|
|
</staticText>
|
|
<image hAlign="Center">
|
|
<reportElement x="313" y="4" width="80" height="80" uuid="560083e4-2ae5-4b08-9886-6b1c828f2fe1">
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
</reportElement>
|
|
<imageExpression><![CDATA[$P{pathSelloArmas}]]></imageExpression>
|
|
</image>
|
|
<staticText>
|
|
<reportElement key="" style="title3" x="147" y="138" width="419" height="20" uuid="319b53e8-7c95-4c3f-abfb-d7125ec1eb2b"/>
|
|
<textElement textAlignment="Center"/>
|
|
<text><![CDATA[REPORTE DE REGISTROS BALÍSTICOS]]></text>
|
|
</staticText>
|
|
</band>
|
|
</title>
|
|
<columnHeader>
|
|
<band height="13">
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
<staticText>
|
|
<reportElement key="" style="title3" x="0" y="0" width="30" height="13" uuid="5f9231a2-187b-4fc6-a65a-48305b5ac7f7">
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
</reportElement>
|
|
<box>
|
|
<topPen lineWidth="0.5"/>
|
|
<leftPen lineWidth="0.5"/>
|
|
<bottomPen lineWidth="0.5"/>
|
|
<rightPen lineWidth="0.5"/>
|
|
</box>
|
|
<textElement textAlignment="Center"/>
|
|
<text><![CDATA[No.]]></text>
|
|
</staticText>
|
|
<staticText>
|
|
<reportElement key="" style="normalNegrita" x="30" y="0" width="100" height="13" uuid="4b230a8c-06ee-4eaf-89bd-1ac59704b5eb">
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
</reportElement>
|
|
<box>
|
|
<topPen lineWidth="0.5"/>
|
|
<leftPen lineWidth="0.5"/>
|
|
<bottomPen lineWidth="0.5"/>
|
|
<rightPen lineWidth="0.5"/>
|
|
</box>
|
|
<textElement textAlignment="Center"/>
|
|
<text><![CDATA[DESCRIPCION]]></text>
|
|
</staticText>
|
|
<staticText>
|
|
<reportElement key="" style="normalNegrita" x="130" y="0" width="94" height="13" uuid="484c8eae-5323-4423-baae-1bbf2af823b5"/>
|
|
<box>
|
|
<topPen lineWidth="0.5"/>
|
|
<bottomPen lineWidth="0.5"/>
|
|
<rightPen lineWidth="0.5"/>
|
|
</box>
|
|
<textElement textAlignment="Center"/>
|
|
<text><![CDATA[TIPO]]></text>
|
|
</staticText>
|
|
<staticText>
|
|
<reportElement key="" style="normalNegrita" x="304" y="0" width="71" height="13" uuid="124d539f-d3fb-410e-910d-1aac66a81935"/>
|
|
<box>
|
|
<topPen lineWidth="0.5"/>
|
|
<leftPen lineWidth="0.5"/>
|
|
<bottomPen lineWidth="0.5"/>
|
|
<rightPen lineWidth="0.5"/>
|
|
</box>
|
|
<textElement textAlignment="Center"/>
|
|
<text><![CDATA[ESTADO]]></text>
|
|
</staticText>
|
|
<staticText>
|
|
<reportElement key="" style="normalNegrita" x="224" y="0" width="80" height="13" uuid="43244834-dc3a-4a56-a1b8-71530da1f95f">
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
</reportElement>
|
|
<box>
|
|
<topPen lineWidth="0.5"/>
|
|
<leftPen lineWidth="0.5"/>
|
|
<bottomPen lineWidth="0.5"/>
|
|
<rightPen lineWidth="0.5"/>
|
|
</box>
|
|
<textElement textAlignment="Center"/>
|
|
<text><![CDATA[SERIE]]></text>
|
|
</staticText>
|
|
<staticText>
|
|
<reportElement key="" style="normalNegrita" x="375" y="0" width="145" height="13" uuid="c3bf7e99-1452-45fb-b0d6-b50cc25d9c3a"/>
|
|
<box>
|
|
<topPen lineWidth="0.5"/>
|
|
<leftPen lineWidth="0.5"/>
|
|
<bottomPen lineWidth="0.5"/>
|
|
<rightPen lineWidth="0.5"/>
|
|
</box>
|
|
<textElement textAlignment="Center"/>
|
|
<text><![CDATA[TIPO DE TRÁMITE]]></text>
|
|
</staticText>
|
|
<staticText>
|
|
<reportElement key="" style="normalNegrita" x="520" y="0" width="130" height="13" uuid="1775b3e1-0f97-4ee0-9abe-b5b1c87c1b2d"/>
|
|
<box>
|
|
<topPen lineWidth="0.5"/>
|
|
<leftPen lineWidth="0.5"/>
|
|
<bottomPen lineWidth="0.5"/>
|
|
<rightPen lineWidth="0.5"/>
|
|
</box>
|
|
<textElement textAlignment="Center"/>
|
|
<text><![CDATA[NOMBRE / RAZÓN SOCIAL]]></text>
|
|
</staticText>
|
|
<staticText>
|
|
<reportElement key="" style="normalNegrita" x="650" y="0" width="110" height="13" isRemoveLineWhenBlank="true" uuid="8f35e39d-a925-446b-ab8b-248069f20198"/>
|
|
<box>
|
|
<topPen lineWidth="0.5"/>
|
|
<leftPen lineWidth="0.5"/>
|
|
<bottomPen lineWidth="0.5"/>
|
|
<rightPen lineWidth="0.5"/>
|
|
</box>
|
|
<textElement textAlignment="Center"/>
|
|
<text><![CDATA[FECHA DE REGISTRO]]></text>
|
|
</staticText>
|
|
</band>
|
|
</columnHeader>
|
|
<pageFooter>
|
|
<band height="13" splitType="Stretch">
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
<staticText>
|
|
<reportElement style="title3" x="146" y="0" width="419" height="13" uuid="eac1bca5-901f-4656-8139-7de278e10319">
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
</reportElement>
|
|
<textElement textAlignment="Center"/>
|
|
<text><![CDATA[CENTRO DE CONTROL DE ARMAS]]></text>
|
|
</staticText>
|
|
</band>
|
|
</pageFooter>
|
|
</jasperReport>
|