conf conexion reporte expedientes por seccion

parent b71aaca1
<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.15" id="1">
<property name="createdBy">Eclipse BIRT Designer Version 2.2.2.r222_v20071226 Build &lt;2.2.2.v20080227-1131></property>
<property name="units">in</property>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.23" id="1">
<property name="comments">Copyright (c) 2007 &lt;&lt;Your Company Name here>></property>
<property name="createdBy">Eclipse BIRT Designer Version 4.6.0.v201606072122</property>
<property name="units">in</property>
<method name="initialize"><![CDATA[if (params["param_estado"] != ''){
if(params["param_estado"] == 'P'){
params["estado"] = params["estado"] + "Pendiente";
......@@ -15,64 +15,75 @@
}
}]]></method>
<text-property name="displayName">Template Reporte</text-property>
<property name="layoutPreference">auto layout</property>
<parameters>
<scalar-parameter name="param_anho" id="603">
<property name="valueType">static</property>
<property name="isRequired">true</property>
<property name="dataType">string</property>
<property name="distinct">true</property>
<simple-property-list name="defaultValue">
<value type="constant"></value>
</simple-property-list>
<property name="paramType">simple</property>
<property name="concealValue">false</property>
<property name="isRequired">true</property>
<property name="controlType">text-box</property>
<property name="defaultValue"></property>
<property name="distinct">true</property>
<structure name="format">
<property name="category">Unformatted</property>
</structure>
</scalar-parameter>
<scalar-parameter name="param_estado" id="604">
<property name="valueType">static</property>
<property name="isRequired">true</property>
<property name="dataType">string</property>
<property name="distinct">true</property>
<simple-property-list name="defaultValue">
<value type="constant"></value>
</simple-property-list>
<property name="paramType">simple</property>
<property name="isRequired">true</property>
<property name="controlType">text-box</property>
<property name="defaultValue"></property>
<property name="distinct">true</property>
<structure name="format">
<property name="category">Unformatted</property>
</structure>
</scalar-parameter>
<scalar-parameter name="param_cod_inst" id="605">
<property name="valueType">static</property>
<property name="isRequired">true</property>
<property name="dataType">string</property>
<property name="distinct">true</property>
<simple-property-list name="defaultValue">
<value type="constant"></value>
</simple-property-list>
<property name="paramType">simple</property>
<property name="isRequired">true</property>
<property name="controlType">text-box</property>
<property name="defaultValue"></property>
<property name="distinct">true</property>
<structure name="format">
<property name="category">Unformatted</property>
</structure>
</scalar-parameter>
<scalar-parameter name="param_secc_padre" id="606">
<property name="valueType">static</property>
<property name="isRequired">false</property>
<property name="dataType">string</property>
<property name="distinct">true</property>
<simple-property-list name="defaultValue">
<value type="constant"></value>
</simple-property-list>
<property name="paramType">simple</property>
<property name="isRequired">false</property>
<property name="controlType">text-box</property>
<property name="defaultValue"></property>
<property name="distinct">true</property>
<structure name="format">
<property name="category">Unformatted</property>
</structure>
</scalar-parameter>
<scalar-parameter name="estado" id="669">
<property name="valueType">static</property>
<property name="isRequired">false</property>
<property name="dataType">string</property>
<property name="distinct">true</property>
<simple-property-list name="defaultValue">
<value type="constant"></value>
</simple-property-list>
<property name="paramType">simple</property>
<property name="isRequired">false</property>
<property name="controlType">text-box</property>
<property name="defaultValue"></property>
<property name="distinct">true</property>
<structure name="format">
<property name="category">Unformatted</property>
</structure>
......@@ -80,10 +91,26 @@
</parameters>
<data-sources>
<oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="expedientesDS" id="601">
<list-property name="privateDriverProperties">
<ex-property>
<name>metadataBidiFormatStr</name>
<value>ILYNN</value>
</ex-property>
<ex-property>
<name>disabledMetadataBidiFormatStr</name>
</ex-property>
<ex-property>
<name>contentBidiFormatStr</name>
<value>ILYNN</value>
</ex-property>
<ex-property>
<name>disabledContentBidiFormatStr</name>
</ex-property>
</list-property>
<property name="odaDriverClass">org.postgresql.Driver</property>
<property name="odaURL">jdbc:postgresql://sbd2.rec.una.py/gdoc</property>
<property name="odaUser">gdocweb</property>
<encrypted-property name="odaPassword" encryptionID="base64">ZXhwMDAw</encrypted-property>
<property name="odaURL">jdbc:postgresql://apps.una.py:5432/gdoc_pol</property>
<property name="odaUser">insweb</property>
<encrypted-property name="odaPassword" encryptionID="base64">aW5zY2l2aWwxMw==</encrypted-property>
</oda-data-source>
</data-sources>
<data-sets>
......@@ -91,27 +118,65 @@
<list-property name="columnHints">
<structure>
<property name="columnName">cod_seccion</property>
<property name="displayName">cod_seccion</property>
<text-property name="displayName">cod_seccion</text-property>
</structure>
<structure>
<property name="columnName">nombre_seccion</property>
<property name="displayName">nombre_seccion</property>
<text-property name="displayName">nombre_seccion</text-property>
</structure>
<structure>
<property name="columnName">nombre_seccion_padre</property>
<property name="displayName">nombre_seccion_padre</property>
<text-property name="displayName">nombre_seccion_padre</text-property>
</structure>
<structure>
<property name="columnName">cantidad</property>
<property name="displayName">cantidad</property>
<text-property name="displayName">cantidad</text-property>
</structure>
<structure>
<property name="columnName">responsable</property>
<property name="displayName">responsable</property>
<text-property name="displayName">responsable</text-property>
</structure>
<structure>
<property name="columnName">seccion_padre</property>
<property name="displayName">seccion_padre</property>
<text-property name="displayName">seccion_padre</text-property>
</structure>
</list-property>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
<property name="paramName">param_anho</property>
<property name="nativeName"></property>
<property name="dataType">integer</property>
<property name="nativeDataType">4</property>
<property name="position">1</property>
<property name="isOptional">false</property>
<property name="allowNull">true</property>
<property name="isInput">true</property>
<property name="isOutput">false</property>
</structure>
<structure>
<property name="name">param_2</property>
<property name="paramName">param_estado</property>
<property name="nativeName"></property>
<property name="dataType">string</property>
<property name="nativeDataType">1</property>
<property name="position">2</property>
<property name="isOptional">false</property>
<property name="allowNull">true</property>
<property name="isInput">true</property>
<property name="isOutput">false</property>
</structure>
<structure>
<property name="name">param_3</property>
<property name="paramName">param_cod_inst</property>
<property name="nativeName"></property>
<property name="dataType">string</property>
<property name="nativeDataType">1</property>
<property name="position">3</property>
<property name="isOptional">false</property>
<property name="allowNull">true</property>
<property name="isInput">true</property>
<property name="isOutput">false</property>
</structure>
</list-property>
<structure name="cachedMetaData">
......@@ -148,7 +213,6 @@
</structure>
</list-property>
</structure>
<property name="dataSource">expedientesDS</property>
<method name="beforeOpen"><![CDATA[// Si llega una seccion padre, se muestran los hijos de dicha seccion,
// o de lo contrario las secciones sin padres
if (params["param_secc_padre"] != ''){
......@@ -159,44 +223,7 @@ if (params["param_secc_padre"] != ''){
// Se ordena las secciones por nombre
this.queryText = this.queryText + " ORDER BY s.nombre_seccion DESC"]]></method>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
<property name="paramName">param_anho</property>
<property name="nativeName"></property>
<property name="dataType">integer</property>
<property name="nativeDataType">4</property>
<property name="position">1</property>
<property name="isOptional">false</property>
<property name="allowNull">true</property>
<property name="isInput">true</property>
<property name="isOutput">false</property>
</structure>
<structure>
<property name="name">param_2</property>
<property name="paramName">param_estado</property>
<property name="nativeName"></property>
<property name="dataType">string</property>
<property name="nativeDataType">1</property>
<property name="position">2</property>
<property name="isOptional">false</property>
<property name="allowNull">true</property>
<property name="isInput">true</property>
<property name="isOutput">false</property>
</structure>
<structure>
<property name="name">param_3</property>
<property name="paramName">param_cod_inst</property>
<property name="nativeName"></property>
<property name="dataType">string</property>
<property name="nativeDataType">1</property>
<property name="position">3</property>
<property name="isOptional">false</property>
<property name="allowNull">true</property>
<property name="isInput">true</property>
<property name="isOutput">false</property>
</structure>
</list-property>
<property name="dataSource">expedientesDS</property>
<list-property name="resultSet">
<structure>
<property name="position">1</property>
......@@ -241,7 +268,7 @@ this.queryText = this.queryText + " ORDER BY s.nombre_seccion DESC"]]></method>
<property name="nativeDataType">12</property>
</structure>
</list-property>
<property name="queryText">SELECT s.cod_seccion, s.nombre_seccion,
<xml-property name="queryText"><![CDATA[SELECT s.cod_seccion, s.nombre_seccion,
sp.nombre_seccion AS nombre_seccion_padre,
f_get_cantXseccion( s.cod_institucion, ?, s.cod_seccion, ? ) AS cantidad,
(f.nombre || ' ' || f.apellido) AS responsable,
......@@ -250,7 +277,7 @@ this.queryText = this.queryText + " ORDER BY s.nombre_seccion DESC"]]></method>
FROM seccion s LEFT OUTER JOIN funcionario f ON f.cedula = s.responsable
LEFT OUTER JOIN seccion sp ON sp.cod_seccion = s.seccion_padre
WHERE s.cod_institucion = ?</property>
WHERE s.cod_institucion = ?]]></xml-property>
<xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
<Version>1.0</Version>
......@@ -442,19 +469,9 @@ WHERE s.cod_institucion = ?</property>
<list-property name="columnHints">
<structure>
<property name="columnName">nombre_seccion</property>
<property name="displayName">nombre_seccion</property>
<text-property name="displayName">nombre_seccion</text-property>
</structure>
</list-property>
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">nombre_seccion</property>
<property name="dataType">string</property>
</structure>
</list-property>
</structure>
<property name="dataSource">expedientesDS</property>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
......@@ -469,6 +486,16 @@ WHERE s.cod_institucion = ?</property>
<property name="isOutput">false</property>
</structure>
</list-property>
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">nombre_seccion</property>
<property name="dataType">string</property>
</structure>
</list-property>
</structure>
<property name="dataSource">expedientesDS</property>
<list-property name="resultSet">
<structure>
<property name="position">1</property>
......@@ -478,10 +505,10 @@ WHERE s.cod_institucion = ?</property>
<property name="nativeDataType">12</property>
</structure>
</list-property>
<property name="queryText">SELECT public.seccion.nombre_seccion
<xml-property name="queryText"><![CDATA[SELECT public.seccion.nombre_seccion
FROM public.seccion
WHERE public.seccion.cod_seccion = ?</property>
WHERE public.seccion.cod_seccion = ?]]></xml-property>
<xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
<Version>1.0</Version>
......@@ -568,13 +595,13 @@ WHERE public.seccion.cod_seccion = ?</property>
<page-setup>
<simple-master-page name="Simple MasterPage" id="2">
<property name="type">custom</property>
<property name="height">216mm</property>
<property name="width">330mm</property>
<property name="orientation">landscape</property>
<property name="topMargin">0.25in</property>
<property name="leftMargin">0.5in</property>
<property name="bottomMargin">0.25in</property>
<property name="rightMargin">0.5in</property>
<property name="height">216mm</property>
<property name="width">330mm</property>
<property name="showHeaderOnFirst">false</property>
<page-footer>
<grid id="592">
......@@ -1073,6 +1100,37 @@ WHERE public.seccion.cod_seccion = ?</property>
<Enable>true</Enable>
<LegendBehavior>HighlightSerie</LegendBehavior>
</Interactivity>
<EmptyMessage>
<Caption>
<Value></Value>
<Font>
<Alignment/>
</Font>
</Caption>
<Background xsi:type="attribute:ColorDefinition">
<Transparency>0</Transparency>
<Red>255</Red>
<Green>255</Green>
<Blue>255</Blue>
</Background>
<Outline>
<Style>Solid</Style>
<Thickness>1</Thickness>
<Color>
<Transparency>255</Transparency>
<Red>0</Red>
<Green>0</Green>
<Blue>0</Blue>
</Color>
</Outline>
<Insets>
<Top>0.0</Top>
<Left>2.0</Left>
<Bottom>0.0</Bottom>
<Right>3.0</Right>
</Insets>
<Visible>false</Visible>
</EmptyMessage>
<Axes>
<Type>Text</Type>
<Title>
......@@ -1408,7 +1466,7 @@ WHERE public.seccion.cod_seccion = ?</property>
</Series>
<Grouping>
<Enabled>false</Enabled>
<GroupingInterval>2</GroupingInterval>
<GroupingInterval>2.0</GroupingInterval>
<GroupType>Text</GroupType>
<AggregateExpression>Sum</AggregateExpression>
</Grouping>
......@@ -1767,7 +1825,7 @@ WHERE public.seccion.cod_seccion = ?</property>
</Series>
<Grouping>
<Enabled>false</Enabled>
<GroupingInterval>2</GroupingInterval>
<GroupingInterval>2.0</GroupingInterval>
<GroupType>Text</GroupType>
<AggregateExpression>Sum</AggregateExpression>
</Grouping>
......@@ -1885,9 +1943,9 @@ WHERE public.seccion.cod_seccion = ?</property>
]]></xml-property>
<property name="outputFormat">PNG</property>
<property name="marginTop">0pt</property>
<property name="dataSet">PorSeccionDSet</property>
<property name="height">5.7604166667in</property>
<property name="width">10.375in</property>
<property name="dataSet">PorSeccionDSet</property>
<list-property name="boundDataColumns">
<structure>
<property name="name">cod_seccion</property>
......@@ -1947,7 +2005,7 @@ WHERE public.seccion.cod_seccion = ?</property>
0FJ8N0MrLnXxuLM47j4WZw0jN8OPKy+rs7L1wqYv8GmunRP36PoUhhc6vm74U8GhX4CjXnb5we8t03V6
+RUMS99vpT9IqqKkDv35PVeVFQEowNgMBubw32hguWefYKRRwAQOfoRUzIU6CFESehti6CELNnTYnYUf
lhgCChSKQEKKJrbo4osfRgAAOw==
</property>
</property>
</structure>
<structure>
<property name="name">gdoc4.jpg</property>
......@@ -1992,7 +2050,7 @@ WHERE public.seccion.cod_seccion = ?</property>
pIHf3oooshe0ne93f1M7/hSXhr+9c/8Af01s6B8M/Dvh66F1bWxknHR5DkiiiiyQSqTlpJtnQaxoen67
ZG01C3WaI9mHSuPT4N+FVn8w27sM52FjiiiiyEpSSsmdppmj2Oj2otrG3SGMDGFHWuW174WeG9fvnu7i
2Mc7nLtGcbj70UU7CUmtjPtfgt4YtbqOcJKxRtwDNkV6JFEsMSxIMKowB7UUUA23uf/Z
</property>
</property>
</structure>
</list-property>
</report>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment