<?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="boletin_cont" language="groovy" pageWidth="1300" pageHeight="612" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1260" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="1.2100000000000029"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<property name="ireport.jasperserver.reportUnit" value="/reports/inventario/boletin_cont"/>
	<property name="ireport.jasperserver.url" value="http://localhost:18091/jasperserver/services/repository"/>
	<parameter name="vigencia" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="id_meses" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="whereLinea" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="whereGrupoAlmacenamiento" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="whereCenOp" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="whereGrupo" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="whereTipoTransac1" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="username" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[SELECT * FROM(

select distinct tabFin.*, tabFin.costo_hist+( tabFin.valor_valoracion + tabFin.valor_deterioro - tabFin.valor_residual )-(tabFin.depre_acum+tabFin.depre_mes) as valor_lib from (


select

case
when tab0.id_grupo_almacenamiento is not null then tab0.id_grupo_almacenamiento
else table2.id_grupo_almacenamiento
end as id_grupo,

case
when tab0.digitos is not null then tab0.digitos
else table2.digitos
end as digitos,

case
when tab0.nom_cuenta is not null then tab0.nom_cuenta
else table2.nom_cuenta
end as nom_cuenta,

case
when tab0.id_clase is not null then tab0.id_clase
else table2.id_clase
end as id_clase,

case
when tab0.costo_hist is not null then tab0.costo_hist
when table2.costo_hist is not null then table2.costo_hist
end as costo_hist,

case
when tab0.depre_mes is not null then tab0.depre_mes
else 0
end as depre_mes,

case
when tab0.valor_lib is not null then tab0.valor_lib
else table2.valor_lib
end as valor_lib2,

case
when tab0.valor_valoracion is not null then tab0.valor_valoracion
else table2.valor_valoracion
end as valor_valoracion,

case
when tab0.valor_deterioro is not null then tab0.valor_deterioro
else table2.valor_deterioro
end as valor_deterioro,

case
when tab0.valor_residual is not null then tab0.valor_residual
else table2.valor_residual
end as valor_residual,

case
when tab0.id_linea is not null then tab0.id_linea
else table2.id_linea
end as id_linea,

case
when tab0.cod_aux is not null then tab0.cod_aux
else table2.cod_aux
end as cod_aux,

case
when tab0.nom_aux is not null then tab0.nom_aux
else table2.nom_aux
end as nom_aux,

case
when table2.depre_acum is not null then table2.depre_acum
else 0
end as depre_acum,

tab6.caracteres, tab6.descripcion as desc_clase, tab7.digitos as linea, tab8.descripcion as desc_grup,
(select descripcion as mes from meses
  where id_meses=$P{id_meses}
) as mes,

(select prefijo from centro_operacion tab0
  where 1=1  and rownum=1
  $P!{whereCenOp}
) as nom_cen_op
from

(
    select
    tab2.id_grupo_almacenamiento, tab1.digitos, tab1.nom_cuenta, tab.id_clase, sum(tab.costo_inicial) as costo_hist,
    sum(case when tab5.id_meses = $P{id_meses} and tab5.id_vigencia = $P{vigencia} then tab5.valor_depreciado else 0 end) as depre_mes,
    sum(tab0.costo_actual) as valor_lib,
    sum(tab0.valor_valoracion) as valor_valoracion,
    sum(tab0.valor_deterioro) as valor_deterioro,
    sum(tab0.valor_residual) as valor_residual,
    tab.id_linea, tab1.cod_aux, tab1.nom_aux

    from in_inventario_dv tab
    join in_saldo_inventario_dv tab0 on tab0.id_inventario_dv = tab.id_inventario_dv and tab0.id_vigencia = $P{vigencia} and tab0.id_meses= $P{id_meses}
    join in_tipo_almacenamiento tab2 on tab0.id_tipo_almacenamiento= tab2.id_tipo_almacenamiento
    left join in_param_contab tab1 on tab1.id_clase=tab.id_clase and tab1.id_linea= tab.id_linea and tab1.id_grupo=tab2.id_grupo_almacenamiento
    $P!{whereTipoTransac1}
    left join  (
                   select
                   aut.id_inventario_dv,
                   aut.id_vigencia,
                   aut.id_meses,
                   sum(aut.num_dias) as num_dias,
                   sum(aut.valor_depreciado) as valor_depreciado
                   from in_depreciacion aut
                   group by
                   aut.id_inventario_dv,
                   aut.id_vigencia,
                   aut.id_meses
    )tab5 on tab5.id_inventario_dv = tab.id_inventario_dv and tab5.id_meses = $P{id_meses} and tab5.id_vigencia = $P{vigencia}

    left join in_tipo_transac tab4 on tab1.id_tipo_transac= tab4.id_tipo_transac

    where 1= 1 and tab0.estado=1  and tab2.aplica_boletin = 1
    $P!{whereCenOp}


    group by tab2.id_grupo_almacenamiento, tab1.digitos, tab1.nom_cuenta, tab.id_linea, tab.id_clase,  tab1.cod_aux, tab1.nom_aux


)tab0

join in_clase tab6 on tab6.id_clase = tab0.id_clase and tab6.id_linea= tab0.id_linea
join in_linea tab7 on tab7.id_linea= tab0.id_linea
left join in_grupo_almacenamiento tab8 on tab8.id_grupo_almacenamiento= tab0.id_grupo_almacenamiento
full  join (

    select
    tab2.id_grupo_almacenamiento, tab1.digitos, tab1.nom_cuenta, tab.id_clase, sum(tab.costo_inicial) as costo_hist,
    sum(tab0.costo_actual) as valor_lib,
    sum(tab0.valor_valoracion) as valor_valoracion,
    sum(tab0.valor_deterioro) as valor_deterioro,
    sum(tab0.valor_residual) as valor_residual,
    tab.id_linea, tab1.cod_aux, tab1.nom_aux
    ,sum(tab5.valor_depreciado) as depre_acum

    from in_inventario_dv tab
    join in_saldo_inventario_dv tab0 on tab0.id_inventario_dv = tab.id_inventario_dv and tab0.id_vigencia = $P{vigencia} and tab0.id_meses= $P{id_meses}
    join in_tipo_almacenamiento tab2 on tab0.id_tipo_almacenamiento= tab2.id_tipo_almacenamiento
    left join in_param_contab tab1 on tab1.id_clase=tab.id_clase and tab1.id_linea= tab.id_linea and tab1.id_grupo=tab2.id_grupo_almacenamiento $P!{whereTipoTransac1}
    left join  (
                   select
                   aut.id_inventario_dv,
                   aut.id_vigencia,
                   aut.id_meses,
                   sum(aut.num_dias) as num_dias,
                   sum(aut.valor_depreciado) as valor_depreciado
                   from in_depreciacion aut
                   group by
                   aut.id_inventario_dv,
                   aut.id_vigencia,
                   aut.id_meses
            )tab5 on tab5.id_inventario_dv = tab0.id_inventario_dv
    left join in_tipo_transac tab4 on tab1.id_tipo_transac= tab4.id_tipo_transac

    where 1= 1 and tab0.estado=1  and tab2.aplica_boletin = 1
    and tab5.id_vigencia||lpad(tab5.id_meses,2,'0')  <  $P{vigencia}||lpad($P{id_meses},2,'0')
    $P!{whereCenOp}
    group by tab2.id_grupo_almacenamiento, tab1.digitos, tab1.nom_cuenta, tab.id_linea, tab.id_clase,  tab1.cod_aux, tab1.nom_aux

)table2 on tab0.id_grupo_almacenamiento=table2.id_grupo_almacenamiento and tab0.id_linea=table2.id_linea and tab0.id_clase=table2.id_clase and nvl(tab0.digitos,0)=nvl(table2.digitos,0)

)tabFin

)tab0
where 1=1
$P!{whereLinea}
$P!{whereGrupo}

order by desc_grup, digitos, nom_cuenta, linea, caracteres, cod_aux, nom_aux]]>
	</queryString>
	<field name="ID_GRUPO" class="java.math.BigDecimal"/>
	<field name="DIGITOS" class="java.lang.String"/>
	<field name="NOM_CUENTA" class="java.lang.String"/>
	<field name="ID_CLASE" class="java.math.BigDecimal"/>
	<field name="COSTO_HIST" class="java.math.BigDecimal"/>
	<field name="DEPRE_MES" class="java.math.BigDecimal"/>
	<field name="VALOR_LIB2" class="java.math.BigDecimal"/>
	<field name="VALOR_VALORACION" class="java.math.BigDecimal"/>
	<field name="VALOR_DETERIORO" class="java.math.BigDecimal"/>
	<field name="VALOR_RESIDUAL" class="java.math.BigDecimal"/>
	<field name="ID_LINEA" class="java.math.BigDecimal"/>
	<field name="COD_AUX" class="java.lang.String"/>
	<field name="NOM_AUX" class="java.lang.String"/>
	<field name="DEPRE_ACUM" class="java.math.BigDecimal"/>
	<field name="CARACTERES" class="java.lang.String"/>
	<field name="DESC_CLASE" class="java.lang.String"/>
	<field name="LINEA" class="java.lang.String"/>
	<field name="DESC_GRUP" class="java.lang.String"/>
	<field name="MES" class="java.lang.String"/>
	<field name="NOM_CEN_OP" class="java.lang.String"/>
	<field name="VALOR_LIB" class="java.math.BigDecimal"/>
	<variable name="total_hist_grup" class="java.math.BigDecimal" resetType="Group" resetGroup="grupo" calculation="Sum">
		<variableExpression><![CDATA[$F{COSTO_HIST}]]></variableExpression>
	</variable>
	<variable name="total_hits_cta" class="java.math.BigDecimal" resetType="Group" resetGroup="cuenta" calculation="Sum">
		<variableExpression><![CDATA[$F{COSTO_HIST}]]></variableExpression>
	</variable>
	<variable name="total_hist" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{COSTO_HIST}]]></variableExpression>
	</variable>
	<variable name="total_dep_acu_cta" class="java.math.BigDecimal" resetType="Group" resetGroup="cuenta" calculation="Sum">
		<variableExpression><![CDATA[$F{DEPRE_ACUM}]]></variableExpression>
	</variable>
	<variable name="total_dep_acu_gr" class="java.math.BigDecimal" resetType="Group" resetGroup="grupo" calculation="Sum">
		<variableExpression><![CDATA[$F{DEPRE_ACUM}]]></variableExpression>
	</variable>
	<variable name="total_dep_acu" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{DEPRE_ACUM}]]></variableExpression>
	</variable>
	<variable name="total_dep_mes_cta" class="java.math.BigDecimal" resetType="Group" resetGroup="cuenta" calculation="Sum">
		<variableExpression><![CDATA[$F{DEPRE_MES}]]></variableExpression>
	</variable>
	<variable name="total_dep_mes_gr" class="java.math.BigDecimal" resetType="Group" resetGroup="grupo" calculation="Sum">
		<variableExpression><![CDATA[$F{DEPRE_MES}]]></variableExpression>
	</variable>
	<variable name="total_dep_mes" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{DEPRE_MES}]]></variableExpression>
	</variable>
	<variable name="total_lib_cta" class="java.math.BigDecimal" resetType="Group" resetGroup="cuenta" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_LIB}]]></variableExpression>
	</variable>
	<variable name="total_lib_gr" class="java.math.BigDecimal" resetType="Group" resetGroup="grupo" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_LIB}]]></variableExpression>
	</variable>
	<variable name="total_lib" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_LIB}]]></variableExpression>
	</variable>
	<variable name="total_valo_grup" class="java.math.BigDecimal" resetType="Group" resetGroup="grupo" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_VALORACION}]]></variableExpression>
	</variable>
	<variable name="total_valo_cta" class="java.math.BigDecimal" resetType="Group" resetGroup="cuenta" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_VALORACION}]]></variableExpression>
	</variable>
	<variable name="total_valo" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_VALORACION}]]></variableExpression>
	</variable>
	<variable name="total_dete_grup" class="java.math.BigDecimal" resetType="Group" resetGroup="grupo" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_DETERIORO}]]></variableExpression>
	</variable>
	<variable name="total_dete_cta" class="java.math.BigDecimal" resetType="Group" resetGroup="cuenta" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_DETERIORO}]]></variableExpression>
	</variable>
	<variable name="total_dete" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_DETERIORO}]]></variableExpression>
	</variable>
	<variable name="total_resi_grup" class="java.math.BigDecimal" resetType="Group" resetGroup="grupo" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_RESIDUAL}]]></variableExpression>
	</variable>
	<variable name="total_resi_cta" class="java.math.BigDecimal" resetType="Group" resetGroup="cuenta" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_RESIDUAL}]]></variableExpression>
	</variable>
	<variable name="total_resi" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{VALOR_RESIDUAL}]]></variableExpression>
	</variable>
	<variable name="total_act_grup" class="java.math.BigDecimal" resetType="Group" resetGroup="grupo" calculation="Sum">
		<variableExpression><![CDATA[$F{COSTO_HIST}+$F{VALOR_VALORACION}+$F{VALOR_DETERIORO}-$F{VALOR_RESIDUAL}]]></variableExpression>
	</variable>
	<variable name="total_act_cta" class="java.math.BigDecimal" resetType="Group" resetGroup="cuenta" calculation="Sum">
		<variableExpression><![CDATA[$F{COSTO_HIST}+$F{VALOR_VALORACION}+$F{VALOR_DETERIORO}-$F{VALOR_RESIDUAL}]]></variableExpression>
	</variable>
	<variable name="total_act" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{COSTO_HIST}+$F{VALOR_VALORACION}+$F{VALOR_DETERIORO}-$F{VALOR_RESIDUAL}]]></variableExpression>
	</variable>
	<group name="grupo">
		<groupExpression><![CDATA[$F{ID_GRUPO}]]></groupExpression>
		<groupHeader>
			<band height="29">
				<textField isBlankWhenNull="true">
					<reportElement x="71" y="0" width="1189" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.0"/>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle"/>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{DESC_GRUP}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="0" y="0" width="71" height="20" isRemoveLineWhenBlank="true"/>
					<box leftPadding="2">
						<bottomPen lineWidth="0.75"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="12" isBold="true"/>
					</textElement>
					<text><![CDATA[Grupo :]]></text>
				</staticText>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="16">
				<textField>
					<reportElement mode="Opaque" x="0" y="0" width="300" height="11" forecolor="#000000" backcolor="#D8D3D3"/>
					<box leftPadding="2">
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
						<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA["TOTAL GRUPO "+$F{ID_GRUPO}+" - "+$F{DESC_GRUP}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="300" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#D8D3D3"/>
					<box leftPadding="0" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_hist_grup}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="900" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#D8D3D3"/>
					<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="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_dep_acu_gr}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="1020" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#D8D3D3"/>
					<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="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_dep_mes_gr}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="1140" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#D8D3D3"/>
					<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="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_lib_gr}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="420" y="0" width="120" height="11" backcolor="#D8D3D3"/>
					<box leftPadding="0" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_valo_grup}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="540" y="0" width="120" height="11" backcolor="#D8D3D3"/>
					<box leftPadding="0" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_dete_grup}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="660" y="0" width="120" height="11" backcolor="#D8D3D3"/>
					<box leftPadding="0" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_resi_grup}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="780" y="0" width="120" height="11" backcolor="#D8D3D3"/>
					<box leftPadding="0" rightPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_act_grup}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<group name="cuenta">
		<groupExpression><![CDATA[$F{DIGITOS}]]></groupExpression>
		<groupHeader>
			<band height="63">
				<staticText>
					<reportElement mode="Opaque" x="0" y="51" width="71" height="12" forecolor="#000000" backcolor="#64B0F7"/>
					<box leftPadding="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" rotation="None" markup="none">
						<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[Linea / Clase]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="71" y="51" width="229" height="12" forecolor="#000000" backcolor="#64B0F7"/>
					<box leftPadding="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" rotation="None" markup="none">
						<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[Descripción]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="300" y="51" width="120" height="12" forecolor="#000000" backcolor="#64B0F7"/>
					<box leftPadding="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" rotation="None" markup="none">
						<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[Costo Histórico]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="900" y="51" width="120" height="12" forecolor="#000000" backcolor="#64B0F7"/>
					<box leftPadding="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" rotation="None" markup="none">
						<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[Depreciación Acumulada]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="1020" y="51" width="120" height="12" forecolor="#000000" backcolor="#64B0F7"/>
					<box leftPadding="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" rotation="None" markup="none">
						<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[Depreciación Mes]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="1140" y="51" width="120" height="12" forecolor="#000000" backcolor="#64B0F7"/>
					<box leftPadding="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" rotation="None" markup="none">
						<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[Valor en Libros]]></text>
				</staticText>
				<textField isBlankWhenNull="true">
					<reportElement x="71" y="0" width="1189" height="20"/>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.0"/>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle"/>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{DIGITOS}==null?"Sin cuenta parametrizada":$F{DIGITOS}+" - "+$F{NOM_CUENTA}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement x="71" y="20" width="1189" height="20">
						<printWhenExpression><![CDATA[$F{COD_AUX} != null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2" rightPadding="2">
						<pen lineWidth="0.0"/>
						<topPen lineWidth="0.0"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle"/>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{COD_AUX}+" - "+$F{NOM_AUX}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="0" y="0" width="71" height="20" isRemoveLineWhenBlank="true"/>
					<box leftPadding="2">
						<bottomPen lineWidth="0.75"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="12" isBold="true"/>
					</textElement>
					<text><![CDATA[Cuenta :]]></text>
				</staticText>
				<staticText>
					<reportElement x="0" y="20" width="71" height="20" isRemoveLineWhenBlank="true">
						<printWhenExpression><![CDATA[$F{COD_AUX} != null]]></printWhenExpression>
					</reportElement>
					<box leftPadding="2">
						<bottomPen lineWidth="0.75"/>
					</box>
					<textElement verticalAlignment="Middle">
						<font size="12" isBold="true"/>
					</textElement>
					<text><![CDATA[Auxiliar :]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="420" y="51" width="120" height="12" forecolor="#000000" backcolor="#64B0F7"/>
					<box leftPadding="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" rotation="None" markup="none">
						<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[Valoraciones]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="540" y="51" width="120" height="12" forecolor="#000000" backcolor="#64B0F7"/>
					<box leftPadding="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" rotation="None" markup="none">
						<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[Deterioro]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="660" y="51" width="120" height="12" forecolor="#000000" backcolor="#64B0F7"/>
					<box leftPadding="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" rotation="None" markup="none">
						<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[Valor Residual]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="780" y="51" width="120" height="12" forecolor="#000000" backcolor="#64B0F7"/>
					<box leftPadding="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" rotation="None" markup="none">
						<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<text><![CDATA[Costo Actual]]></text>
				</staticText>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="16">
				<textField>
					<reportElement mode="Opaque" x="0" y="0" width="300" height="11" forecolor="#000000" backcolor="#E2D9D9"/>
					<box leftPadding="2">
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
						<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{DIGITOS}==null?"TOTAL CUENTA  -":"TOTAL CUENTA "+$F{DIGITOS}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="300" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#E2D9D9"/>
					<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="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_hits_cta}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="900" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#E2D9D9"/>
					<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="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_dep_acu_cta}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="1020" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#E2D9D9"/>
					<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="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_dep_mes_cta}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="1140" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#E2D9D9"/>
					<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="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_lib_cta}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="420" y="0" width="120" height="11" backcolor="#E2D9D9"/>
					<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="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_valo_cta}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="540" y="0" width="120" height="11" backcolor="#E2D9D9"/>
					<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="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_dete_cta}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="660" y="0" width="120" height="11" backcolor="#E2D9D9"/>
					<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="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_resi_cta}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="780" y="0" width="120" height="11" backcolor="#E2D9D9"/>
					<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="6" isBold="true"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_act_cta}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="60" splitType="Stretch">
			<textField pattern="dd-MMM-yyyy   hh:mm aaa">
				<reportElement mode="Opaque" x="1020" y="12" width="240" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="300" y="0" width="600" height="40"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font fontName="SansSerif" size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Sistema de Contabilidad
Informe Boletín Contable]]></text>
			</staticText>
			<image>
				<reportElement x="0" y="10" width="141" height="40"/>
				<imageExpression class="java.lang.String"><![CDATA["repo:LogoEmpresa003.jpg"]]></imageExpression>
			</image>
			<staticText>
				<reportElement mode="Opaque" x="1020" y="0" width="240" height="12" 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>
			<textField>
				<reportElement x="300" y="40" width="600" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Periodo de "+$F{MES}+" del "+$P{vigencia}]]></textFieldExpression>
			</textField>
			<textField pattern="dd-MMM-yyyy   hh:mm aaa">
				<reportElement mode="Opaque" x="1020" y="40" width="240" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[!$P{whereCenOp}.equals("")?$F{NOM_CEN_OP}:"CONSOLIDADO"]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Opaque" x="1020" y="24" width="240" 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[Centro Operación:]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band height="20" splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="8" splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="10" splitType="Stretch">
			<textField>
				<reportElement x="0" y="0" width="71" height="10"/>
				<box leftPadding="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="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{LINEA}+$F{CARACTERES}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="71" y="0" width="229" height="10"/>
				<box leftPadding="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="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DESC_CLASE}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
				<reportElement x="300" y="0" width="120" height="10"/>
				<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="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{COSTO_HIST}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
				<reportElement x="900" y="0" width="120" height="10"/>
				<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="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{DEPRE_ACUM}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
				<reportElement x="1020" y="0" width="120" height="10"/>
				<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="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{DEPRE_MES}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
				<reportElement x="1140" y="0" width="120" height="10"/>
				<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="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_LIB}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
				<reportElement x="420" y="0" width="120" height="10"/>
				<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="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_VALORACION}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
				<reportElement x="540" y="0" width="120" height="10"/>
				<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="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_DETERIORO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
				<reportElement x="660" y="0" width="120" height="10"/>
				<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="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{VALOR_RESIDUAL}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
				<reportElement x="780" y="0" width="120" height="10"/>
				<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="6"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{COSTO_HIST}+$F{VALOR_VALORACION}+$F{VALOR_DETERIORO}-$F{VALOR_RESIDUAL}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band height="11" splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="24" splitType="Stretch">
			<textField>
				<reportElement mode="Opaque" x="555" y="12" width="89" height="12" forecolor="#575757" backcolor="#FFFFFF"/>
				<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Página "+$V{PAGE_NUMBER}+" de "]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
				<reportElement mode="Opaque" x="645" y="12" width="60" height="12" forecolor="#575757" backcolor="#FFFFFF"/>
				<textElement verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement mode="Opaque" x="555" y="0" width="150" height="12" forecolor="#575757"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<text><![CDATA[Websafi - Contabilidad]]></text>
			</staticText>
			<textField>
				<reportElement mode="Opaque" x="0" y="12" width="300" height="12" forecolor="#575757" backcolor="#FFFFFF"/>
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Impreso por: "+$P{username}]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
	<summary>
		<band height="18" splitType="Stretch">
			<staticText>
				<reportElement mode="Opaque" x="0" y="0" width="300" height="11" forecolor="#000000" backcolor="#CEC9C9"/>
				<box>
					<topPen lineWidth="0.75"/>
					<leftPen lineWidth="0.75"/>
					<bottomPen lineWidth="0.75"/>
					<rightPen lineWidth="0.75"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
					<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
				</textElement>
				<text><![CDATA[TOTAL :]]></text>
			</staticText>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
				<reportElement mode="Opaque" x="1020" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#CEC9C9"/>
				<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="6" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_dep_mes}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
				<reportElement mode="Opaque" x="900" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#CEC9C9"/>
				<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="6" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_dep_acu}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
				<reportElement mode="Opaque" x="300" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#CEC9C9"/>
				<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="6" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_hist}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
				<reportElement mode="Opaque" x="1140" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#CEC9C9"/>
				<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="6" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_lib}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
				<reportElement mode="Opaque" x="420" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#CEC9C9"/>
				<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="6" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_valo}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
				<reportElement mode="Opaque" x="540" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#CEC9C9"/>
				<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="6" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_dete}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
				<reportElement mode="Opaque" x="660" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#CEC9C9"/>
				<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="6" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_resi}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
				<reportElement mode="Opaque" x="780" y="0" width="120" height="11" isRemoveLineWhenBlank="true" backcolor="#CEC9C9"/>
				<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="6" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{total_act}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="20">
			<staticText>
				<reportElement x="0" y="0" width="1260" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[No hay objetos a mostrar.]]></text>
			</staticText>
		</band>
	</noData>
</jasperReport>
