<?xml version="1.0" encoding="UTF-8"?>
<!--**********************************************************************************
* @fecha de modificacion: 12/08/2022, para la version de php 8.1 
* @autor: Ing. Yesenia Moreno 0412-5191342 / 0424-5575862 lang.solucionesintegrales@gmail.com
* @autor: Ing. Luis Anibal Lang 0412-2880716 lang.solucionesintegrales@gmail.com
* @autor: SIGESP C.A. 58 251 254.06.68 / 254.38.76 
* ********************************************
* @fecha modificacion  
* @autor 
* @descripcion  
**********************************************************************************-->

<tablas>
  <tabla>
      <nombre>spg_aut_comp</nombre>
      <criterio></criterio>
      <tipo>INSERT</tipo>
	  <id>13</id>
  </tabla>
  <tabla>
      <nombre>spg_ep1</nombre>
      <tipo>INSERT</tipo>
	  <id>12</id>
  </tabla>
  <tabla>
      <nombre>spg_ep2</nombre>
      <tipo>INSERT</tipo>
	  <id>11</id>
  </tabla>
  <tabla>
      <nombre>spg_ep3</nombre>
      <tipo>INSERT</tipo>
	  <id>10</id>
  </tabla>
  <tabla>
      <nombre>spg_ep4</nombre>
      <criterio></criterio>
      <tipo>INSERT</tipo>
	  <id>9</id>
  </tabla>
  <tabla>
      <nombre>spg_ep5</nombre>
      <criterio></criterio>
      <tipo>INSERT</tipo>
	  <id>8</id>
  </tabla>  
  <tabla>
      <nombre>sigesp_consolidacion</nombre>
      <criterio></criterio>
      <tipo>INSERT</tipo>
	  <id>7</id>
  </tabla>
  <tabla>
      <nombre>spg_dt_fuentefinanciamiento</nombre>
      <criterio></criterio>
      <tipo>INSERT</tipo>
	  <id>6</id>
  </tabla>
  <tabla>
      <nombre>spg_val_estructura</nombre>
      <criterio>WHERE codestpro5 IN (SELECT codestpro5 FROM spg_ep5 WHERE spg_ep5.codemp = spg_val_estructura.codemp AND spg_ep5.codestpro1 = spg_val_estructura.codestpro1 AND spg_ep5.codestpro2 = spg_val_estructura.codestpro2 AND spg_ep5.codestpro3 = spg_val_estructura.codestpro3 AND spg_ep5.codestpro4 = spg_val_estructura.codestpro4 AND spg_ep5.codestpro5 = spg_val_estructura.codestpro5)</criterio>
      <tipo>INSERT</tipo>
	  <id>5</id>
  </tabla>
  <tabla>
      <nombre>spg_dt_unidadadministrativa</nombre>
      <criterio>WHERE coduniadm DISTINTO -::::::::::- AND codestpro1 DISTINTO -:::::::::::::::::::::::::- AND codestpro2 DISTINTO -:::::::::::::::::::::::::- AND codestpro3 DISTINTO -:::::::::::::::::::::::::- AND codestpro4 DISTINTO -:::::::::::::::::::::::::- AND codestpro5 DISTINTO -:::::::::::::::::::::::::-</criterio>
      <tipo>INSERT</tipo>
	  <id>4</id>
  </tabla>
  <tabla>
      <nombre>spg_cuentas</nombre>
      <criterio></criterio>
      <tipo>INSERT</tipo>
	  <id>3</id>
  </tabla>
  <tabla>
      <nombre>spg_cuenta_fuentefinanciamiento</nombre>
      <criterio>WHERE spg_cuenta IN (SELECT spg_cuenta FROM spg_cuentas WHERE spg_cuentas.codemp = spg_cuenta_fuentefinanciamiento.codemp AND spg_cuentas.codestpro1 = spg_cuenta_fuentefinanciamiento.codestpro1 AND spg_cuentas.codestpro2 = spg_cuenta_fuentefinanciamiento.codestpro2 AND spg_cuentas.codestpro3 = spg_cuenta_fuentefinanciamiento.codestpro3 AND spg_cuentas.codestpro4 = spg_cuenta_fuentefinanciamiento.codestpro4 AND spg_cuentas.codestpro5 = spg_cuenta_fuentefinanciamiento.codestpro5 AND spg_cuentas.estcla = spg_cuenta_fuentefinanciamiento.estcla AND spg_cuentas.spg_cuenta = spg_cuenta_fuentefinanciamiento.spg_cuenta) </criterio>
      <tipo>INSERT</tipo>
	  <id>2</id>
  </tabla>
  <tabla>
      <nombre>spg_regmodprogramado</nombre>
      <criterio></criterio>
      <tipo>INSERT</tipo>
	  <id>1</id>
  </tabla>
  <tabla>
      <nombre>spg_plantillareporte</nombre>
      <criterio></criterio>
      <tipo>INSERT</tipo>
	  <id>0</id>
  </tabla>
</tablas>
