Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
B
birt for gdoc2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
José Emmanuel Noguera
birt for gdoc2
Commits
fc16f917
Commit
fc16f917
authored
Aug 16, 2019
by
José Emmanuel Noguera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reporte expedientes por tramite detallado
parent
2ef7c040
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
183 additions
and
234 deletions
+183
-234
exped_x_tramite_det.rptdesign
exped_x_tramite/exped_x_tramite_det.rptdesign
+183
-234
No files found.
exped_x_tramite/exped_x_tramite_det.rptdesign
View file @
fc16f917
...
...
@@ -2,6 +2,20 @@
<report
xmlns=
"http://www.eclipse.org/birt/2005/design"
version=
"3.2.23"
id=
"1"
>
<property
name=
"comments"
>
Copyright (c) 2007
<<
Your Company Name here>>
</property>
<property
name=
"createdBy"
>
Eclipse BIRT Designer Version 4.6.0.v201606072122
</property>
<list-property
name=
"propertyBindings"
>
<structure>
<property
name=
"name"
>
queryText
</property>
<property
name=
"id"
>
602
</property>
</structure>
<structure>
<property
name=
"name"
>
queryTimeOut
</property>
<property
name=
"id"
>
602
</property>
</structure>
<structure>
<property
name=
"name"
>
rowFetchSize
</property>
<property
name=
"id"
>
602
</property>
</structure>
</list-property>
<property
name=
"units"
>
in
</property>
<method
name=
"initialize"
>
<![CDATA[if (params["param_estado"] != ''){
if(params["param_estado"] == 'P'){
...
...
@@ -115,25 +129,31 @@
</data-sources>
<data-sets>
<oda-data-set
extensionID=
"org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet"
name=
"PorTramiteDSet"
id=
"602"
>
<property
name=
"nullsOrdering"
>
nulls lowest
</property>
<list-property
name=
"columnHints"
>
<structure>
<property
name=
"columnName"
>
cod_tramite
</property>
<property
name=
"analysis"
>
dimension
</property>
<text-property
name=
"displayName"
>
cod_tramite
</text-property>
</structure>
<structure>
<property
name=
"columnName"
>
nombre_tramite
</property>
<property
name=
"columnName"
>
nombre
</property>
<property
name=
"analysis"
>
dimension
</property>
<text-property
name=
"displayName"
>
nombre_tramite
</text-property>
</structure>
<structure>
<property
name=
"columnName"
>
cantidad_expedientes
</property>
<property
name=
"analysis"
>
measure
</property>
<text-property
name=
"displayName"
>
cantidad_expedientes
</text-property>
</structure>
<structure>
<property
name=
"columnName"
>
nombre_seccion
</property>
<property
name=
"analysis"
>
dimension
</property>
<text-property
name=
"displayName"
>
nombre_seccion
</text-property>
</structure>
<structure>
<property
name=
"columnName"
>
responsable
</property>
<property
name=
"analysis"
>
dimension
</property>
<text-property
name=
"displayName"
>
responsable
</text-property>
</structure>
</list-property>
...
...
@@ -143,7 +163,7 @@
<property
name=
"paramName"
>
param_cod_inst
</property>
<property
name=
"nativeName"
></property>
<property
name=
"dataType"
>
string
</property>
<property
name=
"nativeDataType"
>
1
</property>
<property
name=
"nativeDataType"
>
1
2
</property>
<property
name=
"position"
>
1
</property>
<property
name=
"isOptional"
>
false
</property>
<property
name=
"isInput"
>
true
</property>
...
...
@@ -165,7 +185,7 @@
<property
name=
"paramName"
>
param_estado
</property>
<property
name=
"nativeName"
></property>
<property
name=
"dataType"
>
string
</property>
<property
name=
"nativeDataType"
>
1
</property>
<property
name=
"nativeDataType"
>
1
2
</property>
<property
name=
"position"
>
3
</property>
<property
name=
"isOptional"
>
false
</property>
<property
name=
"allowNull"
>
true
</property>
...
...
@@ -177,7 +197,7 @@
<property
name=
"paramName"
>
param_cod_tramite
</property>
<property
name=
"nativeName"
></property>
<property
name=
"dataType"
>
string
</property>
<property
name=
"nativeDataType"
>
1
</property>
<property
name=
"nativeDataType"
>
1
2
</property>
<property
name=
"position"
>
4
</property>
<property
name=
"isOptional"
>
false
</property>
<property
name=
"allowNull"
>
true
</property>
...
...
@@ -194,7 +214,7 @@
</structure>
<structure>
<property
name=
"position"
>
2
</property>
<property
name=
"name"
>
nombre
_tramite
</property>
<property
name=
"name"
>
nombre
</property>
<property
name=
"dataType"
>
string
</property>
</structure>
<structure>
...
...
@@ -214,268 +234,196 @@
</structure>
</list-property>
</structure>
<property
name=
"dataSource"
>
expedientesDS
</property>
<list-property
name=
"resultSet"
>
<structure>
<property
name=
"position"
>
1
</property>
<property
name=
"name"
>
cod_tramite
</property>
<property
name=
"nativeName"
>
cod_tramite
</property>
<property
name=
"dataType"
>
string
</property>
<property
name=
"nativeDataType"
>
12
</property>
</structure>
<structure>
<property
name=
"position"
>
2
</property>
<property
name=
"name"
>
nombre_tramite
</property>
<property
name=
"nativeName"
>
nombre
_tramite
</property>
<property
name=
"nativeName"
>
nombre
</property>
<property
name=
"dataType"
>
string
</property>
<property
name=
"nativeDataType"
>
12
</property>
</structure>
<structure>
<property
name=
"position"
>
3
</property>
<property
name=
"name"
>
cantidad_expedientes
</property>
<property
name=
"nativeName"
>
cantidad_expedientes
</property>
<property
name=
"dataType"
>
decimal
</property>
<property
name=
"nativeDataType"
>
-5
</property>
</structure>
<structure>
<property
name=
"position"
>
4
</property>
<property
name=
"name"
>
nombre_seccion
</property>
<property
name=
"nativeName"
>
nombre_seccion
</property>
<property
name=
"dataType"
>
string
</property>
<property
name=
"nativeDataType"
>
12
</property>
</structure>
<structure>
<property
name=
"position"
>
5
</property>
<property
name=
"name"
>
responsable
</property>
<property
name=
"nativeName"
>
responsable
</property>
<property
name=
"dataType"
>
string
</property>
<property
name=
"nativeDataType"
>
12
</property>
</structure>
</list-property>
<xml-property
name=
"queryText"
>
<![CDATA[SELECT t.cod_tramite, t.nombre_tramite, count(e.*) AS cantidad_expedientes,
s.nombre_seccion, f.nombre ||' '|| f.apellido AS responsable
FROM tramite t INNER JOIN expediente e ON e.cod_tramite = t.cod_tramite
INNER JOIN det_expediente det ON det.cod_institucion = e.cod_institucion
AND det.anho_expediente = e.anho_expediente
AND det.nro_expediente = e.nro_expediente
INNER JOIN seccion s ON s.cod_seccion = det.cod_seccion
LEFT OUTER JOIN funcionario f ON f.cedula = s.responsable
WHERE e.cod_institucion = ?
AND e.anho_expediente = ?
AND det.status = ?
AND t.cod_tramite = ?
GROUP BY t.cod_tramite, t.nombre_tramite, s.nombre_seccion, f.nombre, f.apellido
ORDER BY s.nombre_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>
<design:DataSetParameters>
<design:parameterDefinitions>
<design:inOutMode>
In
</design:inOutMode>
<design:attributes>
<design:name></design:name>
<design:position>
1
</design:position>
<design:nativeDataTypeCode>
1
</design:nativeDataTypeCode>
<design:nullability>
Unknown
</design:nullability>
<design:uiHints/>
</design:attributes>
<design:inputAttributes>
<design:elementAttributes>
<design:defaultScalarValue>
REC
</design:defaultScalarValue>
<design:optional>
false
</design:optional>
<design:masksValue>
false
</design:masksValue>
<design:uiHints>
<design:promptStyle>
TextField
</design:promptStyle>
</design:uiHints>
</design:elementAttributes>
</design:inputAttributes>
</design:parameterDefinitions>
<design:parameterDefinitions>
<design:inOutMode>
In
</design:inOutMode>
<design:attributes>
<design:name></design:name>
<design:position>
2
</design:position>
<design:nativeDataTypeCode>
4
</design:nativeDataTypeCode>
<design:nullability>
Unknown
</design:nullability>
<design:uiHints/>
</design:attributes>
<design:inputAttributes>
<design:elementAttributes>
<design:defaultScalarValue>
2008
</design:defaultScalarValue>
<design:optional>
false
</design:optional>
<design:masksValue>
false
</design:masksValue>
<design:uiHints>
<design:promptStyle>
TextField
</design:promptStyle>
</design:uiHints>
</design:elementAttributes>
</design:inputAttributes>
</design:parameterDefinitions>
<design:parameterDefinitions>
<design:inOutMode>
In
</design:inOutMode>
<design:attributes>
<design:name></design:name>
<design:position>
3
</design:position>
<design:nativeDataTypeCode>
1
</design:nativeDataTypeCode>
<design:nullability>
Unknown
</design:nullability>
<design:uiHints/>
</design:attributes>
<design:inputAttributes>
<design:elementAttributes>
<design:defaultScalarValue>
P
</design:defaultScalarValue>
<design:optional>
false
</design:optional>
<design:masksValue>
false
</design:masksValue>
<design:uiHints>
<design:promptStyle>
TextField
</design:promptStyle>
</design:uiHints>
</design:elementAttributes>
</design:inputAttributes>
</design:parameterDefinitions>
<design:parameterDefinitions>
<design:inOutMode>
In
</design:inOutMode>
<design:attributes>
<design:name></design:name>
<design:position>
4
</design:position>
<design:nativeDataTypeCode>
1
</design:nativeDataTypeCode>
<design:nullability>
Unknown
</design:nullability>
<design:uiHints/>
</design:attributes>
<design:inputAttributes>
<design:elementAttributes>
<design:defaultScalarValue>
AT
</design:defaultScalarValue>
<design:optional>
false
</design:optional>
<design:masksValue>
false
</design:masksValue>
<design:uiHints>
<design:promptStyle>
TextField
</design:promptStyle>
</design:uiHints>
</design:elementAttributes>
</design:inputAttributes>
</design:parameterDefinitions>
</design:DataSetParameters>
<design:ResultSets
derivedMetaData=
"true"
>
<design:resultSetDefinitions>
<design:resultSetColumns>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>
cod_seccion
</design:name>
<design:position>
1
</design:position>
<design:nativeDataTypeCode>
12
</design:nativeDataTypeCode>
<design:precision>
5
</design:precision>
<design:scale>
0
</design:scale>
<design:nullability>
NotNullable
</design:nullability>
<design:uiHints>
<design:displayName>
cod_seccion
</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>
cod_seccion
</design:label>
<design:formattingHints>
<design:displaySize>
5
</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>
nombre_seccion
</design:name>
<design:position>
2
</design:position>
<design:nativeDataTypeCode>
12
</design:nativeDataTypeCode>
<design:precision>
100
</design:precision>
<design:scale>
0
</design:scale>
<design:nullability>
NotNullable
</design:nullability>
<design:uiHints>
<design:displayName>
nombre_seccion
</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>
nombre_seccion
</design:label>
<design:formattingHints>
<design:displaySize>
100
</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>
nombre_seccion_padre
</design:name>
<design:position>
3
</design:position>
<design:nativeDataTypeCode>
12
</design:nativeDataTypeCode>
<design:precision>
100
</design:precision>
<design:scale>
0
</design:scale>
<design:nullability>
NotNullable
</design:nullability>
<design:uiHints>
<design:displayName>
nombre_seccion_padre
</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>
nombre_seccion_padre
</design:label>
<design:formattingHints>
<design:displaySize>
100
</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>
cantidad
</design:name>
<design:position>
4
</design:position>
<design:nativeDataTypeCode>
4
</design:nativeDataTypeCode>
<design:precision>
10
</design:precision>
<design:scale>
0
</design:scale>
<design:nullability>
Unknown
</design:nullability>
<design:uiHints>
<design:displayName>
cantidad
</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>
cantidad
</design:label>
<design:formattingHints>
<design:displaySize>
11
</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>
responsable
</design:name>
<design:position>
5
</design:position>
<design:nativeDataTypeCode>
12
</design:nativeDataTypeCode>
<design:precision>
0
</design:precision>
<design:scale>
0
</design:scale>
<design:nullability>
Unknown
</design:nullability>
<design:uiHints>
<design:displayName>
responsable
</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>
responsable
</design:label>
<design:formattingHints>
<design:displaySize>
2147483647
</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>
seccion_padre
</design:name>
<design:position>
6
</design:position>
<design:nativeDataTypeCode>
12
</design:nativeDataTypeCode>
<design:precision>
5
</design:precision>
<design:scale>
0
</design:scale>
<design:nullability>
Nullable
</design:nullability>
<design:uiHints>
<design:displayName>
seccion_padre
</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>
seccion_padre
</design:label>
<design:formattingHints>
<design:displaySize>
5
</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
</design:resultSetColumns>
</design:resultSetDefinitions>
</design:ResultSets>
<xml-property
name=
"queryText"
>
<![CDATA[SELECT t.codigo as cod_tramite, t.nombre as nombre_tramite, count(e.*) AS cantidad_expedientes,
s.nombre as nombre_seccion, f.name ||' '|| f.surname AS responsable
FROM tramite t INNER JOIN expediente e ON e.tramite_id = t.id
INNER JOIN detexpediente det ON det.codinstitucion = e.codinstitucion
AND det.anhoexpediente = e.anhoexpediente
AND det.numeroexpediente = e.numeroexpediente
INNER JOIN seccion s ON s.id = det.seccion_id
LEFT OUTER JOIN userinfo f ON f.id = s.usuarioresponsable_id
left outer join institucion i on i.id = e.institucion_id
WHERE i.codigo = ?
AND e.anhoexpediente = ?
AND det.estadoseccion = ?
AND t.codigo = ?
GROUP BY t.codigo, t.nombre, s.nombre, f.name, f.surname
ORDER BY s.nombre]]>
</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>
2.0
</Version>
<design:ResultSets
derivedMetaData=
"true"
>
<design:resultSetDefinitions>
<design:resultSetColumns>
<design:resultColumnDefinitions>
<design:attributes>
<design:identifier>
<design:name>
cod_seccion
</design:name>
<design:position>
1
</design:position>
</design:identifier>
<design:nativeDataTypeCode>
12
</design:nativeDataTypeCode>
<design:precision>
5
</design:precision>
<design:scale>
0
</design:scale>
<design:nullability>
NotNullable
</design:nullability>
<design:uiHints>
<design:displayName>
cod_seccion
</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>
cod_seccion
</design:label>
<design:formattingHints>
<design:displaySize>
5
</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:identifier>
<design:name>
nombre_seccion
</design:name>
<design:position>
2
</design:position>
</design:identifier>
<design:nativeDataTypeCode>
12
</design:nativeDataTypeCode>
<design:precision>
100
</design:precision>
<design:scale>
0
</design:scale>
<design:nullability>
NotNullable
</design:nullability>
<design:uiHints>
<design:displayName>
nombre_seccion
</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>
nombre_seccion
</design:label>
<design:formattingHints>
<design:displaySize>
100
</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:identifier>
<design:name>
nombre_seccion_padre
</design:name>
<design:position>
3
</design:position>
</design:identifier>
<design:nativeDataTypeCode>
12
</design:nativeDataTypeCode>
<design:precision>
100
</design:precision>
<design:scale>
0
</design:scale>
<design:nullability>
NotNullable
</design:nullability>
<design:uiHints>
<design:displayName>
nombre_seccion_padre
</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>
nombre_seccion_padre
</design:label>
<design:formattingHints>
<design:displaySize>
100
</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:identifier>
<design:name>
cantidad
</design:name>
<design:position>
4
</design:position>
</design:identifier>
<design:nativeDataTypeCode>
4
</design:nativeDataTypeCode>
<design:precision>
10
</design:precision>
<design:scale>
0
</design:scale>
<design:nullability>
Unknown
</design:nullability>
<design:uiHints>
<design:displayName>
cantidad
</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>
cantidad
</design:label>
<design:formattingHints>
<design:displaySize>
11
</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:identifier>
<design:name>
responsable
</design:name>
<design:position>
5
</design:position>
</design:identifier>
<design:nativeDataTypeCode>
12
</design:nativeDataTypeCode>
<design:precision>
0
</design:precision>
<design:scale>
0
</design:scale>
<design:nullability>
Unknown
</design:nullability>
<design:uiHints>
<design:displayName>
responsable
</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>
responsable
</design:label>
<design:formattingHints>
<design:displaySize>
2147483647
</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:identifier>
<design:name>
seccion_padre
</design:name>
<design:position>
6
</design:position>
</design:identifier>
<design:nativeDataTypeCode>
12
</design:nativeDataTypeCode>
<design:precision>
5
</design:precision>
<design:scale>
0
</design:scale>
<design:nullability>
Nullable
</design:nullability>
<design:uiHints>
<design:displayName>
seccion_padre
</design:displayName>
</design:uiHints>
</design:attributes>
<design:usageHints>
<design:label>
seccion_padre
</design:label>
<design:formattingHints>
<design:displaySize>
5
</design:displaySize>
</design:formattingHints>
</design:usageHints>
</design:resultColumnDefinitions>
</design:resultSetColumns>
</design:resultSetDefinitions>
</design:ResultSets>
</model:DesignValues>
]]>
</xml-property>
</oda-data-set>
<oda-data-set
extensionID=
"org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet"
name=
"SeccionDset"
id=
"680"
>
<list-property
name=
"columnHints"
>
<structure>
<property
name=
"columnName"
>
nombre_tramite
</property>
<property
name=
"columnName"
>
nombre
</property>
<property
name=
"analysis"
>
dimension
</property>
<text-property
name=
"displayName"
>
nombre_tramite
</text-property>
</structure>
</list-property>
...
...
@@ -501,18 +449,19 @@
</structure>
</list-property>
</structure>
<property
name=
"dataSource"
>
expedientesDS
</property>
<list-property
name=
"resultSet"
>
<structure>
<property
name=
"position"
>
1
</property>
<property
name=
"name"
>
nombre_tramite
</property>
<property
name=
"nativeName"
>
nombre
_tramite
</property>
<property
name=
"nativeName"
>
nombre
</property>
<property
name=
"dataType"
>
string
</property>
<property
name=
"nativeDataType"
>
12
</property>
</structure>
</list-property>
<xml-property
name=
"queryText"
>
<![CDATA[
select public.tramite.nombre_tramit
e
<xml-property
name=
"queryText"
>
<![CDATA[
select public.tramite.nombr
e
from public.tramite
WHERE public.tramite.cod
_tramite
= ?]]>
</xml-property>
WHERE public.tramite.cod
igo
= ?]]>
</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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment