<?xml version="1.0" encoding="UTF-8"?>
<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="report name" pageWidth="1000" pageHeight="802" columnWidth="960" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="2.0"/>
	<property name="ireport.x" value="958"/>
	<property name="ireport.y" value="0"/>
	<property name="ireport.jasperserver.reportUnit" value="/reports/inventario/inf_hist_elemento"/>
	<property name="ireport.jasperserver.url" value="http://192.168.2.43:8090/jasperserver/services/repository"/>
	<parameter name="vigencia" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="id_meses" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="whereInventarioDV" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereSerie" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="wherePlaqueta" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="vigencia_mes" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="nom_periodo" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="vigper_Ini" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="wherePlaca" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[select tab0.* from
(
select tab0.id_meses, tab0.id_vigencia, cen.nom_cen_op, cod.codigo_elemento, tab1.id_inventario_dv, cod.desc_catalogo, ta.descripcion as desc_tipo_almac, inter.num_doc||' - '||inter.razon_soc as completo,
esp.descripcion as desc_espacio, estr.nombre as desc_estructura, tab1.costo_inicial, nvl(tab1.costo_inicial-nvl(tabDepre.depre_acum,0),0) as valor_libros, nvl(tabDepre.depre_acum,0) as depre_acumulada, tab0.estado as estado_inv,
tab3.nombre as nom_parte, tab3.descripcion as desc_parte, tab2.id_partes_inventario, tab2.serie, tab2.plaqueta, tab2.placa, tab2.observaciones, tab2.estado as estado_parte, tab2.codigo_bar, tab1.fecha_ingreso, tab1.vida_util, tab1.dias_depreciados, tab1.vida_util-tab1.dias_depreciados as vida_util_remanente
from in_saldo_inventario_dv tab0

join in_inventario_dv tab1 on tab0.id_inventario_dv=tab1.id_inventario_dv
join centro_operacion cen on tab0.id_cen_op=cen.id_cen_op
join in_codigo_elemento_v cod on tab1.id_linea=cod.id_linea and tab1.id_clase=cod.id_clase and tab1.id_catalogo=cod.id_catalogo
join in_tipo_almacenamiento ta on tab0.id_tipo_almacenamiento=ta.id_tipo_almacenamiento
join interceros_v inter on tab0.id_mae_ter=inter.id_mae_ter
join in_espacio esp on tab0.id_espacio=esp.id_espacio
join in_estructura estr on esp.id_estructura=estr.id_estructura
left join in_partes_inventario tab2 on tab0.id_inventario_dv=tab2.id_inventario_dv
left join in_partes_clase tab3 on tab2.id_partes_clase=tab3.id_partes_clase
left join (


select
tab0.id_inventario_dv,
sum(tab0.valor_depreciado) as depre_acum

from in_depreciacion tab0
where 1= 1 and tab0.id_vigencia||lpad(tab0.id_meses,2,'0')  <=  $P{vigencia}||lpad($P{id_meses},2,'0')
group by tab0.id_inventario_dv

)tabDepre on tab0.id_inventario_dv =tabDepre.id_inventario_dv

)tab0
where tab0.id_meses=$P{id_meses} and tab0.id_vigencia=$P{vigencia}
and tab0.id_vigencia||lpad(tab0.id_meses, 2, '0') <= $P{vigper_Ini}
$P!{whereInventarioDV}
$P!{whereSerie}
$P!{wherePlaqueta}
$P!{wherePlaca}

order by tab0.id_inventario_dv, tab0.id_partes_inventario]]>
	</queryString>
	<field name="ID_MESES" class="java.math.BigDecimal"/>
	<field name="ID_VIGENCIA" class="java.math.BigDecimal"/>
	<field name="NOM_CEN_OP" class="java.lang.String"/>
	<field name="CODIGO_ELEMENTO" class="java.lang.String"/>
	<field name="ID_INVENTARIO_DV" class="java.math.BigDecimal"/>
	<field name="DESC_CATALOGO" class="java.lang.String"/>
	<field name="DESC_TIPO_ALMAC" class="java.lang.String"/>
	<field name="COMPLETO" class="java.lang.String"/>
	<field name="DESC_ESPACIO" class="java.lang.String"/>
	<field name="DESC_ESTRUCTURA" class="java.lang.String"/>
	<field name="COSTO_INICIAL" class="java.math.BigDecimal"/>
	<field name="VALOR_LIBROS" class="java.math.BigDecimal"/>
	<field name="DEPRE_ACUMULADA" class="java.math.BigDecimal"/>
	<field name="ESTADO_INV" class="java.math.BigDecimal"/>
	<field name="NOM_PARTE" class="java.lang.String"/>
	<field name="DESC_PARTE" class="java.lang.String"/>
	<field name="ID_PARTES_INVENTARIO" class="java.math.BigDecimal"/>
	<field name="SERIE" class="java.lang.String"/>
	<field name="PLAQUETA" class="java.math.BigDecimal"/>
	<field name="PLACA" class="java.lang.String"/>
	<field name="OBSERVACIONES" class="java.lang.String"/>
	<field name="ESTADO_PARTE" class="java.math.BigDecimal"/>
	<field name="CODIGO_BAR" class="java.lang.String"/>
	<field name="FECHA_INGRESO" class="java.sql.Timestamp"/>
	<field name="VIDA_UTIL" class="java.math.BigDecimal"/>
	<field name="DIAS_DEPRECIADOS" class="java.math.BigDecimal"/>
	<field name="VIDA_UTIL_REMANENTE" class="java.math.BigDecimal"/>
	<group name="inventario">
		<groupExpression><![CDATA[$F{ID_INVENTARIO_DV}]]></groupExpression>
		<groupHeader>
			<band height="156">
				<staticText>
					<reportElement mode="Opaque" x="0" y="138" width="84" height="18" backcolor="#88C2F9">
						<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Parte Inventario]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="345" y="138" width="85" height="18" backcolor="#88C2F9">
						<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Sec. Parte]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="430" y="138" width="75" height="18" backcolor="#88C2F9">
						<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Serie]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="505" y="138" width="65" height="18" backcolor="#88C2F9">
						<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Plaqueta]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="570" y="138" width="65" height="18" backcolor="#88C2F9">
						<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Placa]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="84" y="138" width="261" height="18" backcolor="#88C2F9">
						<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Descripción Parte]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="765" y="138" width="195" height="18" backcolor="#88C2F9">
						<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Observaciones]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="700" y="138" width="65" height="18" backcolor="#88C2F9">
						<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Estado]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="635" y="138" width="65" height="18" backcolor="#88C2F9">
						<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Código Barras]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="765" y="84" width="76" height="18" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Depreciación Acumulada]]></text>
				</staticText>
				<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="841" y="102" width="75" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_LIBROS}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="262" y="84" width="84" height="18" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Estructura]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="178" y="84" width="84" height="18" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Responsable]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="430" y="84" width="75" height="18" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Costo Histórico]]></text>
				</staticText>
				<textField isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="916" y="102" width="43" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{ESTADO_INV}.intValueExact()==1?"Activo":"Inactivo"]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="841" y="84" width="75" height="18" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Valor Libros]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="178" y="102" width="84" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{COMPLETO}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="0" y="84" width="84" height="18" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Centro Operación]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="916" y="84" width="43" height="18" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Estado]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="84" y="102" width="94" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{DESC_TIPO_ALMAC}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="765" y="102" width="76" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{DEPRE_ACUMULADA}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="346" y="84" width="84" height="18" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Espacio]]></text>
				</staticText>
				<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="430" y="102" width="75" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{COSTO_INICIAL}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="0" y="102" width="84" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{NOM_CEN_OP}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="84" y="84" width="94" height="18" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Tipo Almacenamiento]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="346" y="102" width="84" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{DESC_ESPACIO}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="262" y="102" width="84" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{DESC_ESTRUCTURA}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="0" y="64" width="116" height="20"/>
					<box>
						<bottomPen lineWidth="0.75"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="12" isBold="true"/>
					</textElement>
					<text><![CDATA[Estado Actual:]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="505" y="84" width="65" height="18" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Fecha Ingreso]]></text>
				</staticText>
				<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="505" y="102" width="65" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.util.Date"><![CDATA[$F{FECHA_INGRESO}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="570" y="84" width="65" height="18" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Vida Útil]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="635" y="84" width="65" height="18" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Vida Útil depreciada]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="700" y="84" width="65" height="18" backcolor="#88C2F9"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="7" isBold="true"/>
					</textElement>
					<text><![CDATA[Vida Útil Remanente]]></text>
				</staticText>
				<textField pattern="###0;-###0" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="570" y="102" width="65" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VIDA_UTIL}]]></textFieldExpression>
				</textField>
				<textField pattern="###0;-###0" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="635" y="102" width="65" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{DIAS_DEPRECIADOS}]]></textFieldExpression>
				</textField>
				<textField pattern="###0;-###0" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="700" y="102" width="65" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VIDA_UTIL_REMANENTE}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="230" y="0" width="459" height="18"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.0"/>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="10" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA["No. Secuencia: "+$F{ID_INVENTARIO_DV}+"    Codigo: "+$F{CODIGO_ELEMENTO}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
					<reportElement stretchType="RelativeToTallestObject" x="229" y="18" width="459" height="18"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.0"/>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.0"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="10" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA["Descripción: "+$F{DESC_CATALOGO}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="424" splitType="Immediate">
				<subreport>
					<reportElement positionType="Float" x="1" y="9" width="959" height="100" isRemoveLineWhenBlank="true"/>
					<subreportParameter name="whereSerie">
						<subreportParameterExpression><![CDATA[$P{whereSerie}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="vigper_Ini">
						<subreportParameterExpression><![CDATA[$P{vigper_Ini}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="id_meses">
						<subreportParameterExpression><![CDATA[$P{id_meses}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="vigencia_mes">
						<subreportParameterExpression><![CDATA[$P{vigencia_mes}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="vigencia">
						<subreportParameterExpression><![CDATA[$P{vigencia}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="wherePlaqueta">
						<subreportParameterExpression><![CDATA[$P{wherePlaqueta}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="wherePlaca">
						<subreportParameterExpression><![CDATA[$P{wherePlaca}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="nom_periodo">
						<subreportParameterExpression><![CDATA[$P{nom_periodo}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="whereInventarioDV">
						<subreportParameterExpression><![CDATA[$P{whereInventarioDV}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="ID_INVENTARIO_DV">
						<subreportParameterExpression><![CDATA[$F{ID_INVENTARIO_DV}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression class="java.lang.String"><![CDATA["repo:hist_element_entradas"]]></subreportExpression>
				</subreport>
				<subreport>
					<reportElement positionType="Float" x="1" y="114" width="960" height="100" isRemoveLineWhenBlank="true"/>
					<subreportParameter name="whereSerie">
						<subreportParameterExpression><![CDATA[$P{whereSerie}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="vigper_Ini">
						<subreportParameterExpression><![CDATA[$P{vigper_Ini}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="id_meses">
						<subreportParameterExpression><![CDATA[$P{id_meses}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="vigencia_mes">
						<subreportParameterExpression><![CDATA[$P{vigencia_mes}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="vigencia">
						<subreportParameterExpression><![CDATA[$P{vigencia}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="wherePlaqueta">
						<subreportParameterExpression><![CDATA[$P{wherePlaqueta}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="wherePlaca">
						<subreportParameterExpression><![CDATA[$P{wherePlaca}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="whereInventarioDV">
						<subreportParameterExpression><![CDATA[$P{whereInventarioDV}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="nom_periodo">
						<subreportParameterExpression><![CDATA[$P{nom_periodo}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="ID_INVENTARIO_DV">
						<subreportParameterExpression><![CDATA[$F{ID_INVENTARIO_DV}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression class="java.lang.String"><![CDATA["repo:hist_element_traslados"]]></subreportExpression>
				</subreport>
				<subreport>
					<reportElement positionType="Float" x="1" y="219" width="958" height="100" isRemoveLineWhenBlank="true"/>
					<subreportParameter name="whereSerie">
						<subreportParameterExpression><![CDATA[$P{whereSerie}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="vigper_Ini">
						<subreportParameterExpression><![CDATA[$P{vigper_Ini}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="id_meses">
						<subreportParameterExpression><![CDATA[$P{id_meses}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="vigencia_mes">
						<subreportParameterExpression><![CDATA[$P{vigencia_mes}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="vigencia">
						<subreportParameterExpression><![CDATA[$P{vigencia}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="wherePlaqueta">
						<subreportParameterExpression><![CDATA[$P{wherePlaqueta}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="wherePlaca">
						<subreportParameterExpression><![CDATA[$P{wherePlaca}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="whereInventarioDV">
						<subreportParameterExpression><![CDATA[$P{whereInventarioDV}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="nom_periodo">
						<subreportParameterExpression><![CDATA[$P{nom_periodo}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="ID_INVENTARIO_DV">
						<subreportParameterExpression><![CDATA[$F{ID_INVENTARIO_DV}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression class="java.lang.String"><![CDATA["repo:hist_element_salidas"]]></subreportExpression>
				</subreport>
				<subreport>
					<reportElement x="1" y="324" width="959" height="100" isRemoveLineWhenBlank="true"/>
					<subreportParameter name="whereSerie">
						<subreportParameterExpression><![CDATA[$P{whereSerie}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="vigper_Ini">
						<subreportParameterExpression><![CDATA[$P{vigper_Ini}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="id_meses">
						<subreportParameterExpression><![CDATA[$P{id_meses}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="vigencia_mes">
						<subreportParameterExpression><![CDATA[$P{vigencia_mes}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="vigencia">
						<subreportParameterExpression><![CDATA[$P{vigencia}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="wherePlaqueta">
						<subreportParameterExpression><![CDATA[$P{wherePlaqueta}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="wherePlaca">
						<subreportParameterExpression><![CDATA[$P{wherePlaca}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="whereInventarioDV">
						<subreportParameterExpression><![CDATA[$P{whereInventarioDV}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="nom_periodo">
						<subreportParameterExpression><![CDATA[$P{nom_periodo}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter name="ID_INVENTARIO_DV">
						<subreportParameterExpression><![CDATA[$F{ID_INVENTARIO_DV}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression class="java.lang.String"><![CDATA["repo:hist_element_fotos"]]></subreportExpression>
				</subreport>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<pageHeader>
		<band height="90" splitType="Stretch">
			<textField pattern="dd/MM/yyyy h:mm a">
				<reportElement x="808" y="30" width="144" height="16"/>
				<box rightPadding="3"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="185" y="0" width="565" height="59"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font fontName="SansSerif" size="24" isBold="true"/>
				</textElement>
				<text><![CDATA[Control De Recursos Físicos
Informe Histórico por Elemento]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="806" y="18" width="144" height="16" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[Fecha de Impresión:]]></text>
			</staticText>
			<image>
				<reportElement x="10" y="1" width="175" height="58"/>
				<imageExpression class="java.lang.String"><![CDATA["repo:LogoEmpresa003.jpg"]]></imageExpression>
			</image>
			<textField>
				<reportElement x="379" y="59" width="153" height="20"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Periodo de "+$P{nom_periodo}+" del "+$P{vigencia}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="12">
			<printWhenExpression><![CDATA[$V{PAGE_NUMBER}==1]]></printWhenExpression>
		</band>
	</columnHeader>
	<detail>
		<band height="20" splitType="Stretch">
			<textField isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="84" height="20">
					<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NOM_PARTE}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="84" y="0" width="261" height="20">
					<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DESC_PARTE}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="345" y="0" width="85" height="20">
					<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{ID_PARTES_INVENTARIO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="430" y="0" width="75" height="20">
					<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{SERIE}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="505" y="0" width="65" height="20">
					<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{PLAQUETA}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="570" y="0" width="65" height="20">
					<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{PLACA}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="765" y="0" width="195" height="20">
					<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{OBSERVACIONES}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="700" y="0" width="65" height="20">
					<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="2" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{ESTADO_PARTE}.intValueExact()==1?"Activo":"Inactivo"]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement stretchType="RelativeToTallestObject" x="635" y="0" width="65" height="20">
					<printWhenExpression><![CDATA[$F{ID_PARTES_INVENTARIO}!=null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="0" rightPadding="2">
					<pen lineWidth="0.75"/>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{CODIGO_BAR}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<pageFooter>
		<band height="70" splitType="Stretch">
			<staticText>
				<reportElement x="379" y="12" width="203" height="20"/>
				<textElement/>
				<text><![CDATA[Websafi - Control De Recursos Físicos
]]></text>
			</staticText>
			<textField>
				<reportElement x="413" y="32" width="100" height="20"/>
				<textElement/>
				<textFieldExpression class="java.lang.String"><![CDATA["Página "+$V{PAGE_NUMBER}+" de "]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="472" y="32" width="100" height="20"/>
				<textElement/>
				<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
</jasperReport>
