<?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="Libro_auxiliares_group_new" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="1.3310000000000013"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="1"/>
	<property name="ireport.jasperserver.reportUnit" value="/services/Otros/Jasper17"/>
	<property name="ireport.jasperserver.url" value="http://localhost:8081/jasperserver/services/repository"/>
	<parameter name="id_cia" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="id_catalogo" class="java.math.BigDecimal"/>
	<parameter name="id_cuenta_mayor" class="java.math.BigDecimal"/>
	<parameter name="id_grupo_cuenta" class="java.math.BigDecimal"/>
	<parameter name="id_clase_cuenta" class="java.math.BigDecimal"/>
	<parameter name="id_cen_op" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="vigper_Ini" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="vigper_Fin" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="vig_ini" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="vig_fin" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="per_ini" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="per_fin" class="java.math.BigDecimal">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="nom_cen_op" class="java.lang.String"/>
	<parameter name="nom_periodo_ini" class="java.lang.String"/>
	<parameter name="nom_periodo_fin" class="java.lang.String"/>
	<parameter name="whereAuxiliar" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="whereTercero" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="whereClase" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="whereCuenta" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="whereGrupo" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="whereCatalogo" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="haveCenOp" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="clase_saldo" class="java.lang.String"/>
	<parameter name="grupo_saldo" class="java.lang.String"/>
	<parameter name="cuenta_saldo" class="java.lang.String"/>
	<parameter name="catalogo_saldo" class="java.lang.String"/>
	<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA["/home/acontreras/reports-dev/reports-dev_contab/Libro_auxiliares/"]]></defaultValueExpression>
	</parameter>
	<parameter name="whereCenOp" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<parameter name="where_cuenta_saldo" class="java.lang.String">
		<defaultValueExpression><![CDATA[" "]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[SELECT
TAB.*,
--saldo de auxiliar y/o tercero saldo anterior
NVL( (
SELECT
SUM(SALDO_ANTERIOR) as saldo_anterior
    FROM CN_SALDO sal
    WHERE sal.SUBCUENTA = tab.cuenta
    AND sal.ID_VIGENCIA = $P{vig_ini}
    AND sal.ID_PERIODO_CONTABLE = $P{per_ini}
    AND sal.ID_CIA = $P{id_cia}
    $P!{whereCenOp}

   --have auxiliar
     AND NVL(sal.ID_AUXILIAR,0) =
      (CASE WHEN tab.ID_AUXILIAR = 0
       THEN 0
       ELSE tab.ID_AUXILIAR
       END)

    --have tercero
       AND NVL(sal.ID_MAE_TER,0) =
      (CASE WHEN tab.ID_MAE_TER = 0
       THEN 0
       ELSE tab.ID_MAE_TER
       END)
)

,0) as SALDO_ANTERIOR,
--saldo de auxiliar y/o tercero saldo anterior
NVL( (
SELECT
SUM(SALDO_ACTUAL) as SALDO_ACTUAL
    FROM CN_SALDO sal
    WHERE sal.SUBCUENTA = tab.cuenta
    AND sal.ID_VIGENCIA = $P{vig_ini}
    AND sal.ID_PERIODO_CONTABLE = $P{per_ini}
    AND sal.ID_CIA = $P{id_cia}
    $P!{whereCenOp}

   --have auxiliar
     AND NVL(sal.ID_AUXILIAR,0) =
      (CASE WHEN tab.ID_AUXILIAR = 0
       THEN 0
       ELSE tab.ID_AUXILIAR
       END)

    --have tercero
       AND NVL(sal.ID_MAE_TER,0) =
      (CASE WHEN tab.ID_MAE_TER = 0
       THEN 0
       ELSE tab.ID_MAE_TER
       END)
)

,0) as SALDO_ACTUAL
---------------------------------
,
NVL( (
SELECT
SUM(SALDO_ANTERIOR) as saldo_anterior
FROM CN_SALDO sal
Where sal.ID_VIGENCIA =$P{vig_fin}
AND sal.ID_PERIODO_CONTABLE = $P{per_fin}
AND sal.ID_CIA = $P{id_cia}
AND sal.id_clase_cuenta = Tab.id_clase_cuenta

           $P!{whereCenOp}
	$P!{haveCenOp}
	$P!{where_cuenta_saldo}
)
,0) as SALDO_ANTERIOR2a,
NVL( (
SELECT
SUM(SALDO_ACTUAL) as SALDO_ACTUAL
FROM CN_SALDO sal
Where sal.ID_VIGENCIA = $P{vig_fin}
AND sal.ID_PERIODO_CONTABLE = $P{per_fin}
AND sal.ID_CIA = $P{id_cia}
AND sal.id_clase_cuenta = Tab.id_clase_cuenta

           $P!{whereCenOp}
	$P!{haveCenOp}
	$P!{where_cuenta_saldo}
),0) as SALDO_ACTUAL2a

---------------------------------
,
NVL( (
SELECT
SUM(SALDO_ANTERIOR) as saldo_anterior
FROM CN_SALDO sal
Where sal.ID_VIGENCIA =$P{vig_fin}
AND sal.ID_PERIODO_CONTABLE = $P{per_fin}
AND sal.ID_CIA = $P{id_cia}
AND sal.id_clase_cuenta = Tab.id_clase_cuenta
and sal.id_grupo_cuenta = Tab.id_grupo_cuenta

           $P!{whereCenOp}
	$P!{haveCenOp}
	$P!{where_cuenta_saldo}
)
,0) as SALDO_ANTERIOR2b,
NVL( (
SELECT
SUM(SALDO_ACTUAL) as SALDO_ACTUAL
FROM CN_SALDO sal
Where sal.ID_VIGENCIA = $P{vig_fin}
AND sal.ID_PERIODO_CONTABLE = $P{per_fin}
AND sal.ID_CIA = $P{id_cia}

AND sal.id_clase_cuenta = Tab.id_clase_cuenta
and sal.id_grupo_cuenta = Tab.id_grupo_cuenta

           $P!{whereCenOp}
	$P!{haveCenOp}
	$P!{where_cuenta_saldo}
),0) as SALDO_ACTUAL2b
---------------------------------
,
NVL( (
SELECT
SUM(SALDO_ANTERIOR) as saldo_anterior
FROM CN_SALDO sal
Where sal.ID_VIGENCIA =$P{vig_fin}
AND sal.ID_PERIODO_CONTABLE = $P{per_fin}
AND sal.ID_CIA = $P{id_cia}
AND sal.id_clase_cuenta = Tab.id_clase_cuenta
and sal.id_grupo_cuenta = Tab.id_grupo_cuenta
and sal.id_cuenta_mayor = Tab.id_cuenta_mayor

           $P!{whereCenOp}
	$P!{haveCenOp}
	$P!{where_cuenta_saldo}
)
,0) as SALDO_ANTERIOR2c,
NVL( (
SELECT
SUM(SALDO_ACTUAL) as SALDO_ACTUAL
FROM CN_SALDO sal
Where sal.ID_VIGENCIA = $P{vig_fin}
AND sal.ID_PERIODO_CONTABLE = $P{per_fin}
AND sal.ID_CIA = $P{id_cia}
AND sal.id_clase_cuenta = Tab.id_clase_cuenta
and sal.id_grupo_cuenta = Tab.id_grupo_cuenta
and sal.id_cuenta_mayor = Tab.id_cuenta_mayor

           $P!{whereCenOp}
	$P!{haveCenOp}
	$P!{where_cuenta_saldo}
),0) as SALDO_ACTUAL2c
--------------------------------------------------
,
NVL( (
SELECT
SUM(SALDO_ANTERIOR) as saldo_anterior
FROM CN_SALDO sal
Where Sal.Subcuenta = Tab.Cuenta
    AND  sal.ID_VIGENCIA = $P{vig_fin}
AND sal.ID_PERIODO_CONTABLE = $P{per_fin}
AND sal.ID_CIA = $P{id_cia}

           $P!{whereCenOp}
	$P!{haveCenOp}
)
,0) as SALDO_ANTERIOR3,
NVL( (
SELECT
SUM(SALDO_ACTUAL) as SALDO_ACTUAL
FROM CN_SALDO sal
Where Sal.Subcuenta = Tab.cuenta
AND ID_VIGENCIA = $P{vig_ini}
	AND ID_PERIODO_CONTABLE = $P{per_ini}
	AND ID_CIA = $P{id_cia}
           $P!{whereCenOp}
	$P!{haveCenOp}
),0) as SALDO_ACTUAL3

--------------------------------------------------
,
NVL( (
SELECT
SUM(SALDO_ANTERIOR) as saldo_anterior
FROM CN_SALDO sal
Where Sal.Subcuenta = Tab.Cuenta
AND ID_VIGENCIA = $P{vig_fin}
	AND ID_PERIODO_CONTABLE = $P{per_fin}
	AND ID_CIA = $P{id_cia}
           $P!{whereCenOp}
	$P!{haveCenOp}
)
,0) as SALDO_ANTERIOR4,
NVL( (
SELECT
SUM(SALDO_ACTUAL) as SALDO_ACTUAL
FROM CN_SALDO sal
Where Sal.Subcuenta = Tab.Cuenta
AND ID_VIGENCIA = $P{vig_fin}
	AND ID_PERIODO_CONTABLE = $P{per_fin}
	AND ID_CIA = $P{id_cia}
           $P!{whereCenOp}
	$P!{haveCenOp}
),0) as SALDO_ACTUAL4

--------------------------------------------------

FROM (


SELECT
*
FROM
(
SELECT
cad.FECHA_CAD AS FECHA_CAD,
mov.ID_VIGENCIA || SUBSTR( '00'  || cad.ID_PERIODO_CONTABLE , -2,2 ) AS VIG_PER,
cad.ID_PERIODO_CONTABLE ,
per.NOM_PERIODO,
mov.ID_VIGENCIA,
mov.ID_MOV_CONT,
mov.ID_DOCUMENTO,
mov.ID_CAD,
mov.ID_CEN_OP,
mov.ID_CIA,
mov.ID_CATALOGO,
mov.ID_CUENTA_MAYOR,
mov.ID_GRUPO_CUENTA,
mov.ID_CLASE_CUENTA ,
NVL(mov.ID_MAE_TER, 0 ) as ID_MAE_TER,
NVL(mov.ID_AUXILIAR, 0 ) as ID_AUXILIAR,
mov.ID_MAE_TER  || mov.ID_AUXILIAR  as AUXTER,
mov.ID_SUB_AUX,
mov.ID_CENTRO_COSTO,
mov.ID_SUB_CENTRO_COSTO,
mov.DEBITO,
mov.CREDITO,
mov.VALOR_BASE,
cla.DIGITO AS dig_cla,
cla.NOMBRE AS nom_cla,
gru.DIGITO AS dig_gru,
gru.NOMBRE AS nom_gru,
cue.DIGITOS AS dig_cue,
cue.NOMBRE AS nom_cue,
cat.DIGITOS AS dig_cat,
cat.NOMBRE AS nom_cat,
tc.NOM_CORTO,
tc.NOM_TIPO_COMPROBANTE,
td.NOMBRE as NOM_TD,
doc.DESCR_MTO,
doc.DOC_SOPORTE,
cue.NATURALEZA,
cla.DIGITO || gru.DIGITO || cue.DIGITOS || cat.DIGITOS as cuenta

FROM CN_MOVIMIENTO_CONTABLE mov

JOIN CN_CONTROL_CAD cad ON
mov.ID_CAD = cad.ID_CAD
AND mov.ID_VIGENCIA = cad.ID_VIGENCIA
AND mov.ID_CEN_OP = cad.ID_CEN_OP
AND mov.ID_CIA = cad.ID_CIA

JOIN CN_TIPO_COMPROBANTE tc
 ON cad.ID_CIA = tc.ID_CIA
AND cad.ID_TIPO_COMPROBANTE = tc.ID_TIPO_COMPROBANTE

JOIN CN_DOCUMENTO doc
 ON doc.ID_CIA = mov.ID_CIA
AND doc.ID_CAD = mov.ID_CAD
AND doc.ID_DOCUMENTO = mov.ID_DOCUMENTO
AND doc.ID_CEN_OP = mov.ID_CEN_OP
AND doc.ID_VIGENCIA = mov.ID_VIGENCIA

JOIN CN_TD td ON
td.ID_TD = doc.ID_TD

JOIN CN_PERIODO_CONTABLE  per ON
per.ID_PERIODO_CONTABLE = cad.ID_PERIODO_CONTABLE

JOIN CN_CLASE_CUENTA cla ON
cla.ID_CIA = mov.ID_CIA
AND cla.ID_CLASE_CUENTA = mov.ID_CLASE_CUENTA

JOIN CN_GRUPO_CUENTA gru ON
gru.ID_CIA = mov.ID_CIA
AND gru.ID_CLASE_CUENTA = mov.ID_CLASE_CUENTA
AND gru.ID_GRUPO_CUENTA = mov.ID_GRUPO_CUENTA

JOIN CN_CUENTA_MAYOR cue ON
cue.ID_CIA = mov.ID_CIA
AND cue.ID_CLASE_CUENTA = mov.ID_CLASE_CUENTA
AND cue.ID_GRUPO_CUENTA = mov.ID_GRUPO_CUENTA
AND cue.ID_CUENTA_MAYOR = mov.ID_CUENTA_MAYOR

JOIN CN_CATALOGO cat ON
cat.ID_CIA = mov.ID_CIA
AND cat.ID_CLASE_CUENTA = mov.ID_CLASE_CUENTA
AND cat.ID_GRUPO_CUENTA = mov.ID_GRUPO_CUENTA
AND cat.ID_CUENTA_MAYOR = mov.ID_CUENTA_MAYOR
AND cat.ID_CATALOGO = mov.ID_CATALOGO



)
lib
where
lib.VIG_PER between $P{vigper_Ini} AND $P{vigper_Fin}
AND lib.ID_CIA = $P{id_cia}
$P!{whereCenOp}

$P!{whereClase} $P!{whereGrupo} $P!{whereCuenta} $P!{whereCatalogo}
$P!{whereTercero} $P!{whereAuxiliar}


ORDER BY
lib.dig_cla ASC,
lib.dig_gru ASC,
lib.dig_cue ASC,
lib.dig_cat ASC,
lib.VIG_PER ASC,
lib.FECHA_CAD ASC,
lib.ID_MOV_CONT ASC

)

tab]]>
	</queryString>
	<field name="FECHA_CAD" class="java.sql.Timestamp"/>
	<field name="VIG_PER" class="java.lang.String"/>
	<field name="ID_PERIODO_CONTABLE" class="java.math.BigDecimal"/>
	<field name="NOM_PERIODO" class="java.lang.String"/>
	<field name="ID_VIGENCIA" class="java.math.BigDecimal"/>
	<field name="ID_MOV_CONT" class="java.math.BigDecimal"/>
	<field name="ID_DOCUMENTO" class="java.math.BigDecimal"/>
	<field name="ID_CAD" class="java.math.BigDecimal"/>
	<field name="ID_CEN_OP" class="java.math.BigDecimal"/>
	<field name="ID_CIA" class="java.math.BigDecimal"/>
	<field name="ID_CATALOGO" class="java.math.BigDecimal"/>
	<field name="ID_CUENTA_MAYOR" class="java.math.BigDecimal"/>
	<field name="ID_GRUPO_CUENTA" class="java.math.BigDecimal"/>
	<field name="ID_CLASE_CUENTA" class="java.math.BigDecimal"/>
	<field name="ID_MAE_TER" class="java.math.BigDecimal"/>
	<field name="ID_AUXILIAR" class="java.math.BigDecimal"/>
	<field name="AUXTER" class="java.lang.String"/>
	<field name="ID_SUB_AUX" class="java.math.BigDecimal"/>
	<field name="ID_CENTRO_COSTO" class="java.math.BigDecimal"/>
	<field name="ID_SUB_CENTRO_COSTO" class="java.math.BigDecimal"/>
	<field name="DEBITO" class="java.math.BigDecimal"/>
	<field name="CREDITO" class="java.math.BigDecimal"/>
	<field name="VALOR_BASE" class="java.math.BigDecimal"/>
	<field name="DIG_CLA" class="java.lang.String"/>
	<field name="NOM_CLA" class="java.lang.String"/>
	<field name="DIG_GRU" class="java.lang.String"/>
	<field name="NOM_GRU" class="java.lang.String"/>
	<field name="DIG_CUE" class="java.lang.String"/>
	<field name="NOM_CUE" class="java.lang.String"/>
	<field name="DIG_CAT" class="java.lang.String"/>
	<field name="NOM_CAT" class="java.lang.String"/>
	<field name="NOM_CORTO" class="java.lang.String"/>
	<field name="NOM_TIPO_COMPROBANTE" class="java.lang.String"/>
	<field name="NOM_TD" class="java.lang.String"/>
	<field name="DESCR_MTO" class="java.lang.String"/>
	<field name="DOC_SOPORTE" class="java.lang.String"/>
	<field name="NATURALEZA" class="java.lang.String"/>
	<field name="CUENTA" class="java.lang.String"/>
	<field name="SALDO_ANTERIOR" class="java.math.BigDecimal"/>
	<field name="SALDO_ACTUAL" class="java.math.BigDecimal"/>
	<field name="SALDO_ANTERIOR2A" class="java.math.BigDecimal"/>
	<field name="SALDO_ACTUAL2A" class="java.math.BigDecimal"/>
	<field name="SALDO_ANTERIOR2B" class="java.math.BigDecimal"/>
	<field name="SALDO_ACTUAL2B" class="java.math.BigDecimal"/>
	<field name="SALDO_ANTERIOR2C" class="java.math.BigDecimal"/>
	<field name="SALDO_ACTUAL2C" class="java.math.BigDecimal"/>
	<field name="SALDO_ANTERIOR3" class="java.math.BigDecimal"/>
	<field name="SALDO_ACTUAL3" class="java.math.BigDecimal"/>
	<field name="SALDO_ANTERIOR4" class="java.math.BigDecimal"/>
	<field name="SALDO_ACTUAL4" class="java.math.BigDecimal"/>
	<variable name="sum_debito_mes" class="java.math.BigDecimal" resetType="Group" resetGroup="Mes" calculation="Sum">
		<variableExpression><![CDATA[$F{DEBITO}]]></variableExpression>
	</variable>
	<variable name="sum_credito_mes" class="java.math.BigDecimal" resetType="Group" resetGroup="Mes" calculation="Sum">
		<variableExpression><![CDATA[$F{CREDITO}]]></variableExpression>
	</variable>
	<variable name="id_mae_ter" class="java.math.BigDecimal" resetType="None">
		<variableExpression><![CDATA[-1]]></variableExpression>
	</variable>
	<variable name="id_auxiliar" class="java.math.BigDecimal" resetType="None">
		<variableExpression><![CDATA[-1]]></variableExpression>
	</variable>
	<variable name="saldo_acumulado_mes" class="java.math.BigDecimal" resetType="Group" resetGroup="Group 1" incrementType="Group" incrementGroup="Mes" calculation="Sum">
		<variableExpression><![CDATA[( $F{NATURALEZA}.toString()=="D" ?
    $V{sum_debito_mes}-$V{sum_credito_mes} :
    $V{sum_credito_mes}-$V{sum_debito_mes} )]]></variableExpression>
		<initialValueExpression><![CDATA[]]></initialValueExpression>
	</variable>
	<group name="Group 1" isReprintHeaderOnEachPage="true">
		<groupExpression><![CDATA[$F{CUENTA}]]></groupExpression>
		<groupHeader>
			<band height="74">
				<staticText>
					<reportElement mode="Opaque" x="100" y="0" width="552" height="12" forecolor="#000000" backcolor="#88C2F9"/>
					<box>
						<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[Nombre cuenta]]></text>
				</staticText>
				<textField pattern="" isBlankWhenNull="false">
					<reportElement mode="Transparent" x="0" y="42" width="100" height="10" forecolor="#000000" backcolor="#FFFFFF"/>
					<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="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[$F{CUENTA}]]></textFieldExpression>
				</textField>
				<textField pattern="" isBlankWhenNull="false">
					<reportElement mode="Transparent" x="0" y="32" width="100" height="10" forecolor="#000000" backcolor="#FFFFFF"/>
					<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="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[$F{DIG_CLA}+$F{DIG_GRU}+$F{DIG_CUE}]]></textFieldExpression>
				</textField>
				<textField pattern="" isBlankWhenNull="false">
					<reportElement mode="Transparent" x="0" y="12" width="100" height="10" forecolor="#000000" backcolor="#FFFFFF"/>
					<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="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[$F{DIG_CLA}]]></textFieldExpression>
				</textField>
				<textField pattern="" isBlankWhenNull="false">
					<reportElement mode="Transparent" x="100" y="22" width="552" height="10" forecolor="#000000" backcolor="#FFFFFF"/>
					<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="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[$F{NOM_GRU}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="0" y="0" width="100" height="12" forecolor="#000000" backcolor="#88C2F9"/>
					<box>
						<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[Cuenta]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="652" y="0" width="100" height="12" forecolor="#000000" backcolor="#88C2F9"/>
					<box>
						<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[Saldo]]></text>
				</staticText>
				<textField pattern="" isBlankWhenNull="false">
					<reportElement mode="Transparent" x="0" y="22" width="100" height="10" forecolor="#000000" backcolor="#FFFFFF"/>
					<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="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[$F{DIG_CLA}+$F{DIG_GRU}]]></textFieldExpression>
				</textField>
				<textField pattern="" isBlankWhenNull="false">
					<reportElement mode="Transparent" x="100" y="12" width="552" height="10" forecolor="#000000" backcolor="#FFFFFF"/>
					<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="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[$F{NOM_CLA}]]></textFieldExpression>
				</textField>
				<textField pattern="" isBlankWhenNull="false">
					<reportElement mode="Transparent" x="100" y="32" width="552" height="10" forecolor="#000000" backcolor="#FFFFFF"/>
					<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="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[$F{NOM_CUE}]]></textFieldExpression>
				</textField>
				<textField pattern="" isBlankWhenNull="false">
					<reportElement mode="Transparent" x="100" y="42" width="552" height="10" forecolor="#000000" backcolor="#FFFFFF"/>
					<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="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[$F{NOM_CAT}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="168" y="62" width="52" height="12" forecolor="#000000" backcolor="#CBE3F9"/>
					<box>
						<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[Secuencia]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="385" y="62" width="67" height="12" forecolor="#000000" backcolor="#CBE3F9"/>
					<box>
						<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[Doc. Soporte]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="55" y="62" width="69" height="12" forecolor="#000000" backcolor="#CBE3F9"/>
					<box>
						<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[Tipo Comp.]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="652" y="62" width="100" height="12" forecolor="#000000" backcolor="#CBE3F9"/>
					<box>
						<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[Saldo]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="124" y="62" width="44" height="12" forecolor="#000000" backcolor="#CBE3F9"/>
					<box>
						<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[CAD]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="452" y="62" width="100" height="12" forecolor="#000000" backcolor="#CBE3F9"/>
					<box>
						<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[Débito]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="62" width="55" height="12" forecolor="#000000" backcolor="#CBE3F9"/>
					<box>
						<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[Fecha]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="552" y="62" width="100" height="12" forecolor="#000000" backcolor="#CBE3F9"/>
					<box>
						<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[Crédito]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="332" y="62" width="53" height="12" forecolor="#000000" backcolor="#CBE3F9"/>
					<box>
						<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[Centro Op.]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="220" y="62" width="112" height="12" forecolor="#000000" backcolor="#CBE3F9"/>
					<box>
						<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>
				<textField pattern="#,##0.00;(-#,##0.00)" isBlankWhenNull="false">
					<reportElement mode="Opaque" x="652" y="12" width="100" height="10" forecolor="#000000" backcolor="#FFFFFF"/>
					<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" 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.math.BigDecimal"><![CDATA[$F{SALDO_ACTUAL2A}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
					<reportElement mode="Opaque" x="652" y="22" width="100" height="10" forecolor="#000000" backcolor="#FFFFFF"/>
					<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" 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.math.BigDecimal"><![CDATA[$F{SALDO_ACTUAL2B}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
					<reportElement mode="Opaque" x="652" y="42" width="100" height="10" forecolor="#000000" backcolor="#FFFFFF"/>
					<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" 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.math.BigDecimal"><![CDATA[$F{SALDO_ANTERIOR3}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="false">
					<reportElement mode="Opaque" x="652" y="32" width="100" height="10" forecolor="#000000" backcolor="#FFFFFF"/>
					<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" 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.math.BigDecimal"><![CDATA[$F{SALDO_ACTUAL2C}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="33">
				<staticText>
					<reportElement mode="Opaque" x="0" y="8" width="190" height="12" backcolor="#BCBABA"/>
					<box leftPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Saldo Actual Subcuenta : ]]></text>
				</staticText>
				<textField>
					<reportElement mode="Opaque" x="190" y="8" width="462" height="12" forecolor="#000000" backcolor="#BCBABA"/>
					<box leftPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.75"/>
					</box>
					<textElement verticalAlignment="Middle" markup="none">
						<font size="8"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{CUENTA}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)">
					<reportElement mode="Opaque" x="651" y="8" width="100" height="12" backcolor="#BCBABA"/>
					<box rightPadding="3">
						<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" markup="none">
						<font size="6"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{SALDO_ACTUAL4}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<group name="Mes">
		<groupExpression><![CDATA[$F{VIG_PER}]]></groupExpression>
		<groupFooter>
			<band height="12">
				<staticText>
					<reportElement mode="Opaque" x="0" y="0" width="190" height="12" backcolor="#D2D0D0"/>
					<box leftPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.75"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="8" isBold="true"/>
					</textElement>
					<text><![CDATA[Subtotal Mes : ]]></text>
				</staticText>
				<textField>
					<reportElement mode="Opaque" x="190" y="0" width="262" height="12" forecolor="#000000" backcolor="#D2D0D0"/>
					<box leftPadding="2">
						<pen lineWidth="0.75"/>
						<topPen lineWidth="0.75"/>
						<leftPen lineWidth="0.0"/>
						<bottomPen lineWidth="0.75"/>
						<rightPen lineWidth="0.0"/>
					</box>
					<textElement verticalAlignment="Middle" markup="none">
						<font size="7"/>
					</textElement>
					<textFieldExpression class="java.lang.String"><![CDATA[$F{NOM_PERIODO}+" "+$F{ID_VIGENCIA}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="452" y="0" width="100" height="12" backcolor="#D2D0D0"/>
					<box rightPadding="3">
						<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="false"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{sum_debito_mes}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)" isBlankWhenNull="true">
					<reportElement mode="Opaque" x="552" y="0" width="100" height="12" backcolor="#D2D0D0"/>
					<box rightPadding="3">
						<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="false"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{sum_credito_mes}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;(#,##0.00)">
					<reportElement mode="Opaque" x="652" y="0" width="100" height="12" backcolor="#D2D0D0"/>
					<box rightPadding="3">
						<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" markup="none">
						<font size="6"/>
					</textElement>
					<textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{saldo_acumulado_mes} + $F{SALDO_ANTERIOR}]]></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="601" y="22" width="150" 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 mode="Opaque" x="601" y="34" width="150" 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[Centro de operacion:]]></text>
			</staticText>
			<staticText>
				<reportElement x="141" y="0" width="460" height="40"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font fontName="SansSerif" size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Sistema de Contabilidad
Libro de auxiliares]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="601" y="10" width="151" 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 Impresion:]]></text>
			</staticText>
			<textField>
				<reportElement x="141" y="40" width="460" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
					<font fontName="SansSerif" size="12" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Periodo: "+$P{nom_periodo_ini}+" de "+$P{vig_ini}+" a "+$P{nom_periodo_fin}+" de "+$P{vig_fin}]]></textFieldExpression>
			</textField>
			<textField pattern="dd-MMM-yyyy   hh:mm aaa">
				<reportElement mode="Opaque" x="602" y="46" width="150" 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.lang.String"><![CDATA[$P{nom_cen_op}]]></textFieldExpression>
			</textField>
			<image>
				<reportElement x="0" y="10" width="140" height="40"/>
				<imageExpression class="java.lang.String"><![CDATA["repo:LogoEmpresa003.jpg"]]></imageExpression>
			</image>
		</band>
	</title>
	<pageHeader>
		<band height="20" splitType="Stretch"/>
	</pageHeader>
	<detail>
		<band height="30" splitType="Stretch">
			<textField>
				<reportElement x="168" y="0" width="52" height="10"/>
				<box 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.lang.String"><![CDATA[$F{ID_MOV_CONT}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement x="0" y="0" width="55" height="30"/>
				<box leftPadding="0" rightPadding="3">
					<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="6"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{FECHA_CAD}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="124" y="0" width="44" height="10"/>
				<box 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.lang.String"><![CDATA[$F{ID_CAD}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="385" y="0" width="67" 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.lang.String"><![CDATA[$F{DOC_SOPORTE}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)">
				<reportElement x="552" y="0" width="100" height="30"/>
				<box 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{CREDITO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="55" y="10" width="397" height="20"/>
				<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{DESCR_MTO}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="652" y="0" width="100" height="30"/>
				<box 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>
				<text><![CDATA[]]></text>
			</staticText>
			<textField>
				<reportElement x="55" y="0" width="69" height="10"/>
				<box>
					<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="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{NOM_CORTO}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;(#,##0.00)">
				<reportElement x="452" y="0" width="100" height="30"/>
				<box 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{DEBITO}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="332" y="0" width="53" 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="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{ID_CEN_OP}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="220" y="0" width="112" height="10"/>
				<box 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.lang.String"><![CDATA[]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<pageFooter>
		<band height="24" splitType="Stretch">
			<textField>
				<reportElement mode="Opaque" x="299" 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="389" 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="299" y="0" width="150" height="12" forecolor="#575757"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<text><![CDATA[Websafi - Contabilidad]]></text>
			</staticText>
		</band>
	</pageFooter>
	<noData>
		<band height="20">
			<staticText>
				<reportElement x="0" y="0" width="752" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[No hay objetos a mostrar.]]></text>
			</staticText>
		</band>
	</noData>
</jasperReport>
