<?php
class sigesp_ins_c_reprocesar_mov
{
	var $io_sql;
	var $io_message;
	var $io_function;
	var $is_msg_error;
	function sigesp_ins_c_reprocesar_mov()
	{
		require_once("../shared/class_folder/class_sql.php");
		require_once("../shared/class_folder/sigesp_include.php");
		require_once("../shared/class_folder/class_mensajes.php");
		require_once("../shared/class_folder/class_fecha.php");//Necesaria para la clase integradora
		require_once("../shared/class_folder/class_funciones.php");	
		require_once("../shared/class_folder/class_sigesp_int.php");	//Necesaria para la clase integradora
		require_once("../shared/class_folder/class_sigesp_int_scg.php");	
		$io_siginc=new sigesp_include();
		$con=$io_siginc->uf_conectar();
		$this->io_sql=new class_sql($con);
		$this->io_message=new class_mensajes();
		$this->io_function=new class_funciones();
		$ld_fecha=date("Y_m_d_H_i");
		$ls_nombrearchivo="results/convert_mov_ctas_".$ld_fecha.".txt";
		$this->lo_archivo=@fopen("$ls_nombrearchivo","a+");
	}
	
	function uf_crear_tabla_temp()
	{
	
		$ls_sql="CREATE TABLE `spg_cuentas_temp` (
				  `codemp` char(4) NOT NULL,
				  `codestpro1` char(20) NOT NULL,
				  `codestpro2` char(6) NOT NULL,
				  `codestpro3` char(3) NOT NULL,
				  `codestpro4` char(2) NOT NULL,
				  `codestpro5` char(2) NOT NULL,
				  `spg_cuenta` char(25) NOT NULL,
				  `denominacion` char(254) NOT NULL,
				  `status` char(1) NOT NULL,
				  `sc_cuenta` char(25) NOT NULL,
				  `asignado` double(19,4) NOT NULL,
				  `precomprometido` double(19,4) NOT NULL,
				  `comprometido` double(19,4) NOT NULL,
				  `causado` double(19,4) NOT NULL,
				  `pagado` double(19,4) NOT NULL,
				  `aumento` double(19,4) NOT NULL,
				  `disminucion` double(19,4) NOT NULL,
				  `distribuir` smallint(6) NOT NULL,
				  `enero` double(19,4) NOT NULL,
				  `febrero` double(19,4) NOT NULL,
				  `marzo` double(19,4) NOT NULL,
				  `abril` double(19,4) NOT NULL,
				  `mayo` double(19,4) NOT NULL,
				  `junio` double(19,4) NOT NULL,
				  `julio` double(19,4) NOT NULL,
				  `agosto` double(19,4) NOT NULL,
				  `septiembre` double(19,4) NOT NULL,
				  `octubre` double(19,4) NOT NULL,
				  `noviembre` double(19,4) NOT NULL,
				  `diciembre` double(19,4) NOT NULL,
				  `nivel` smallint(6) NOT NULL,
				  `referencia` char(25) NOT NULL,
				  PRIMARY KEY  (`codemp`,`codestpro1`,`codestpro2`,`codestpro3`,`codestpro4`,`codestpro5`,`spg_cuenta`)
				) TYPE=InnoDB;";
			
