150 lines
7.2 KiB
XML
Executable File
150 lines
7.2 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Created with Jaspersoft Studio version 5.6.1.final using JasperReports Library version 5.6.1 -->
|
|
<!-- 2015-05-18T12:19:16 -->
|
|
<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="userprofilesubreport" language="groovy" pageWidth="545" pageHeight="802" columnWidth="545" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="027b9f69-a8b1-4a8b-b2f5-9a40a3d73b01">
|
|
<property name="ireport.zoom" value="1.0"/>
|
|
<property name="ireport.x" value="0"/>
|
|
<property name="ireport.y" value="0"/>
|
|
<property name="com.jaspersoft.studio.unit." value="pixel"/>
|
|
<template><![CDATA[$P{pathstyle}]]></template>
|
|
<parameter name="profilecode" class="java.lang.String"/>
|
|
<parameter name="pathstyle" class="java.lang.String">
|
|
<defaultValueExpression><![CDATA["repo:/maia/1/style/style"]]></defaultValueExpression>
|
|
</parameter>
|
|
<parameter name="company" class="java.lang.Integer" isForPrompting="false">
|
|
<defaultValueExpression><![CDATA[1]]></defaultValueExpression>
|
|
</parameter>
|
|
<queryString language="SQL">
|
|
<![CDATA[select TSUP.PROFILECODE,
|
|
TSUP.USERCODE,
|
|
(select TCPD.NAME
|
|
from TCUSTPERSONDETAIL TCPD
|
|
where TCPD.PERSONCODE =
|
|
(select TSUDA.PERSONCODE
|
|
from TSAFEUSERDETAIL TSUDA
|
|
where TSUDA.USERCODE = TSUP.USERCODE
|
|
and TSUDA.DATETO = TSUP.DATETO
|
|
and TSUDA.COMPANYCODE = 1)
|
|
and TCPD.DATETO = TSUP.DATETO) NAME,
|
|
(select min(TSUP.DATEFROM)
|
|
from TSAFEUSERPROFILE TSUP
|
|
where TSUP.USERCODE = TSUP.USERCODE
|
|
and TSUP.PROFILECODE = TSUP.PROFILECODE) FINGRESO,
|
|
TSUP.INGRESSUSER,
|
|
(select TCPD.NAME
|
|
from TCUSTPERSONDETAIL TCPD
|
|
where TCPD.PERSONCODE =
|
|
(select TSUDA.PERSONCODE
|
|
from TSAFEUSERDETAIL TSUDA
|
|
where TSUDA.USERCODE = TSUP.INGRESSUSER
|
|
and TSUDA.DATETO = TSUP.DATETO
|
|
and TSUDA.COMPANYCODE = 1)
|
|
and TCPD.DATETO = TSUP.DATETO) NUSERINGRESO
|
|
from TSAFEUSERPROFILE TSUP
|
|
where TSUP.DATETO = to_date('29991231','yyyymmdd') and TSUP.PROFILECODE = $P{profilecode}
|
|
order by 3]]>
|
|
</queryString>
|
|
<field name="PROFILECODE" class="java.lang.String"/>
|
|
<field name="USERCODE" class="java.lang.String"/>
|
|
<field name="NAME" class="java.lang.String"/>
|
|
<field name="FINGRESO" class="java.sql.Timestamp"/>
|
|
<field name="INGRESSUSER" class="java.lang.String"/>
|
|
<field name="NUSERINGRESO" class="java.lang.String"/>
|
|
<background>
|
|
<band splitType="Stretch"/>
|
|
</background>
|
|
<columnHeader>
|
|
<band height="13">
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
<staticText>
|
|
<reportElement style="headercolumn" x="0" y="0" width="100" height="13" uuid="0c705348-601d-468a-8b39-30a29729b6be">
|
|
<property name="local_mesure_unitx" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
</reportElement>
|
|
<text><![CDATA[Usuario]]></text>
|
|
</staticText>
|
|
<staticText>
|
|
<reportElement style="headercolumn" x="100" y="0" width="230" height="13" uuid="63692647-8cc7-4b2c-b67b-bdb7739fad60">
|
|
<property name="local_mesure_unitx" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
</reportElement>
|
|
<text><![CDATA[Nombre Usuario]]></text>
|
|
</staticText>
|
|
<staticText>
|
|
<reportElement style="headercolumn" x="330" y="0" width="115" height="13" uuid="3e31aa4d-c2b4-487a-8d3d-79ee0a3225c5">
|
|
<property name="local_mesure_unitx" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
</reportElement>
|
|
<textElement textAlignment="Left"/>
|
|
<text><![CDATA[Fecha ingreso]]></text>
|
|
</staticText>
|
|
<staticText>
|
|
<reportElement style="headercolumn" x="445" y="0" width="100" height="13" uuid="1aa582b9-b964-45d4-b01b-b39cf64c720e">
|
|
<property name="local_mesure_unitx" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
</reportElement>
|
|
<text><![CDATA[Usuario Ingreso]]></text>
|
|
</staticText>
|
|
</band>
|
|
</columnHeader>
|
|
<detail>
|
|
<band height="13" splitType="Stretch">
|
|
<property name="local_mesure_unitheight" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.height" value="px"/>
|
|
<textField isBlankWhenNull="true">
|
|
<reportElement style="detail" x="0" y="0" width="100" height="13" uuid="1ea51b98-218d-4d0f-952b-0eed3ce55e75">
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
</reportElement>
|
|
<textElement verticalAlignment="Middle">
|
|
<font size="9"/>
|
|
</textElement>
|
|
<textFieldExpression><![CDATA[$F{USERCODE}]]></textFieldExpression>
|
|
</textField>
|
|
<textField isBlankWhenNull="true">
|
|
<reportElement style="detail" x="100" y="0" width="230" height="13" uuid="d4bfba8f-8973-45af-bdf2-4796f259fde9">
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
</reportElement>
|
|
<textElement verticalAlignment="Middle">
|
|
<font size="9"/>
|
|
</textElement>
|
|
<textFieldExpression><![CDATA[$F{NAME}]]></textFieldExpression>
|
|
</textField>
|
|
<textField pattern="yyyy-MM-dd HH:mm:ss" isBlankWhenNull="true">
|
|
<reportElement style="detail" x="330" y="0" width="115" height="13" uuid="0a955d23-debf-4faa-bb63-30182695424d">
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
<property name="local_mesure_unitx" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
|
</reportElement>
|
|
<textElement verticalAlignment="Middle">
|
|
<font size="9"/>
|
|
</textElement>
|
|
<textFieldExpression><![CDATA[$F{FINGRESO}]]></textFieldExpression>
|
|
</textField>
|
|
<textField isBlankWhenNull="true">
|
|
<reportElement style="detail" x="445" y="0" width="100" height="13" uuid="9bd90bbe-9960-46e5-87df-bf25ea0288c5">
|
|
<property name="local_mesure_unitx" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.x" value="px"/>
|
|
<property name="local_mesure_unitwidth" value="pixel"/>
|
|
<property name="com.jaspersoft.studio.unit.width" value="px"/>
|
|
</reportElement>
|
|
<textElement verticalAlignment="Middle">
|
|
<font size="9"/>
|
|
</textElement>
|
|
<textFieldExpression><![CDATA[$F{INGRESSUSER}]]></textFieldExpression>
|
|
</textField>
|
|
</band>
|
|
</detail>
|
|
</jasperReport>
|