2017-06 29 09:20:16 Nuevo(87101017,1) Caso :1344 2017-06 29 09:20:16 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-06 29 09:20:16 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-06 29 09:20:16 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 CasoSeguimiento :5699 EjecutarTarea_267() Recepción id_comp1075 187 ValidarUsuario(267):1 EjecutarPaso_433: form:1 , caso=1344 id_comp 1075 Mostrar form fin 2017-06-29 09:20:16 /******************************************************************************************************/ 2017-06-29 09:20:16TraerCaso(1344,95,) CargarCaso :1344 2017-06 29 09:20:16 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') Error : cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":null,"usr_resol":null} 2017-06 29 09:20:16 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-06 29 09:20:16 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-06 29 09:20:16 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 fin 2017-06-29 09:20:16 /******************************************************************************************************/ 2017-06-29 09:20:42TraerCaso(1344,95,) CargarCaso :1344 2017-06 29 09:20:42 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') Error : cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":null,"usr_resol":null} 2017-06 29 09:20:42 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-06 29 09:20:42 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-06 29 09:20:42 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 2017-06 29 09:20:42 Continuar(s,267,433,) EjecutarTarea_267() Recepción id_comp1075 187 ValidarUsuario(267):1 EjecutarPaso_433: form:1 , caso=1344 id_comp 1075 Paso::Guardar(Caso:1344) Datos a guardar: Array ( [wf_proceso_id] => 95 [wf_paso_id] => 433 [wf_tarea_id] => 267 [wf_caso_id] => 1344 [id] => 1075 [accion] => nextPaso [reg] => s [rta] => n [cod_formulario2] => 1 [id_periodo] => 2017 [obs_ingreso] => [cod_bloque] => 195 [oid] => [oid_maestro] => [2344] => 2017-06-28 [2357] => GSAU15-16 [2345] => 5 [2346] => 1 [2347] => 1 [2361] => [2362] => ) OID: 1096 rta: 1 dato:1096 tabla:sce.t1 CasoPaso:8591 CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 SiguientePasoDe433: Funcion para ejecutar el siguiente paso Condicion Tarea : true TerminarTarea(267,268) Ultimo seg :5699 Ultimo seg :5700 EjecutarTarea_268() Registro id_comp1075 187 187 ValidarUsuario(268):1 EjecutarPaso_434: form:2 , caso=1344 id_comp 1075 Mostrar form Retorno : Array ( [ret] => Ext.getCmp('comp_1075').removeAll();Ext.getCmp('comp_1075').add(new Ext.form.FormPanel({ title: 'Registro' ,padding: 10,id:'frm_formulario_95_1344',autoScroll:true ,labelAlign:'top',defaults: { anchor: '97%'} ,items: [new Ext.form.Hidden({name:'cod_formulario2',value:'2'}) ,new Ext.form.Hidden({name :'id_periodo',value:'2017'}) ,new Ext.form.Hidden({name :'obs_ingreso',value:''}) ,new Ext.form.Hidden({name:'cod_bloque',value:'196'}) ,new Ext.form.Hidden({name :'oid',value:''}) ,new Ext.form.Hidden({name :'oid_maestro',value:''}) ,{value:'',xtype:'textfield' , maxLength:200,autoCreate:{ tag:'input',maxlength:'200'} ,listeners:{ blur:function(){ this.setValue(this.getValue().toUpperCase()); } } ,id:'2348',fieldLabel:'Nombre del solicitante' },new Ext.form.ComboBox({fieldLabel:'Tipo de documento',anchor:'100%',forceSelection:true,emptyText:'Seleccione una opción',editable:true,displayField:'valor',valueField:'id',triggerAction:'all',minChars:3,store:new Ext.data.Store({autoDestroy:true,url:$view_js+"carga_comboQueryTabla.php",autoSave:false,baseParams:{'dqsl':'85', 'pro':'95', 'cas':'1344'},autoLoad:false,reader:new Ext.data.JsonReader({totalProperty:'total',successProperty:'success',idProperty:'id',root:'data',messageProperty:'message'},[{name:'id'},{name:'valor'}])}),mode:'remote',queryParam:'nombre',pageSize:20,hiddenName:2349,id:'inp_2349',loadValor:function(val,data){this.getStore().loadData(data);this.setValue(val);}}),{value:'',xtype:'numberfield' , maxLength:10,autoCreate:{ tag:'input',maxlength:'10'} ,id:'2350',fieldLabel:'Número documento' },{value:'',xtype:'textfield' , maxLength:200,autoCreate:{ tag:'input',maxlength:'200'} ,id:'2351',fieldLabel:'Dirección' },{value:'',xtype:'numberfield' , maxLength:20,autoCreate:{ tag:'input',maxlength:'20'} ,id:'2352',fieldLabel:'Teléfono' },new Ext.form.ComboBox({fieldLabel:'* Municipio',anchor:'100%',allowBlank:false,forceSelection:true,emptyText:'Seleccione una opción',editable:true,displayField:'valor',valueField:'id',triggerAction:'all',minChars:3,store:new Ext.data.Store({autoDestroy:true,url:$view_js+"carga_comboQueryTabla.php",autoSave:false,baseParams:{'dqsl':'89', 'pro':'95', 'cas':'1344'},autoLoad:false,reader:new Ext.data.JsonReader({totalProperty:'total',successProperty:'success',idProperty:'id',root:'data',messageProperty:'message'},[{name:'id'},{name:'valor'}])}),mode:'remote',queryParam:'nombre',pageSize:20,hiddenName:2353,id:'inp_2353',loadValor:function(val,data){this.getStore().loadData(data);this.setValue(val);}}),{value:'',xtype:'textfield' , maxLength:250,autoCreate:{ tag:'input',maxlength:'250'} ,id:'2354',fieldLabel:'Correo electrónico' },{value:'',xtype:'textfield' , maxLength:300,autoCreate:{ tag:'input',maxlength:'300'} ,id:'2355',fieldLabel:'Lugar de incidencia' }, new Ext.form.TextArea({id:'2356', fieldLabel:'Asunto de petición',name:'2356'}),{ xtype:'hidden',id:'hdcampo2365',value:'3'},{ xtype:'hidden',id:'2365'}, new Ext.grid.EditorGridPanel({xtype:'editorgrid',store:new Ext.data.JsonStore({ fields:[{ name:'oid' },{ name:'desc_anexo' },{ name:'adj_anexo' }]}),columns:[new Ext.grid.RowNumberer({width:30}),{header:'Descripción',dataIndex:'desc_anexo',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return '<div style="white-space:normal !important;">'+ val +'</div>';},editor:{value:'',xtype:'textfield' , maxLength:50 }},{header:'Adjunto',dataIndex:'adj_anexo',width:150,resizable:true,sortable:true,renderer: function columnWrap(val){return '<div style="white-space:normal !important;">'+ val +'</div>';},editor:new Ext.form.CompositeField({ items:[ new Ext.form.TextField({value:'',readOnly:true,id:'inp_inputfile_2359',value:'' }), new Ext.Button({hideLabel:true,tooltip:'Subir archivo',iconCls:'icon-attach',handler:function(){xajax_iniciarSubirArchivo('inp_inputfile_2359', '0');}}), new Ext.Button({hideLabel:true,tooltip:'borrar archivo',id:'btn_inp_inputfile_2359',iconCls:'icon-remove',handler:function(){if(Ext.getCmp('inp_inputfile_2359').getValue()!= '' && Ext.getCmp('inp_inputfile_2359').getValue()!= null )xajax_borrarArchivo('inp_inputfile_2359',Ext.getCmp('inp_inputfile_2359').value());} }) ],setValue:function(val){ Ext.getCmp('inp_inputfile_2359').setValue(val);},getValue:function(){return Ext.getCmp('inp_inputfile_2359').getValue(); } })}],stripeRows:true,height:150,id:'2365_3',title:'Anexos',stateful:true,stateId:'grid',autoScroll:true,autoWidth:true,sm:new Ext.grid.RowSelectionModel({singleSelect:false}),anchor:'97%',viewConfig:{forceFit:true,showPreview: true,enableRowBody: false, getRowClass: function(record, rowIndex, rp, ds){ return 'fila-act-sin-pro';},listeners:{rowsinserted:function(view,row,info){this.refresh();},rowremoved:function(view,row,info){this.refresh();}}},tbar:[{iconCls:'icon-add',tooltip:'Agregar',text:'Agregar',handler:function(){xajax_iniciarPintarFormulario({cod_formulario2:'3',id_periodo:'2016',oid_maestro:Ext.getCmp('frm_formulario_95_1344').getForm().findField('oid').getValue(),obs_ingreso:document.getElementsByName('cod_formulario2').item(0).value,contenedor_nuevo:'_3',cod_camp_m:'2365'},'n','','411','400');}},{iconCls:'icon-delete',tooltip:'Eliminar',text:'Eliminar',handler:function(){var grid = Ext.getCmp('2365_3');var list = grid.getSelectionModel().getSelections();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}Ext.Msg.show({ title:'Advertencia de eliminacion', msg:'Esta seguro que desea eliminar los items seleccionados?', buttons:Ext.Msg.YESNO, animEl:'btnEl', fn:function(btn){ if (btn == 'yes'){grid.store.remove(list);} }, icon:Ext.MessageBox.QUESTION });}},{iconCls:'icon-application_form_edit',tooltip:'Modificar',text:'Modificar',handler:function(){var grid = Ext.getCmp('2365_3');var list = grid.getSelectionModel().getSelected();var x_oid=Ext.getCmp('frm_formulario_95_1344').getForm().findField('oid').getValue();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}if(x_oid==''){return false;}xajax_iniciarPintarModificarFormulario('3','2016',document.getElementsByName('cod_formulario2').item(0).value,grid.getSelectionModel().getSelected().data.oid,'n','','',Ext.getCmp('frm_formulario_95_1344').getForm().findField('oid').getValue(),'411','400');}}]})/*fgp*/,new Ext.form.Hidden({ value:'', id:'2363'}),new Ext.form.Hidden({ value:'', id:'2364'}) ] ,prepararGrids:function(){/*buscar editorgrid - grilla id compuesto, id real, mas id formulario esclavo, separado _*/var grillasF=this.findByType('editorgrid');if(grillasF && grillasF!=''){for (i=0; i < grillasF.length; i++){var xstore=grillasF[i].getStore();if(xstore.getCount()>0){var data=new Array();var xxid=grillasF[i].getId().split('_');for (j=0; j < xstore.getCount(); j++){var xreco = xstore.getAt(j); var cont_dat_vac=0,cont_tot_vac=0; for(var elem in xreco.data){cont_tot_vac++;if( xreco.data[elem] ==null || xreco.data[elem]=='' ){cont_dat_vac++;}} if(cont_dat_vac < cont_tot_vac){data[data.length]=xreco.data;data[data.length-1]['form_master_escribir_xxx']=xxid[1];}}var xfinalfin=Ext.encode(data);Ext.getCmp(xxid[0]).setValue(xfinalfin);}}}/*grabar stores en hiddens*/},tbar:[{text:'Guardar',iconCls: 'icon-disk',handler: function(){ var form = Ext.getCmp('frm_formulario_95_1344'); var f=form.getForm();if(f.isValid()){var band_f=true;try{band_f =form.Validar();}catch(e){}if(band_f){form.prepararGrids();f.submit({url:'http://190.66.24.118/sisad16/build/view/'+'workflow/casos/casos_l.php',params:{wf_proceso_id:'95',wf_paso_id:'434',wf_tarea_id:'268',wf_caso_id:'1344',id:'1075',accion:'nextPaso',reg:'s',rta:'n'},success:function(form, action){if(action.result.message) crearMsg(action.result.message,'Informacion');else if(action.result.execute){/*try{*/eval(action.result.execute);/*}catch(e){alert(e+'Se presentó un error , por favor cierre la pestaña del caso y continue el proceso desde la pestaña de resumen' );}*/}},failure: function(form, action) {switch (action.failureType) {case Ext.form.Action.CONNECT_FAILURE:Ext.Msg.alert('Error', 'En este momento no hay comunicación con el servidor intente más tarde');break;case Ext.form.Action.SERVER_INVALID: Ext.Msg.alert('Error', action.result.message); break; }}});}}else{Ext.MessageBox.alert('Advertencia',getErrorFields(f));}} } ] ,listeners:{ afterrender:function(){ try{ Ext.getCmp('frm_formulario_95_1344').getForm().loadRecord(new Ext.data.Record({"cod_formulario":2,"oid_maestro":null,"cod_bloque":196,"2348":null,"2350":null,"2351":null,"2352":null,"2354":null,"2355":null})); llamadaAJAX({url:'http://190.66.24.118/sisad16/build/view/workflow/casos/casos_datosForm.php',mostrarMsg:false,params:{accion:'verifica',wf_paso_id:'434',cod_formulario:'2',cod_bloque:'196',wf_caso_id:'{"pro":"95","cas":"1344"}'}}); }catch(e){alert(e);} } } }) );Ext.getCmp('comp_1075').doLayout(); [suc] => 1 ) fin 2017-06-29 09:20:42 /******************************************************************************************************/ 2017-06-29 09:20:42TraerCaso(1344,95,) CargarCaso :1344 2017-06 29 09:20:42 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-06 29 09:20:42 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-06 29 09:20:42 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-06 29 09:20:42 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 fin 2017-06-29 09:20:42 /******************************************************************************************************/ 2017-06-29 09:26:53TraerCaso(1344,95,) CargarCaso :1344 2017-06 29 09:26:53 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-06 29 09:26:54 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-06 29 09:26:54 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-06 29 09:26:54 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 2017-06 29 09:26:54 Continuar(s,268,434,) EjecutarTarea_268() Registro id_comp1075 187 187 ValidarUsuario(268):1 EjecutarPaso_434: form:2 , caso=1344 id_comp 1075 Paso::Guardar(Caso:1344) Datos a guardar: Array ( [wf_proceso_id] => 95 [wf_paso_id] => 434 [wf_tarea_id] => 268 [wf_caso_id] => 1344 [id] => 1075 [accion] => nextPaso [reg] => s [rta] => n [cod_formulario2] => 2 [id_periodo] => 2017 [obs_ingreso] => [cod_bloque] => 196 [oid] => [oid_maestro] => [2348] => FRANCISCO ORDUZ [2349] => [2350] => [2351] => BOGOTA [2352] => [2353] => 832 [2354] => [2355] => [2356] => Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. [hdcampo2365] => 3 [2365] => [2363] => [2364] => ) OID: 1089 rta: 1 dato:1089 tabla:sce.t2 CasoPaso:8592 CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ SiguientePasoDe434: Funcion para ejecutar el siguiente paso EjecutarPaso_440: docs:98 , caso=1344 id_comp 1075 Mostrar docs $tit_formato='RECEPCIÓN DE PETICIONES, QUEJAS, RECLAMOS Y/O SOLICITUDES PGGS'; /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ require_once($root.'/lib/tcpdf/config/lang/eng.php'); require_once($root.'/lib/tcpdf/tcpdf.php'); //-------------------------------------------------------------------------- class MYPDF extends TCPDF { //Page header public function Header() { // Logo //echo str_replace('$root_js',$root_js,$CONFIG['CABECERA_FORMATOS_HTML']); $codigo='GCSP-F-134'; $versión='002'; $fecha='08/09/2015'; $titulo='RECEPCIÓN DE PETICIONES, QUEJAS, RECLAMOS Y/O SOLICITUDES PGGS'; $cab=$CONFIG['CABECERA_REPORTES']; $h="'".str_replace(array('$root_js','_LOGO_','_TITULO_','_CODFORM_','_VERSION_','_FECHAACTUAL_','border="1"'), array($root_js,$root_js.$CONFIG['LOGO_REPORTES'],'BANCO DE PROGRAMAS Y PROYECTOS DE INVERSIÓN DEPARTAMENTAL',' BPI-FVR01',' 01',' 03-12-2014','border="1" bordercolor="#000000"'), $cab)."'"; $image_file = K_PATH_IMAGES.'logo_uds.png'; $image_file2 = K_PATH_IMAGES.'logo_ani.jpg'; $htm='<table width="100%" height="5%" border="0.2" cellspacing="0" bordercolor="#000000" cellpadding="3" style="font-size:8pt" > <tr> <td rowspan="3" width="15%"><img src="'.$image_file2.'" alt="a" /></td> <td colspan="2" width="50%"><div align="center"><strong>SISTEMA INTEGRADO DE GESTIÓN</strong></div></td> <td rowspan="3" width="15%"><img src="'.$image_file.'" alt="a" /></td> <td width="20%"><strong>Código:</strong> '.$codigo.'</td> </tr> <tr> <td width="12%"><strong>PROCESO</strong></td> <td width="38%"><div align="center">GESTIÓN CONTRACTUAL Y SEGUIMIENTO DE PROYECTOS DE INFRAESTRUCTURA DE TRANSPORTE</div></td> <td><strong>Versión:</strong> '.$versión.'</td> </tr> <tr> <td><strong>FORMATO</strong></td> <td><div align="center">'.$titulo.'</div></td> <td><strong>Fecha:</strong> '.$fecha.'</td> </tr> </table>'; $this->writeHTMLCell($w = 0, $h = 0, $x = '', $y = '', $htm, $border = 0, $ln = 1, $fill = 0, $reseth = true, $align = 'top', $autopadding = true); } // Page footer public function Footer() { // Position at 15 mm from bottom $this->SetY(-18); $this->writeHTMLCell( 0, 0, '', '', "<div align=\"center\">Avenida Calle 26 Nro. 59-51 Torre 4 y/o Calle 24A Nro. 59-42 Torre 4 Piso 2 <br/>PBX: 4848860-www.ani.gov.co, Nit 830125996-9 </div>", 0,1, 0, true, 'top', true); } } //-------------------------------------------------------------------------- // create new PDF document $pdf = new MYPDF('p', 'mm', 'letter', true, 'UTF-8', false); // set document information $pdf->SetCreator(PDF_CREATOR); $pdf->SetAuthor('Siti'); $pdf->SetTitle('Registro'); $pdf->SetSubject('Certificado'); $pdf->SetKeywords('TCPDF, PDF, example, test, guide'); // set default header data $pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING); // set header and footer fonts $pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); $pdf->setFooterFont(Array(PDF_FONT_NAME_MAIN, '', 8)); // set default monospaced font $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED); // set margins $pdf->SetMargins(PDF_MARGIN_LEFT, 45, PDF_MARGIN_RIGHT); $pdf->SetHeaderMargin(13); $pdf->SetFooterMargin(40); // set auto page breaks $pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); // set image scale factor $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); //set some language-dependent strings $pdf->setLanguageArray($l); // --------------------------------------------------------- // NOTE: 2D barcode algorithms must be implemented on 2dbarcode.php class file. // set font $pdf->SetFont('times', '', 10); // add a page $pdf->AddPage(); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $fils=4; $cols=3; $logo_empresa=$CONFIG['LOGO_EMPRESA']; $codigo=$root_js.'build/view/common/marco/index.php?particular=001&accion=I&proc='.$CONFIG['PROCESO_STICKER']; $izq=10+2;$der=10;$arr=10; $abj=10; $sxp=$fils*$cols; $tot=$rangoF-$rangoI+1; $pags=ceil(($tot)/$sxp); $anchoR=216-$izq-$der; $altoR=279-$arr-$abj; $anchoS=$anchoR/$cols; $margenSV=2; $margenSH=5; $altoS=$altoR/$fils; $altoImg=10; $altoText=8; $altoC=50; // set style for barcode $style = array( 'border' => 2, 'vpadding' => 'auto', 'hpadding' => 'auto', 'fgcolor' => array(0,0,0), 'bgcolor' => false, //array(255,255,255) 'module_width' => 1, // width of a single module in points 'module_height' => 1 // height of a single module in points ); $pdf->SetFont('times', '', 9, '', false); $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED); $s=0;$p=1;$consc=$rangoI; $y=$arr; $x=$izq; // create some HTML content ob_start(); /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ $fecha_reg=' 95_267_433_1_195_2344 '; $sql="select oid_rad from sce.t1 where wf_caso_id=? order by oid desc"; $id='{"pro":"95","cas":"'.$this->caso->id.'"}'; $rs_u=$con->Execute($sql,$id); $fil_u=$rs_u->fetchRow(); $oid_1=$fil_u['oid']; /*$anio_rad="select extract (year from fecha_core_usuario_id_creacion ) as anio from sce.t1 where wf_caso_id=?"; $id_rad='{"pro":"95","cas":"'.$this->caso->id.'"}'; $rs_u_rad=$con->Execute($anio_rad,$id_rad); $anio=$rs_u_rad['anio']-2000;*/ $anio=date('Y')-2000; $radicado_ing='GSAU'.str_pad($fil_u['oid_rad'], 4, "0", STR_PAD_LEFT).'-'.$anio; $mr='95_267_433_1_195_2345'; if($mr=='Personal'){$metodo1='<u><strong> x </strong></u>';}else {$metodo1='__';} if($mr=='Telefónica'){$metodo2='<u><strong> x </strong></u>';}else {$metodo2='__';} if($mr=='Buzón'){$metodo3='<u><strong> x </strong></u>';}else {$metodo3='__';} if($mr=='Correo Electrónico'){$metodo4='<u><strong> x </strong></u>';}else {$metodo4='__';} if($mr=='Correspondencia FÃsica'){$metodo5='<u><strong> x </strong></u>';}else {$metodo5='__';} $lr='95_267_433_1_195_2346'; if($lr=='Oficina fija'){$lugar_rec1='<u><strong> x </strong></u>';}else {$lugar_rec1='__';} if($lr=='Oficina móvil'){$lugar_rec2='<u><strong> x </strong></u>';}else {$lugar_rec2='__';} $tp='95_267_433_1_195_2347'; if($tp=='Petición'){$tipo_pet1='<u><strong> x </strong></u>';}else {$tipo_pet1='__';} if($tp=='Queja'){$tipo_pet2='<u><strong> x </strong></u>';}else {$tipo_pet2='__';} if($tp=='Reclamo'){$tipo_pet3='<u><strong> x </strong></u>';}else {$tipo_pet3='__';} if($tp=='Sugerencia'){$tipo_pet4='<u><strong> x </strong></u>';}else {$tipo_pet4='__';} $nombre='95_268_434_2_196_2348'; $td='95_268_434_2_196_2349'; if($td=='NIT,NIT'){$tipo_doc1='<u><strong> x </strong></u>';}else {$tipo_doc1='__';} if($td=='C.C,Cédula de ciudadania'){$tipo_doc2='<u><strong> x </strong></u>';}else {$tipo_doc2='__';} if($td=='C.E,Cédula de extranjeria'){$tipo_doc3='<u><strong> x </strong></u>';}else {$tipo_doc3='__';} $numero='95_268_434_2_196_2350'; $direccion='95_268_434_2_196_2351'; $telefono='95_268_434_2_196_2352'; $correo='95_268_434_2_196_2354'; $municipio='95_268_434_2_196_2353'; $lugar_inc='95_268_434_2_196_2355'; $asunto='95_268_434_2_196_2356'; $anexos=''; ?> <div align="center"><br /> <strong>PROYECTO DE CONCESIÓN RUMICHACA - PASTO<br /> CONTRATO DE CONCESIÓN NO. 15 DEL 11 DE SEPTIEMBRE DE 2015<br /><br /> PROGRAMA DE ATENCIÓN AL USUARIO<br /> RECEPCIÓN DE PETICIONES, QUEJAS, RECLAMOS Y/O SOLICITUDES </strong><br /><br /> </div> <table width="100%" border="0.2" cellspacing="0" bordercolor="#000000" cellpadding="3" > <tr> <td width="60%"><strong>Fecha: </strong><?php echo $fecha_reg;?></td> <td width="40%"><strong>Radicado de Ingreso: </strong><?php echo $radicado_ing;?></td> </tr> </table> <br /> <table width="100%" border="0.1" cellspacing="0" bordercolor="#000000" cellpadding="3" > <tr> <td colspan="5"><strong>Método de Recepción:</strong></td> <td colspan="2"><strong>Lugar Recepción:</strong></td> <td colspan="4"><strong>Tipo de Petición:</strong></td> </tr> <tr> <td width="9%">P <?php echo $metodo1;?></td> <td width="9%">T <?php echo $metodo2;?></td> <td width="9%">B <?php echo $metodo3;?></td> <td width="9%">CE <?php echo $metodo4;?></td> <td width="9%">CO <?php echo $metodo5;?></td> <td width="9.5%">OF <?php echo $lugar_rec1;?></td> <td width="9.5%">OM <?php echo $lugar_rec2;?></td> <td width="9%">P <?php echo $tipo_pet1;?></td> <td width="9%">Q <?php echo $tipo_pet2;?></td> <td width="9%">R <?php echo $tipo_pet3;?></td> <td width="9%">S <?php echo $tipo_pet4;?></td> </tr> <tr> <td colspan="11"><strong>Nombre del solicitante: </strong> <?php echo $nombre;?></td> </tr> <tr> <td colspan="4"><strong>Tipo de documento:</strong></td> <td>Nit <?php echo $tipo_doc1;?></td> <td>C.C <?php echo $tipo_doc2;?></td> <td>C.E <?php echo $tipo_doc3;?></td> <td colspan="4"><strong>No</strong> <?php echo $numero;?></td> </tr> <tr> <td colspan="5"><strong>Dirección: </strong><?php echo $direccion;?></td> <td colspan="2"><strong>Teléfono: </strong><?php echo $telefono;?></td> <td colspan="4"><strong>Municipio: </strong><?php echo $municipio;?></td> </tr> <tr> <td colspan="11"><strong>Correo electrónico: </strong><?php echo $correo;?></td> </tr> <tr> <td colspan="11"><strong>Lugar de incidencia: </strong><?php echo $lugar_inc;?></td> </tr> </table> <br /> <table width="100%" border="0.2" cellspacing="0" bordercolor="#000000" cellpadding="3" > <tr> <td><strong>Asunto de petición: </strong><br /><?php echo nl2br($asunto);?></td> </tr> <tr> <td><strong>Anexos: </strong><br /><?php echo $anexos;?></td> </tr> </table> <br /> <br /> <br /> <br /> <br /> _____________________ <br /> <strong>Firma solicitante</strong> <br /><br /> <table width="100%" border="0.2" cellspacing="0" bordercolor="#000000" cellpadding="3" > <tr> <td width="50%"><strong>Profesional Social Concesionario:</strong></td> <td width="50%"><strong>Profesional Social Interventoria que verifica:</strong></td> </tr> <tr> <td>Nombre:</td> <td>Nombre:</td> </tr> <tr> <td>Firma:</td> <td>Firma:</td> </tr> <tr> <td>Cédula:</td> <td>Cédula:</td> </tr> <tr> <td>Fecha revisión:</td> <td>Fecha revisión:</td> </tr> </table> <br /> <div style="font-size:8pt"> <strong>SIGLAS:</strong> <br /> <strong>MEDIO DE RECEPCIÓN</strong>: <strong>P</strong>-Personal, <strong>T</strong>-Telefónica, <strong>B</strong>-Buzoón, <strong>CE</strong>-Correo Electrónico, <strong>CO</strong>-Correspondencia FÃsica <br /> <strong>LUGAR RECEPCIÓN</strong>: <strong>OF</strong>-Oficina fija, <strong>OM</strong>-Oficina móvil <br /> <strong>TIPO DE PETICIÓN</strong>: <strong>P</strong>-Petición, <strong>Q</strong>-Queja, <strong>R</strong>-Reclamo, <strong>S</strong>-Sugerencia </div> <? /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ $html=ob_get_clean(); // output the HTML content $pdf->writeHTML($html, true, false,false,false); // reset pointer to the last page $pdf->lastPage(); $nomdoc=md5(time()).'.pdf'; $pdf->Output($root."/tmp/".$nomdoc, 'F'); $url=$root_js.'tmp/'.$nomdoc; T95_268_434_2_196_2356:Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. T95_268_434_2_196_2355: T95_268_434_2_196_2354: T95_268_434_2_196_2353:SAN JUAN DE PASTO T95_268_434_2_196_2352: T95_268_434_2_196_2351:BOGOTA T95_268_434_2_196_2350: T95_268_434_2_196_2349:, T95_268_434_2_196_2348:FRANCISCO ORDUZ T95_267_433_1_195_2347:Petición T95_267_433_1_195_2346:Oficina fija T95_267_433_1_195_2345:Correspondencia FÃsica T95_267_433_1_195_2344:2017-06-28 Retorno : Array ( [ret] => inicioComponente_WF_DocSalida({"id":"1075","caso_id":"1344","proceso_id":95,"tit":"Registro","tarea_id":268,"paso_id":440,"desc":"<strong>Recepci\u00f3n y Registro PQRS<\/strong>: ","url":"<a href=\"http:\/\/190.66.24.118\/sisad16\/tmp\/761dfa0cea838a1d9695a2543cc496aa.pdf\" target=\"_blank\" >De clic aquí para descargar el archivo<\/a><\/div>"}); [suc] => 1 ) fin 2017-06-29 09:26:54 /******************************************************************************************************/ 2017-06-29 09:26:58TraerCaso(1344,95,) CargarCaso :1344 2017-06 29 09:26:58 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-06 29 09:26:58 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-06 29 09:26:58 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-06 29 09:26:58 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 2017-06 29 09:26:58 Continuar(s,268,440,) EjecutarTarea_268() Registro id_comp1075 187 187 ValidarUsuario(268):1 EjecutarPaso_440: docs:98 , caso=1344 id_comp 1075 Paso::Guardar(Caso:1344) rta: 1 dato:2983 tabla:core_upload CasoPaso:8593 CargarDatos_440(2983) SiguientePasoDe440: Funcion para ejecutar el siguiente paso Condicion Tarea : true TerminarTarea(268,269) Ultimo seg :5700 Ultimo seg :5701 EjecutarTarea_269() Clasificación id_comp1075 187 187 ValidarUsuario(269):1 EjecutarPaso_435: form:7 , caso=1344 id_comp 1075 Mostrar form Retorno : Array ( [ret] => Ext.getCmp('comp_1075').removeAll();Ext.getCmp('comp_1075').add(new Ext.form.FormPanel({ title: 'Clasificación' ,padding: 10,id:'frm_formulario_95_1344',autoScroll:true ,labelAlign:'top',defaults: { anchor: '97%'} ,items: [new Ext.form.Hidden({name:'cod_formulario2',value:'7'}) ,new Ext.form.Hidden({name :'id_periodo',value:'2017'}) ,new Ext.form.Hidden({name :'obs_ingreso',value:''}) ,new Ext.form.Hidden({name:'cod_bloque',value:'201'}) ,new Ext.form.Hidden({name :'oid',value:''}) ,new Ext.form.Hidden({name :'oid_maestro',value:''}) ,{ xtype:'hidden',id:'hds2378',disabled:true }, new Ext.form.ComboBox({flex:1,listeners:{ select:function(){xajax_comprobar_campoOcultoSelect(this.getValue(),2378);},afterrender:function(){ xajax_comprobar_campoOcultoSelect(this.getValue(),2378); }},anchor:'100%',forceSelection:true,emptyText:'Seleccione una opción',editable:true,displayField:'valor',valueField:'id',triggerAction:'all',minChars:3,store:new Ext.data.Store({autoDestroy:true,url:$view_js+'carga_combo.php',autoSave:false,baseParams:{formulario:'6',id:'tiempo_dias',et1:'tiempo_dias'},autoLoad:false,reader:new Ext.data.JsonReader({totalProperty:'total',successProperty:'success',idProperty:'id',root:'data',messageProperty:'message'},[{name:'id'},{name:'valor'}])}),mode:'remote',queryParam:'nombre',pageSize:50,loadValor:function(val,data){if(data)this.getStore().loadData(data);else this.getStore().load();this.setValue(val);},hiddenName:'2378', id:'inp_2378',fieldLabel:' Tiempo de respuesta (Dias)' }),{ xtype:'hidden',id:'hds2379',disabled:true }, new Ext.form.ComboBox({flex:1,listeners:{ select:function(){xajax_comprobar_campoOcultoSelect(this.getValue(),2379);},afterrender:function(){ xajax_comprobar_campoOcultoSelect(this.getValue(),2379); }},anchor:'100%',forceSelection:true,emptyText:'Seleccione una opción',editable:true,displayField:'valor',valueField:'id',triggerAction:'all',minChars:3,store:new Ext.data.Store({autoDestroy:true,url:$view_js+'carga_combo.php',autoSave:false,baseParams:{formulario:'4',id:'OID',et1:'nom_area'},autoLoad:false,reader:new Ext.data.JsonReader({totalProperty:'total',successProperty:'success',idProperty:'id',root:'data',messageProperty:'message'},[{name:'id'},{name:'valor'}])}),mode:'remote',queryParam:'nombre',pageSize:50,loadValor:function(val,data){if(data)this.getStore().loadData(data);else this.getStore().load();this.setValue(val);},id:'2379',fieldLabel:' Area' }),{ xtype:'hidden',id:'hds2380',disabled:true },{xtype:'compositefield',fieldLabel:' Tema',items:[ new Ext.form.ComboBox({flex:1,listeners:{ select:function(){xajax_comprobar_campoOcultoSelect(this.getValue(),2380);},afterrender:function(){ xajax_comprobar_campoOcultoSelect(this.getValue(),2380); }},anchor:'100%',forceSelection:true,emptyText:'Seleccione una opción',editable:true,displayField:'valor',valueField:'id',triggerAction:'all',minChars:3,store:new Ext.data.Store({autoDestroy:true,url:$view_js+'carga_combo.php',autoSave:false,baseParams:{formulario:'5',id:'OID',et1:'tema'},autoLoad:false,reader:new Ext.data.JsonReader({totalProperty:'total',successProperty:'success',idProperty:'id',root:'data',messageProperty:'message'},[{name:'id'},{name:'valor'}])}),mode:'remote',queryParam:'nombre',pageSize:50,loadValor:function(val,data){if(data)this.getStore().loadData(data);else this.getStore().load();this.setValue(val);},id:'2380',fieldLabel:' Tema' }),{xtype:'button',width:40,flex:1,iconCls:'icon-add',handler:function(){xajax_iniciarPintarFormulario({cod_formulario2:'5',id_periodo:'2016',obs_ingreso:'',contenedor_nuevo:'_5'},'n');}}]} ,new Ext.form.Hidden({ value:'', id:'2381'}),new Ext.form.Hidden({ value:'', id:'2382'}) ] ,prepararGrids:function(){/*buscar editorgrid - grilla id compuesto, id real, mas id formulario esclavo, separado _*/var grillasF=this.findByType('editorgrid');if(grillasF && grillasF!=''){for (i=0; i < grillasF.length; i++){var xstore=grillasF[i].getStore();if(xstore.getCount()>0){var data=new Array();var xxid=grillasF[i].getId().split('_');for (j=0; j < xstore.getCount(); j++){var xreco = xstore.getAt(j); var cont_dat_vac=0,cont_tot_vac=0; for(var elem in xreco.data){cont_tot_vac++;if( xreco.data[elem] ==null || xreco.data[elem]=='' ){cont_dat_vac++;}} if(cont_dat_vac < cont_tot_vac){data[data.length]=xreco.data;data[data.length-1]['form_master_escribir_xxx']=xxid[1];}}var xfinalfin=Ext.encode(data);Ext.getCmp(xxid[0]).setValue(xfinalfin);}}}/*grabar stores en hiddens*/},tbar:[{text:'Guardar',iconCls: 'icon-disk',handler: function(){ var form = Ext.getCmp('frm_formulario_95_1344'); var f=form.getForm();if(f.isValid()){var band_f=true;try{band_f =form.Validar();}catch(e){}if(band_f){form.prepararGrids();f.submit({url:'http://190.66.24.118/sisad16/build/view/'+'workflow/casos/casos_l.php',params:{wf_proceso_id:'95',wf_paso_id:'435',wf_tarea_id:'269',wf_caso_id:'1344',id:'1075',accion:'nextPaso',reg:'s',rta:'n'},success:function(form, action){if(action.result.message) crearMsg(action.result.message,'Informacion');else if(action.result.execute){/*try{*/eval(action.result.execute);/*}catch(e){alert(e+'Se presentó un error , por favor cierre la pestaña del caso y continue el proceso desde la pestaña de resumen' );}*/}},failure: function(form, action) {switch (action.failureType) {case Ext.form.Action.CONNECT_FAILURE:Ext.Msg.alert('Error', 'En este momento no hay comunicación con el servidor intente más tarde');break;case Ext.form.Action.SERVER_INVALID: Ext.Msg.alert('Error', action.result.message); break; }}});}}else{Ext.MessageBox.alert('Advertencia',getErrorFields(f));}} } ] ,listeners:{ afterrender:function(){ try{ Ext.getCmp('frm_formulario_95_1344').getForm().loadRecord(new Ext.data.Record({"cod_formulario":7,"oid_maestro":null,"cod_bloque":201})); llamadaAJAX({url:'http://190.66.24.118/sisad16/build/view/workflow/casos/casos_datosForm.php',mostrarMsg:false,params:{accion:'verifica',wf_paso_id:'435',cod_formulario:'7',cod_bloque:'201',wf_caso_id:'{"pro":"95","cas":"1344"}'}}); }catch(e){alert(e);} } } }) );Ext.getCmp('comp_1075').doLayout(); [suc] => 1 ) fin 2017-06-29 09:26:58 /******************************************************************************************************/ 2017-06-29 09:26:58TraerCaso(1344,95,) CargarCaso :1344 2017-06 29 09:26:58 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-06 29 09:26:58 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-06 29 09:26:58 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-06 29 09:26:58 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 fin 2017-06-29 09:26:58 /******************************************************************************************************/ 2017-06-29 09:27:33TraerCaso(1344,95,) CargarCaso :1344 2017-06 29 09:27:33 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-06 29 09:27:33 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-06 29 09:27:33 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-06 29 09:27:33 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 2017-06 29 09:27:33 Continuar(s,269,435,) EjecutarTarea_269() Clasificación id_comp1075 187 187 ValidarUsuario(269):1 EjecutarPaso_435: form:7 , caso=1344 id_comp 1075 Paso::Guardar(Caso:1344) Datos a guardar: Array ( [wf_proceso_id] => 95 [wf_paso_id] => 435 [wf_tarea_id] => 269 [wf_caso_id] => 1344 [id] => 1075 [accion] => nextPaso [reg] => s [rta] => n [cod_formulario2] => 7 [id_periodo] => 2017 [obs_ingreso] => [cod_bloque] => 201 [oid] => [oid_maestro] => [2378] => 15 [2379] => AREA TECNICA - GERENCIA TECNICA [2380] => OCUPACION TEMPORAL DE ESPACIO PUBLICO [2381] => [2382] => ) OID: 1093 rta: 1 dato:1093 tabla:sce.t7 CasoPaso:8594 CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 SiguientePasoDe435: Funcion para ejecutar el siguiente paso Condicion Tarea : true TerminarTarea(269,270) Ultimo seg :5701 Ultimo seg :5702 EjecutarTarea_270() Seguimiento id_comp1075 187 187 ValidarUsuario(270):1 EjecutarPaso_436: form:8 , caso=1344 id_comp 1075 Mostrar form Retorno : Array ( [ret] => Ext.getCmp('comp_1075').removeAll();Ext.getCmp('comp_1075').add(new Ext.form.FormPanel({ title: 'Seguimiento' ,padding: 10,id:'frm_formulario_95_1344',autoScroll:true ,labelAlign:'top',defaults: { anchor: '97%'} ,items: [new Ext.form.Hidden({name:'cod_formulario2',value:'8'}) ,new Ext.form.Hidden({name :'id_periodo',value:'2017'}) ,new Ext.form.Hidden({name :'obs_ingreso',value:''}) ,new Ext.form.Hidden({name:'cod_bloque',value:'202'}) ,new Ext.form.Hidden({name :'oid',value:''}) ,new Ext.form.Hidden({name :'oid_maestro',value:''}) ,new Ext.form.DateField({fieldLabel:'Fecha ingreso',id:'2383',name:'2383',maskRe:/^[-_0-9]$/,format:FormatoFecha,renderer:Ext.util.Format.dateRenderer(FormatoFecha) }),new Ext.form.DateField({fieldLabel:'Fecha de remisión',id:'2386',name:'2386',maskRe:/^[-_0-9]$/,format:FormatoFecha,renderer:Ext.util.Format.dateRenderer(FormatoFecha) }),new Ext.form.HtmlEditor({name:'2387',id:'2387',fieldLabel:'Avance en el trámite',height:155 }),{ xtype:'hidden',id:'hdcampo2390',value:'3'},{ xtype:'hidden',id:'2390'}, new Ext.grid.EditorGridPanel({xtype:'editorgrid',store:new Ext.data.JsonStore({ fields:[{ name:'oid' },{ name:'desc_anexo' },{ name:'adj_anexo' }]}),columns:[new Ext.grid.RowNumberer({width:30}),{header:'Descripción',dataIndex:'desc_anexo',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return '<div style="white-space:normal !important;">'+ val +'</div>';},editor:{value:'',xtype:'textfield' , maxLength:50 }},{header:'Adjunto',dataIndex:'adj_anexo',width:150,resizable:true,sortable:true,renderer: function columnWrap(val){return '<div style="white-space:normal !important;">'+ val +'</div>';},editor:new Ext.form.CompositeField({ items:[ new Ext.form.TextField({value:'',readOnly:true,id:'inp_inputfile_2359',value:'' }), new Ext.Button({hideLabel:true,tooltip:'Subir archivo',iconCls:'icon-attach',handler:function(){xajax_iniciarSubirArchivo('inp_inputfile_2359', '0');}}), new Ext.Button({hideLabel:true,tooltip:'borrar archivo',id:'btn_inp_inputfile_2359',iconCls:'icon-remove',handler:function(){if(Ext.getCmp('inp_inputfile_2359').getValue()!= '' && Ext.getCmp('inp_inputfile_2359').getValue()!= null )xajax_borrarArchivo('inp_inputfile_2359',Ext.getCmp('inp_inputfile_2359').value());} }) ],setValue:function(val){ Ext.getCmp('inp_inputfile_2359').setValue(val);},getValue:function(){return Ext.getCmp('inp_inputfile_2359').getValue(); } })}],stripeRows:true,height:150,id:'2390_3',title:'Anexos',stateful:true,stateId:'grid',autoScroll:true,autoWidth:true,sm:new Ext.grid.RowSelectionModel({singleSelect:false}),anchor:'97%',viewConfig:{forceFit:true,showPreview: true,enableRowBody: false, getRowClass: function(record, rowIndex, rp, ds){ return 'fila-act-sin-pro';},listeners:{rowsinserted:function(view,row,info){this.refresh();},rowremoved:function(view,row,info){this.refresh();}}},tbar:[{iconCls:'icon-add',tooltip:'Agregar',text:'Agregar',handler:function(){xajax_iniciarPintarFormulario({cod_formulario2:'3',id_periodo:'2016',oid_maestro:Ext.getCmp('frm_formulario_95_1344').getForm().findField('oid').getValue(),obs_ingreso:document.getElementsByName('cod_formulario2').item(0).value,contenedor_nuevo:'_3',cod_camp_m:'2390'},'n','','411','400');}},{iconCls:'icon-delete',tooltip:'Eliminar',text:'Eliminar',handler:function(){var grid = Ext.getCmp('2390_3');var list = grid.getSelectionModel().getSelections();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}Ext.Msg.show({ title:'Advertencia de eliminacion', msg:'Esta seguro que desea eliminar los items seleccionados?', buttons:Ext.Msg.YESNO, animEl:'btnEl', fn:function(btn){ if (btn == 'yes'){grid.store.remove(list);} }, icon:Ext.MessageBox.QUESTION });}},{iconCls:'icon-application_form_edit',tooltip:'Modificar',text:'Modificar',handler:function(){var grid = Ext.getCmp('2390_3');var list = grid.getSelectionModel().getSelected();var x_oid=Ext.getCmp('frm_formulario_95_1344').getForm().findField('oid').getValue();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}if(x_oid==''){return false;}xajax_iniciarPintarModificarFormulario('3','2016',document.getElementsByName('cod_formulario2').item(0).value,grid.getSelectionModel().getSelected().data.oid,'n','','',Ext.getCmp('frm_formulario_95_1344').getForm().findField('oid').getValue(),'411','400');}}]})/*fgp*/,new Ext.form.Hidden({ value:'', id:'2391'}),new Ext.form.Hidden({ value:'', id:'2392'}) ] ,prepararGrids:function(){/*buscar editorgrid - grilla id compuesto, id real, mas id formulario esclavo, separado _*/var grillasF=this.findByType('editorgrid');if(grillasF && grillasF!=''){for (i=0; i < grillasF.length; i++){var xstore=grillasF[i].getStore();if(xstore.getCount()>0){var data=new Array();var xxid=grillasF[i].getId().split('_');for (j=0; j < xstore.getCount(); j++){var xreco = xstore.getAt(j); var cont_dat_vac=0,cont_tot_vac=0; for(var elem in xreco.data){cont_tot_vac++;if( xreco.data[elem] ==null || xreco.data[elem]=='' ){cont_dat_vac++;}} if(cont_dat_vac < cont_tot_vac){data[data.length]=xreco.data;data[data.length-1]['form_master_escribir_xxx']=xxid[1];}}var xfinalfin=Ext.encode(data);Ext.getCmp(xxid[0]).setValue(xfinalfin);}}}/*grabar stores en hiddens*/},tbar:[{text:'Guardar',iconCls: 'icon-disk',handler: function(){ var form = Ext.getCmp('frm_formulario_95_1344'); var f=form.getForm();if(f.isValid()){var band_f=true;try{band_f =form.Validar();}catch(e){}if(band_f){form.prepararGrids();f.submit({url:'http://190.66.24.118/sisad16/build/view/'+'workflow/casos/casos_l.php',params:{wf_proceso_id:'95',wf_paso_id:'436',wf_tarea_id:'270',wf_caso_id:'1344',id:'1075',accion:'nextPaso',reg:'s',rta:'n'},success:function(form, action){if(action.result.message) crearMsg(action.result.message,'Informacion');else if(action.result.execute){/*try{*/eval(action.result.execute);/*}catch(e){alert(e+'Se presentó un error , por favor cierre la pestaña del caso y continue el proceso desde la pestaña de resumen' );}*/}},failure: function(form, action) {switch (action.failureType) {case Ext.form.Action.CONNECT_FAILURE:Ext.Msg.alert('Error', 'En este momento no hay comunicación con el servidor intente más tarde');break;case Ext.form.Action.SERVER_INVALID: Ext.Msg.alert('Error', action.result.message); break; }}});}}else{Ext.MessageBox.alert('Advertencia',getErrorFields(f));}} } ] ,listeners:{ afterrender:function(){ try{ Ext.getCmp('frm_formulario_95_1344').getForm().loadRecord(new Ext.data.Record({"cod_formulario":8,"oid_maestro":null,"cod_bloque":202})); llamadaAJAX({url:'http://190.66.24.118/sisad16/build/view/workflow/casos/casos_datosForm.php',mostrarMsg:false,params:{accion:'verifica',wf_paso_id:'436',cod_formulario:'8',cod_bloque:'202',wf_caso_id:'{"pro":"95","cas":"1344"}'}}); }catch(e){alert(e);} } } }) );Ext.getCmp('comp_1075').doLayout(); [suc] => 1 ) fin 2017-06-29 09:27:33 /******************************************************************************************************/ 2017-06-29 09:27:34TraerCaso(1344,95,) CargarCaso :1344 2017-06 29 09:27:34 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-06 29 09:27:34 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-06 29 09:27:34 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-06 29 09:27:34 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 fin 2017-06-29 09:27:34 /******************************************************************************************************/ 2017-08-15 14:44:15TraerCaso(1344,95,) CargarCaso :1344 2017-08 15 14:44:15 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-08 15 14:44:15 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-08 15 14:44:15 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-08 15 14:44:15 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 2017-08 15 14:44:15 Continuar(,144,,s) EjecutarTarea_270() Seguimiento id_comp55555 187 187 ValidarUsuario(270):1 EjecutarPaso_436: form:8 , caso=1344 id_comp 55555 Mostrar form Retorno : Array ( [ret] => Ext.getCmp('comp_55555').removeAll();Ext.getCmp('comp_55555').add(new Ext.form.FormPanel({ title: 'Seguimiento' ,padding: 10,id:'frm_formulario_95_1344',autoScroll:true ,labelAlign:'top',defaults: { anchor: '97%'} ,items: [new Ext.form.Hidden({name:'cod_formulario2',value:'8'}) ,new Ext.form.Hidden({name :'id_periodo',value:'2017'}) ,new Ext.form.Hidden({name :'obs_ingreso',value:''}) ,new Ext.form.Hidden({name:'cod_bloque',value:'202'}) ,new Ext.form.Hidden({name :'oid',value:''}) ,new Ext.form.Hidden({name :'oid_maestro',value:''}) ,new Ext.form.DateField({fieldLabel:'Fecha ingreso',id:'2383',name:'2383',maskRe:/^[-_0-9]$/,format:FormatoFecha,renderer:Ext.util.Format.dateRenderer(FormatoFecha) }),new Ext.form.DateField({fieldLabel:'Fecha de remisión',id:'2386',name:'2386',maskRe:/^[-_0-9]$/,format:FormatoFecha,renderer:Ext.util.Format.dateRenderer(FormatoFecha) }),new Ext.form.HtmlEditor({name:'2387',id:'2387',fieldLabel:'Avance en el trámite',height:155 }),{ xtype:'hidden',id:'hdcampo2390',value:'3'},{ xtype:'hidden',id:'2390'}, new Ext.grid.EditorGridPanel({xtype:'editorgrid',store:new Ext.data.JsonStore({ fields:[{ name:'oid' },{ name:'desc_anexo' },{ name:'adj_anexo' }]}),columns:[new Ext.grid.RowNumberer({width:30}),{header:'Descripción',dataIndex:'desc_anexo',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return '<div style="white-space:normal !important;">'+ val +'</div>';},editor:{value:'',xtype:'textfield' , maxLength:50 }},{header:'Adjunto',dataIndex:'adj_anexo',width:150,resizable:true,sortable:true,renderer: function columnWrap(val){return '<div style="white-space:normal !important;">'+ val +'</div>';},editor:new Ext.form.CompositeField({ items:[ new Ext.form.TextField({value:'',readOnly:true,id:'inp_inputfile_2359',value:'' }), new Ext.Button({hideLabel:true,tooltip:'Subir archivo',iconCls:'icon-attach',handler:function(){xajax_iniciarSubirArchivo('inp_inputfile_2359', '0');}}), new Ext.Button({hideLabel:true,tooltip:'borrar archivo',id:'btn_inp_inputfile_2359',iconCls:'icon-remove',handler:function(){if(Ext.getCmp('inp_inputfile_2359').getValue()!= '' && Ext.getCmp('inp_inputfile_2359').getValue()!= null )xajax_borrarArchivo('inp_inputfile_2359',Ext.getCmp('inp_inputfile_2359').value());} }) ],setValue:function(val){ Ext.getCmp('inp_inputfile_2359').setValue(val);},getValue:function(){return Ext.getCmp('inp_inputfile_2359').getValue(); } })}],stripeRows:true,height:150,id:'2390_3',title:'Anexos',stateful:true,stateId:'grid',autoScroll:true,autoWidth:true,sm:new Ext.grid.RowSelectionModel({singleSelect:false}),anchor:'97%',viewConfig:{forceFit:true,showPreview: true,enableRowBody: false, getRowClass: function(record, rowIndex, rp, ds){ return 'fila-act-sin-pro';},listeners:{rowsinserted:function(view,row,info){this.refresh();},rowremoved:function(view,row,info){this.refresh();}}},tbar:[{iconCls:'icon-add',tooltip:'Agregar',text:'Agregar',handler:function(){xajax_iniciarPintarFormulario({cod_formulario2:'3',id_periodo:'2016',oid_maestro:Ext.getCmp('frm_formulario_95_1344').getForm().findField('oid').getValue(),obs_ingreso:document.getElementsByName('cod_formulario2').item(0).value,contenedor_nuevo:'_3',cod_camp_m:'2390'},'n','','411','400');}},{iconCls:'icon-delete',tooltip:'Eliminar',text:'Eliminar',handler:function(){var grid = Ext.getCmp('2390_3');var list = grid.getSelectionModel().getSelections();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}Ext.Msg.show({ title:'Advertencia de eliminacion', msg:'Esta seguro que desea eliminar los items seleccionados?', buttons:Ext.Msg.YESNO, animEl:'btnEl', fn:function(btn){ if (btn == 'yes'){grid.store.remove(list);} }, icon:Ext.MessageBox.QUESTION });}},{iconCls:'icon-application_form_edit',tooltip:'Modificar',text:'Modificar',handler:function(){var grid = Ext.getCmp('2390_3');var list = grid.getSelectionModel().getSelected();var x_oid=Ext.getCmp('frm_formulario_95_1344').getForm().findField('oid').getValue();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}if(x_oid==''){return false;}xajax_iniciarPintarModificarFormulario('3','2016',document.getElementsByName('cod_formulario2').item(0).value,grid.getSelectionModel().getSelected().data.oid,'n','','',Ext.getCmp('frm_formulario_95_1344').getForm().findField('oid').getValue(),'411','400');}}]})/*fgp*/,new Ext.form.Hidden({ value:'', id:'2391'}),new Ext.form.Hidden({ value:'', id:'2392'}) ] ,prepararGrids:function(){/*buscar editorgrid - grilla id compuesto, id real, mas id formulario esclavo, separado _*/var grillasF=this.findByType('editorgrid');if(grillasF && grillasF!=''){for (i=0; i < grillasF.length; i++){var xstore=grillasF[i].getStore();if(xstore.getCount()>0){var data=new Array();var xxid=grillasF[i].getId().split('_');for (j=0; j < xstore.getCount(); j++){var xreco = xstore.getAt(j); var cont_dat_vac=0,cont_tot_vac=0; for(var elem in xreco.data){cont_tot_vac++;if( xreco.data[elem] ==null || xreco.data[elem]=='' ){cont_dat_vac++;}} if(cont_dat_vac < cont_tot_vac){data[data.length]=xreco.data;data[data.length-1]['form_master_escribir_xxx']=xxid[1];}}var xfinalfin=Ext.encode(data);Ext.getCmp(xxid[0]).setValue(xfinalfin);}}}/*grabar stores en hiddens*/},tbar:[{text:'Guardar',iconCls: 'icon-disk',handler: function(){ var form = Ext.getCmp('frm_formulario_95_1344'); var f=form.getForm();if(f.isValid()){var band_f=true;try{band_f =form.Validar();}catch(e){}if(band_f){form.prepararGrids();f.submit({url:'http://190.66.24.118/sisad16/build/view/'+'workflow/casos/casos_l.php',params:{wf_proceso_id:'95',wf_paso_id:'436',wf_tarea_id:'270',wf_caso_id:'1344',id:'55555',accion:'nextPaso',reg:'s',rta:'n'},success:function(form, action){if(action.result.message) crearMsg(action.result.message,'Informacion');else if(action.result.execute){/*try{*/eval(action.result.execute);/*}catch(e){alert(e+'Se presentó un error , por favor cierre la pestaña del caso y continue el proceso desde la pestaña de resumen' );}*/}},failure: function(form, action) {switch (action.failureType) {case Ext.form.Action.CONNECT_FAILURE:Ext.Msg.alert('Error', 'En este momento no hay comunicación con el servidor intente más tarde');break;case Ext.form.Action.SERVER_INVALID: Ext.Msg.alert('Error', action.result.message); break; }}});}}else{Ext.MessageBox.alert('Advertencia',getErrorFields(f));}} } ] ,listeners:{ afterrender:function(){ try{ Ext.getCmp('frm_formulario_95_1344').getForm().loadRecord(new Ext.data.Record({"cod_formulario":8,"oid_maestro":null,"cod_bloque":202})); llamadaAJAX({url:'http://190.66.24.118/sisad16/build/view/workflow/casos/casos_datosForm.php',mostrarMsg:false,params:{accion:'verifica',wf_paso_id:'436',cod_formulario:'8',cod_bloque:'202',wf_caso_id:'{"pro":"95","cas":"1344"}'}}); }catch(e){alert(e);} } } }) );Ext.getCmp('comp_55555').doLayout(); [suc] => 1 ) fin 2017-08-15 14:44:15 /******************************************************************************************************/ 2017-08-15 14:44:15TraerCaso(1344,95,) CargarCaso :1344 2017-08 15 14:44:15 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-08 15 14:44:15 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-08 15 14:44:15 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-08 15 14:44:15 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 fin 2017-08-15 14:44:15 /******************************************************************************************************/ 2017-08-15 14:44:15TraerCaso(1344,95,) CargarCaso :1344 2017-08 15 14:44:15 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-08 15 14:44:15 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-08 15 14:44:15 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-08 15 14:44:15 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 fin 2017-08-15 14:44:15 /******************************************************************************************************/ 2017-08-15 14:51:20TraerCaso(1344,95,) CargarCaso :1344 2017-08 15 14:51:20 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-08 15 14:51:20 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-08 15 14:51:20 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-08 15 14:51:20 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 2017-08 15 14:51:20 Continuar(s,270,436,) EjecutarTarea_270() Seguimiento id_comp55555 187 187 ValidarUsuario(270):1 EjecutarPaso_436: form:8 , caso=1344 id_comp 55555 Paso::Guardar(Caso:1344) Datos a guardar: Array ( [wf_proceso_id] => 95 [wf_paso_id] => 436 [wf_tarea_id] => 270 [wf_caso_id] => 1344 [id] => 55555 [accion] => nextPaso [reg] => s [rta] => n [cod_formulario2] => 8 [id_periodo] => 2017 [obs_ingreso] => [cod_bloque] => 202 [oid] => [oid_maestro] => [2383] => 2017-06-28 [2386] => 2017-06-28 [2387] => <font face="arial" style="" size="2">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-size: 12px; font-family: tahoma, arial, helvetica, sans-serif; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font face="arial" size="2">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> [hdcampo2390] => 3 [2390] => [{"oid":null,"desc_anexo":"Respuesta OM 140-17","adj_anexo":"187201708151450_20170814OM-140-17-RESPUESTACOMUNICADOR001027-17.pdf","form_master_escribir_xxx":"3"}] [2391] => [2392] => ) OID: 1232 rta: 1 dato:1232 tabla:sce.t8 CasoPaso:9997 CargarDatos_436(1232) se carga 95_270_436_8_202_2392 se carga 95_270_436_8_202_2391 se carga 95_270_436_8_202_2390Array se carga 95_270_436_8_202_2387<font face="arial" style="" size="2">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-size: 12px; font-family: tahoma, arial, helvetica, sans-serif; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font face="arial" size="2">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> se carga 95_270_436_8_202_23862017-06-28 se carga 95_270_436_8_202_23832017-06-28 SiguientePasoDe436: Funcion para ejecutar el siguiente paso EjecutarPaso_437: form:9 , caso=1344 id_comp 55555 Mostrar form Retorno : Array ( [ret] => Ext.getCmp('comp_55555').removeAll();Ext.getCmp('comp_55555').add(new Ext.form.FormPanel({ title: 'Requiere visita' ,padding: 10,id:'frm_formulario_95_1344',autoScroll:true ,labelAlign:'top',defaults: { anchor: '97%'} ,items: [new Ext.form.Hidden({name:'cod_formulario2',value:'9'}) ,new Ext.form.Hidden({name :'id_periodo',value:'2017'}) ,new Ext.form.Hidden({name :'obs_ingreso',value:''}) ,new Ext.form.Hidden({name:'cod_bloque',value:'203'}) ,new Ext.form.Hidden({name :'oid',value:''}) ,new Ext.form.Hidden({name :'oid_maestro',value:''}) ,new Ext.form.RadioGroup({columns:2,items:[ new Ext.form.Radio({name:'2393',id:'2393_1',inputValue:1,boxLabel:'SÃ'}), new Ext.form.Radio({name:'2393',id:'2393_2',inputValue:2,boxLabel:'No'}) ],columns:2,allowBlank:false,fieldLabel:'* ¿Se requiere visita?',id:'2393'}),new Ext.form.Hidden({ value:'', id:'2394'}),new Ext.form.Hidden({ value:'', id:'2395'}) ] ,prepararGrids:function(){/*buscar editorgrid - grilla id compuesto, id real, mas id formulario esclavo, separado _*/var grillasF=this.findByType('editorgrid');if(grillasF && grillasF!=''){for (i=0; i < grillasF.length; i++){var xstore=grillasF[i].getStore();if(xstore.getCount()>0){var data=new Array();var xxid=grillasF[i].getId().split('_');for (j=0; j < xstore.getCount(); j++){var xreco = xstore.getAt(j); var cont_dat_vac=0,cont_tot_vac=0; for(var elem in xreco.data){cont_tot_vac++;if( xreco.data[elem] ==null || xreco.data[elem]=='' ){cont_dat_vac++;}} if(cont_dat_vac < cont_tot_vac){data[data.length]=xreco.data;data[data.length-1]['form_master_escribir_xxx']=xxid[1];}}var xfinalfin=Ext.encode(data);Ext.getCmp(xxid[0]).setValue(xfinalfin);}}}/*grabar stores en hiddens*/},tbar:[{text:'Guardar',iconCls: 'icon-disk',handler: function(){ var form = Ext.getCmp('frm_formulario_95_1344'); var f=form.getForm();if(f.isValid()){var band_f=true;try{band_f =form.Validar();}catch(e){}if(band_f){form.prepararGrids();f.submit({url:'http://190.66.24.118/sisad16/build/view/'+'workflow/casos/casos_l.php',params:{wf_proceso_id:'95',wf_paso_id:'437',wf_tarea_id:'270',wf_caso_id:'1344',id:'55555',accion:'nextPaso',reg:'s',rta:'n'},success:function(form, action){if(action.result.message) crearMsg(action.result.message,'Informacion');else if(action.result.execute){/*try{*/eval(action.result.execute);/*}catch(e){alert(e+'Se presentó un error , por favor cierre la pestaña del caso y continue el proceso desde la pestaña de resumen' );}*/}},failure: function(form, action) {switch (action.failureType) {case Ext.form.Action.CONNECT_FAILURE:Ext.Msg.alert('Error', 'En este momento no hay comunicación con el servidor intente más tarde');break;case Ext.form.Action.SERVER_INVALID: Ext.Msg.alert('Error', action.result.message); break; }}});}}else{Ext.MessageBox.alert('Advertencia',getErrorFields(f));}} } ] ,listeners:{ afterrender:function(){ try{ Ext.getCmp('frm_formulario_95_1344').getForm().loadRecord(new Ext.data.Record({"cod_formulario":9,"oid_maestro":null,"cod_bloque":203})); llamadaAJAX({url:'http://190.66.24.118/sisad16/build/view/workflow/casos/casos_datosForm.php',mostrarMsg:false,params:{accion:'verifica',wf_paso_id:'437',cod_formulario:'9',cod_bloque:'203',wf_caso_id:'{"pro":"95","cas":"1344"}'}}); }catch(e){alert(e);} } } }) );Ext.getCmp('comp_55555').doLayout(); [suc] => 1 ) fin 2017-08-15 14:51:20 /******************************************************************************************************/ 2017-08-15 14:51:20TraerCaso(1344,95,) CargarCaso :1344 2017-08 15 14:51:20 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 {"0":"9997","id":"9997","1":"436","wf_paso_id":"436","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:20","fecha_ejec":"2017-08-15 14:51:20","5":"1232","dato":"1232","6":"sce.t8","tabla":"sce.t8","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_436(1232) se carga 95_270_436_8_202_2392 se carga 95_270_436_8_202_2391 se carga 95_270_436_8_202_2390Array se carga 95_270_436_8_202_2387<font face="arial" style="" size="2">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-size: 12px; font-family: tahoma, arial, helvetica, sans-serif; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font face="arial" size="2">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> se carga 95_270_436_8_202_23862017-06-28 se carga 95_270_436_8_202_23832017-06-28 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-08 15 14:51:20 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-08 15 14:51:20 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-08 15 14:51:20 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 fin 2017-08-15 14:51:20 /******************************************************************************************************/ 2017-08-15 14:51:24TraerCaso(1344,95,) CargarCaso :1344 2017-08 15 14:51:24 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 {"0":"9997","id":"9997","1":"436","wf_paso_id":"436","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:20","fecha_ejec":"2017-08-15 14:51:20","5":"1232","dato":"1232","6":"sce.t8","tabla":"sce.t8","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_436(1232) se carga 95_270_436_8_202_2392 se carga 95_270_436_8_202_2391 se carga 95_270_436_8_202_2390Array se carga 95_270_436_8_202_2387<font face="arial" style="" size="2">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-size: 12px; font-family: tahoma, arial, helvetica, sans-serif; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font face="arial" size="2">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> se carga 95_270_436_8_202_23862017-06-28 se carga 95_270_436_8_202_23832017-06-28 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-08 15 14:51:24 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-08 15 14:51:24 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-08 15 14:51:24 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 2017-08 15 14:51:24 Continuar(s,270,437,) EjecutarTarea_270() Seguimiento id_comp55555 187 187 ValidarUsuario(270):1 EjecutarPaso_437: form:9 , caso=1344 id_comp 55555 Paso::Guardar(Caso:1344) Datos a guardar: Array ( [wf_proceso_id] => 95 [wf_paso_id] => 437 [wf_tarea_id] => 270 [wf_caso_id] => 1344 [id] => 55555 [accion] => nextPaso [reg] => s [rta] => n [cod_formulario2] => 9 [id_periodo] => 2017 [obs_ingreso] => [cod_bloque] => 203 [oid] => [oid_maestro] => [2393] => 2 [2394] => [2395] => ) OID: 1226 rta: 1 dato:1226 tabla:sce.t9 CasoPaso:9998 CargarDatos_437(1226) se carga 95_270_437_9_203_2395 se carga 95_270_437_9_203_2394 se carga 95_270_437_9_203_23932 SiguientePasoDe437: Funcion para ejecutar el siguiente paso Condicion Tarea : 2 ==1 Condicion Tarea : 2 ==2 TerminarTarea(270,272) Ultimo seg :5702 Ultimo seg :6604 EjecutarTarea_272() Respuesta id_comp55555 187 187 ValidarUsuario(272):1 EjecutarPaso_439: form:12 , caso=1344 id_comp 55555 Mostrar form Retorno : Array ( [ret] => Ext.getCmp('comp_55555').removeAll();Ext.getCmp('comp_55555').add(new Ext.form.FormPanel({ title: 'Respuestas' ,padding: 10,id:'frm_formulario_95_1344',autoScroll:true ,labelAlign:'top',defaults: { anchor: '97%'} ,items: [new Ext.form.Hidden({name:'cod_formulario2',value:'12'}) ,new Ext.form.Hidden({name :'id_periodo',value:'2017'}) ,new Ext.form.Hidden({name :'obs_ingreso',value:''}) ,new Ext.form.Hidden({name:'cod_bloque',value:'206'}) ,new Ext.form.Hidden({name :'oid',value:''}) ,new Ext.form.Hidden({name :'oid_maestro',value:''}) ,new Ext.form.DateField({fieldLabel:'Fecha respuesta',name:'2408',maskRe:/^[-_0-9]$/,format:FormatoFecha,renderer:Ext.util.Format.dateRenderer(FormatoFecha) }),{value:'',xtype:'textfield' , maxLength:20,autoCreate:{ tag:'input',maxlength:'20'} /*,allowBlank:false*/,id:'2409',fieldLabel:'* Radicado de salida',hidden:true,hideLabel:true}, new Ext.form.TextArea({id:'2411',allowBlank:false, fieldLabel:'* Respuesta dada del trámite',name:'2411'}),new Ext.form.RadioGroup({columns:2,items:[ new Ext.form.Radio({name:'2410',id:'2410_1',inputValue:1,boxLabel:'SÃ'}), new Ext.form.Radio({name:'2410',id:'2410_2',inputValue:2,boxLabel:'No'}) ],columns:2,allowBlank:false,fieldLabel:'* Respuesta recibida a satisfacción por el peticionario',id:'2410'}),new Ext.form.RadioGroup({columns:2,items:[ new Ext.form.Radio({name:'2412',id:'2412_1',inputValue:1,boxLabel:'Abierto'}), new Ext.form.Radio({name:'2412',id:'2412_2',inputValue:2,boxLabel:'Cerrado'}) ],columns:2,allowBlank:false,fieldLabel:'* Estado del requerimiento',id:'2412'}), new Ext.form.TextArea({id:'2413', fieldLabel:'Observaciones',name:'2413'}),{ xtype:'hidden',id:'hdcampo2414',value:'3'},{ xtype:'hidden',id:'2414'}, new Ext.grid.EditorGridPanel({xtype:'editorgrid',store:new Ext.data.JsonStore({ fields:[{ name:'oid' },{ name:'desc_anexo' },{ name:'adj_anexo' }]}),columns:[new Ext.grid.RowNumberer({width:30}),{header:'Descripción',dataIndex:'desc_anexo',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return '<div style="white-space:normal !important;">'+ val +'</div>';},editor:{value:'',xtype:'textfield' , maxLength:50 }},{header:'Adjunto',dataIndex:'adj_anexo',width:150,resizable:true,sortable:true,renderer: function columnWrap(val){return '<div style="white-space:normal !important;">'+ val +'</div>';},editor:new Ext.form.CompositeField({ items:[ new Ext.form.TextField({value:'',readOnly:true,id:'inp_inputfile_2359',value:'' }), new Ext.Button({hideLabel:true,tooltip:'Subir archivo',iconCls:'icon-attach',handler:function(){xajax_iniciarSubirArchivo('inp_inputfile_2359', '0');}}), new Ext.Button({hideLabel:true,tooltip:'borrar archivo',id:'btn_inp_inputfile_2359',iconCls:'icon-remove',handler:function(){if(Ext.getCmp('inp_inputfile_2359').getValue()!= '' && Ext.getCmp('inp_inputfile_2359').getValue()!= null )xajax_borrarArchivo('inp_inputfile_2359',Ext.getCmp('inp_inputfile_2359').value());} }) ],setValue:function(val){ Ext.getCmp('inp_inputfile_2359').setValue(val);},getValue:function(){return Ext.getCmp('inp_inputfile_2359').getValue(); } })}],stripeRows:true,height:150,id:'2414_3',title:'Anexos',stateful:true,stateId:'grid',autoScroll:true,autoWidth:true,sm:new Ext.grid.RowSelectionModel({singleSelect:false}),anchor:'97%',viewConfig:{forceFit:true,showPreview: true,enableRowBody: false, getRowClass: function(record, rowIndex, rp, ds){ return 'fila-act-sin-pro';},listeners:{rowsinserted:function(view,row,info){this.refresh();},rowremoved:function(view,row,info){this.refresh();}}},tbar:[{iconCls:'icon-add',tooltip:'Agregar',text:'Agregar',handler:function(){if($movil=='si'){xajax_iniciarPintarFormulario({cod_formulario2:'3',id_periodo:'2016',oid_maestro:Ext.getCmp('frm_formulario_95_1344').getForm().findField('oid').getValue(),obs_ingreso:document.getElementsByName('cod_formulario2').item(0).value,contenedor_nuevo:'_3',cod_camp_m:'2414'},'n','','411','400');}else {var TopicRecord = Ext.data.Record.create({ name:'oid' },{ name:'desc_anexo' },{ name:'adj_anexo' });var myNewRecord = new TopicRecord({ oid:null ,desc_anexo:'',adj_anexo:''});var storegri = Ext.getCmp('2414_3').getStore();storegri.add(myNewRecord);}}},{iconCls:'icon-delete',tooltip:'Eliminar',text:'Eliminar',handler:function(){var grid = Ext.getCmp('2414_3');var list = grid.getSelectionModel().getSelections();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}Ext.Msg.show({ title:'Advertencia de eliminacion', msg:'Esta seguro que desea eliminar los items seleccionados?', buttons:Ext.Msg.YESNO, animEl:'btnEl', fn:function(btn){ if (btn == 'yes'){grid.store.remove(list);} }, icon:Ext.MessageBox.QUESTION });}},{iconCls:'icon-application_form_edit',tooltip:'Modificar',text:'Modificar',hidden:$movil=='si'?false:true,handler:function(){var grid = Ext.getCmp('2414_3');var list = grid.getSelectionModel().getSelected();var x_oid=Ext.getCmp('frm_formulario_95_1344').getForm().findField('oid').getValue();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}if(x_oid==''){return false;}xajax_iniciarPintarModificarFormulario('3','2016',document.getElementsByName('cod_formulario2').item(0).value,grid.getSelectionModel().getSelected().data.oid,'n','','',Ext.getCmp('frm_formulario_95_1344').getForm().findField('oid').getValue(),'411','400');}}]})/*fgp*/ ] ,prepararGrids:function(){/*buscar editorgrid - grilla id compuesto, id real, mas id formulario esclavo, separado _*/var grillasF=this.findByType('editorgrid');if(grillasF && grillasF!=''){for (i=0; i < grillasF.length; i++){var xstore=grillasF[i].getStore();if(xstore.getCount()>0){var data=new Array();var xxid=grillasF[i].getId().split('_');for (j=0; j < xstore.getCount(); j++){var xreco = xstore.getAt(j); var cont_dat_vac=0,cont_tot_vac=0; for(var elem in xreco.data){cont_tot_vac++;if( xreco.data[elem] ==null || xreco.data[elem]=='' ){cont_dat_vac++;}} if(cont_dat_vac < cont_tot_vac){data[data.length]=xreco.data;data[data.length-1]['form_master_escribir_xxx']=xxid[1];}}var xfinalfin=Ext.encode(data);Ext.getCmp(xxid[0]).setValue(xfinalfin);}}}/*grabar stores en hiddens*/},tbar:[{text:'Guardar',iconCls: 'icon-disk',handler: function(){ var form = Ext.getCmp('frm_formulario_95_1344'); var f=form.getForm();if(f.isValid()){var band_f=true;try{band_f =form.Validar();}catch(e){}if(band_f){form.prepararGrids();f.submit({url:'http://190.66.24.118/sisad16/build/view/'+'workflow/casos/casos_l.php',params:{wf_proceso_id:'95',wf_paso_id:'439',wf_tarea_id:'272',wf_caso_id:'1344',id:'55555',accion:'nextPaso',reg:'s',rta:'n'},success:function(form, action){if(action.result.message) crearMsg(action.result.message,'Informacion');else if(action.result.execute){/*try{*/eval(action.result.execute);/*}catch(e){alert(e+'Se presentó un error , por favor cierre la pestaña del caso y continue el proceso desde la pestaña de resumen' );}*/}},failure: function(form, action) {switch (action.failureType) {case Ext.form.Action.CONNECT_FAILURE:Ext.Msg.alert('Error', 'En este momento no hay comunicación con el servidor intente más tarde');break;case Ext.form.Action.SERVER_INVALID: Ext.Msg.alert('Error', action.result.message); break; }}});}}else{Ext.MessageBox.alert('Advertencia',getErrorFields(f));}} } ] ,listeners:{ afterrender:function(){ try{ Ext.getCmp('frm_formulario_95_1344').getForm().loadRecord(new Ext.data.Record({"cod_formulario":12,"oid_maestro":null,"cod_bloque":206,"2409":"GSAUR15-16"})); llamadaAJAX({url:'http://190.66.24.118/sisad16/build/view/workflow/casos/casos_datosForm.php',mostrarMsg:false,params:{accion:'verifica',wf_paso_id:'439',cod_formulario:'12',cod_bloque:'206',wf_caso_id:'{"pro":"95","cas":"1344"}'}}); }catch(e){alert(e);} } } }) );Ext.getCmp('comp_55555').doLayout(); [suc] => 1 ) fin 2017-08-15 14:51:24 /******************************************************************************************************/ 2017-08-15 14:51:24TraerCaso(1344,95,) CargarCaso :1344 2017-08 15 14:51:24 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 {"0":"9997","id":"9997","1":"436","wf_paso_id":"436","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:20","fecha_ejec":"2017-08-15 14:51:20","5":"1232","dato":"1232","6":"sce.t8","tabla":"sce.t8","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_436(1232) se carga 95_270_436_8_202_2392 se carga 95_270_436_8_202_2391 se carga 95_270_436_8_202_2390Array se carga 95_270_436_8_202_2387<font face="arial" style="" size="2">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-size: 12px; font-family: tahoma, arial, helvetica, sans-serif; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font face="arial" size="2">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> se carga 95_270_436_8_202_23862017-06-28 se carga 95_270_436_8_202_23832017-06-28 {"0":"9998","id":"9998","1":"437","wf_paso_id":"437","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fecha_ejec":"2017-08-15 14:51:24","5":"1226","dato":"1226","6":"sce.t9","tabla":"sce.t9","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_437(1226) se carga 95_270_437_9_203_2395 se carga 95_270_437_9_203_2394 se carga 95_270_437_9_203_23932 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":"187","core_usuario_id_resol":"187","6":"2017-08-15 14:51:24","fec_resol":"2017-08-15 14:51:24","7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"6604","id":"6604","1":"1344","wf_caso_95_id":"1344","2":"272","wf_tarea_id":"272","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fec_asig":"2017-08-15 14:51:24","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"272","wf_tarea_id_sig":"272","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-08 15 14:51:24 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-08 15 14:51:24 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-08 15 14:51:24 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 fin 2017-08-15 14:51:24 /******************************************************************************************************/ 2017-08-15 14:51:49TraerCaso(1344,95,) CargarCaso :1344 2017-08 15 14:51:49 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 {"0":"9997","id":"9997","1":"436","wf_paso_id":"436","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:20","fecha_ejec":"2017-08-15 14:51:20","5":"1232","dato":"1232","6":"sce.t8","tabla":"sce.t8","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_436(1232) se carga 95_270_436_8_202_2392 se carga 95_270_436_8_202_2391 se carga 95_270_436_8_202_2390Array se carga 95_270_436_8_202_2387<font face="arial" style="" size="2">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-size: 12px; font-family: tahoma, arial, helvetica, sans-serif; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font face="arial" size="2">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> se carga 95_270_436_8_202_23862017-06-28 se carga 95_270_436_8_202_23832017-06-28 {"0":"9998","id":"9998","1":"437","wf_paso_id":"437","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fecha_ejec":"2017-08-15 14:51:24","5":"1226","dato":"1226","6":"sce.t9","tabla":"sce.t9","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_437(1226) se carga 95_270_437_9_203_2395 se carga 95_270_437_9_203_2394 se carga 95_270_437_9_203_23932 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":"187","core_usuario_id_resol":"187","6":"2017-08-15 14:51:24","fec_resol":"2017-08-15 14:51:24","7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"6604","id":"6604","1":"1344","wf_caso_95_id":"1344","2":"272","wf_tarea_id":"272","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fec_asig":"2017-08-15 14:51:24","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"272","wf_tarea_id_sig":"272","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-08 15 14:51:49 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-08 15 14:51:49 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-08 15 14:51:49 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 2017-08 15 14:51:49 Continuar(s,272,439,) EjecutarTarea_272() Respuesta id_comp55555 187 187 ValidarUsuario(272):1 EjecutarPaso_439: form:12 , caso=1344 id_comp 55555 Paso::Guardar(Caso:1344) Datos a guardar: Array ( [wf_proceso_id] => 95 [wf_paso_id] => 439 [wf_tarea_id] => 272 [wf_caso_id] => 1344 [id] => 55555 [accion] => nextPaso [reg] => s [rta] => n [cod_formulario2] => 12 [id_periodo] => 2017 [obs_ingreso] => [cod_bloque] => 206 [oid] => [oid_maestro] => [2408] => 2017-08-14 [2409] => GSAUR15-16 [2411] => Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición. [2410] => 1 [2412] => 2 [2413] => [hdcampo2414] => 3 [2414] => ) OID: 1219 rta: 1 dato:1219 tabla:sce.t12 CasoPaso:9999 CargarDatos_439(1219) se carga 95_272_439_12_206_2414 se carga 95_272_439_12_206_2413 se carga 95_272_439_12_206_24122 se carga 95_272_439_12_206_2411Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición. se carga 95_272_439_12_206_24101 se carga 95_272_439_12_206_2409 se carga 95_272_439_12_206_24082017-08-14 SiguientePasoDe439: Funcion para ejecutar el siguiente paso EjecutarPaso_441: docs:99 , caso=1344 id_comp 55555 Mostrar docs $tit_formato='SEGUIMIENTO DE PETICIONES, QUEJAS, RECLAMOS Y/O SOLICITUDES PGGS'; /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ require_once($root.'/lib/tcpdf/config/lang/eng.php'); require_once($root.'/lib/tcpdf/tcpdf.php'); //-------------------------------------------------------------------------- class MYPDF extends TCPDF { //Page header public function Header() { // Logo //echo str_replace('$root_js',$root_js,$CONFIG['CABECERA_FORMATOS_HTML']); $codigo='GCSP-F-135'; $versión='001'; $fecha='05/09/2014'; $titulo='SEGUIMIENTO DE PETICIONES, QUEJAS, RECLAMOS Y/O SOLICITUDES PGGS'; $cab=$CONFIG['CABECERA_REPORTES']; $h="'".str_replace(array('$root_js','_LOGO_','_TITULO_','_CODFORM_','_VERSION_','_FECHAACTUAL_','border="1"'), array($root_js,$root_js.$CONFIG['LOGO_REPORTES'],'BANCO DE PROGRAMAS Y PROYECTOS DE INVERSIÓN DEPARTAMENTAL',' BPI-FVR01',' 01',' 03-12-2014','border="1" bordercolor="#000000"'), $cab)."'"; $image_file = K_PATH_IMAGES.'logo_uds.png'; $image_file2 = K_PATH_IMAGES.'logo_ani.jpg'; $htm='<table width="100%" height="5%" border="0.2" cellspacing="0" bordercolor="#000000" cellpadding="3" style="font-size:8pt" > <tr> <td rowspan="3" width="15%"><img src="'.$image_file2.'" alt="a" /></td> <td colspan="2" width="50%"><div align="center"><strong>SISTEMA INTEGRADO DE GESTIÓN</strong></div></td> <td rowspan="3" width="15%"><img src="'.$image_file.'" alt="a" /></td> <td width="20%"><strong>Código:</strong> '.$codigo.'</td> </tr> <tr> <td width="12%"><strong>PROCESO</strong></td> <td width="38%"><div align="center">GESTIÓN CONTRACTUAL Y SEGUIMIENTO DE PROYECTOS DE INFRAESTRUCTURA DE TRANSPORTE</div></td> <td><strong>Versión:</strong> '.$versión.'</td> </tr> <tr> <td><strong>FORMATO</strong></td> <td><div align="center">'.$titulo.'</div></td> <td><strong>Fecha:</strong> '.$fecha.'</td> </tr> </table>'; $this->writeHTMLCell( 0, 0, '', '', $htm, 0,1, 0, true, 'top', true); } // Page footer public function Footer() { // Position at 15 mm from bottom $this->SetY(-18); $this->writeHTMLCell( 0, 0, '', '', "<div align=\"center\">Avenida Calle 26 Nro. 59-51 Torre 4 y/o Calle 24A Nro. 59-42 Torre 4 Piso 2 <br/>PBX: 4848860-www.ani.gov.co, Nit 830125996-9 </div>", 0,1, 0, true, 'top', true); } } //-------------------------------------------------------------------------- // create new PDF document $pdf = new MYPDF('p', 'mm', 'letter', true, 'UTF-8', false); // set document information $pdf->SetCreator(PDF_CREATOR); $pdf->SetAuthor('Siti'); $pdf->SetTitle('Seguimiento'); $pdf->SetSubject('Certificado'); $pdf->SetKeywords('TCPDF, PDF, example, test, guide'); // set default header data $pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING); // set header and footer fonts $pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); $pdf->setFooterFont(Array(PDF_FONT_NAME_MAIN, '', 8)); // set default monospaced font $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED); // set margins $pdf->SetMargins(PDF_MARGIN_LEFT, 45, PDF_MARGIN_RIGHT); $pdf->SetHeaderMargin(13); $pdf->SetFooterMargin(40); // set auto page breaks $pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); // set image scale factor $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); //set some language-dependent strings $pdf->setLanguageArray($l); // --------------------------------------------------------- // NOTE: 2D barcode algorithms must be implemented on 2dbarcode.php class file. // set font $pdf->SetFont('times', '', 10); // add a page $pdf->AddPage(); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $fils=4; $cols=3; $logo_empresa=$CONFIG['LOGO_EMPRESA']; $codigo=$root_js.'build/view/common/marco/index.php?particular=001&accion=I&proc='.$CONFIG['PROCESO_STICKER']; $izq=10+2;$der=10;$arr=10; $abj=10; $sxp=$fils*$cols; $tot=$rangoF-$rangoI+1; $pags=ceil(($tot)/$sxp); $anchoR=216-$izq-$der; $altoR=279-$arr-$abj; $anchoS=$anchoR/$cols; $margenSV=2; $margenSH=5; $altoS=$altoR/$fils; $altoImg=10; $altoText=8; $altoC=50; // set style for barcode $style = array( 'border' => 2, 'vpadding' => 'auto', 'hpadding' => 'auto', 'fgcolor' => array(0,0,0), 'bgcolor' => false, //array(255,255,255) 'module_width' => 1, // width of a single module in points 'module_height' => 1 // height of a single module in points ); $pdf->SetFont('times', '', 9, '', false); $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED); $s=0;$p=1;$consc=$rangoI; $y=$arr; $x=$izq; // create some HTML content ob_start(); /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ $fecha_reg=' 95_267_433_1_195_2344 '; $sql="select oid_rad from sce.t1 where wf_caso_id=? order by oid desc"; $id='{"pro":"95","cas":"'.$this->caso->id.'"}'; $rs_u=$con->Execute($sql,$id); $fil_u=$rs_u->fetchRow(); $oid_1=$fil_u['oid_rad']; /*$anio_rad='select extract (year from fecha_core_usuario_id_creacion ) as anio from sce.t1 where wf_caso_id=?'; $id_rad='{"pro":"95","cas":"'.$this->caso->id.'"}'; $rs_u_rad=$con->Execute($anio_rad,$id_rad); $anio=$rs_u_rad['anio']-2000;*/ $anio=date('Y')-2000; $radicado_ing='GSAU'.str_pad($fil_u['oid_rad'], 4, "0", STR_PAD_LEFT).'-'.$anio; if(!$_REQUEST['NRS'] || $_REQUEST['NRS']!='s') $radicado_sal='GSAUR'.str_pad($fil_u['oid_rad'], 4, "0", STR_PAD_LEFT).'-'.$anio; else $radicado_sal='SIN RADICADO DE SALIDA'; $area=' 95_269_435_7_201_2379 '; $fecha_remision=' 95_270_436_8_202_2386 '; $avance_tram=' 95_270_436_8_202_2387 '; $fecha_resp=' 95_272_439_12_206_2408 '; $res='95_272_439_12_206_2410'; if($res=='SÃ'){$resp1='<u><strong> x </strong></u>';}else {$resp1='__';} if($res=='No'){$resp2='<u><strong> x </strong></u>';}else {$resp2='__';} $estado='95_272_439_12_206_2412'; if($estado=='Abierto'){$estado1='<u><strong> x </strong></u>';}else {$estado1='__';} if($estado=='Cerrado'){$estado2='<u><strong> x </strong></u>';}else {$estado2='__';} $obs='95_272_439_12_206_2413'; $anexos='';/*95_272_439_12_206_2414*/ ?> <div align="center"><br /> <strong>PROYECTO DE CONCESIÓN RUMICHACA - PASTO<br /> CONTRATO DE CONCESIÓN NO. 15 DEL 11 DE SEPTIEMBRE DE 2015<br /><br /> PROGRAMA DE ATENCIÓN AL USUARIO<br /> SEGUIMIENTO DE PETICIONES, QUEJAS, RECLAMOS Y/O SOLICITUDES </strong><br /><br /> </div> <table width="100%" border="1"> <tr> <td width="50%"><strong>Fecha de ingreso: </strong><?php echo $fecha_reg;?></td> <td width="50%"><strong>Radicado de Ingreso: </strong><?php echo $radicado_ing;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td width="50%"><strong>Area responsable del trámite: </strong><?php echo $area;?></td> <td width="50%"><strong>Fecha de remisión: </strong><?php echo $fecha_remision;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td valign="top"><strong>Avance en el trámite: </strong><br /><?php echo $avance_tram;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td width="50%"><strong>Fecha de respuesta: </strong><?php echo $fecha_resp;?></td> <td width="50%"><strong>Radicado de salida: </strong><?php echo $radicado_sal;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td width="60%"><strong>Respuesta recibida a satisfacción por el peticionario</strong></td> <td width="20%">Si <?php echo $resp1;?></td> <td width="20%">No <?php echo $resp2;?></td> </tr> <tr> <td><strong>Estado del requerimiento</strong></td> <td>Abierto <?php echo $estado1;?></td> <td>Cerrado <?php echo $estado2;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td ><strong>Observaciones: </strong><br /><?php echo nl2br($obs);?></td> </tr> <tr> <td><strong>Anexos: </strong><br /><?php echo $anexos;?></td> </tr> </table> <br /><br /> <table width="100%" border="1"> <tr> <td width="50%"><strong>Profesional Social Concesionario:</strong></td> <td width="50%"><strong>Profesional Social Interventoria que verifica:</strong></td> </tr> <tr> <td>Nombre:</td> <td>Nombre:</td> </tr> <tr> <td>Firma:</td> <td>Firma:</td> </tr> <tr> <td>Cédula:</td> <td>Cédula:</td> </tr> <tr> <td>Fecha revisión:</td> <td>Fecha revisión:</td> </tr> </table> <? /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ $html=ob_get_clean(); // output the HTML content $pdf->writeHTML($html, true, false,false,false); // reset pointer to the last page $pdf->lastPage(); $nomdoc=md5(time()).'.pdf'; $pdf->Output($root."/tmp/".$nomdoc, 'F'); $url=$root_js.'tmp/'.$nomdoc; T95_272_439_12_206_2414: <table width="99%" cellspacing="0" border="1" class="x-grid3-row"> <tr style="text-align:center; background-color:#eeeeee; font-size:9pt; text-align:center; "> <th class="x-grid3-cell" style="font-family:Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size:12px;" ><b>Descripción</b></th> <th class="x-grid3-cell" style="font-family:Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size:12px;" ><b>Adjunto</b></th> </tr> </table> T95_272_439_12_206_2413: T95_272_439_12_206_2412:Cerrado T95_272_439_12_206_2410:Sà T95_272_439_12_206_2408:2017-08-14 T95_270_436_8_202_2387:<font face="arial" style="" size="2">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-size: 12px; font-family: tahoma, arial, helvetica, sans-serif; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font face="arial" size="2">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> T95_270_436_8_202_2386:2017-06-28 T95_269_435_7_201_2379:AREA TECNICA - GERENCIA TECNICA T95_267_433_1_195_2344:2017-06-28 Retorno : Array ( [ret] => inicioComponente_WF_DocSalida({"id":"55555","caso_id":"1344","proceso_id":95,"tit":"Respuesta","tarea_id":272,"paso_id":441,"desc":"<strong>Seguimiento PQRS<\/strong>: ","url":"<a href=\"http:\/\/190.66.24.118\/sisad16\/tmp\/b5c0a0e4f793b0b34a7eded8c45ae2b3.pdf\" target=\"_blank\" >De clic aquí para descargar el archivo<\/a><\/div>"}); [suc] => 1 ) fin 2017-08-15 14:51:49 /******************************************************************************************************/ 2017-08-15 14:52:58TraerCaso(1344,95,) CargarCaso :1344 2017-08 15 14:52:58 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 {"0":"9997","id":"9997","1":"436","wf_paso_id":"436","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:20","fecha_ejec":"2017-08-15 14:51:20","5":"1232","dato":"1232","6":"sce.t8","tabla":"sce.t8","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_436(1232) se carga 95_270_436_8_202_2392 se carga 95_270_436_8_202_2391 se carga 95_270_436_8_202_2390Array se carga 95_270_436_8_202_2387<font style="" size="2" face="tahoma">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-family: tahoma, arial, helvetica, sans-serif; font-size: 12px; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font size="2" face="tahoma">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> se carga 95_270_436_8_202_23862017-06-28 se carga 95_270_436_8_202_23832017-06-28 {"0":"9998","id":"9998","1":"437","wf_paso_id":"437","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fecha_ejec":"2017-08-15 14:51:24","5":"1226","dato":"1226","6":"sce.t9","tabla":"sce.t9","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_437(1226) se carga 95_270_437_9_203_2395 se carga 95_270_437_9_203_2394 se carga 95_270_437_9_203_23932 {"0":"9999","id":"9999","1":"439","wf_paso_id":"439","2":"6604","wf_caso_95_seguimiento_id":"6604","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:49","fecha_ejec":"2017-08-15 14:51:49","5":"1219","dato":"1219","6":"sce.t12","tabla":"sce.t12","7":"272","tarea_id":"272","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_439(1219) se carga 95_272_439_12_206_2414 se carga 95_272_439_12_206_2413 se carga 95_272_439_12_206_24122 se carga 95_272_439_12_206_2411​ Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición. se carga 95_272_439_12_206_24101 se carga 95_272_439_12_206_2409 se carga 95_272_439_12_206_24082017-08-14 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":"187","core_usuario_id_resol":"187","6":"2017-08-15 14:51:24","fec_resol":"2017-08-15 14:51:24","7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"6604","id":"6604","1":"1344","wf_caso_95_id":"1344","2":"272","wf_tarea_id":"272","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fec_asig":"2017-08-15 14:51:24","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"272","wf_tarea_id_sig":"272","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-08 15 14:52:58 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-08 15 14:52:58 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-08 15 14:52:58 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 2017-08 15 14:52:58 Continuar(,144,,s) EjecutarTarea_272() Respuesta id_comp55555 187 187 ValidarUsuario(272):1 SiguientePasoDe439: Funcion para ejecutar el siguiente paso EjecutarPaso_441: docs:99 , caso=1344 id_comp 55555 Mostrar docs $tit_formato='SEGUIMIENTO DE PETICIONES, QUEJAS, RECLAMOS Y/O SOLICITUDES PGGS'; /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ require_once($root.'/lib/tcpdf/config/lang/eng.php'); require_once($root.'/lib/tcpdf/tcpdf.php'); //-------------------------------------------------------------------------- class MYPDF extends TCPDF { //Page header public function Header() { // Logo //echo str_replace('$root_js',$root_js,$CONFIG['CABECERA_FORMATOS_HTML']); $codigo='GCSP-F-135'; $versión='001'; $fecha='05/09/2014'; $titulo='SEGUIMIENTO DE PETICIONES, QUEJAS, RECLAMOS Y/O SOLICITUDES PGGS'; $cab=$CONFIG['CABECERA_REPORTES']; $h="'".str_replace(array('$root_js','_LOGO_','_TITULO_','_CODFORM_','_VERSION_','_FECHAACTUAL_','border="1"'), array($root_js,$root_js.$CONFIG['LOGO_REPORTES'],'BANCO DE PROGRAMAS Y PROYECTOS DE INVERSIÓN DEPARTAMENTAL',' BPI-FVR01',' 01',' 03-12-2014','border="1" bordercolor="#000000"'), $cab)."'"; $image_file = K_PATH_IMAGES.'logo_uds.png'; $image_file2 = K_PATH_IMAGES.'logo_ani.jpg'; $htm='<table width="100%" height="5%" border="0.2" cellspacing="0" bordercolor="#000000" cellpadding="3" style="font-size:8pt" > <tr> <td rowspan="3" width="15%"><img src="'.$image_file2.'" alt="a" /></td> <td colspan="2" width="50%"><div align="center"><strong>SISTEMA INTEGRADO DE GESTIÓN</strong></div></td> <td rowspan="3" width="15%"><img src="'.$image_file.'" alt="a" /></td> <td width="20%"><strong>Código:</strong> '.$codigo.'</td> </tr> <tr> <td width="12%"><strong>PROCESO</strong></td> <td width="38%"><div align="center">GESTIÓN CONTRACTUAL Y SEGUIMIENTO DE PROYECTOS DE INFRAESTRUCTURA DE TRANSPORTE</div></td> <td><strong>Versión:</strong> '.$versión.'</td> </tr> <tr> <td><strong>FORMATO</strong></td> <td><div align="center">'.$titulo.'</div></td> <td><strong>Fecha:</strong> '.$fecha.'</td> </tr> </table>'; $this->writeHTMLCell( 0, 0, '', '', $htm, 0,1, 0, true, 'top', true); } // Page footer public function Footer() { // Position at 15 mm from bottom $this->SetY(-18); $this->writeHTMLCell( 0, 0, '', '', "<div align=\"center\">Avenida Calle 26 Nro. 59-51 Torre 4 y/o Calle 24A Nro. 59-42 Torre 4 Piso 2 <br/>PBX: 4848860-www.ani.gov.co, Nit 830125996-9 </div>", 0,1, 0, true, 'top', true); } } //-------------------------------------------------------------------------- // create new PDF document $pdf = new MYPDF('p', 'mm', 'letter', true, 'UTF-8', false); // set document information $pdf->SetCreator(PDF_CREATOR); $pdf->SetAuthor('Siti'); $pdf->SetTitle('Seguimiento'); $pdf->SetSubject('Certificado'); $pdf->SetKeywords('TCPDF, PDF, example, test, guide'); // set default header data $pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING); // set header and footer fonts $pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); $pdf->setFooterFont(Array(PDF_FONT_NAME_MAIN, '', 8)); // set default monospaced font $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED); // set margins $pdf->SetMargins(PDF_MARGIN_LEFT, 45, PDF_MARGIN_RIGHT); $pdf->SetHeaderMargin(13); $pdf->SetFooterMargin(40); // set auto page breaks $pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); // set image scale factor $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); //set some language-dependent strings $pdf->setLanguageArray($l); // --------------------------------------------------------- // NOTE: 2D barcode algorithms must be implemented on 2dbarcode.php class file. // set font $pdf->SetFont('times', '', 10); // add a page $pdf->AddPage(); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $fils=4; $cols=3; $logo_empresa=$CONFIG['LOGO_EMPRESA']; $codigo=$root_js.'build/view/common/marco/index.php?particular=001&accion=I&proc='.$CONFIG['PROCESO_STICKER']; $izq=10+2;$der=10;$arr=10; $abj=10; $sxp=$fils*$cols; $tot=$rangoF-$rangoI+1; $pags=ceil(($tot)/$sxp); $anchoR=216-$izq-$der; $altoR=279-$arr-$abj; $anchoS=$anchoR/$cols; $margenSV=2; $margenSH=5; $altoS=$altoR/$fils; $altoImg=10; $altoText=8; $altoC=50; // set style for barcode $style = array( 'border' => 2, 'vpadding' => 'auto', 'hpadding' => 'auto', 'fgcolor' => array(0,0,0), 'bgcolor' => false, //array(255,255,255) 'module_width' => 1, // width of a single module in points 'module_height' => 1 // height of a single module in points ); $pdf->SetFont('times', '', 9, '', false); $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED); $s=0;$p=1;$consc=$rangoI; $y=$arr; $x=$izq; // create some HTML content ob_start(); /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ $fecha_reg=' 95_267_433_1_195_2344 '; $sql="select oid_rad from sce.t1 where wf_caso_id=? order by oid desc"; $id='{"pro":"95","cas":"'.$this->caso->id.'"}'; $rs_u=$con->Execute($sql,$id); $fil_u=$rs_u->fetchRow(); $oid_1=$fil_u['oid_rad']; /*$anio_rad='select extract (year from fecha_core_usuario_id_creacion ) as anio from sce.t1 where wf_caso_id=?'; $id_rad='{"pro":"95","cas":"'.$this->caso->id.'"}'; $rs_u_rad=$con->Execute($anio_rad,$id_rad); $anio=$rs_u_rad['anio']-2000;*/ $anio=date('Y')-2000; $radicado_ing='GSAU'.str_pad($fil_u['oid_rad'], 4, "0", STR_PAD_LEFT).'-'.$anio; if(!$_REQUEST['NRS'] || $_REQUEST['NRS']!='s') $radicado_sal='GSAUR'.str_pad($fil_u['oid_rad'], 4, "0", STR_PAD_LEFT).'-'.$anio; else $radicado_sal='SIN RADICADO DE SALIDA'; $area=' 95_269_435_7_201_2379 '; $fecha_remision=' 95_270_436_8_202_2386 '; $avance_tram=' 95_270_436_8_202_2387 '; $fecha_resp=' 95_272_439_12_206_2408 '; $res='95_272_439_12_206_2410'; if($res=='SÃ'){$resp1='<u><strong> x </strong></u>';}else {$resp1='__';} if($res=='No'){$resp2='<u><strong> x </strong></u>';}else {$resp2='__';} $estado='95_272_439_12_206_2412'; if($estado=='Abierto'){$estado1='<u><strong> x </strong></u>';}else {$estado1='__';} if($estado=='Cerrado'){$estado2='<u><strong> x </strong></u>';}else {$estado2='__';} $obs='95_272_439_12_206_2413'; $anexos='';/*95_272_439_12_206_2414*/ ?> <div align="center"><br /> <strong>PROYECTO DE CONCESIÓN RUMICHACA - PASTO<br /> CONTRATO DE CONCESIÓN NO. 15 DEL 11 DE SEPTIEMBRE DE 2015<br /><br /> PROGRAMA DE ATENCIÓN AL USUARIO<br /> SEGUIMIENTO DE PETICIONES, QUEJAS, RECLAMOS Y/O SOLICITUDES </strong><br /><br /> </div> <table width="100%" border="1"> <tr> <td width="50%"><strong>Fecha de ingreso: </strong><?php echo $fecha_reg;?></td> <td width="50%"><strong>Radicado de Ingreso: </strong><?php echo $radicado_ing;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td width="50%"><strong>Area responsable del trámite: </strong><?php echo $area;?></td> <td width="50%"><strong>Fecha de remisión: </strong><?php echo $fecha_remision;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td valign="top"><strong>Avance en el trámite: </strong><br /><?php echo $avance_tram;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td width="50%"><strong>Fecha de respuesta: </strong><?php echo $fecha_resp;?></td> <td width="50%"><strong>Radicado de salida: </strong><?php echo $radicado_sal;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td width="60%"><strong>Respuesta recibida a satisfacción por el peticionario</strong></td> <td width="20%">Si <?php echo $resp1;?></td> <td width="20%">No <?php echo $resp2;?></td> </tr> <tr> <td><strong>Estado del requerimiento</strong></td> <td>Abierto <?php echo $estado1;?></td> <td>Cerrado <?php echo $estado2;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td ><strong>Observaciones: </strong><br /><?php echo nl2br($obs);?></td> </tr> <tr> <td><strong>Anexos: </strong><br /><?php echo $anexos;?></td> </tr> </table> <br /><br /> <table width="100%" border="1"> <tr> <td width="50%"><strong>Profesional Social Concesionario:</strong></td> <td width="50%"><strong>Profesional Social Interventoria que verifica:</strong></td> </tr> <tr> <td>Nombre:</td> <td>Nombre:</td> </tr> <tr> <td>Firma:</td> <td>Firma:</td> </tr> <tr> <td>Cédula:</td> <td>Cédula:</td> </tr> <tr> <td>Fecha revisión:</td> <td>Fecha revisión:</td> </tr> </table> <? /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ $html=ob_get_clean(); // output the HTML content $pdf->writeHTML($html, true, false,false,false); // reset pointer to the last page $pdf->lastPage(); $nomdoc=md5(time()).'.pdf'; $pdf->Output($root."/tmp/".$nomdoc, 'F'); $url=$root_js.'tmp/'.$nomdoc; T95_272_439_12_206_2414: <table width="99%" cellspacing="0" border="1" class="x-grid3-row"> <tr style="text-align:center; background-color:#eeeeee; font-size:9pt; text-align:center; "> <th class="x-grid3-cell" style="font-family:Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size:12px;" ><b>Descripción</b></th> <th class="x-grid3-cell" style="font-family:Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size:12px;" ><b>Adjunto</b></th> </tr> </table> T95_272_439_12_206_2413: T95_272_439_12_206_2412:Cerrado T95_272_439_12_206_2410:Sà T95_272_439_12_206_2408:2017-08-14 T95_270_436_8_202_2387:<font style="" size="2" face="tahoma">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-family: tahoma, arial, helvetica, sans-serif; font-size: 12px; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font size="2" face="tahoma">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> T95_270_436_8_202_2386:2017-06-28 T95_269_435_7_201_2379:AREA TECNICA - GERENCIA TECNICA T95_267_433_1_195_2344:2017-06-28 Retorno : Array ( [ret] => inicioComponente_WF_DocSalida({"id":"55555","caso_id":"1344","proceso_id":95,"tit":"Respuesta","tarea_id":272,"paso_id":441,"desc":"<strong>Seguimiento PQRS<\/strong>: ","url":"<a href=\"http:\/\/190.66.24.118\/sisad16\/tmp\/ac0884f73d88c9277d099370b45ead77.pdf\" target=\"_blank\" >De clic aquí para descargar el archivo<\/a><\/div>"}); [suc] => 1 ) fin 2017-08-15 14:52:58 /******************************************************************************************************/ 2017-08-15 14:52:58TraerCaso(1344,95,) CargarCaso :1344 2017-08 15 14:52:58 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 {"0":"9997","id":"9997","1":"436","wf_paso_id":"436","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:20","fecha_ejec":"2017-08-15 14:51:20","5":"1232","dato":"1232","6":"sce.t8","tabla":"sce.t8","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_436(1232) se carga 95_270_436_8_202_2392 se carga 95_270_436_8_202_2391 se carga 95_270_436_8_202_2390Array se carga 95_270_436_8_202_2387<font style="" size="2" face="tahoma">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-family: tahoma, arial, helvetica, sans-serif; font-size: 12px; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font size="2" face="tahoma">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> se carga 95_270_436_8_202_23862017-06-28 se carga 95_270_436_8_202_23832017-06-28 {"0":"9998","id":"9998","1":"437","wf_paso_id":"437","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fecha_ejec":"2017-08-15 14:51:24","5":"1226","dato":"1226","6":"sce.t9","tabla":"sce.t9","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_437(1226) se carga 95_270_437_9_203_2395 se carga 95_270_437_9_203_2394 se carga 95_270_437_9_203_23932 {"0":"9999","id":"9999","1":"439","wf_paso_id":"439","2":"6604","wf_caso_95_seguimiento_id":"6604","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:49","fecha_ejec":"2017-08-15 14:51:49","5":"1219","dato":"1219","6":"sce.t12","tabla":"sce.t12","7":"272","tarea_id":"272","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_439(1219) se carga 95_272_439_12_206_2414 se carga 95_272_439_12_206_2413 se carga 95_272_439_12_206_24122 se carga 95_272_439_12_206_2411​ Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición. se carga 95_272_439_12_206_24101 se carga 95_272_439_12_206_2409 se carga 95_272_439_12_206_24082017-08-14 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":"187","core_usuario_id_resol":"187","6":"2017-08-15 14:51:24","fec_resol":"2017-08-15 14:51:24","7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"6604","id":"6604","1":"1344","wf_caso_95_id":"1344","2":"272","wf_tarea_id":"272","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fec_asig":"2017-08-15 14:51:24","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"272","wf_tarea_id_sig":"272","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-08 15 14:52:58 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-08 15 14:52:58 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-08 15 14:52:58 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 fin 2017-08-15 14:52:58 /******************************************************************************************************/ 2017-08-15 14:53:35TraerCaso(1344,95,) CargarCaso :1344 2017-08 15 14:53:35 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 {"0":"9997","id":"9997","1":"436","wf_paso_id":"436","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:20","fecha_ejec":"2017-08-15 14:51:20","5":"1232","dato":"1232","6":"sce.t8","tabla":"sce.t8","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_436(1232) se carga 95_270_436_8_202_2392 se carga 95_270_436_8_202_2391 se carga 95_270_436_8_202_2390Array se carga 95_270_436_8_202_2387<font style="" size="2" face="tahoma">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-family: tahoma, arial, helvetica, sans-serif; font-size: 12px; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font size="2" face="tahoma">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> se carga 95_270_436_8_202_23862017-06-28 se carga 95_270_436_8_202_23832017-06-28 {"0":"9998","id":"9998","1":"437","wf_paso_id":"437","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fecha_ejec":"2017-08-15 14:51:24","5":"1226","dato":"1226","6":"sce.t9","tabla":"sce.t9","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_437(1226) se carga 95_270_437_9_203_2395 se carga 95_270_437_9_203_2394 se carga 95_270_437_9_203_23932 {"0":"9999","id":"9999","1":"439","wf_paso_id":"439","2":"6604","wf_caso_95_seguimiento_id":"6604","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:49","fecha_ejec":"2017-08-15 14:51:49","5":"1219","dato":"1219","6":"sce.t12","tabla":"sce.t12","7":"272","tarea_id":"272","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_439(1219) se carga 95_272_439_12_206_2414 se carga 95_272_439_12_206_2413 se carga 95_272_439_12_206_24122 se carga 95_272_439_12_206_2411​ Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición. se carga 95_272_439_12_206_24101 se carga 95_272_439_12_206_2409 se carga 95_272_439_12_206_24082017-08-14 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":"187","core_usuario_id_resol":"187","6":"2017-08-15 14:51:24","fec_resol":"2017-08-15 14:51:24","7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"6604","id":"6604","1":"1344","wf_caso_95_id":"1344","2":"272","wf_tarea_id":"272","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fec_asig":"2017-08-15 14:51:24","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"272","wf_tarea_id_sig":"272","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-08 15 14:53:36 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-08 15 14:53:36 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-08 15 14:53:36 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 2017-08 15 14:53:36 Continuar(,144,,s) EjecutarTarea_272() Respuesta id_comp55555 187 187 ValidarUsuario(272):1 SiguientePasoDe439: Funcion para ejecutar el siguiente paso EjecutarPaso_441: docs:99 , caso=1344 id_comp 55555 Mostrar docs $tit_formato='SEGUIMIENTO DE PETICIONES, QUEJAS, RECLAMOS Y/O SOLICITUDES PGGS'; /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ require_once($root.'/lib/tcpdf/config/lang/eng.php'); require_once($root.'/lib/tcpdf/tcpdf.php'); //-------------------------------------------------------------------------- class MYPDF extends TCPDF { //Page header public function Header() { // Logo //echo str_replace('$root_js',$root_js,$CONFIG['CABECERA_FORMATOS_HTML']); $codigo='GCSP-F-135'; $versión='001'; $fecha='05/09/2014'; $titulo='SEGUIMIENTO DE PETICIONES, QUEJAS, RECLAMOS Y/O SOLICITUDES PGGS'; $cab=$CONFIG['CABECERA_REPORTES']; $h="'".str_replace(array('$root_js','_LOGO_','_TITULO_','_CODFORM_','_VERSION_','_FECHAACTUAL_','border="1"'), array($root_js,$root_js.$CONFIG['LOGO_REPORTES'],'BANCO DE PROGRAMAS Y PROYECTOS DE INVERSIÓN DEPARTAMENTAL',' BPI-FVR01',' 01',' 03-12-2014','border="1" bordercolor="#000000"'), $cab)."'"; $image_file = K_PATH_IMAGES.'logo_uds.png'; $image_file2 = K_PATH_IMAGES.'logo_ani.jpg'; $htm='<table width="100%" height="5%" border="0.2" cellspacing="0" bordercolor="#000000" cellpadding="3" style="font-size:8pt" > <tr> <td rowspan="3" width="15%"><img src="'.$image_file2.'" alt="a" /></td> <td colspan="2" width="50%"><div align="center"><strong>SISTEMA INTEGRADO DE GESTIÓN</strong></div></td> <td rowspan="3" width="15%"><img src="'.$image_file.'" alt="a" /></td> <td width="20%"><strong>Código:</strong> '.$codigo.'</td> </tr> <tr> <td width="12%"><strong>PROCESO</strong></td> <td width="38%"><div align="center">GESTIÓN CONTRACTUAL Y SEGUIMIENTO DE PROYECTOS DE INFRAESTRUCTURA DE TRANSPORTE</div></td> <td><strong>Versión:</strong> '.$versión.'</td> </tr> <tr> <td><strong>FORMATO</strong></td> <td><div align="center">'.$titulo.'</div></td> <td><strong>Fecha:</strong> '.$fecha.'</td> </tr> </table>'; $this->writeHTMLCell( 0, 0, '', '', $htm, 0,1, 0, true, 'top', true); } // Page footer public function Footer() { // Position at 15 mm from bottom $this->SetY(-18); $this->writeHTMLCell( 0, 0, '', '', "<div align=\"center\">Avenida Calle 26 Nro. 59-51 Torre 4 y/o Calle 24A Nro. 59-42 Torre 4 Piso 2 <br/>PBX: 4848860-www.ani.gov.co, Nit 830125996-9 </div>", 0,1, 0, true, 'top', true); } } //-------------------------------------------------------------------------- // create new PDF document $pdf = new MYPDF('p', 'mm', 'letter', true, 'UTF-8', false); // set document information $pdf->SetCreator(PDF_CREATOR); $pdf->SetAuthor('Siti'); $pdf->SetTitle('Seguimiento'); $pdf->SetSubject('Certificado'); $pdf->SetKeywords('TCPDF, PDF, example, test, guide'); // set default header data $pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING); // set header and footer fonts $pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); $pdf->setFooterFont(Array(PDF_FONT_NAME_MAIN, '', 8)); // set default monospaced font $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED); // set margins $pdf->SetMargins(PDF_MARGIN_LEFT, 45, PDF_MARGIN_RIGHT); $pdf->SetHeaderMargin(13); $pdf->SetFooterMargin(40); // set auto page breaks $pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); // set image scale factor $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); //set some language-dependent strings $pdf->setLanguageArray($l); // --------------------------------------------------------- // NOTE: 2D barcode algorithms must be implemented on 2dbarcode.php class file. // set font $pdf->SetFont('times', '', 10); // add a page $pdf->AddPage(); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $fils=4; $cols=3; $logo_empresa=$CONFIG['LOGO_EMPRESA']; $codigo=$root_js.'build/view/common/marco/index.php?particular=001&accion=I&proc='.$CONFIG['PROCESO_STICKER']; $izq=10+2;$der=10;$arr=10; $abj=10; $sxp=$fils*$cols; $tot=$rangoF-$rangoI+1; $pags=ceil(($tot)/$sxp); $anchoR=216-$izq-$der; $altoR=279-$arr-$abj; $anchoS=$anchoR/$cols; $margenSV=2; $margenSH=5; $altoS=$altoR/$fils; $altoImg=10; $altoText=8; $altoC=50; // set style for barcode $style = array( 'border' => 2, 'vpadding' => 'auto', 'hpadding' => 'auto', 'fgcolor' => array(0,0,0), 'bgcolor' => false, //array(255,255,255) 'module_width' => 1, // width of a single module in points 'module_height' => 1 // height of a single module in points ); $pdf->SetFont('times', '', 9, '', false); $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED); $s=0;$p=1;$consc=$rangoI; $y=$arr; $x=$izq; // create some HTML content ob_start(); /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ $fecha_reg=' 95_267_433_1_195_2344 '; $sql="select oid_rad from sce.t1 where wf_caso_id=? order by oid desc"; $id='{"pro":"95","cas":"'.$this->caso->id.'"}'; $rs_u=$con->Execute($sql,$id); $fil_u=$rs_u->fetchRow(); $oid_1=$fil_u['oid_rad']; /*$anio_rad='select extract (year from fecha_core_usuario_id_creacion ) as anio from sce.t1 where wf_caso_id=?'; $id_rad='{"pro":"95","cas":"'.$this->caso->id.'"}'; $rs_u_rad=$con->Execute($anio_rad,$id_rad); $anio=$rs_u_rad['anio']-2000;*/ $anio=date('Y')-2000; $radicado_ing='GSAU'.str_pad($fil_u['oid_rad'], 4, "0", STR_PAD_LEFT).'-'.$anio; if(!$_REQUEST['NRS'] || $_REQUEST['NRS']!='s') $radicado_sal='GSAUR'.str_pad($fil_u['oid_rad'], 4, "0", STR_PAD_LEFT).'-'.$anio; else $radicado_sal='SIN RADICADO DE SALIDA'; $area=' 95_269_435_7_201_2379 '; $fecha_remision=' 95_270_436_8_202_2386 '; $avance_tram=' 95_270_436_8_202_2387 '; $fecha_resp=' 95_272_439_12_206_2408 '; $res='95_272_439_12_206_2410'; if($res=='SÃ'){$resp1='<u><strong> x </strong></u>';}else {$resp1='__';} if($res=='No'){$resp2='<u><strong> x </strong></u>';}else {$resp2='__';} $estado='95_272_439_12_206_2412'; if($estado=='Abierto'){$estado1='<u><strong> x </strong></u>';}else {$estado1='__';} if($estado=='Cerrado'){$estado2='<u><strong> x </strong></u>';}else {$estado2='__';} $obs='95_272_439_12_206_2413'; $anexos='';/*95_272_439_12_206_2414*/ ?> <div align="center"><br /> <strong>PROYECTO DE CONCESIÓN RUMICHACA - PASTO<br /> CONTRATO DE CONCESIÓN NO. 15 DEL 11 DE SEPTIEMBRE DE 2015<br /><br /> PROGRAMA DE ATENCIÓN AL USUARIO<br /> SEGUIMIENTO DE PETICIONES, QUEJAS, RECLAMOS Y/O SOLICITUDES </strong><br /><br /> </div> <table width="100%" border="1"> <tr> <td width="50%"><strong>Fecha de ingreso: </strong><?php echo $fecha_reg;?></td> <td width="50%"><strong>Radicado de Ingreso: </strong><?php echo $radicado_ing;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td width="50%"><strong>Area responsable del trámite: </strong><?php echo $area;?></td> <td width="50%"><strong>Fecha de remisión: </strong><?php echo $fecha_remision;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td valign="top"><strong>Avance en el trámite: </strong><br /><?php echo $avance_tram;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td width="50%"><strong>Fecha de respuesta: </strong><?php echo $fecha_resp;?></td> <td width="50%"><strong>Radicado de salida: </strong><?php echo $radicado_sal;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td width="60%"><strong>Respuesta recibida a satisfacción por el peticionario</strong></td> <td width="20%">Si <?php echo $resp1;?></td> <td width="20%">No <?php echo $resp2;?></td> </tr> <tr> <td><strong>Estado del requerimiento</strong></td> <td>Abierto <?php echo $estado1;?></td> <td>Cerrado <?php echo $estado2;?></td> </tr> </table> <br /> <table width="100%" border="1"> <tr> <td ><strong>Observaciones: </strong><br /><?php echo nl2br($obs);?></td> </tr> <tr> <td><strong>Anexos: </strong><br /><?php echo $anexos;?></td> </tr> </table> <br /><br /> <table width="100%" border="1"> <tr> <td width="50%"><strong>Profesional Social Concesionario:</strong></td> <td width="50%"><strong>Profesional Social Interventoria que verifica:</strong></td> </tr> <tr> <td>Nombre:</td> <td>Nombre:</td> </tr> <tr> <td>Firma:</td> <td>Firma:</td> </tr> <tr> <td>Cédula:</td> <td>Cédula:</td> </tr> <tr> <td>Fecha revisión:</td> <td>Fecha revisión:</td> </tr> </table> <? /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------*/ $html=ob_get_clean(); // output the HTML content $pdf->writeHTML($html, true, false,false,false); // reset pointer to the last page $pdf->lastPage(); $nomdoc=md5(time()).'.pdf'; $pdf->Output($root."/tmp/".$nomdoc, 'F'); $url=$root_js.'tmp/'.$nomdoc; T95_272_439_12_206_2414: <table width="99%" cellspacing="0" border="1" class="x-grid3-row"> <tr style="text-align:center; background-color:#eeeeee; font-size:9pt; text-align:center; "> <th class="x-grid3-cell" style="font-family:Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size:12px;" ><b>Descripción</b></th> <th class="x-grid3-cell" style="font-family:Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size:12px;" ><b>Adjunto</b></th> </tr> </table> T95_272_439_12_206_2413: T95_272_439_12_206_2412:Cerrado T95_272_439_12_206_2410:Sà T95_272_439_12_206_2408:2017-08-14 T95_270_436_8_202_2387:<font style="" size="2" face="tahoma">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-family: tahoma, arial, helvetica, sans-serif; font-size: 12px; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font size="2" face="tahoma">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> T95_270_436_8_202_2386:2017-06-28 T95_269_435_7_201_2379:AREA TECNICA - GERENCIA TECNICA T95_267_433_1_195_2344:2017-06-28 Retorno : Array ( [ret] => inicioComponente_WF_DocSalida({"id":"55555","caso_id":"1344","proceso_id":95,"tit":"Respuesta","tarea_id":272,"paso_id":441,"desc":"<strong>Seguimiento PQRS<\/strong>: ","url":"<a href=\"http:\/\/190.66.24.118\/sisad16\/tmp\/4fea9b506cd33ec06d8d185116a82ffe.pdf\" target=\"_blank\" >De clic aquí para descargar el archivo<\/a><\/div>"}); [suc] => 1 ) fin 2017-08-15 14:53:36 /******************************************************************************************************/ 2017-08-15 14:53:36TraerCaso(1344,95,) CargarCaso :1344 2017-08 15 14:53:36 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 {"0":"9997","id":"9997","1":"436","wf_paso_id":"436","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:20","fecha_ejec":"2017-08-15 14:51:20","5":"1232","dato":"1232","6":"sce.t8","tabla":"sce.t8","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_436(1232) se carga 95_270_436_8_202_2392 se carga 95_270_436_8_202_2391 se carga 95_270_436_8_202_2390Array se carga 95_270_436_8_202_2387<font style="" size="2" face="tahoma">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-family: tahoma, arial, helvetica, sans-serif; font-size: 12px; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font size="2" face="tahoma">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> se carga 95_270_436_8_202_23862017-06-28 se carga 95_270_436_8_202_23832017-06-28 {"0":"9998","id":"9998","1":"437","wf_paso_id":"437","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fecha_ejec":"2017-08-15 14:51:24","5":"1226","dato":"1226","6":"sce.t9","tabla":"sce.t9","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_437(1226) se carga 95_270_437_9_203_2395 se carga 95_270_437_9_203_2394 se carga 95_270_437_9_203_23932 {"0":"9999","id":"9999","1":"439","wf_paso_id":"439","2":"6604","wf_caso_95_seguimiento_id":"6604","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:49","fecha_ejec":"2017-08-15 14:51:49","5":"1219","dato":"1219","6":"sce.t12","tabla":"sce.t12","7":"272","tarea_id":"272","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_439(1219) se carga 95_272_439_12_206_2414 se carga 95_272_439_12_206_2413 se carga 95_272_439_12_206_24122 se carga 95_272_439_12_206_2411​ Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición. se carga 95_272_439_12_206_24101 se carga 95_272_439_12_206_2409 se carga 95_272_439_12_206_24082017-08-14 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":"187","core_usuario_id_resol":"187","6":"2017-08-15 14:51:24","fec_resol":"2017-08-15 14:51:24","7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"6604","id":"6604","1":"1344","wf_caso_95_id":"1344","2":"272","wf_tarea_id":"272","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fec_asig":"2017-08-15 14:51:24","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"272","wf_tarea_id_sig":"272","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-08 15 14:53:36 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-08 15 14:53:36 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-08 15 14:53:36 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 fin 2017-08-15 14:53:36 /******************************************************************************************************/ 2017-08-15 14:53:37TraerCaso(1344,95,) CargarCaso :1344 2017-08 15 14:53:37 CargarDatos: Caso :1344 cargar datos de ejecucion de los ultimos pasos select p.*,b.wf_tarea_id as tarea_id, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_ejec from (select max(id) as id, wf_caso_95_seguimiento_id,wf_paso_id from wf_caso_95_pasos a1 group by wf_caso_95_seguimiento_id,wf_paso_id order by id )a inner join wf_caso_95_pasos p using(id,wf_caso_95_seguimiento_id) inner join ( select max(id) as wf_caso_95_seguimiento_id,wf_caso_95_id,wf_tarea_id from wf_caso_95_seguimiento where wf_caso_95_id =? group by wf_caso_95_id,wf_tarea_id order by wf_caso_95_id,wf_caso_95_seguimiento_id ) b using(wf_caso_95_seguimiento_id) left join usuarios u using(core_usuario_id) where tabla not in ('sce.t53') {"0":"8591","id":"8591","1":"433","wf_paso_id":"433","2":"5699","wf_caso_95_seguimiento_id":"5699","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fecha_ejec":"2017-06-29 09:20:42","5":"1096","dato":"1096","6":"sce.t1","tabla":"sce.t1","7":"267","tarea_id":"267","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_433(1096) se carga 95_267_433_1_195_2362 se carga 95_267_433_1_195_2361 se carga 95_267_433_1_195_2357 se carga 95_267_433_1_195_23471 se carga 95_267_433_1_195_23461 se carga 95_267_433_1_195_23455 se carga 95_267_433_1_195_23442017-06-28 {"0":"8592","id":"8592","1":"434","wf_paso_id":"434","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:54","fecha_ejec":"2017-06-29 09:26:54","5":"1089","dato":"1089","6":"sce.t2","tabla":"sce.t2","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_434(1089) se carga 95_268_434_2_196_2365 se carga 95_268_434_2_196_2364 se carga 95_268_434_2_196_2363 se carga 95_268_434_2_196_2356Solicitud de la ANI concepto de viabilidad tecnica operativo y de viabilidad, de la solicitud de permiso de ocupacion temporal de espacio publico para la construccion de CENTRO ETNOTURISTICO. se carga 95_268_434_2_196_2355 se carga 95_268_434_2_196_2354 se carga 95_268_434_2_196_2353832 se carga 95_268_434_2_196_2352 se carga 95_268_434_2_196_2351BOGOTA se carga 95_268_434_2_196_2350 se carga 95_268_434_2_196_2349null se carga 95_268_434_2_196_2348FRANCISCO ORDUZ {"0":"8593","id":"8593","1":"440","wf_paso_id":"440","2":"5700","wf_caso_95_seguimiento_id":"5700","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fecha_ejec":"2017-06-29 09:26:58","5":"2983","dato":"2983","6":"core_upload","tabla":"core_upload","7":"268","tarea_id":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_440(2983) {"0":"8594","id":"8594","1":"435","wf_paso_id":"435","2":"5701","wf_caso_95_seguimiento_id":"5701","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fecha_ejec":"2017-06-29 09:27:33","5":"1093","dato":"1093","6":"sce.t7","tabla":"sce.t7","7":"269","tarea_id":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_435(1093) se carga 95_269_435_7_201_2382 se carga 95_269_435_7_201_2381 se carga 95_269_435_7_201_2380OCUPACION TEMPORAL DE ESPACIO PUBLICO se carga 95_269_435_7_201_2379AREA TECNICA - GERENCIA TECNICA se carga 95_269_435_7_201_237815 {"0":"9997","id":"9997","1":"436","wf_paso_id":"436","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:20","fecha_ejec":"2017-08-15 14:51:20","5":"1232","dato":"1232","6":"sce.t8","tabla":"sce.t8","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_436(1232) se carga 95_270_436_8_202_2392 se carga 95_270_436_8_202_2391 se carga 95_270_436_8_202_2390Array se carga 95_270_436_8_202_2387<font style="" size="2" face="tahoma">​</font><table border="0" cellpadding="0" cellspacing="0" width="970" style="font-family: tahoma, arial, helvetica, sans-serif; font-size: 12px; border-collapse: collapse; width: 728pt;"><tbody><tr height="60" style="height:45.0pt"> <td height="60" class="xl64" width="970" style="height:45.0pt;width:728pt"><font size="2" face="tahoma">Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición.</font></td></tr></tbody></table> se carga 95_270_436_8_202_23862017-06-28 se carga 95_270_436_8_202_23832017-06-28 {"0":"9998","id":"9998","1":"437","wf_paso_id":"437","2":"5702","wf_caso_95_seguimiento_id":"5702","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fecha_ejec":"2017-08-15 14:51:24","5":"1226","dato":"1226","6":"sce.t9","tabla":"sce.t9","7":"270","tarea_id":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_437(1226) se carga 95_270_437_9_203_2395 se carga 95_270_437_9_203_2394 se carga 95_270_437_9_203_23932 {"0":"9999","id":"9999","1":"439","wf_paso_id":"439","2":"6604","wf_caso_95_seguimiento_id":"6604","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:49","fecha_ejec":"2017-08-15 14:51:49","5":"1219","dato":"1219","6":"sce.t12","tabla":"sce.t12","7":"272","tarea_id":"272","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_ejec":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} CargarDatos_439(1219) se carga 95_272_439_12_206_2414 se carga 95_272_439_12_206_2413 se carga 95_272_439_12_206_24122 se carga 95_272_439_12_206_2411​ Se remite al área de Operaciones. Se da respuesta por medio del oficio OM 140-17 en donde se informa que una vez revisada la documentación contenida en el expediente del asunto, corroboramos que se trata de una solicitud de permiso sobre el corredor Vial que no se encuentra a nuestro cargo, por tal motivo, no emite ningún concepto al respecto. De esta manera se da por cerrada la petición. De esta manera se da por cerrada esta petición. se carga 95_272_439_12_206_24101 se carga 95_272_439_12_206_2409 se carga 95_272_439_12_206_24082017-08-14 cargar datos de ejecucion de las tareas (las ultimas si el proceso tiene ciclos) select a.*, u.apellido||' '||u.nombre|| ': '||u.cargo as usr_asig , ur.apellido||' '||ur.nombre|| ': '||ur.cargo as usr_resol from wf_caso_95_seguimiento a inner join ( select max(b0.id) as id,b0.wf_caso_95_id,b0.wf_tarea_id from wf_caso_95_seguimiento b0 where b0.wf_caso_95_id =? group by b0.wf_caso_95_id,b0.wf_tarea_id order by wf_caso_95_id,id ) b using(id) left join usuarios u using(core_usuario_id) left join usuarios ur on ur.core_usuario_id=core_usuario_id_resol {"0":"5699","id":"5699","1":"1344","wf_caso_95_id":"1344","2":"267","wf_tarea_id":"267","3":null,"core_usuario_id":null,"4":"2017-06-29 09:20:16","fec_asig":"2017-06-29 09:20:16","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:20:42","fec_resol":"2017-06-29 09:20:42","7":"267","wf_tarea_id_sig":"267","8":null,"usr_asig":null,"9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5700","id":"5700","1":"1344","wf_caso_95_id":"1344","2":"268","wf_tarea_id":"268","3":"187","core_usuario_id":"187","4":"2017-06-29 09:20:42","fec_asig":"2017-06-29 09:20:42","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:26:58","fec_resol":"2017-06-29 09:26:58","7":"268","wf_tarea_id_sig":"268","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5701","id":"5701","1":"1344","wf_caso_95_id":"1344","2":"269","wf_tarea_id":"269","3":"187","core_usuario_id":"187","4":"2017-06-29 09:26:58","fec_asig":"2017-06-29 09:26:58","5":"187","core_usuario_id_resol":"187","6":"2017-06-29 09:27:33","fec_resol":"2017-06-29 09:27:33","7":"269","wf_tarea_id_sig":"269","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"5702","id":"5702","1":"1344","wf_caso_95_id":"1344","2":"270","wf_tarea_id":"270","3":"187","core_usuario_id":"187","4":"2017-06-29 09:27:33","fec_asig":"2017-06-29 09:27:33","5":"187","core_usuario_id_resol":"187","6":"2017-08-15 14:51:24","fec_resol":"2017-08-15 14:51:24","7":"270","wf_tarea_id_sig":"270","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_resol":"MUESES YANDAR KAREN JOHANA: Proyectos SPD"} {"0":"6604","id":"6604","1":"1344","wf_caso_95_id":"1344","2":"272","wf_tarea_id":"272","3":"187","core_usuario_id":"187","4":"2017-08-15 14:51:24","fec_asig":"2017-08-15 14:51:24","5":null,"core_usuario_id_resol":null,"6":null,"fec_resol":null,"7":"272","wf_tarea_id_sig":"272","8":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","usr_asig":"MUESES YANDAR KAREN JOHANA: Proyectos SPD","9":null,"usr_resol":null} 2017-08 15 14:53:37 cargar datos del sujeto(,,s,95,1344) select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso from wf_caso_95 w inner join core_sujetoverificacion s on w.id=1344 AND s.id =w.core_sujetoverificacion_id inner join plan_municipio m on s.plan_municipio_id=m.id inner join core_sujetocategoria c on s.core_sujetocategoria_id=c.id 2017-08 15 14:53:37 tabla dat adic select tabla from core_sujetoverificaciontipo where id=7 2017-08 15 14:53:37 tabla :core_sujetoverificaciongeneral SELECT * FROM core_sujetoverificaciongeneral where id=87101017 2017-08 15 14:53:37 Continuar(s,272,441,) EjecutarTarea_272() Respuesta id_comp55555 187 187 ValidarUsuario(272):1 EjecutarPaso_441: docs:99 , caso=1344 id_comp 55555 Paso::Guardar(Caso:1344) rta: 1 dato:3362 tabla:core_upload CasoPaso:10000 CargarDatos_441(3362) SiguientePasoDe441: Funcion para ejecutar el siguiente paso Condicion Tarea : 2 == 1 TerminarTarea(272,) Retorno : Array ( [htm] => [suc] => 1 [ret] => crearMsg('El proceso ha terminado exitosamente, si considera que no debe ser asi comuniquese con el administrador del sistema','Información');Ext.getCmp('comp_55555').funcionInicial('n'); ) fin 2017-08-15 14:53:37 /******************************************************************************************************/