		$li_result=$this->io_sql->execute($ls_sql);
		if($li_result===false)		
		{
			$this->is_msg_error="Error al crear tabla spg_cuentas_temp , ".$this->io_function->uf_convertirmsg($this->io_sql->message)." \r\n";
			$ls_cadena=$this->is_msg_error;
			if ($this->lo_archivo)			
			{	@fwrite($this->lo_archivo,$ls_cadena);	}
		}
		else
		{
			$ls_cadena="Creo la tabla spg_cuentas_temp \r\n";
			if ($this->lo_archivo)			
			{	@fwrite($this->lo_archivo,$ls_cadena);	}
		}	
		return true;
	}
	
	function uf_cargar_cuentas_tmp()
	{
	
		$ls_sql="INSERT INTO spg_cuentas_temp
				 SELECT * FROM spg_cuentas ";
		
		$li_result=$this->io_sql->execute($ls_sql);
		if($li_result===false)		
		{
			$this->is_msg_error="Error al cargar datos en tabla spg_cuentas_tmp ".$this->io_function->uf_convertirmsg($this->io_sql->message)." \r\n";
			$ls_cadena=$this->is_msg_error;
			if ($this->lo_archivo)			
			{	@fwrite($this->lo_archivo,$ls_cadena);	}
		}
		else
		{
			$ls_cadena="Copio los datos de la tabla spg_cuentas a la tabla spg_cuentas_temp \r\n"; 
			if ($this->lo_archivo)			
			{	@fwrite($this->lo_archivo,$ls_cadena);	}
		}	
	}
	
	function uf_insert_cuentas_tmp($ls_sql)
	{
		$rs_data=$this->io_sql->execute($ls_sql);
		if($rs_data===false)		
		{
			$this->is_msg_error="Error al cargar datos en tabla spg_cuentas_tmp ".$this->io_function->uf_convertirmsg($this->io_sql->message)." \r\n";
			$ls_cadena=$this->is_msg_error;
			if ($this->lo_archivo)			
			{	@fwrite($this->lo_archivo,$ls_cadena);	}
		}
		else
		{
			$ls_cadena="Copio los datos de la tabla spg_cuentas a la tabla spg_cuentas_temp \r\n"; 
			if ($this->lo_archivo)			
			{	@fwrite($this->lo_archivo,$ls_cadena);	}
		}	
	}
	
	function uf_insertar_planctas_temp()
	{
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40100000000', 'GASTOSDEPERSONAL', 'S', '611010100001', 97949388.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 8162449.0000, 8162449.0000, 8162449.0000, 8162449.0000, 8162449.0000, 8162449.0000, 8162449.0000, 8162449.0000, 8162449.0000, 8162449.0000, 8162449.0000, 8162448.9900, 1, '')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40101000000', 'Sueldos, salarios y otras retribuciones', 'S', '611010100001', 26400000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40101010000', 'Sueldos bsicos personal fijo a tiempo completo', 'C', '611010100001', 26400000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 2200000.0000, 3, '40101000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40102000000', 'Compensacionesprevistas en las escalas de sueldos y salarios', 'S', '611020100001', 2720000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6300, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40102010000', 'Compensacionesprevistasenlas escalasde sueldos al personal empleado fijo a tiempo completo', 'C', '611020100001', 2720000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6700, 226666.6300, 3, '40102000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40103000000', 'Primas a empleados, obreros, personal militar y parlamentarios', 'S', '611020301001', 12120000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1010000.0000, 1010000.0000, 1010000.0000, 1010000.0000, 1010000.0000, 1010000.0000, 1010000.0000, 1010000.0000, 1010000.0000, 1010000.0000, 1010000.0000, 1010000.0000, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40103040000', 'Primas por hijos a empleados', 'C', '611020301001', 600000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 50000.0000, 50000.0000, 50000.0000, 50000.0000, 50000.0000, 50000.0000, 50000.0000, 50000.0000, 50000.0000, 50000.0000, 50000.0000, 50000.0000, 3, '40103000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40103080000', 'Primas de profesionalizacin a empleados', 'C', '611010100001', 4320000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 360000.0000, 360000.0000, 360000.0000, 360000.0000, 360000.0000, 360000.0000, 360000.0000, 360000.0000, 360000.0000, 360000.0000, 360000.0000, 360000.0000, 3, '40103000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40103100000', 'Primas por jerarqua o responsabilidad en el cargo', 'C', '611010100001', 7200000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 3, '40103000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40104000000', 'Complementos de sueldos y salarios', 'S', '611020408001', 20467200.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1705600.0000, 1705600.0000, 1705600.0000, 1705600.0000, 1705600.0000, 1705600.0000, 1705600.0000, 1705600.0000, 1705600.0000, 1705600.0000, 1705600.0000, 1705600.0000, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40104080000', 'Bono compensatorio de alimentacin a empleados', 'C', '611020408001', 8467200.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 705600.0000, 705600.0000, 705600.0000, 705600.0000, 705600.0000, 705600.0000, 705600.0000, 705600.0000, 705600.0000, 705600.0000, 705600.0000, 705600.0000, 3, '40104000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40104960000', 'Otros complementos a empleados', 'C', '611010100001', 12000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 3, '40104000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40105000000', 'Aguinaldos, utilidades o bonificacin legal, y bono vacacional a empleados, obreros, contratados, personal militar y parlamentarios', 'S', '611020501001', 19066668.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1588889.0000, 1588889.0000, 1588889.0000, 1588889.0000, 1588889.0000, 1588889.0000, 1588889.0000, 1588889.0000, 1588889.0000, 1588889.0000, 1588889.0000, 1588889.0000, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40105010000', 'Aguinaldos a empleados', 'C', '611020501001', 13200000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1100000.0000, 1100000.0000, 1100000.0000, 1100000.0000, 1100000.0000, 1100000.0000, 1100000.0000, 1100000.0000, 1100000.0000, 1100000.0000, 1100000.0000, 1100000.0000, 3, '40105000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40105030000', 'Bono vacacional a empleados', 'C', '611010100001', 5866668.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 488889.0000, 488889.0000, 488889.0000, 488889.0000, 488889.0000, 488889.0000, 488889.0000, 488889.0000, 488889.0000, 488889.0000, 488889.0000, 488889.0000, 3, '40105000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40106000000', 'Aportes patronales por empleados, obreros, personal militar y parlamentarios', 'S', '611030100001', 135520.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 11293.3300, 11293.3300, 11293.3300, 11293.3300, 11293.3300, 11293.3300, 11293.3300, 11293.3300, 11293.3300, 11293.3300, 11293.3300, 11293.3700, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40106010000', 'Aporte patronal al Instituto Venezolano de los Seguros Sociales (IVSS) por empleados', 'C', '611030100001', 70400.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 5866.6700, 5866.6700, 5866.6700, 5866.6700, 5866.6700, 5866.6700, 5866.6700, 5866.6700, 5866.6700, 5866.6700, 5866.6700, 5866.6300, 3, '40106000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40106040000', 'Aporte Patronal al Fondo de Seguro de Paro Forzoso por empleados', 'C', '611010100001', 29920.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2493.3300, 2493.3300, 2493.3300, 2493.3300, 2493.3300, 2493.3300, 2493.3300, 2493.3300, 2493.3300, 2493.3300, 2493.3300, 2493.3700, 3, '40106000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40106050000', 'Aporte patronal al Fondo de Ahorro Habitacional por empleados', 'C', '611010100001', 35200.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2933.3300, 2933.3300, 2933.3300, 2933.3300, 2933.3300, 2933.3300, 2933.3300, 2933.3300, 2933.3300, 2933.3300, 2933.3300, 2933.3700, 3, '40106000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40107000000', 'Asistencia socio-econmica a empleados, obreros, contratados, personal militar y parlamentarios', 'S', '611040700001', 8240000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 686666.6700, 686666.6700, 686666.6700, 686666.6700, 686666.6700, 686666.6700, 686666.6700, 686666.6700, 686666.6700, 686666.6700, 686666.6700, 686666.6300, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40107080000', 'Aporte patronal al seguro de vida, accidentes personales, hospitalizacin, ciruga, maternidad (HCM) y gastos funerarios por empleados', 'C', '611040700001', 6000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40107090000', 'Ayudas a empleados para adquisicin de uniformes y tiles escolares de sus hijos', 'C', '611010100001', 240000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 20000.0000, 20000.0000, 20000.0000, 20000.0000, 20000.0000, 20000.0000, 20000.0000, 20000.0000, 20000.0000, 20000.0000, 20000.0000, 20000.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40107100000', 'Dotacin de uniformes a empleados', 'C', '611010100001', 2000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6300, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40108000000', 'Prestaciones sociales e indemnizaciones a empleados, obreros, contratados, personal militar y parlamentarios', 'S', '611050100001', 8800000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3600, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40108010000', 'Prestaciones sociales e indemnizaciones a empleados', 'C', '611050100001', 8800000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3300, 733333.3600, 3, '40108000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40200000000', 'MATERIALES, SUMINISTROS Y MERCANCIAS', 'S', '612100800001', 6600000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 550000.0000, 550000.0000, 550000.0000, 550000.0000, 550000.0000, 550000.0000, 550000.0000, 550000.0000, 550000.0000, 550000.0000, 550000.0000, 550000.0000, 1, '')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40210000000', 'Productos varios y tiles diversos', 'S', '612100800001', 5400000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 450000.0000, 450000.0000, 450000.0000, 450000.0000, 450000.0000, 450000.0000, 450000.0000, 450000.0000, 450000.0000, 450000.0000, 450000.0000, 450000.0000, 2, '40200000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40210080000', 'Materiales para equipos de computacin', 'C', '612100800001', 4200000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 350000.0000, 350000.0000, 350000.0000, 350000.0000, 350000.0000, 350000.0000, 350000.0000, 350000.0000, 350000.0000, 350000.0000, 350000.0000, 350000.0000, 3, '40210000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40210110000', 'Materiales elctricos', 'C', '612100800001', 1200000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 3, '40210000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40299000000', 'Otros materiales y suministros', 'S', '612990100001', 1200000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 2, '40200000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40299010000', 'Otros materiales y suministros', 'C', '612990100001', 1200000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 3, '40299000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40400000000', 'ACTIVOS REALES', 'S', '123010800002', 114999996.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 9583333.0000, 9583333.0000, 9583333.0000, 9583333.0000, 9583333.0000, 9583333.0000, 9583333.0000, 9583333.0000, 9583333.0000, 9583333.0000, 9583333.0000, 9583333.0000, 1, '')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40409000000', 'Mquinas, muebles y dems equipos de oficina y alojamiento', 'S', '123010800002', 15000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 2, '40400000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40409020000', 'Equipos de computacin', 'C', '123010800002', 15000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 1250000.0000, 3, '40409000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40412000000', 'Activos intangibles', 'S', '124040000001', 99999996.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 2, '40400000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000001', '000001', '001', '00', '00', '40412040000', 'Paquetes y programas de computacin', 'C', '124040000001', 99999996.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 3, '40412000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000002', '000001', '001', '00', '00', '40400000000', 'ACTIVOS REALES', 'S', '123010300001', 870530004.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 1, '')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000002', '000001', '001', '00', '00', '40401000000', 'Repuestos y reparaciones mayores', 'S', '123010300001', 870530004.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 2, '40400000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000002', '000001', '001', '00', '00', '40401010000', 'Repuestos mayores', 'S', '123010300001', 870530004.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 3, '40401000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000002', '000001', '001', '00', '00', '40401010200', 'Repuestos mayores para equipos de transporte, traccin y elevacin', 'C', '123010300001', 870530004.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 72544167.0000, 4, '40401010000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40100000000', 'GASTOSDEPERSONAL', 'S', '611010100001', 2781126643.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 231760553.6200, 231760553.6200, 231760553.6200, 231760553.6200, 231760553.6200, 231760553.6200, 231760553.6200, 231760553.6200, 231760553.6200, 231760553.6200, 231760553.6200, 231760553.1800, 1, '')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40101000000', 'Sueldos, salarios y otras retribuciones', 'S', '611010100001', 897356816.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 74779734.6700, 74779734.6700, 74779734.6700, 74779734.6700, 74779734.6700, 74779734.6700, 74779734.6700, 74779734.6700, 74779734.6700, 74779734.6700, 74779734.6700, 74779734.6300, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40101010000', 'Sueldos bsicos personal fijo a tiempo completo', 'C', '611010100001', 277300004.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 23108333.6700, 23108333.6700, 23108333.6700, 23108333.6700, 23108333.6700, 23108333.6700, 23108333.6700, 23108333.6700, 23108333.6700, 23108333.6700, 23108333.6700, 23108333.6300, 3, '40101000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40101100000', 'Salarios a obreros en puestos permanentes a tiempo completo', 'C', '611010100001', 437000004.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 36416667.0000, 36416667.0000, 36416667.0000, 36416667.0000, 36416667.0000, 36416667.0000, 36416667.0000, 36416667.0000, 36416667.0000, 36416667.0000, 36416667.0000, 36416667.0000, 3, '40101000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40101120000', 'Salarios a obreros en puestos no permanentes', 'C', '611010100001', 119459664.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 9954972.0000, 9954972.0000, 9954972.0000, 9954972.0000, 9954972.0000, 9954972.0000, 9954972.0000, 9954972.0000, 9954972.0000, 9954972.0000, 9954972.0000, 9954972.0000, 3, '40101000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40101180000', 'Remuneraciones al personal contratado', 'C', '611010100001', 60957144.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 5079762.0000, 5079762.0000, 5079762.0000, 5079762.0000, 5079762.0000, 5079762.0000, 5079762.0000, 5079762.0000, 5079762.0000, 5079762.0000, 5079762.0000, 5079762.0000, 3, '40101000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40101190000', 'Retribuciones por becas-salarios, bolsas de trabajo, pasantas y similares', 'C', '611010100001', 2640000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 220000.0000, 220000.0000, 220000.0000, 220000.0000, 220000.0000, 220000.0000, 220000.0000, 220000.0000, 220000.0000, 220000.0000, 220000.0000, 220000.0000, 3, '40101000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40102000000', 'Compensacionesprevistas en las escalas de sueldos y salarios', 'S', '611020100001', 49456715.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 4121392.9200, 4121392.9200, 4121392.9200, 4121392.9200, 4121392.9200, 4121392.9200, 4121392.9200, 4121392.9200, 4121392.9200, 4121392.9200, 4121392.9200, 4121392.8800, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40102010000', 'Compensacionesprevistasenlas escalasde sueldos al personal empleado fijo a tiempo completo', 'C', '611020100001', 27136824.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2261402.0000, 2261402.0000, 2261402.0000, 2261402.0000, 2261402.0000, 2261402.0000, 2261402.0000, 2261402.0000, 2261402.0000, 2261402.0000, 2261402.0000, 2261402.0000, 3, '40102000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40102030000', 'Compensacionesprevistasen las escalas de salarios al personal obrero fijo a tiempo completo', 'C', '611010100001', 22319891.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1859990.9200, 1859990.9200, 1859990.9200, 1859990.9200, 1859990.9200, 1859990.9200, 1859990.9200, 1859990.9200, 1859990.9200, 1859990.9200, 1859990.9200, 1859990.8800, 3, '40102000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40103000000', 'Primas a empleados, obreros, personal militar y parlamentarios', 'S', '611020301001', 118130448.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 9844204.0100, 9844204.0100, 9844204.0100, 9844204.0100, 9844204.0100, 9844204.0100, 9844204.0100, 9844204.0100, 9844204.0100, 9844204.0100, 9844204.0100, 9844203.8900, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40103040000', 'Primas por hijos a empleados', 'C', '611020301001', 3000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 250000.0000, 250000.0000, 250000.0000, 250000.0000, 250000.0000, 250000.0000, 250000.0000, 250000.0000, 250000.0000, 250000.0000, 250000.0000, 250000.0000, 3, '40103000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40103080000', 'Primas de profesionalizacin a empleados', 'C', '611010100001', 20880000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1740000.0000, 1740000.0000, 1740000.0000, 1740000.0000, 1740000.0000, 1740000.0000, 1740000.0000, 1740000.0000, 1740000.0000, 1740000.0000, 1740000.0000, 1740000.0000, 3, '40103000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40103090000', 'Primas por antigedad a empleados', 'C', '611010100001', 2000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6700, 166666.6300, 3, '40103000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40103100000', 'Primas por jerarqua o responsabilidad en el cargo', 'C', '611010100001', 28800000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2400000.0000, 2400000.0000, 2400000.0000, 2400000.0000, 2400000.0000, 2400000.0000, 2400000.0000, 2400000.0000, 2400000.0000, 2400000.0000, 2400000.0000, 2400000.0000, 3, '40103000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40103190000', 'Primas por hijos de obreros', 'C', '611010100001', 6000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 500000.0000, 3, '40103000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40103210000', 'Primas por antigedad a obreros', 'C', '611010100001', 3332048.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 277670.6700, 277670.6700, 277670.6700, 277670.6700, 277670.6700, 277670.6700, 277670.6700, 277670.6700, 277670.6700, 277670.6700, 277670.6700, 277670.6300, 3, '40103000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40103970000', 'Otras primas a empleados', 'C', '611010100001', 4118400.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 343200.0000, 343200.0000, 343200.0000, 343200.0000, 343200.0000, 343200.0000, 343200.0000, 343200.0000, 343200.0000, 343200.0000, 343200.0000, 343200.0000, 3, '40103000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40103980000', 'Otras primas a obreros', 'C', '611010100001', 50000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 4166666.6700, 4166666.6700, 4166666.6700, 4166666.6700, 4166666.6700, 4166666.6700, 4166666.6700, 4166666.6700, 4166666.6700, 4166666.6700, 4166666.6700, 4166666.6300, 3, '40103000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40104000000', 'Complementos de sueldos y salarios', 'S', '611020401001', 740895033.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 61741252.7600, 61741252.7600, 61741252.7600, 61741252.7600, 61741252.7600, 61741252.7600, 61741252.7600, 61741252.7600, 61741252.7600, 61741252.7600, 61741252.7600, 61741252.6400, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40104010000', 'Complemento a empleados por horas extraordinarias o por sobre tiempo', 'C', '611020401001', 4552764.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 379397.0000, 379397.0000, 379397.0000, 379397.0000, 379397.0000, 379397.0000, 379397.0000, 379397.0000, 379397.0000, 379397.0000, 379397.0000, 379397.0000, 3, '40104000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40104020000', 'Complemento a empleados por trabajo nocturno', 'C', '611010100001', 2235708.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 186309.0000, 186309.0000, 186309.0000, 186309.0000, 186309.0000, 186309.0000, 186309.0000, 186309.0000, 186309.0000, 186309.0000, 186309.0000, 186309.0000, 3, '40104000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40104080000', 'Bono compensatorio de alimentacin a empleados', 'C', '611010100001', 106031480.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 8835956.6700, 8835956.6700, 8835956.6700, 8835956.6700, 8835956.6700, 8835956.6700, 8835956.6700, 8835956.6700, 8835956.6700, 8835956.6700, 8835956.6700, 8835956.6300, 3, '40104000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40104140000', 'Complemento a obreros por horas extraordinarias o por sobre tiempo', 'C', '611010100001', 76531788.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 6377649.0000, 6377649.0000, 6377649.0000, 6377649.0000, 6377649.0000, 6377649.0000, 6377649.0000, 6377649.0000, 6377649.0000, 6377649.0000, 6377649.0000, 6377649.0000, 3, '40104000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40104150000', 'Complemento a obreros por trabajo o jornada nocturna', 'C', '611010100001', 12912780.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1076065.0000, 1076065.0000, 1076065.0000, 1076065.0000, 1076065.0000, 1076065.0000, 1076065.0000, 1076065.0000, 1076065.0000, 1076065.0000, 1076065.0000, 1076065.0000, 3, '40104000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40104180000', 'Bono compensatorio de alimentacin a obreros', 'C', '611010100001', 314336196.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 26194683.0000, 26194683.0000, 26194683.0000, 26194683.0000, 26194683.0000, 26194683.0000, 26194683.0000, 26194683.0000, 26194683.0000, 26194683.0000, 26194683.0000, 26194683.0000, 3, '40104000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40104960000', 'Otros complementos a empleados', 'C', '611010100001', 38000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3166666.6700, 3166666.6700, 3166666.6700, 3166666.6700, 3166666.6700, 3166666.6700, 3166666.6700, 3166666.6700, 3166666.6700, 3166666.6700, 3166666.6700, 3166666.6300, 3, '40104000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40104970000', 'Otros complementos a obreros', 'C', '611010100001', 186294317.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 15524526.4200, 15524526.4200, 15524526.4200, 15524526.4200, 15524526.4200, 15524526.4200, 15524526.4200, 15524526.4200, 15524526.4200, 15524526.4200, 15524526.4200, 15524526.3800, 3, '40104000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40105000000', 'Aguinaldos, utilidades o bonificacin legal, y bono vacacional a empleados, obreros, contratados, personal militar y parlamentarios', 'S', '611020501001', 529238005.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 44103167.0900, 44103167.0900, 44103167.0900, 44103167.0900, 44103167.0900, 44103167.0900, 44103167.0900, 44103167.0900, 44103167.0900, 44103167.0900, 44103167.0900, 44103167.0100, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40105010000', 'Aguinaldos a empleados', 'C', '611020501001', 160503000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 13375250.0000, 13375250.0000, 13375250.0000, 13375250.0000, 13375250.0000, 13375250.0000, 13375250.0000, 13375250.0000, 13375250.0000, 13375250.0000, 13375250.0000, 13375250.0000, 3, '40105000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40105030000', 'Bono vacacional a empleados', 'C', '611010100001', 53300000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 4441666.6700, 4441666.6700, 4441666.6700, 4441666.6700, 4441666.6700, 4441666.6700, 4441666.6700, 4441666.6700, 4441666.6700, 4441666.6700, 4441666.6700, 4441666.6300, 3, '40105000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40105040000', 'Aguinaldos a obreros', 'C', '611010100001', 240115005.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 20009583.7500, 20009583.7500, 20009583.7500, 20009583.7500, 20009583.7500, 20009583.7500, 20009583.7500, 20009583.7500, 20009583.7500, 20009583.7500, 20009583.7500, 20009583.7500, 3, '40105000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40105060000', 'Bono vacacional a obreros', 'C', '611010100001', 75320000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 6276666.6700, 6276666.6700, 6276666.6700, 6276666.6700, 6276666.6700, 6276666.6700, 6276666.6700, 6276666.6700, 6276666.6700, 6276666.6700, 6276666.6700, 6276666.6300, 3, '40105000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40106000000', 'Aportes patronales por empleados, obreros, personal militar y parlamentarios', 'S', '611030100001', 30311772.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2525981.0000, 2525981.0000, 2525981.0000, 2525981.0000, 2525981.0000, 2525981.0000, 2525981.0000, 2525981.0000, 2525981.0000, 2525981.0000, 2525981.0000, 2525981.0000, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40106010000', 'Aporte patronal al Instituto Venezolano de los Seguros Sociales (IVSS) por empleados', 'C', '611030100001', 6200772.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 516731.0000, 516731.0000, 516731.0000, 516731.0000, 516731.0000, 516731.0000, 516731.0000, 516731.0000, 516731.0000, 516731.0000, 516731.0000, 516731.0000, 3, '40106000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40106040000', 'Aporte Patronal al Fondo de Seguro de Paro Forzoso por empleados', 'C', '611010100001', 2665260.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 222105.0000, 222105.0000, 222105.0000, 222105.0000, 222105.0000, 222105.0000, 222105.0000, 222105.0000, 222105.0000, 222105.0000, 222105.0000, 222105.0000, 3, '40106000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40106050000', 'Aporte patronal al Fondo de Ahorro Habitacional por empleados', 'C', '611010100001', 3135588.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 261299.0000, 261299.0000, 261299.0000, 261299.0000, 261299.0000, 261299.0000, 261299.0000, 261299.0000, 261299.0000, 261299.0000, 261299.0000, 261299.0000, 3, '40106000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40106100000', 'Aporte patronal al Instituto Venezolano de los Seguros Sociales (IVSS) por obreros', 'C', '611010100001', 10711764.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 892647.0000, 892647.0000, 892647.0000, 892647.0000, 892647.0000, 892647.0000, 892647.0000, 892647.0000, 892647.0000, 892647.0000, 892647.0000, 892647.0000, 3, '40106000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40106120000', 'Aporte patronal al Fondo de Seguro de Paro Forzoso por obreros', 'C', '611010100001', 4042500.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 336875.0000, 336875.0000, 336875.0000, 336875.0000, 336875.0000, 336875.0000, 336875.0000, 336875.0000, 336875.0000, 336875.0000, 336875.0000, 336875.0000, 3, '40106000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40106130000', 'Aporte patronal al Fondo de Ahorro Habitacional por obreros', 'C', '611010100001', 3555888.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 296324.0000, 296324.0000, 296324.0000, 296324.0000, 296324.0000, 296324.0000, 296324.0000, 296324.0000, 296324.0000, 296324.0000, 296324.0000, 296324.0000, 3, '40106000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107000000', 'Asistencia socio-econmica a empleados, obreros, contratados, personal militar y parlamentarios', 'S', '611040100001', 319120856.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 26593404.6700, 26593404.6700, 26593404.6700, 26593404.6700, 26593404.6700, 26593404.6700, 26593404.6700, 26593404.6700, 26593404.6700, 26593404.6700, 26593404.6700, 26593404.6300, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107010000', 'Capacitacin y adiestramientoaempleados', 'C', '611040100001', 9444000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 787000.0000, 787000.0000, 787000.0000, 787000.0000, 787000.0000, 787000.0000, 787000.0000, 787000.0000, 787000.0000, 787000.0000, 787000.0000, 787000.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107020000', 'Becas a empleados', 'C', '611010100001', 7200000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107030000', 'Ayudas por matrimonio a empleados', 'C', '611010100001', 1200000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107040000', 'Ayudas por nacimiento de hijos a empleados', 'C', '611010100001', 1297932.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 108161.0000, 108161.0000, 108161.0000, 108161.0000, 108161.0000, 108161.0000, 108161.0000, 108161.0000, 108161.0000, 108161.0000, 108161.0000, 108161.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107050000', 'Ayudas por defuncin a empleados', 'C', '611041100001', 670092.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 55841.0000, 55841.0000, 55841.0000, 55841.0000, 55841.0000, 55841.0000, 55841.0000, 55841.0000, 55841.0000, 55841.0000, 55841.0000, 55841.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107060000', 'Ayudas para medicinas, gastos mdicos, odontolgicos y de hospitalizacin a empleados', 'C', '611010100001', 4000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3700, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107070000', 'Aporte patronal a cajas de ahorro por empleados', 'C', '611010100001', 15853944.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1321162.0000, 1321162.0000, 1321162.0000, 1321162.0000, 1321162.0000, 1321162.0000, 1321162.0000, 1321162.0000, 1321162.0000, 1321162.0000, 1321162.0000, 1321162.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107080000', 'Aporte patronal al seguro de vida, accidentes personales, hospitalizacin, ciruga, maternidad (HCM) y gastos funerarios por empleados', 'C', '611010100001', 45000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3750000.0000, 3750000.0000, 3750000.0000, 3750000.0000, 3750000.0000, 3750000.0000, 3750000.0000, 3750000.0000, 3750000.0000, 3750000.0000, 3750000.0000, 3750000.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107090000', 'Ayudas a empleados para adquisicin de uniformes y tiles escolares de sus hijos', 'C', '611010100001', 2400000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 200000.0000, 200000.0000, 200000.0000, 200000.0000, 200000.0000, 200000.0000, 200000.0000, 200000.0000, 200000.0000, 200000.0000, 200000.0000, 200000.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107100000', 'Dotacin de uniformes a empleados', 'C', '611010100001', 16400000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1366666.6700, 1366666.6700, 1366666.6700, 1366666.6700, 1366666.6700, 1366666.6700, 1366666.6700, 1366666.6700, 1366666.6700, 1366666.6700, 1366666.6700, 1366666.6300, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107170000', 'Capacitacin y adiestramiento a obreros', 'C', '611040100002', 7044000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 587000.0000, 587000.0000, 587000.0000, 587000.0000, 587000.0000, 587000.0000, 587000.0000, 587000.0000, 587000.0000, 587000.0000, 587000.0000, 587000.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107180000', 'Becas a obreros', 'C', '611040200002', 4650000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 387500.0000, 387500.0000, 387500.0000, 387500.0000, 387500.0000, 387500.0000, 387500.0000, 387500.0000, 387500.0000, 387500.0000, 387500.0000, 387500.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107190000', 'Ayudas por matrimonio de obreros', 'C', '611040300002', 300000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 25000.0000, 25000.0000, 25000.0000, 25000.0000, 25000.0000, 25000.0000, 25000.0000, 25000.0000, 25000.0000, 25000.0000, 25000.0000, 25000.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107200000', 'Ayudas por nacimiento de hijos de obreros', 'C', '611010100001', 1200000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 100000.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107210000', 'Ayudas por defuncin a obreros', 'C', '611041100002', 944904.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 78742.0000, 78742.0000, 78742.0000, 78742.0000, 78742.0000, 78742.0000, 78742.0000, 78742.0000, 78742.0000, 78742.0000, 78742.0000, 78742.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107220000', 'Ayudas para medicinas, gastos mdicos, odontolgicos y de hospitalizacin a obreros', 'C', '611010100001', 8652000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 721000.0000, 721000.0000, 721000.0000, 721000.0000, 721000.0000, 721000.0000, 721000.0000, 721000.0000, 721000.0000, 721000.0000, 721000.0000, 721000.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107230000', 'Aporte patronal a cajas de ahorro por obreros', 'C', '611010100001', 77183988.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 6431999.0000, 6431999.0000, 6431999.0000, 6431999.0000, 6431999.0000, 6431999.0000, 6431999.0000, 6431999.0000, 6431999.0000, 6431999.0000, 6431999.0000, 6431999.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107240000', 'Aporte patronal al seguro de vida, accidentes personales, hospitalizacin, ciruga, maternidad (HCM) y gastos funerarios por obreros', 'C', '611010100001', 60000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 5000000.0000, 5000000.0000, 5000000.0000, 5000000.0000, 5000000.0000, 5000000.0000, 5000000.0000, 5000000.0000, 5000000.0000, 5000000.0000, 5000000.0000, 5000000.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107250000', 'Ayudas a obreros para adquisicin de uniformes y tiles escolares de sus hijos', 'C', '611010100001', 7200000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40107260000', 'Dotacin de uniformes a obreros', 'C', '611010100001', 48479996.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 4039999.6700, 4039999.6700, 4039999.6700, 4039999.6700, 4039999.6700, 4039999.6700, 4039999.6700, 4039999.6700, 4039999.6700, 4039999.6700, 4039999.6700, 4039999.6300, 3, '40107000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40108000000', 'Prestaciones sociales e indemnizaciones a empleados, obreros, contratados, personal militar y parlamentarios', 'S', '611050100001', 96616998.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 8051416.5000, 8051416.5000, 8051416.5000, 8051416.5000, 8051416.5000, 8051416.5000, 8051416.5000, 8051416.5000, 8051416.5000, 8051416.5000, 8051416.5000, 8051416.5000, 2, '40100000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40108010000', 'Prestaciones sociales e indemnizaciones a empleados', 'C', '611050100001', 13313000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1109416.6700, 1109416.6700, 1109416.6700, 1109416.6700, 1109416.6700, 1109416.6700, 1109416.6700, 1109416.6700, 1109416.6700, 1109416.6700, 1109416.6700, 1109416.6300, 3, '40108000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40108020000', 'Prestaciones sociales e indemnizaciones a obreros', 'C', '611010100001', 71603998.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 5966999.8300, 5966999.8300, 5966999.8300, 5966999.8300, 5966999.8300, 5966999.8300, 5966999.8300, 5966999.8300, 5966999.8300, 5966999.8300, 5966999.8300, 5966999.8700, 3, '40108000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000003', '000001', '000', '00', '00', '40108030000', 'Prestaciones sociales e indemnizaciones al personal contratado', 'C', '611010100001', 11700000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 975000.0000, 975000.0000, 975000.0000, 975000.0000, 975000.0000, 975000.0000, 975000.0000, 975000.0000, 975000.0000, 975000.0000, 975000.0000, 975000.0000, 3, '40108000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40200000000', 'MATERIALES, SUMINISTROS Y MERCANCIAS', 'S', '612010100001', 671279860.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 55939988.3300, 55939988.3300, 55939988.3300, 55939988.3300, 55939988.3300, 55939988.3300, 55939988.3300, 55939988.3300, 55939988.3300, 55939988.3300, 55939988.3300, 55939988.3700, 1, '')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40201000000', 'Productos alimenticios y agropecuarios', 'S', '612010100001', 42000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 2, '40200000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40201010000', 'Alimentos y bebidas para personas', 'C', '612010100001', 42000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3, '40201000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40202000000', 'Productos de minas, canteras y yacimientos', 'S', '612020100001', 10920000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 2, '40200000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40202050000', 'Piedra, arcilla, arena y tierra', 'C', '612020100001', 10920000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 910000.0000, 3, '40202000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40203000000', 'Textiles y vestuarios', 'S', '612030100001', 24000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2, '40200000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40203010000', 'Textiles', 'C', '612030100001', 12000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 3, '40203000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40203020000', 'Prendas de vestir', 'C', '612030200001', 12000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 3, '40203000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40204000000', 'Productos de cuero y caucho', 'S', '612040200001', 3600000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 2, '40200000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40204030000', 'Cauchos y tripas para vehculos', 'C', '612040200001', 3600000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 300000.0000, 3, '40204000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40205000000', 'Productos de papel, cartn e impresos', 'S', '612050100001', 41381460.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3448455.0000, 3448455.0000, 3448455.0000, 3448455.0000, 3448455.0000, 3448455.0000, 3448455.0000, 3448455.0000, 3448455.0000, 3448455.0000, 3448455.0000, 3448455.0000, 2, '40200000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40205010000', 'Pulpa de madera, papel y cartn', 'C', '612050100001', 11690640.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 974220.0000, 974220.0000, 974220.0000, 974220.0000, 974220.0000, 974220.0000, 974220.0000, 974220.0000, 974220.0000, 974220.0000, 974220.0000, 974220.0000, 3, '40205000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40205030000', 'Productos de papel y cartn para oficina', 'C', '612050300001', 10608000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 884000.0000, 884000.0000, 884000.0000, 884000.0000, 884000.0000, 884000.0000, 884000.0000, 884000.0000, 884000.0000, 884000.0000, 884000.0000, 884000.0000, 3, '40205000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40205040000', 'Libros, revistas y peridicos', 'C', '612050400001', 4142820.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 345235.0000, 345235.0000, 345235.0000, 345235.0000, 345235.0000, 345235.0000, 345235.0000, 345235.0000, 345235.0000, 345235.0000, 345235.0000, 345235.0000, 3, '40205000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40205060000', 'Productos de papel y cartn para computacin', 'C', '612050600001', 10500000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 875000.0000, 875000.0000, 875000.0000, 875000.0000, 875000.0000, 875000.0000, 875000.0000, 875000.0000, 875000.0000, 875000.0000, 875000.0000, 875000.0000, 3, '40205000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40205070000', 'Productos de papel y cartn para la imprenta y reproduccin', 'C', '612050700001', 4440000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 370000.0000, 370000.0000, 370000.0000, 370000.0000, 370000.0000, 370000.0000, 370000.0000, 370000.0000, 370000.0000, 370000.0000, 370000.0000, 370000.0000, 3, '40205000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40206000000', 'Productos qumicos y derivados', 'S', '612060200001', 103380000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 8615000.0000, 8615000.0000, 8615000.0000, 8615000.0000, 8615000.0000, 8615000.0000, 8615000.0000, 8615000.0000, 8615000.0000, 8615000.0000, 8615000.0000, 8615000.0000, 2, '40200000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40206020000', 'Abonos, plaguicidas y otros', 'C', '612060200001', 3504000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 292000.0000, 292000.0000, 292000.0000, 292000.0000, 292000.0000, 292000.0000, 292000.0000, 292000.0000, 292000.0000, 292000.0000, 292000.0000, 292000.0000, 3, '40206000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40206030000', 'Tintas, pinturas y colorantes', 'C', '612060300001', 59280000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 4940000.0000, 4940000.0000, 4940000.0000, 4940000.0000, 4940000.0000, 4940000.0000, 4940000.0000, 4940000.0000, 4940000.0000, 4940000.0000, 4940000.0000, 4940000.0000, 3, '40206000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40206040000', 'Productos farmacuticos y medicamentos', 'C', '612060400001', 7632000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 636000.0000, 636000.0000, 636000.0000, 636000.0000, 636000.0000, 636000.0000, 636000.0000, 636000.0000, 636000.0000, 636000.0000, 636000.0000, 636000.0000, 3, '40206000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40206060000', 'Combustibles y lubricantes', 'C', '612060600001', 24600000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2050000.0000, 2050000.0000, 2050000.0000, 2050000.0000, 2050000.0000, 2050000.0000, 2050000.0000, 2050000.0000, 2050000.0000, 2050000.0000, 2050000.0000, 2050000.0000, 3, '40206000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40206080000', 'Productos plsticos', 'C', '612060800001', 8364000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 697000.0000, 697000.0000, 697000.0000, 697000.0000, 697000.0000, 697000.0000, 697000.0000, 697000.0000, 697000.0000, 697000.0000, 697000.0000, 697000.0000, 3, '40206000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40207000000', 'Productos minerales no metlicos', 'S', '612070200001', 22416000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1868000.0000, 1868000.0000, 1868000.0000, 1868000.0000, 1868000.0000, 1868000.0000, 1868000.0000, 1868000.0000, 1868000.0000, 1868000.0000, 1868000.0000, 1868000.0000, 2, '40200000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40207020000', 'Vidrios y productos de vidrio', 'C', '612070200001', 6168000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 514000.0000, 514000.0000, 514000.0000, 514000.0000, 514000.0000, 514000.0000, 514000.0000, 514000.0000, 514000.0000, 514000.0000, 514000.0000, 514000.0000, 3, '40207000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40207040000', 'Cemento, cal y yeso', 'C', '612070400001', 16248000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1354000.0000, 1354000.0000, 1354000.0000, 1354000.0000, 1354000.0000, 1354000.0000, 1354000.0000, 1354000.0000, 1354000.0000, 1354000.0000, 1354000.0000, 1354000.0000, 3, '40207000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40208000000', 'Productos metlicos', 'S', '612080100001', 245327200.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 20443933.3300, 20443933.3300, 20443933.3300, 20443933.3300, 20443933.3300, 20443933.3300, 20443933.3300, 20443933.3300, 20443933.3300, 20443933.3300, 20443933.3300, 20443933.3700, 2, '40200000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40208010000', 'Productos primarios de hierro y acero', 'C', '612080100001', 41520000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3460000.0000, 3460000.0000, 3460000.0000, 3460000.0000, 3460000.0000, 3460000.0000, 3460000.0000, 3460000.0000, 3460000.0000, 3460000.0000, 3460000.0000, 3460000.0000, 3, '40208000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40208030000', 'Herramientas menores, cuchillera y artculos generales de ferretera', 'C', '612080300001', 13899600.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1158300.0000, 1158300.0000, 1158300.0000, 1158300.0000, 1158300.0000, 1158300.0000, 1158300.0000, 1158300.0000, 1158300.0000, 1158300.0000, 1158300.0000, 1158300.0000, 3, '40208000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40208090000', 'Repuestos y accesorios para equipos de transporte', 'C', '612080900001', 16707600.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1392300.0000, 1392300.0000, 1392300.0000, 1392300.0000, 1392300.0000, 1392300.0000, 1392300.0000, 1392300.0000, 1392300.0000, 1392300.0000, 1392300.0000, 1392300.0000, 3, '40208000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40208100000', 'Repuestos y accesorios para otros equipos', 'C', '612081000001', 166000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 13833333.3300, 13833333.3300, 13833333.3300, 13833333.3300, 13833333.3300, 13833333.3300, 13833333.3300, 13833333.3300, 13833333.3300, 13833333.3300, 13833333.3300, 13833333.3700, 3, '40208000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40208990000', 'Otros productos metlicos', 'C', '612089900001', 7200000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 600000.0000, 3, '40208000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40209000000', 'Productos de madera', 'S', '612090100001', 4056000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 2, '40200000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40209010000', 'Productos primarios de madera', 'C', '612090100001', 4056000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 338000.0000, 3, '40209000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40210000000', 'Productos varios y tiles diversos', 'S', '612100100001', 141799200.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 11816600.0000, 11816600.0000, 11816600.0000, 11816600.0000, 11816600.0000, 11816600.0000, 11816600.0000, 11816600.0000, 11816600.0000, 11816600.0000, 11816600.0000, 11816600.0000, 2, '40200000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40210010000', 'Artculos de deporte, recreacin y juguetes', 'C', '612100100001', 12000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 3, '40210000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40210020000', 'Materiales y tiles de limpieza y aseo', 'C', '612100200001', 16598400.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1383200.0000, 1383200.0000, 1383200.0000, 1383200.0000, 1383200.0000, 1383200.0000, 1383200.0000, 1383200.0000, 1383200.0000, 1383200.0000, 1383200.0000, 1383200.0000, 3, '40210000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40210030000', 'Utensilios de cocina y comedor', 'C', '612100300001', 3060000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 255000.0000, 255000.0000, 255000.0000, 255000.0000, 255000.0000, 255000.0000, 255000.0000, 255000.0000, 255000.0000, 255000.0000, 255000.0000, 255000.0000, 3, '40210000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40210050000', 'tiles de escritorio, oficina y materiales de instruccin', 'C', '612100500001', 14529600.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1210800.0000, 1210800.0000, 1210800.0000, 1210800.0000, 1210800.0000, 1210800.0000, 1210800.0000, 1210800.0000, 1210800.0000, 1210800.0000, 1210800.0000, 1210800.0000, 3, '40210000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40210060000', 'Condecoraciones, ofrendas y similares', 'C', '612100600001', 5316000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 443000.0000, 443000.0000, 443000.0000, 443000.0000, 443000.0000, 443000.0000, 443000.0000, 443000.0000, 443000.0000, 443000.0000, 443000.0000, 443000.0000, 3, '40210000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40210070000', 'Productos de seguridad en el trabajo', 'C', '612100700001', 27120000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2260000.0000, 2260000.0000, 2260000.0000, 2260000.0000, 2260000.0000, 2260000.0000, 2260000.0000, 2260000.0000, 2260000.0000, 2260000.0000, 2260000.0000, 2260000.0000, 3, '40210000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40210080000', 'Materiales para equipos de computacin', 'C', '612100800001', 8611200.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 717600.0000, 717600.0000, 717600.0000, 717600.0000, 717600.0000, 717600.0000, 717600.0000, 717600.0000, 717600.0000, 717600.0000, 717600.0000, 717600.0000, 3, '40210000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40210110000', 'Materiales elctricos', 'C', '612101100001', 33300000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2775000.0000, 2775000.0000, 2775000.0000, 2775000.0000, 2775000.0000, 2775000.0000, 2775000.0000, 2775000.0000, 2775000.0000, 2775000.0000, 2775000.0000, 2775000.0000, 3, '40210000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40210120000', 'Materiales para instalaciones sanitarias', 'C', '612101000001', 10164000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 847000.0000, 847000.0000, 847000.0000, 847000.0000, 847000.0000, 847000.0000, 847000.0000, 847000.0000, 847000.0000, 847000.0000, 847000.0000, 847000.0000, 3, '40210000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40210130000', 'Materiales fotogrficos', 'C', '612101300001', 2940000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 245000.0000, 245000.0000, 245000.0000, 245000.0000, 245000.0000, 245000.0000, 245000.0000, 245000.0000, 245000.0000, 245000.0000, 245000.0000, 245000.0000, 3, '40210000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40210990000', 'Otros productos y tiles diversos', 'C', '612109900001', 8160000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 680000.0000, 680000.0000, 680000.0000, 680000.0000, 680000.0000, 680000.0000, 680000.0000, 680000.0000, 680000.0000, 680000.0000, 680000.0000, 680000.0000, 3, '40210000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40299000000', 'Otros materiales y suministros', 'S', '612990100001', 32400000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2, '40200000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40299010000', 'Otros materiales y suministros', 'C', '612990100001', 32400000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 2700000.0000, 3, '40299000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40300000000', 'SERVICIOS NO PERSONALES', 'S', '613010300001', 1106399256.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 92910938.0000, 92910938.0000, 92910938.0000, 92910938.0000, 92910938.0000, 92910938.0000, 92910938.0000, 92910938.0000, 92910938.0000, 92910938.0000, 92910938.0000, 92910938.0000, 1, '')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40301000000', 'Alquileres de inmuebles', 'S', '613010100001', 4000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3700, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40301010000', 'Alquileres de edificios y locales', 'C', '613010100001', 4000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3300, 333333.3700, 3, '40301000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40302000000', 'Alquileres de maquinaria y equipos', 'S', '613010300001', 3360000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40302990000', 'Alquileres de otras maquinaria y equipos', 'C', '613010300001', 3360000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 280000.0000, 3, '40302000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40304000000', 'Servicios bsicos', 'S', '613030100001', 199677306.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 16639775.5000, 16639775.5000, 16639775.5000, 16639775.5000, 16639775.5000, 16639775.5000, 16639775.5000, 16639775.5000, 16639775.5000, 16639775.5000, 16639775.5000, 16639775.5000, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40304010000', 'Electricidad', 'C', '613030100001', 139660800.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 11638400.0000, 11638400.0000, 11638400.0000, 11638400.0000, 11638400.0000, 11638400.0000, 11638400.0000, 11638400.0000, 11638400.0000, 11638400.0000, 11638400.0000, 11638400.0000, 3, '40304000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40304020000', 'Gas', 'C', '613010300001', 1572840.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 131070.0000, 131070.0000, 131070.0000, 131070.0000, 131070.0000, 131070.0000, 131070.0000, 131070.0000, 131070.0000, 131070.0000, 131070.0000, 131070.0000, 3, '40304000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40304030000', 'Agua', 'C', '613010300001', 3057600.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 254800.0000, 254800.0000, 254800.0000, 254800.0000, 254800.0000, 254800.0000, 254800.0000, 254800.0000, 254800.0000, 254800.0000, 254800.0000, 254800.0000, 3, '40304000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40304040000', 'Telfonos', 'C', '613010300001', 26586000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2215500.0000, 2215500.0000, 2215500.0000, 2215500.0000, 2215500.0000, 2215500.0000, 2215500.0000, 2215500.0000, 2215500.0000, 2215500.0000, 2215500.0000, 2215500.0000, 3, '40304000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40304050000', 'Servicio de comunicaciones', 'C', '613010300001', 25200000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2100000.0000, 2100000.0000, 2100000.0000, 2100000.0000, 2100000.0000, 2100000.0000, 2100000.0000, 2100000.0000, 2100000.0000, 2100000.0000, 2100000.0000, 2100000.0000, 3, '40304000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40304060000', 'Servicio de aseo urbano y domiciliario', 'C', '613010300001', 3600066.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 300005.5000, 300005.5000, 300005.5000, 300005.5000, 300005.5000, 300005.5000, 300005.5000, 300005.5000, 300005.5000, 300005.5000, 300005.5000, 300005.5000, 3, '40304000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40306000000', 'Servicios de transporte y almacenaje', 'S', '613040100001', 2776440.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 231370.0000, 231370.0000, 231370.0000, 231370.0000, 231370.0000, 231370.0000, 231370.0000, 231370.0000, 231370.0000, 231370.0000, 231370.0000, 231370.0000, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40306010000', 'Fletes y embalajes', 'C', '613040100001', 1800000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 150000.0000, 150000.0000, 150000.0000, 150000.0000, 150000.0000, 150000.0000, 150000.0000, 150000.0000, 150000.0000, 150000.0000, 150000.0000, 150000.0000, 3, '40306000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40306030000', 'Estacionamiento', 'C', '613010300001', 30240.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2520.0000, 2520.0000, 2520.0000, 2520.0000, 2520.0000, 2520.0000, 2520.0000, 2520.0000, 2520.0000, 2520.0000, 2520.0000, 2520.0000, 3, '40306000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40306040000', 'Peaje', 'C', '613010300001', 96000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 8000.0000, 8000.0000, 8000.0000, 8000.0000, 8000.0000, 8000.0000, 8000.0000, 8000.0000, 8000.0000, 8000.0000, 8000.0000, 8000.0000, 3, '40306000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40306050000', 'Servicios de proteccin en traslado de fondos y de mensajera', 'C', '613010300001', 850200.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 70850.0000, 70850.0000, 70850.0000, 70850.0000, 70850.0000, 70850.0000, 70850.0000, 70850.0000, 70850.0000, 70850.0000, 70850.0000, 70850.0000, 3, '40306000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40307000000', 'Servicios de informacin, impresin y relaciones pblicas', 'S', '613050100001', 89226000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 7435500.0000, 7435500.0000, 7435500.0000, 7435500.0000, 7435500.0000, 7435500.0000, 7435500.0000, 7435500.0000, 7435500.0000, 7435500.0000, 7435500.0000, 7435500.0000, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40307010000', 'Publicidad y propaganda', 'C', '613050100001', 42000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3, '40307000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40307020000', 'Imprenta y reproduccin', 'C', '613010300001', 17040000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1420000.0000, 1420000.0000, 1420000.0000, 1420000.0000, 1420000.0000, 1420000.0000, 1420000.0000, 1420000.0000, 1420000.0000, 1420000.0000, 1420000.0000, 1420000.0000, 3, '40307000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40307030000', 'Relaciones sociales', 'C', '613010300001', 5616000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 468000.0000, 468000.0000, 468000.0000, 468000.0000, 468000.0000, 468000.0000, 468000.0000, 468000.0000, 468000.0000, 468000.0000, 468000.0000, 468000.0000, 3, '40307000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40307040000', 'Avisos', 'C', '613010300001', 24570000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2047500.0000, 2047500.0000, 2047500.0000, 2047500.0000, 2047500.0000, 2047500.0000, 2047500.0000, 2047500.0000, 2047500.0000, 2047500.0000, 2047500.0000, 2047500.0000, 3, '40307000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40308000000', 'Primas y otros gastos de seguros y comisiones bancarias', 'S', '613060100001', 50400000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 4200000.0000, 4200000.0000, 4200000.0000, 4200000.0000, 4200000.0000, 4200000.0000, 4200000.0000, 4200000.0000, 4200000.0000, 4200000.0000, 4200000.0000, 4200000.0000, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40308010000', 'Primas y gastos de seguros', 'C', '613060100001', 42000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3500000.0000, 3, '40308000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40308020000', 'Comisiones y gastos bancarios', 'C', '613010300001', 8400000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 700000.0000, 700000.0000, 700000.0000, 700000.0000, 700000.0000, 700000.0000, 700000.0000, 700000.0000, 700000.0000, 700000.0000, 700000.0000, 700000.0000, 3, '40308000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40309000000', 'Viticos y pasajes', 'S', '613070100001', 66000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 5500000.0000, 5500000.0000, 5500000.0000, 5500000.0000, 5500000.0000, 5500000.0000, 5500000.0000, 5500000.0000, 5500000.0000, 5500000.0000, 5500000.0000, 5500000.0000, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40309010000', 'Viticos y pasajes dentro del pas', 'C', '613070100001', 30000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 3, '40309000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40309020000', 'Viticos y pasajes fuera del pas', 'C', '613010300001', 36000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3000000.0000, 3000000.0000, 3000000.0000, 3000000.0000, 3000000.0000, 3000000.0000, 3000000.0000, 3000000.0000, 3000000.0000, 3000000.0000, 3000000.0000, 3000000.0000, 3, '40309000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40310000000', 'Servicios profesionales y tcnicos', 'S', '613080100001', 349520000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 29126666.6700, 29126666.6700, 29126666.6700, 29126666.6700, 29126666.6700, 29126666.6700, 29126666.6700, 29126666.6700, 29126666.6700, 29126666.6700, 29126666.6700, 29126666.6300, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40310010000', 'Servicios jurdicos', 'C', '613080100001', 18000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 3, '40310000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40310020000', 'Servicios de contabilidad y auditora', 'C', '613010300001', 24000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 3, '40310000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40310040000', 'Servicios de ingeniera y arquitectnicos', 'C', '613010300001', 24000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 2000000.0000, 3, '40310000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40310070000', 'Servicios de capacitacin y adiestramiento', 'C', '613010300001', 30000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 2500000.0000, 3, '40310000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40310100000', 'Servicios de vigilancia', 'C', '613010300001', 8000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 666666.6700, 666666.6700, 666666.6700, 666666.6700, 666666.6700, 666666.6700, 666666.6700, 666666.6700, 666666.6700, 666666.6700, 666666.6700, 666666.6300, 3, '40310000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40310990000', 'Otros servicios profesionales y tcnicos', 'C', '613010300001', 245520000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 20460000.0000, 20460000.0000, 20460000.0000, 20460000.0000, 20460000.0000, 20460000.0000, 20460000.0000, 20460000.0000, 20460000.0000, 20460000.0000, 20460000.0000, 20460000.0000, 3, '40310000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40311000000', 'Conservacin y reparaciones menores de maquinaria y equipos', 'S', '613090100001', 23388000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2660000.0000, 2660000.0000, 2660000.0000, 2660000.0000, 2660000.0000, 2660000.0000, 2660000.0000, 2660000.0000, 2660000.0000, 2660000.0000, 2660000.0000, 2660000.0000, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40311020000', 'Conservacin y reparaciones menores de equipos de transporte, traccin y elevacin', 'C', '613090100001', 6096000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 508000.0000, 508000.0000, 508000.0000, 508000.0000, 508000.0000, 508000.0000, 508000.0000, 508000.0000, 508000.0000, 508000.0000, 508000.0000, 508000.0000, 3, '40311000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40311030000', 'Conservacin y reparaciones menores de equipos de comunicacionesyde se?alamiento', 'C', '613010300001', 1920000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 3, '40311000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40311070000', 'Conservacin y reparaciones menores de mquinas, muebles y dems equipos de oficina y alojamiento', 'C', '613010300001', 10452000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 871000.0000, 3, '40311000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40311990000', 'Conservacin y reparaciones menores de otras maquinaria y equipos', 'C', '613010300001', 4920000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 410000.0000, 410000.0000, 410000.0000, 410000.0000, 410000.0000, 410000.0000, 410000.0000, 410000.0000, 410000.0000, 410000.0000, 410000.0000, 410000.0000, 3, '40311000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40312000000', 'Conservacin y reparaciones menores de obras', 'S', '613101000001', 90000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40312020000', 'Conservacin y reparaciones menores de obras en bienes del dominio pblico', 'C', '613101000001', 90000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 7500000.0000, 3, '40312000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40315000000', 'Servicios fiscales', 'S', '613140100001', 41940000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3495000.0000, 3495000.0000, 3495000.0000, 3495000.0000, 3495000.0000, 3495000.0000, 3495000.0000, 3495000.0000, 3495000.0000, 3495000.0000, 3495000.0000, 3495000.0000, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40315010000', 'Derechos de importacin y servicios aduaneros', 'C', '613140100001', 12000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 1000000.0000, 3, '40315000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40315020000', 'Tasas y otros derechos obligatorios', 'C', '613010300001', 29940000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2495000.0000, 2495000.0000, 2495000.0000, 2495000.0000, 2495000.0000, 2495000.0000, 2495000.0000, 2495000.0000, 2495000.0000, 2495000.0000, 2495000.0000, 2495000.0000, 3, '40315000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40316000000', 'Servicios de diversin, esparcimiento y culturales', 'S', '613150100001', 10404000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40316010000', 'Servicios de diversin, esparcimiento y culturales', 'C', '613150100001', 10404000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 867000.0000, 3, '40316000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40318000000', 'Impuestos indirectos', 'S', '613170100001', 164667510.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40318010000', 'Impuesto al valor agregado', 'C', '613170100001', 164667510.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 13722292.5000, 3, '40318000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40399000000', 'Otros servicios no personales', 'S', '613990100001', 11040000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 2, '40300000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40399010000', 'Otros servicios no personales', 'C', '613990100001', 11040000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 920000.0000, 3, '40399000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40400000000', 'ACTIVOS REALES', 'S', '123010201003', 1496431008.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 124702584.0000, 124702584.0000, 124702584.0000, 124702584.0000, 124702584.0000, 124702584.0000, 124702584.0000, 124702584.0000, 124702584.0000, 124702584.0000, 124702584.0000, 124702583.9900, 1, '')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40401000000', 'Repuestos y reparaciones mayores', 'S', '123010201003', 1161627008.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 96802250.6700, 96802250.6700, 96802250.6700, 96802250.6700, 96802250.6700, 96802250.6700, 96802250.6700, 96802250.6700, 96802250.6700, 96802250.6700, 96802250.6700, 96802250.6300, 2, '40400000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40401010000', 'Repuestos mayores', 'S', '123010201003', 1071879008.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 89323250.6700, 89323250.6700, 89323250.6700, 89323250.6700, 89323250.6700, 89323250.6700, 89323250.6700, 89323250.6700, 89323250.6700, 89323250.6700, 89323250.6700, 89323250.6300, 3, '40401000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40401010200', 'Repuestos mayores para equipos de transporte, traccin y elevacin', 'C', '123010201003', 91800000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 7650000.0000, 7650000.0000, 7650000.0000, 7650000.0000, 7650000.0000, 7650000.0000, 7650000.0000, 7650000.0000, 7650000.0000, 7650000.0000, 7650000.0000, 7650000.0000, 4, '40401010000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40401010700', 'Repuestos mayores para mquinas, muebles y dems equipos de oficina y alojamiento', 'C', '123010201003', 29801004.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2483417.0000, 2483417.0000, 2483417.0000, 2483417.0000, 2483417.0000, 2483417.0000, 2483417.0000, 2483417.0000, 2483417.0000, 2483417.0000, 2483417.0000, 2483417.0000, 4, '40401010000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40401019900', 'Repuestos mayores para otras maquinaria y equipos', 'C', '123010201003', 950278004.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 79189833.6700, 79189833.6700, 79189833.6700, 79189833.6700, 79189833.6700, 79189833.6700, 79189833.6700, 79189833.6700, 79189833.6700, 79189833.6700, 79189833.6700, 79189833.6300, 4, '40401010000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40401020000', 'Reparaciones mayores de maquinariay equipos', 'S', '123010202001', 89748000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 7479000.0000, 7479000.0000, 7479000.0000, 7479000.0000, 7479000.0000, 7479000.0000, 7479000.0000, 7479000.0000, 7479000.0000, 7479000.0000, 7479000.0000, 7479000.0000, 3, '40401000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40401020200', 'Reparaciones mayores de equipos de transporte, traccin y elevacin', 'C', '123010201003', 54648000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 4554000.0000, 4554000.0000, 4554000.0000, 4554000.0000, 4554000.0000, 4554000.0000, 4554000.0000, 4554000.0000, 4554000.0000, 4554000.0000, 4554000.0000, 4554000.0000, 4, '40401020000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40401029900', 'Reparaciones mayores de otras maquinaria y equipos', 'C', '123010202001', 35100000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2925000.0000, 2925000.0000, 2925000.0000, 2925000.0000, 2925000.0000, 2925000.0000, 2925000.0000, 2925000.0000, 2925000.0000, 2925000.0000, 2925000.0000, 2925000.0000, 4, '40401020000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40402000000', 'Conservacin, ampliaciones y mejoras mayores de obras', 'S', '123050200001', 43824000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 2, '40400000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40402020000', 'Conservacin, ampliaciones y mejoras mayores de obrasen bienes del dominio pblico', 'C', '123050200001', 43824000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3652000.0000, 3, '40402000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40403000000', 'Maquinaria y dems equipos de construccin, campo, industria y taller', 'S', '123010203001', 11016000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 2, '40400000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40403050000', 'Maquinaria y equipos industriales y de taller', 'C', '123010203001', 11016000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 918000.0000, 3, '40403000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40404000000', 'Equipos de transporte, traccin y elevacin', 'S', '123010204001', 2500000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3600, 2, '40400000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40404010000', 'Vehculos automotores terrestres', 'C', '123010204001', 2500000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3300, 208333.3600, 3, '40404000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40405000000', 'Equipos de comunicaciones y de se?alamiento', 'S', '123010205001', 48324000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 2, '40400000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40405010000', 'Equipos de telecomunicaciones', 'C', '123010205001', 48324000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 4027000.0000, 3, '40405000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40409000000', 'Mquinas, muebles y dems equipos de oficina y alojamiento', 'S', '123010208001', 128412000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 10701000.0000, 10701000.0000, 10701000.0000, 10701000.0000, 10701000.0000, 10701000.0000, 10701000.0000, 10701000.0000, 10701000.0000, 10701000.0000, 10701000.0000, 10701000.0000, 2, '40400000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40409010000', 'Mobiliario y equipos de oficina', 'C', '123010208001', 49456000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 4121333.3300, 4121333.3300, 4121333.3300, 4121333.3300, 4121333.3300, 4121333.3300, 4121333.3300, 4121333.3300, 4121333.3300, 4121333.3300, 4121333.3300, 4121333.3700, 3, '40409000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40409020000', 'Equipos de computacin', 'C', '123010201003', 39500000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3291666.6700, 3291666.6700, 3291666.6700, 3291666.6700, 3291666.6700, 3291666.6700, 3291666.6700, 3291666.6700, 3291666.6700, 3291666.6700, 3291666.6700, 3291666.6300, 3, '40409000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40409030000', 'Mobiliario y equipos de alojamiento', 'C', '123010201003', 39456000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3288000.0000, 3288000.0000, 3288000.0000, 3288000.0000, 3288000.0000, 3288000.0000, 3288000.0000, 3288000.0000, 3288000.0000, 3288000.0000, 3288000.0000, 3288000.0000, 3, '40409000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40412000000', 'Activos intangibles', 'S', '124040000001', 99999996.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 2, '40400000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40412040000', 'Paquetes y programas de computacin', 'C', '124040000001', 99999996.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 8333333.0000, 3, '40412000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40499000000', 'Otros activos reales', 'S', '123011900001', 728004.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 2, '40400000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40499010000', 'Otros activos reales', 'C', '123011900001', 728004.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 60667.0000, 3, '40499000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40700000000', 'TRANSFERENCIAS Y DONACIONES', 'S', '631010102003', 45600000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 3800000.0000, 3800000.0000, 3800000.0000, 3800000.0000, 3800000.0000, 3800000.0000, 3800000.0000, 3800000.0000, 3800000.0000, 3800000.0000, 3800000.0000, 3800000.0000, 1, '')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40701000000', 'Transferencias y donaciones corrientes internas', 'S', '631010102003', 27600000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2, '40700000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40701030000', 'Transferencias corrientes internas al sector pblico', 'C', '631010102003', 27600000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 2300000.0000, 3, '40701000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40702000000', 'Transferencias y donaciones corrientes al exterior', 'S', '631010201001', 18000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 2, '40700000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40702020000', 'Donaciones corrientes al exterior', 'S', '631010201001', 18000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 3, '40702000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000004', '000001', '000', '00', '00', '40702020100', 'Donaciones corrientes a personas', 'C', '631010201001', 18000000.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 1500000.0000, 4, '40702020000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000005', '000001', '001', '00', '00', '40700000000', 'TRANSFERENCIAS Y DONACIONES', 'S', '631010101005', 6509880.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 1, '')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000005', '000001', '001', '00', '00', '40701000000', 'Transferencias y donaciones corrientes internas', 'S', '631010101005', 6509880.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 2, '40700000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000005', '000001', '001', '00', '00', '40701010000', 'Transferencias corrientes internas al sector privado', 'S', '631010101005', 6509880.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 3, '40701000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000005', '000001', '001', '00', '00', '40701010100', 'Pensiones', 'C', '631010101005', 6509880.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 542490.0000, 4, '40701010000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000006', '000001', '001', '00', '00', '40400000000', 'ACTIVOS REALES', 'S', '614010200001', 75397056.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 6283088.0000, 6283088.0000, 6283088.0000, 6283088.0000, 6283088.0000, 6283088.0000, 6283088.0000, 6283088.0000, 6283088.0000, 6283088.0000, 6283088.0000, 6283088.0000, 1, '')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000006', '000001', '001', '00', '00', '40403000000', 'Maquinaria y dems equipos de construccin, campo, industria y taller', 'S', '614010200001', 62063724.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 2, '40400000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000006', '000001', '001', '00', '00', '40403050000', 'Maquinaria y equipos industriales y de taller', 'C', '614010200001', 62063724.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 5171977.0000, 3, '40403000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000006', '000001', '001', '00', '00', '40412000000', 'Activos intangibles', 'S', '614020400001', 13333332.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 2, '40400000000')");
		$this->uf_insert_cuentas_tmp("INSERT INTO spg_cuentas_temp VALUES ('0001', '00000000000000000006', '000001', '001', '00', '00', '40412040000', 'Paquetes y programas de computacin', 'C', '614020400001', 13333332.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 1111111.0000, 3, '40412000000')");
		return true;
	}
	
	function uf_reprocesar()
	{
		$lb_valido=true;
		require_once("mis/sigesp_mis_c_contabiliza.php");  
  		require_once("mis/class_folder/class_sigesp_scbmov_integracion.php");  
		$in_class_contabiliza = new sigesp_mis_c_contabiliza();
 		$in_class_int = new class_sigesp_scbmov_integracion();
		$ls_sql="SELECT distinct *  
				 FROM   scb_movbco 
				 WHERE  CONCAT(codemp,numdoc,codope,codban,ctaban,estmov) in (SELECT CONCAT(codemp,numdoc,codope,codban,ctaban,estmov) FROM scb_movbco_spg)";
		$rs_data=$this->io_sql->select($ls_sql);	
		if($rs_data===false)
		{
			$this->is_msg_error="Error en uf_reprocesar, para mas detalles verifique el archivo txt de la carpeta results";
			$ls_cadena=$this->io_sql->message."  \r\n";
			if ($this->lo_archivo)			
			{	@fwrite($this->lo_archivo,$ls_cadena);	}
			return false;
		}
		else
		{
			while($row=$this->io_sql->fetch_row($rs_data))
			{
				$ls_codemp=$row["codemp"];
				$ls_numdoc=$row["numdoc"];
				$ls_codban=$row["codban"];
				$ls_ctaban=$row["ctaban"];					
				$ls_codope=$row["codope"];
				$ld_fecmov=$row["fecmov"];
				$ls_estmov=$row["estmov"];
				$ls_estmov_aux=$ls_estmov;
				if($ls_estmov=='C')
				{
					$lb_valido = $in_class_int->uf_reversar_contabilizacion_banco( $ls_codban,$ls_ctaban,$ls_numdoc,$ls_codope,$ls_estmov);
					if($lb_valido)		
					{
						$ls_cadena="Movimiento reversado NumDoc=$ls_numdoc,CodOpe=$ls_codope,CodBan=$ls_codban,CtaBan=$ls_ctaban  \r\n";
						if ($this->lo_archivo)			
						{	@fwrite($this->lo_archivo,$ls_cadena);	}
						$ls_estmov_aux='N';
					}
					else
					{
						$ls_cadena="Error al reversar Movimiento NumDoc=$ls_numdoc,CodOpe=$ls_codope,CodBan=$ls_codban,CtaBan=$ls_ctaban  \r\n";
						if ($this->lo_archivo)			
						{	@fwrite($this->lo_archivo,$ls_cadena);	}
						return false;
					}
				}
				$lb_valido=$this->uf_reprocesar_movimientos($ls_numdoc,$ls_codope,$ls_codban,$ls_ctaban,$ls_estmov_aux);
				if(($ls_estmov=='C')&&($lb_valido))						
				{
					$lb_valido = $in_class_int->uf_procesar_contabilizacion_banco( $ls_codban,$ls_ctaban,$ls_numdoc,$ls_codope,$ls_estmov_aux,$ld_fecmov);
					if($lb_valido)		
					{
						$ls_cadena="Movimiento Contabilizado NumDoc=$ls_numdoc,CodOpe=$ls_codope,CodBan=$ls_codban,CtaBan=$ls_ctaban  \r\n";
						if ($this->lo_archivo)			
						{	@fwrite($this->lo_archivo,$ls_cadena);	}
					}
					else
					{
						$ls_cadena="Error al contabilizar Movimiento NumDoc=$ls_numdoc,CodOpe=$ls_codope,CodBan=$ls_codban,CtaBan=$ls_ctaban  \r\n";
						if ($this->lo_archivo)			
						{	@fwrite($this->lo_archivo,$ls_cadena);	}
						return false;
					}
				}
			}			
		}
		return $lb_valido;
	}
	////////////////////////////////////////////////////////////////////////////////////////////////////
	// 	 Function:  uf_reprocesar_saldos
	// 	   Access:  public
	//  Arguments:  
	//	  Returns:  Boolean
	//Description:  Este método realiza la actualización de los saldos de las cuentas contables 
	//				segun los movimientos realizado en base a las mismas.
	////////////////////////////////////////////////////////////////////////////////////////////////////
	function uf_reprocesar_movimientos($ls_numdoc,$ls_codope,$ls_codban,$ls_ctaban,$ls_estmov)
	{
		$lb_valido=true;
		$int_scg=new class_sigesp_int_scg();
		$int_scg->is_codemp=$ls_codemp;
		//$this->io_sql->begin_transaction();
		//Actualizo los saldos de las cuentas a 0 		
		$ls_sql="SELECT * 
				 FROM scb_movbco_spg 
				 WHERE codemp='".$_SESSION["la_empresa"]["codemp"]."' AND numdoc='".$ls_numdoc."' AND codope='".$ls_codope."' 
				 AND codban='".$ls_codban."' AND ctaban='".$ls_ctaban."' AND estmov='".$ls_estmov."'
				 ORDER BY codope,numdoc";
		$rs_data=$this->io_sql->select($ls_sql);
		if($rs_data===false)
		{
			$this->is_msg_error="Error al reprocesar movimientos ,".$this->io_function->uf_convertirmsg($this->io_sql->message)." \r\n";
			//$this->rollback();		
			return false;
		}
		else
		{
			while($row=$this->io_sql->fetch_row($rs_data))
			{
				$ls_codope    = $row["codope"];
				$ls_numdoc    = $row["numdoc"];
				$ls_codban    = $row["codban"];
				$ls_ctaban    = $row["ctaban"];
				$ls_cuenta_spg= $row["spg_cuenta"];
				$ls_documento = $row["documento"];
				$ldec_monto   = $row["monto"];
				$ls_codestpro = $row["codestpro"];
				//$ls_estcla = $row["estcla"];
				$ls_cuenta_scg= $this->uf_select_cta_temp($ls_cuenta_spg,$ls_codestpro);
				$ls_cuenta_actual=$this->uf_select_cta_actual($ls_cuenta_spg,$ls_codestpro);
				$lb_valido=$this->uf_update_movbco_scg($ls_numdoc,$ls_codban,$ls_codope,$ls_ctaban,$ls_documento,$ls_cuenta_scg,$ldec_monto,$ls_cuenta_actual,$ls_cuenta_spg);				
			}
		}
		return $lb_valido;		
	}
	
	function uf_select_cta_temp($ls_cuenta_spg,$ls_codestpro)
	{
		$ls_cuenta_scg="";
		$ls_codestpro1=substr($ls_codestpro,0,20);
		$ls_codestpro2=substr($ls_codestpro,20,6);
		$ls_codestpro3=substr($ls_codestpro,26,3);
		$ls_sql="SELECT * FROM spg_cuentas_temp WHERE spg_cuenta='".$ls_cuenta_spg."' AND codestpro1='".$ls_codestpro1."' AND codestpro2='".$ls_codestpro2."' AND codestpro3='".$ls_codestpro3."' AND codestpro4='00' AND codestpro5='00'";
		$rs_data=$this->io_sql->select($ls_sql);
		if($rs_data===false)
		{
		}
		else
		{
			if($row=$this->io_sql->fetch_row($rs_data))
			{	$ls_cuenta_scg=$row["sc_cuenta"];  }
		}
		return $ls_cuenta_scg;
	}

	function uf_select_cta_actual($ls_cuenta_spg,$ls_codestpro)
	{
		$ls_cuenta_scg="";
		$ls_codestpro1=substr($ls_codestpro,0,20);
		$ls_codestpro2=substr($ls_codestpro,20,6);
		$ls_codestpro3=substr($ls_codestpro,26,3);
		$ls_sql="SELECT * FROM spg_cuentas WHERE spg_cuenta='".$ls_cuenta_spg."' AND codestpro1='".$ls_codestpro1."' AND codestpro2='".$ls_codestpro2."' AND codestpro3='".$ls_codestpro3."' AND codestpro4='00' AND codestpro5='00'";
		$rs_data=$this->io_sql->select($ls_sql);
		if($rs_data===false)
		{
			
		}
		else
		{
			if($row=$this->io_sql->fetch_row($rs_data))
			{	$ls_cuenta_scg=$row["sc_cuenta"];	}
		}
		return $ls_cuenta_scg;
	}

	function uf_update_movbco_scg($ls_numdoc,$ls_codban,$ls_codope,$ls_ctaban,$ls_documento,$ls_cuenta_scg,$ldec_monto,$ls_cuenta_actual,$ls_cuenta_spg)
	{
		$ls_sql="UPDATE scb_movbco_scg
				 SET    scg_cuenta='".$ls_cuenta_actual."'	
				 WHERE numdoc='".$ls_numdoc."'  AND codope='".$ls_codope."' AND codban='".$ls_codban."' AND ctaban='".$ls_ctaban."' AND scg_cuenta='".$ls_cuenta_scg."'
				 AND debhab='D'  AND monto=".$ldec_monto ;
		 
		$li_result=$this->io_sql->execute($ls_sql);
		if($li_result===false)		 
		{
			//$ls_cadena="Error en sentencia ".$this->io_function->uf_convertirmsg($this->io_sql->message)." \r\n" ;
			$ls_cadena=$this->io_sql->message." \r\n";
			if ($this->lo_archivo)			
			{	@fwrite($this->lo_archivo,$ls_cadena);	}
			return false;
		}
		else
		{
			if($li_result==1)
			{
				$ls_cadena="*******SE actualizo el documento $ls_numdoc con cuenta presupuestaria $ls_cuenta_spg ,de la cuenta $ls_cuenta_scg a la cuenta $ls_cuenta_actual \r\n";
				if ($this->lo_archivo)			
				{  @fwrite($this->lo_archivo,$ls_cadena);	}
			}
			else
			{
				$ls_cadena="--------No actualizo el documento $ls_numdoc con cuenta presupuestaria $ls_cuenta_spg ,de la cuenta $ls_cuenta_scg a la cuenta $ls_cuenta_actual \r\n";
				if ($this->lo_archivo)			
				{  @fwrite($this->lo_archivo,$ls_cadena);	}
			}
			return true;
		}
	}


}
?>
