2018-12 06 18:51:26
Nuevo(3,1)
Caso :5
2018-12 06 18:51:26
cargar datos del sujeto(,,s,3,5)
select s.*, m.nombre as nom_muni, c.nom_cat,fec_caso
from wf_caso_3 w
inner join core_sujetoverificacion s on w.id=5 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
2018-12 06 18:51:26
tabla dat adic
select tabla from core_sujetoverificaciontipo where id=7
2018-12 06 18:51:26
tabla :core_sujetoverificaciongeneral
SELECT * FROM core_sujetoverificaciongeneral where id=3
CasoSeguimiento :7
EjecutarTarea_4() 1. Registro - Modelo de negocio id_comp1017
1
ValidarUsuario(4):1
EjecutarPaso_5: form:15 , caso=5 id_comp 1017
Mostrar form
fin 2018-12-06 18:51:26
/******************************************************************************************************/
fin 2018-12-06 18:51:26
/******************************************************************************************************/
2018-12 06 18:52:02
Continuar(,4,,s)
EjecutarTarea_4() 1. Registro - Modelo de negocio id_comp1019
1
ValidarUsuario(4):1
EjecutarPaso_5: form:15 , caso=5 id_comp 1019
Mostrar form
Retorno :
Array
(
[ret] => Ext.getCmp('comp_1019').removeAll();Ext.getCmp('comp_1019').add(new Ext.form.FormPanel({ title: 'Modelo de negocio' ,padding: 10,id:'frm_formulario_3_5',autoScroll:true ,labelAlign:'top',defaults: { anchor: '97%'} ,items: [new Ext.form.Hidden({name:'cod_formulario2',value:'15'}) ,new Ext.form.Hidden({name :'id_periodo',value:'2018'}) ,new Ext.form.Hidden({name :'obs_ingreso',value:''}) ,new Ext.form.Hidden({name:'cod_bloque',value:'15'}) ,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()); } } ,allowBlank:false,id:'281',fieldLabel:'* Modelo de negocio' },new Ext.form.DateField({fieldLabel:'Fecha inicio',id:'282',name:'282',maskRe:/^[-_0-9]$/,format:FormatoFecha,renderer:Ext.util.Format.dateRenderer(FormatoFecha) }), new Ext.form.TextArea({id:'283', fieldLabel:'Descripción',name:'283'}) ] ,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_3_5'); 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.121.148.59/sisad16/build/view/'+'workflow/casos/casos_l.php',params:{wf_proceso_id:'3',wf_paso_id:'5',wf_tarea_id:'4',wf_caso_id:'5',id:'1019',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_3_5').getForm().loadRecord(new Ext.data.Record({"cod_formulario":15,"oid_maestro":null,"cod_bloque":15,"281":null})); llamadaAJAX({url:'http://190.121.148.59/sisad16/build/view/workflow/casos/casos_datosForm.php',mostrarMsg:false,params:{accion:'verifica',wf_paso_id:'5',cod_formulario:'15',cod_bloque:'15',wf_caso_id:'{"pro":"3","cas":"5"}'}}); }catch(e){alert(e);} } } }) );Ext.getCmp('comp_1019').doLayout();
[suc] => 1
)
fin 2018-12-06 18:52:02
/******************************************************************************************************/
fin 2018-12-06 18:52:02
/******************************************************************************************************/
2018-12 06 18:56:54
Continuar(,4,,s)
EjecutarTarea_4() 1. Registro - Modelo de negocio id_comp1019
1
ValidarUsuario(4):1
EjecutarPaso_5: form:15 , caso=5 id_comp 1019
Mostrar form
Retorno :
Array
(
[ret] => Ext.getCmp('comp_1019').removeAll();Ext.getCmp('comp_1019').add(new Ext.form.FormPanel({ title: 'Modelo de negocio' ,padding: 10,id:'frm_formulario_3_5',autoScroll:true ,labelAlign:'top',defaults: { anchor: '97%'} ,items: [new Ext.form.Hidden({name:'cod_formulario2',value:'15'}) ,new Ext.form.Hidden({name :'id_periodo',value:'2018'}) ,new Ext.form.Hidden({name :'obs_ingreso',value:''}) ,new Ext.form.Hidden({name:'cod_bloque',value:'15'}) ,new Ext.form.Hidden({name :'oid',value:''}) ,new Ext.form.Hidden({name :'oid_maestro',value:''}) ,{ xtype:'hidden',id:'hds298',disabled:true },{xtype:'compositefield',fieldLabel:' Unidad de Negocio',items:[ new Ext.form.ComboBox({flex:1,listeners:{ select:function(){xajax_comprobar_campoOcultoSelect(this.getValue(),298);},afterrender:function(){ xajax_comprobar_campoOcultoSelect(this.getValue(),298); }},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:'21',id:'OID',et1:'ud_nom'},autoLoad:true,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:'298',fieldLabel:' Unidad de Negocio' }),{xtype:'button',width:40,flex:1,iconCls:'icon-add',handler:function(){xajax_iniciarPintarFormulario({cod_formulario2:'21',id_periodo:'2018',obs_ingreso:'',contenedor_nuevo:'_21'},'n');}}]} ,{value:'',xtype:'textfield' , maxLength:200,autoCreate:{ tag:'input',maxlength:'200'} ,listeners:{ blur:function(){ this.setValue(this.getValue().toUpperCase()); } } ,allowBlank:false,id:'281',fieldLabel:'* Modelo de negocio' },new Ext.form.DateField({fieldLabel:'Fecha inicio',id:'282',name:'282',maskRe:/^[-_0-9]$/,format:FormatoFecha,renderer:Ext.util.Format.dateRenderer(FormatoFecha) }), new Ext.form.TextArea({id:'283', fieldLabel:'Descripción',name:'283'}) ] ,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_3_5'); 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.121.148.59/sisad16/build/view/'+'workflow/casos/casos_l.php',params:{wf_proceso_id:'3',wf_paso_id:'5',wf_tarea_id:'4',wf_caso_id:'5',id:'1019',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_3_5').getForm().loadRecord(new Ext.data.Record({"cod_formulario":15,"oid_maestro":null,"cod_bloque":15,"281":null})); llamadaAJAX({url:'http://190.121.148.59/sisad16/build/view/workflow/casos/casos_datosForm.php',mostrarMsg:false,params:{accion:'verifica',wf_paso_id:'5',cod_formulario:'15',cod_bloque:'15',wf_caso_id:'{"pro":"3","cas":"5"}'}}); }catch(e){alert(e);} } } }) );Ext.getCmp('comp_1019').doLayout();
[suc] => 1
)
fin 2018-12-06 18:56:54
/******************************************************************************************************/
fin 2018-12-06 18:56:54
/******************************************************************************************************/
2018-12 06 18:57:55
Continuar(,4,,s)
EjecutarTarea_4() 1. Registro - Modelo de negocio id_comp1019
1
ValidarUsuario(4):1
EjecutarPaso_5: form:15 , caso=5 id_comp 1019
Mostrar form
Retorno :
Array
(
[ret] => Ext.getCmp('comp_1019').removeAll();Ext.getCmp('comp_1019').add(new Ext.form.FormPanel({ title: 'Modelo de negocio' ,padding: 10,id:'frm_formulario_3_5',autoScroll:true ,labelAlign:'top',defaults: { anchor: '97%'} ,items: [new Ext.form.Hidden({name:'cod_formulario2',value:'15'}) ,new Ext.form.Hidden({name :'id_periodo',value:'2018'}) ,new Ext.form.Hidden({name :'obs_ingreso',value:''}) ,new Ext.form.Hidden({name:'cod_bloque',value:'15'}) ,new Ext.form.Hidden({name :'oid',value:''}) ,new Ext.form.Hidden({name :'oid_maestro',value:''}) ,{ xtype:'hidden',id:'hds298',disabled:true }, new Ext.form.ComboBox({flex:1,listeners:{ select:function(){xajax_comprobar_campoOcultoSelect(this.getValue(),298);},afterrender:function(){ xajax_comprobar_campoOcultoSelect(this.getValue(),298); }},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:'21',id:'OID',et1:'ud_nom'},autoLoad:true,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:'298',fieldLabel:' Unidad de Negocio' }),{value:'',xtype:'textfield' , maxLength:200,autoCreate:{ tag:'input',maxlength:'200'} ,listeners:{ blur:function(){ this.setValue(this.getValue().toUpperCase()); } } ,allowBlank:false,id:'281',fieldLabel:'* Modelo de negocio' },new Ext.form.DateField({fieldLabel:'Fecha inicio',id:'282',name:'282',maskRe:/^[-_0-9]$/,format:FormatoFecha,renderer:Ext.util.Format.dateRenderer(FormatoFecha) }), new Ext.form.TextArea({id:'283', fieldLabel:'Descripción',name:'283'}) ] ,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_3_5'); 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.121.148.59/sisad16/build/view/'+'workflow/casos/casos_l.php',params:{wf_proceso_id:'3',wf_paso_id:'5',wf_tarea_id:'4',wf_caso_id:'5',id:'1019',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_3_5').getForm().loadRecord(new Ext.data.Record({"cod_formulario":15,"oid_maestro":null,"cod_bloque":15,"281":null})); llamadaAJAX({url:'http://190.121.148.59/sisad16/build/view/workflow/casos/casos_datosForm.php',mostrarMsg:false,params:{accion:'verifica',wf_paso_id:'5',cod_formulario:'15',cod_bloque:'15',wf_caso_id:'{"pro":"3","cas":"5"}'}}); }catch(e){alert(e);} } } }) );Ext.getCmp('comp_1019').doLayout();
[suc] => 1
)
fin 2018-12-06 18:57:55
/******************************************************************************************************/
fin 2018-12-06 18:57:55
/******************************************************************************************************/
2018-12 06 18:58:18
Continuar(s,4,5,)
EjecutarTarea_4() 1. Registro - Modelo de negocio id_comp1019
1
ValidarUsuario(4):1
EjecutarPaso_5: form:15 , caso=5 id_comp 1019
Paso::Guardar(Caso:5)
Datos a guardar:
Array
(
[wf_proceso_id] => 3
[wf_paso_id] => 5
[wf_tarea_id] => 4
[wf_caso_id] => 5
[id] => 1019
[accion] => nextPaso
[reg] => s
[rta] => n
[cod_formulario2] => 15
[id_periodo] => 2018
[obs_ingreso] =>
[cod_bloque] => 15
[oid] =>
[oid_maestro] =>
[298] => PRUEBA1
[281] => PRUEBA MODELO
[282] => 2018-12-06
[283] =>
)
OID: 3
rta: 1 dato:3 tabla:sce.t15
CasoPaso:16
CargarDatos_5(3)
se carga 3_4_5_15_15_298PRUEBA1
se carga 3_4_5_15_15_283
se carga 3_4_5_15_15_2822018-12-06
se carga 3_4_5_15_15_281PRUEBA MODELO
SiguientePasoDe5: Funcion para ejecutar el siguiente paso
Condicion Tarea : true
TerminarTarea(4,5)
Ultimo seg :7
Ultimo seg :8
EjecutarTarea_5() 2. Inversiones id_comp1019
1 1
ValidarUsuario(5):1
EjecutarPaso_6: form:8 , caso=5 id_comp 1019
Mostrar form
Retorno :
Array
(
[ret] => Ext.getCmp('comp_1019').removeAll();Ext.getCmp('comp_1019').add(new Ext.form.FormPanel({ title: 'Inversiones' ,padding: 10,id:'frm_formulario_3_5',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:'2018'}) ,new Ext.form.Hidden({name :'obs_ingreso',value:''}) ,new Ext.form.Hidden({name:'cod_bloque',value:'8'}) ,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()); } } ,allowBlank:false,id:'243',fieldLabel:'* Nombre inversión' },{ xtype:'hidden',id:'hds244',disabled:true },{xtype:'compositefield',fieldLabel:' Tipo de inversión',items:[ new Ext.form.ComboBox({flex:1,listeners:{ select:function(){xajax_comprobar_campoOcultoSelect(this.getValue(),244);},afterrender:function(){ xajax_comprobar_campoOcultoSelect(this.getValue(),244); }},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:'13',id:'OID',et1:'tip_inv'},autoLoad:true,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:'244', id:'inp_244',fieldLabel:' Tipo de inversión' }),{xtype:'button',width:40,flex:1,iconCls:'icon-add',handler:function(){xajax_iniciarPintarFormulario({cod_formulario2:'13',id_periodo:'2018',obs_ingreso:'',contenedor_nuevo:'_13'},'n');}}]} ,{value:'',xtype:'numberfield' , maxLength:200,autoCreate:{ tag:'input',maxlength:'200'} ,readOnly:true,id:'245',fieldLabel:'Total Gastos proyectados' },{ xtype:'hidden',id:'hdcampo247',value:'4'},{ xtype:'hidden',id:'247'}, new Ext.grid.EditorGridPanel({xtype:'editorgrid',store:new Ext.data.JsonStore({ fields:[{ name:'oid' },{ name:'cant_gas_proy' },{ name:'desc_gas_proy' },{ name:'cat_gas_proy' },{ name:'cat_gas_proy_txt' },{ name:'vu_gas_proy' },{ name:'vt_gas_proy' }]}),columns:[new Ext.grid.RowNumberer({width:30}),{header:'Cantidad',dataIndex:'cant_gas_proy',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return '
'+ val +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 ,allowBlank:false}},{header:'Descripción',dataIndex:'desc_gas_proy',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor:{value:'',xtype:'textfield' , maxLength:50 ,allowBlank:false}},{header:'Categoria',dataIndex:'cat_gas_proy',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},renderer:function(value,metaData,record,rowIndex,colIndex,store) {var combo = this.editor;var record = combo.findRecord(combo.valueField,value);return record ? record.get(combo.displayField):(record && record.data.cat_gas_proy_txt ?record.data.cat_gas_proy_txt:value );},editor: new Ext.form.ComboBox({typeAhead:true,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:'nom_cat'},autoLoad:true,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})},{header:'Valor unitario',dataIndex:'vu_gas_proy',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ Ext.util.Format.usMoney(val) +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 }},{header:'Valor total',dataIndex:'vt_gas_proy',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ Ext.util.Format.usMoney(val) +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 }}],stripeRows:true,height:150,id:'247_4',title:'Gastos proyectados',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:'4',id_periodo:'2018',oid_maestro:Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue(),obs_ingreso:document.getElementsByName('cod_formulario2').item(0).value,contenedor_nuevo:'_4',cod_camp_m:'247'},'n','','411','400');}},{iconCls:'icon-delete',tooltip:'Eliminar',text:'Eliminar',handler:function(){var grid = Ext.getCmp('247_4');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('247_4');var list = grid.getSelectionModel().getSelected();var x_oid=Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}if(x_oid==''){return false;}xajax_iniciarPintarModificarFormulario('4','2018',document.getElementsByName('cod_formulario2').item(0).value,grid.getSelectionModel().getSelected().data.oid,'n','','',Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue(),'411','400');}}]})/*fgp*/,{ xtype:'hidden',id:'hdcampo277',value:'9'},{ xtype:'hidden',id:'277'}, new Ext.grid.EditorGridPanel({xtype:'editorgrid',store:new Ext.data.JsonStore({ fields:[{ name:'oid' },{ name:'doc_per' },{ name:'nom1_per' },{ name:'nom2_per' },{ name:'ape1_per' },{ name:'ape2_per' },{ name:'tip_cont_per' },{ name:'tip_cont_per_txt' },{ name:'salario_per' },{ name:'ret_per' },{ name:'grid_org_un_per' }]}),columns:[new Ext.grid.RowNumberer({width:30}),{header:'Número de identificación',dataIndex:'doc_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor:{value:'',xtype:'numberfield' , maxLength:15 ,allowBlank:false}},{header:'Nombre 1',dataIndex:'nom1_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor:{value:'',xtype:'textfield' , maxLength:50 ,allowBlank:false}},{header:'Nombre 2',dataIndex:'nom2_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor:{value:'',xtype:'textfield' , maxLength:50 }},{header:'Apellido 1',dataIndex:'ape1_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor:{value:'',xtype:'textfield' , maxLength:50 ,allowBlank:false}},{header:'Apellido 2',dataIndex:'ape2_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor:{value:'',xtype:'textfield' , maxLength:50 }},{header:'Tipo de contrato',dataIndex:'tip_cont_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},renderer:function(value,metaData,record,rowIndex,colIndex,store) {var combo = this.editor;var record = combo.findRecord(combo.valueField,value);return record ? record.get(combo.displayField):(record && record.data.tip_cont_per_txt ?record.data.tip_cont_per_txt:value );},editor: new Ext.form.ComboBox({typeAhead:true,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:'11',id:'OID',et1:'nom_tip_cont'},autoLoad:true,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})},{header:'Salario',dataIndex:'salario_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ Ext.util.Format.usMoney(val) +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 }},{header:'Retenciones',dataIndex:'ret_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ Ext.util.Format.usMoney(val) +'
';},editor:{value:'',xtype:'textfield' , maxLength:10 }},{header:'Organización/Unidades de Negocio',dataIndex:'grid_org_un_per',width:80,hidden:true,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor: new Ext.form.TextArea({value:''})}],stripeRows:true,height:150,id:'277_9',title:'Peronal ',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:'9',id_periodo:'2018',oid_maestro:Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue(),obs_ingreso:document.getElementsByName('cod_formulario2').item(0).value,contenedor_nuevo:'_9',cod_camp_m:'277'},'n','','411','400');}},{iconCls:'icon-delete',tooltip:'Eliminar',text:'Eliminar',handler:function(){var grid = Ext.getCmp('277_9');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('277_9');var list = grid.getSelectionModel().getSelected();var x_oid=Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}if(x_oid==''){return false;}xajax_iniciarPintarModificarFormulario('9','2018',document.getElementsByName('cod_formulario2').item(0).value,grid.getSelectionModel().getSelected().data.oid,'n','','',Ext.getCmp('frm_formulario_3_5').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_3_5'); 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.121.148.59/sisad16/build/view/'+'workflow/casos/casos_l.php',params:{wf_proceso_id:'3',wf_paso_id:'6',wf_tarea_id:'5',wf_caso_id:'5',id:'1019',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_3_5').getForm().loadRecord(new Ext.data.Record({"cod_formulario":8,"oid_maestro":null,"cod_bloque":8,"243":null,"245":null})); llamadaAJAX({url:'http://190.121.148.59/sisad16/build/view/workflow/casos/casos_datosForm.php',mostrarMsg:false,params:{accion:'verifica',wf_paso_id:'6',cod_formulario:'8',cod_bloque:'8',wf_caso_id:'{"pro":"3","cas":"5"}'}}); }catch(e){alert(e);} } } }) );Ext.getCmp('comp_1019').doLayout();
[suc] => 1
)
fin 2018-12-06 18:58:18
/******************************************************************************************************/
fin 2018-12-06 18:58:18
/******************************************************************************************************/
2018-12 06 18:58:55
Continuar(s,5,6,)
EjecutarTarea_5() 2. Inversiones id_comp1019
1 1
ValidarUsuario(5):1
EjecutarPaso_6: form:8 , caso=5 id_comp 1019
Paso::Guardar(Caso:5)
Datos a guardar:
Array
(
[wf_proceso_id] => 3
[wf_paso_id] => 6
[wf_tarea_id] => 5
[wf_caso_id] => 5
[id] => 1019
[accion] => nextPaso
[reg] => s
[rta] => n
[cod_formulario2] => 8
[id_periodo] => 2018
[obs_ingreso] =>
[cod_bloque] => 8
[oid] =>
[oid_maestro] =>
[243] => INV PRUBA
[244] => 3
[245] => 400
[hdcampo247] => 4
[247] => [{"oid":null,"cant_gas_proy":20,"desc_gas_proy":"20 desc","cat_gas_proy":"3","vu_gas_proy":20,"vt_gas_proy":400,"form_master_escribir_xxx":"4"}]
[hdcampo277] => 9
[277] =>
)
OID: 9
rta: 1 dato:9 tabla:sce.t8
CasoPaso:17
CargarDatos_6(9)
se carga 3_5_6_8_8_277
se carga 3_5_6_8_8_247Array
se carga 3_5_6_8_8_245400
se carga 3_5_6_8_8_2443
se carga 3_5_6_8_8_243INV PRUBA
SiguientePasoDe6: Funcion para ejecutar el siguiente paso
EjecutarPaso_7: form:17 , caso=5 id_comp 1019
Mostrar form
Retorno :
Array
(
[ret] => Ext.getCmp('comp_1019').removeAll();Ext.getCmp('comp_1019').add(new Ext.form.FormPanel({ title: 'Productos a obtener' ,padding: 10,id:'frm_formulario_3_5',autoScroll:true ,labelAlign:'top',defaults: { anchor: '97%'} ,items: [new Ext.form.Hidden({name:'cod_formulario2',value:'17'}) ,new Ext.form.Hidden({name :'id_periodo',value:'2018'}) ,new Ext.form.Hidden({name :'obs_ingreso',value:''}) ,new Ext.form.Hidden({name:'cod_bloque',value:'17'}) ,new Ext.form.Hidden({name :'oid',value:''}) ,new Ext.form.Hidden({name :'oid_maestro',value:''}) ,{ xtype:'hidden',id:'hdcampo286',value:'16'},{ xtype:'hidden',id:'286'}, new Ext.grid.EditorGridPanel({xtype:'editorgrid',store:new Ext.data.JsonStore({ fields:[{ name:'oid' },{ name:'prod_obt_desc' },{ name:'prod_obt_cant' }]}),columns:[new Ext.grid.RowNumberer({width:30}),{header:'Descripción',dataIndex:'prod_obt_desc',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor:{value:'',xtype:'textfield' , maxLength:50 ,allowBlank:false}},{header:'Cantidad',dataIndex:'prod_obt_cant',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 ,allowBlank:false}}],stripeRows:true,height:150,id:'286_16',title:'Productos a obtener',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:'16',id_periodo:'2018',oid_maestro:Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue(),obs_ingreso:document.getElementsByName('cod_formulario2').item(0).value,contenedor_nuevo:'_16',cod_camp_m:'286'},'n','','411','400');}},{iconCls:'icon-delete',tooltip:'Eliminar',text:'Eliminar',handler:function(){var grid = Ext.getCmp('286_16');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('286_16');var list = grid.getSelectionModel().getSelected();var x_oid=Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}if(x_oid==''){return false;}xajax_iniciarPintarModificarFormulario('16','2018',document.getElementsByName('cod_formulario2').item(0).value,grid.getSelectionModel().getSelected().data.oid,'n','','',Ext.getCmp('frm_formulario_3_5').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_3_5'); 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.121.148.59/sisad16/build/view/'+'workflow/casos/casos_l.php',params:{wf_proceso_id:'3',wf_paso_id:'7',wf_tarea_id:'5',wf_caso_id:'5',id:'1019',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_3_5').getForm().loadRecord(new Ext.data.Record({"cod_formulario":17,"oid_maestro":null,"cod_bloque":17})); llamadaAJAX({url:'http://190.121.148.59/sisad16/build/view/workflow/casos/casos_datosForm.php',mostrarMsg:false,params:{accion:'verifica',wf_paso_id:'7',cod_formulario:'17',cod_bloque:'17',wf_caso_id:'{"pro":"3","cas":"5"}'}}); }catch(e){alert(e);} } } }) );Ext.getCmp('comp_1019').doLayout();
[suc] => 1
)
fin 2018-12-06 18:58:55
/******************************************************************************************************/
fin 2018-12-06 18:58:55
/******************************************************************************************************/
2018-12 06 18:59:18
Continuar(s,5,7,)
EjecutarTarea_5() 2. Inversiones id_comp1019
1 1
ValidarUsuario(5):1
EjecutarPaso_7: form:17 , caso=5 id_comp 1019
Paso::Guardar(Caso:5)
Datos a guardar:
Array
(
[wf_proceso_id] => 3
[wf_paso_id] => 7
[wf_tarea_id] => 5
[wf_caso_id] => 5
[id] => 1019
[accion] => nextPaso
[reg] => s
[rta] => n
[cod_formulario2] => 17
[id_periodo] => 2018
[obs_ingreso] =>
[cod_bloque] => 17
[oid] =>
[oid_maestro] =>
[hdcampo286] => 16
[286] => [{"oid":null,"prod_obt_desc":"10","prod_obt_cant":10,"form_master_escribir_xxx":"16"}]
)
OID: 2
rta: 1 dato:2 tabla:sce.t17
CasoPaso:18
CargarDatos_7(2)
se carga 3_5_7_17_17_286Array
SiguientePasoDe7: Funcion para ejecutar el siguiente paso
Condicion Tarea : true
TerminarTarea(5,6)
Ultimo seg :8
Ultimo seg :9
EjecutarTarea_6() 3. Inversión ejecutada id_comp1019
1 1
ValidarUsuario(6):1
EjecutarPaso_8: form:14 , caso=5 id_comp 1019
Mostrar form
Retorno :
Array
(
[ret] => Ext.getCmp('comp_1019').removeAll();Ext.getCmp('comp_1019').add(new Ext.form.FormPanel({ title: 'Inversión ejecutada' ,padding: 10,id:'frm_formulario_3_5',autoScroll:true ,labelAlign:'top',defaults: { anchor: '97%'} ,items: [new Ext.form.Hidden({name:'cod_formulario2',value:'14'}) ,new Ext.form.Hidden({name :'id_periodo',value:'2018'}) ,new Ext.form.Hidden({name :'obs_ingreso',value:''}) ,new Ext.form.Hidden({name:'cod_bloque',value:'14'}) ,new Ext.form.Hidden({name :'oid',value:''}) ,new Ext.form.Hidden({name :'oid_maestro',value:''}) ,{ xtype:'hidden',id:'hdcampo272',value:'6'},{ xtype:'hidden',id:'272'}, new Ext.grid.EditorGridPanel({xtype:'editorgrid',store:new Ext.data.JsonStore({ fields:[{ name:'oid' },{ name:'desc_gas_proy' },{ name:'desc_gas_proy_txt' },{ name:'cant_gas_eje' },{ name:'vu_gas_eje' },{ name:'vt_gas_eje' },{ name:'prov_gas_proy' },{ name:'prov_gas_proy_txt' },{ name:'presupuestado' }]}),columns:[new Ext.grid.RowNumberer({width:30}),{header:'Descripción',dataIndex:'desc_gas_proy',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},renderer:function(value,metaData,record,rowIndex,colIndex,store) {var combo = this.editor;var record = combo.findRecord(combo.valueField,value);return record ? record.get(combo.displayField):(record && record.data.desc_gas_proy_txt ?record.data.desc_gas_proy_txt:value );},editor: new Ext.form.ComboBox({typeAhead:true,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:'desc_gas_proy'},autoLoad:true,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,allowBlank:false})},{header:'Cantidad',dataIndex:'cant_gas_eje',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 ,allowBlank:false}},{header:'Valor unitario',dataIndex:'vu_gas_eje',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ Ext.util.Format.usMoney(val) +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 }},{header:'Valor total',dataIndex:'vt_gas_eje',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ Ext.util.Format.usMoney(val) +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 }},{header:'Proveedor',dataIndex:'prov_gas_proy',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},renderer:function(value,metaData,record,rowIndex,colIndex,store) {var combo = this.editor;var record = combo.findRecord(combo.valueField,value);return record ? record.get(combo.displayField):(record && record.data.prov_gas_proy_txt ?record.data.prov_gas_proy_txt:value );},editor: new Ext.form.ComboBox({typeAhead:true,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:'7',id:'OID',et1:'nom_prov'},autoLoad:true,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})},{header:'Presupuestado',dataIndex:'presupuestado',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 }}],stripeRows:true,height:150,id:'272_6',title:'Gastos ejecutados',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:'6',id_periodo:'2018',oid_maestro:Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue(),obs_ingreso:document.getElementsByName('cod_formulario2').item(0).value,contenedor_nuevo:'_6',cod_camp_m:'272'},'n','','411','400');}},{iconCls:'icon-delete',tooltip:'Eliminar',text:'Eliminar',handler:function(){var grid = Ext.getCmp('272_6');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('272_6');var list = grid.getSelectionModel().getSelected();var x_oid=Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}if(x_oid==''){return false;}xajax_iniciarPintarModificarFormulario('6','2018',document.getElementsByName('cod_formulario2').item(0).value,grid.getSelectionModel().getSelected().data.oid,'n','','',Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue(),'411','400');}}]})/*fgp*/,{ xtype:'hidden',id:'hdcampo280',value:'12'},{ xtype:'hidden',id:'280'}, new Ext.grid.EditorGridPanel({xtype:'editorgrid',store:new Ext.data.JsonStore({ fields:[{ name:'oid' },{ name:'nom_gas_per' },{ name:'nom_gas_per_txt' },{ name:'org_gas_per' },{ name:'org_gas_per_txt' },{ name:'un_gas_per' },{ name:'un_gas_per_txt' },{ name:'h_gas_per' },{ name:'vh_gas_per' },{ name:'d_gas_per' },{ name:'vd_gas_per' },{ name:'tot_gas_per' },{ name:'fi_gas_per' },{ name:'ff_gas_per' }]}),columns:[new Ext.grid.RowNumberer({width:30}),{header:'Personal',dataIndex:'nom_gas_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},renderer:function(value,metaData,record,rowIndex,colIndex,store) {var combo = this.editor;var record = combo.findRecord(combo.valueField,value);return record ? record.get(combo.displayField):(record && record.data.nom_gas_per_txt ?record.data.nom_gas_per_txt:value );},editor: new Ext.form.ComboBox({typeAhead:true,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:'9',id:'doc_per',et1:'nom1_per',et2:'ape1_per'},autoLoad:true,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})},{header:'Organización',dataIndex:'org_gas_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},renderer:function(value,metaData,record,rowIndex,colIndex,store) {var combo = this.editor;var record = combo.findRecord(combo.valueField,value);return record ? record.get(combo.displayField):(record && record.data.org_gas_per_txt ?record.data.org_gas_per_txt:value );},editor: new Ext.form.ComboBox({typeAhead:true,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:'3',id:'OID',et1:'nom_org'},autoLoad:true,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})},{header:'Unidad de negocio',dataIndex:'un_gas_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},renderer:function(value,metaData,record,rowIndex,colIndex,store) {var combo = this.editor;var record = combo.findRecord(combo.valueField,value);return record ? record.get(combo.displayField):(record && record.data.un_gas_per_txt ?record.data.un_gas_per_txt:value );},editor: new Ext.form.ComboBox({typeAhead:true,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:'2',id:'OID',et1:'nom_uni_neg'},autoLoad:true,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})},{header:'Horas trabajadas',dataIndex:'h_gas_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 }},{header:'Valor horas',dataIndex:'vh_gas_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ Ext.util.Format.usMoney(val) +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 }},{header:'Dias trabajados',dataIndex:'d_gas_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 }},{header:'Valor dias',dataIndex:'vd_gas_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ Ext.util.Format.usMoney(val) +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 }},{header:'Total honorarios',dataIndex:'tot_gas_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ Ext.util.Format.usMoney(val) +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 }},{header:'Fecha inicio',dataIndex:'fi_gas_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor: new Ext.form.DateField({format:FormatoFecha,renderer:Ext.util.Format.dateRenderer(FormatoFecha),value:''}),xtype:'datecolumn',format:FormatoFecha},{header:'Fecha fin',dataIndex:'ff_gas_per',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor: new Ext.form.DateField({format:FormatoFecha,renderer:Ext.util.Format.dateRenderer(FormatoFecha),value:''}),xtype:'datecolumn',format:FormatoFecha}],stripeRows:true,height:150,id:'280_12',title:'Gastos de personal',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:'12',id_periodo:'2018',oid_maestro:Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue(),obs_ingreso:document.getElementsByName('cod_formulario2').item(0).value,contenedor_nuevo:'_12',cod_camp_m:'280'},'n','','411','400');}},{iconCls:'icon-delete',tooltip:'Eliminar',text:'Eliminar',handler:function(){var grid = Ext.getCmp('280_12');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('280_12');var list = grid.getSelectionModel().getSelected();var x_oid=Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}if(x_oid==''){return false;}xajax_iniciarPintarModificarFormulario('12','2018',document.getElementsByName('cod_formulario2').item(0).value,grid.getSelectionModel().getSelected().data.oid,'n','','',Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue(),'411','400');}}]})/*fgp*/,{value:'',xtype:'numberfield' , maxLength:200,autoCreate:{ tag:'input',maxlength:'200'} ,id:'275',fieldLabel:'Total gastos ejecutados' },new Ext.form.Hidden({ value:'9', id:'290'}) ] ,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_3_5'); 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.121.148.59/sisad16/build/view/'+'workflow/casos/casos_l.php',params:{wf_proceso_id:'3',wf_paso_id:'8',wf_tarea_id:'6',wf_caso_id:'5',id:'1019',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_3_5').getForm().loadRecord(new Ext.data.Record({"cod_formulario":14,"oid_maestro":null,"cod_bloque":14,"275":null})); llamadaAJAX({url:'http://190.121.148.59/sisad16/build/view/workflow/casos/casos_datosForm.php',mostrarMsg:false,params:{accion:'verifica',wf_paso_id:'8',cod_formulario:'14',cod_bloque:'14',wf_caso_id:'{"pro":"3","cas":"5"}'}}); }catch(e){alert(e);} } } }) );Ext.getCmp('comp_1019').doLayout();
[suc] => 1
)
fin 2018-12-06 18:59:18
/******************************************************************************************************/
fin 2018-12-06 18:59:19
/******************************************************************************************************/
2018-12 06 18:59:47
Continuar(s,6,8,)
EjecutarTarea_6() 3. Inversión ejecutada id_comp1019
1 1
ValidarUsuario(6):1
EjecutarPaso_8: form:14 , caso=5 id_comp 1019
Paso::Guardar(Caso:5)
Datos a guardar:
Array
(
[wf_proceso_id] => 3
[wf_paso_id] => 8
[wf_tarea_id] => 6
[wf_caso_id] => 5
[id] => 1019
[accion] => nextPaso
[reg] => s
[rta] => n
[cod_formulario2] => 14
[id_periodo] => 2018
[obs_ingreso] =>
[cod_bloque] => 14
[oid] =>
[oid_maestro] =>
[hdcampo272] => 6
[272] => [{"oid":null,"desc_gas_proy":"14","cant_gas_eje":10,"vu_gas_eje":10,"vt_gas_eje":100,"prov_gas_proy":"1","presupuestado":true,"form_master_escribir_xxx":"6"}]
[hdcampo280] => 12
[280] =>
[275] => 100
[290] => 9
)
OID: 18
rta: 1 dato:18 tabla:sce.t14
CasoPaso:19
CargarDatos_8(18)
se carga 3_6_8_14_14_2909
se carga 3_6_8_14_14_280
se carga 3_6_8_14_14_275100
se carga 3_6_8_14_14_272Array
SiguientePasoDe8: Funcion para ejecutar el siguiente paso
EjecutarPaso_11: form:19 , caso=5 id_comp 1019
Mostrar form
Retorno :
Array
(
[ret] => Ext.getCmp('comp_1019').removeAll();Ext.getCmp('comp_1019').add(new Ext.form.FormPanel({ title: 'Productos obtenidos' ,padding: 10,id:'frm_formulario_3_5',autoScroll:true ,labelAlign:'top',defaults: { anchor: '97%'} ,items: [new Ext.form.Hidden({name:'cod_formulario2',value:'19'}) ,new Ext.form.Hidden({name :'id_periodo',value:'2018'}) ,new Ext.form.Hidden({name :'obs_ingreso',value:''}) ,new Ext.form.Hidden({name:'cod_bloque',value:'19'}) ,new Ext.form.Hidden({name :'oid',value:''}) ,new Ext.form.Hidden({name :'oid_maestro',value:''}) ,{ xtype:'hidden',id:'hdcampo289',value:'18'},{ xtype:'hidden',id:'289'}, new Ext.grid.EditorGridPanel({xtype:'editorgrid',store:new Ext.data.JsonStore({ fields:[{ name:'oid' },{ name:'prod_desc' },{ name:'prod_desc_txt' },{ name:'prod_cant' }]}),columns:[new Ext.grid.RowNumberer({width:30}),{header:'Descripción',dataIndex:'prod_desc',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},renderer:function(value,metaData,record,rowIndex,colIndex,store) {var combo = this.editor;var record = combo.findRecord(combo.valueField,value);return record ? record.get(combo.displayField):(record && record.data.prod_desc_txt ?record.data.prod_desc_txt:value );},editor: new Ext.form.ComboBox({typeAhead:true,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:'16',id:'prod_obt_desc',et1:'prod_obt_desc'},autoLoad:true,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,allowBlank:false})},{header:'Cantidad',dataIndex:'prod_cant',width:80,resizable:true,sortable:true,renderer: function columnWrap(val){return ''+ val +'
';},editor:{value:'',xtype:'numberfield' , maxLength:50 ,allowBlank:false}}],stripeRows:true,height:150,id:'289_18',title:'Productos obtenidos',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:'18',id_periodo:'2018',oid_maestro:Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue(),obs_ingreso:document.getElementsByName('cod_formulario2').item(0).value,contenedor_nuevo:'_18',cod_camp_m:'289'},'n','','411','400');}},{iconCls:'icon-delete',tooltip:'Eliminar',text:'Eliminar',handler:function(){var grid = Ext.getCmp('289_18');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('289_18');var list = grid.getSelectionModel().getSelected();var x_oid=Ext.getCmp('frm_formulario_3_5').getForm().findField('oid').getValue();if (!list) {Ext.MessageBox.alert('Advertencia', 'Ningun item seleccionado');return false;}if(x_oid==''){return false;}xajax_iniciarPintarModificarFormulario('18','2018',document.getElementsByName('cod_formulario2').item(0).value,grid.getSelectionModel().getSelected().data.oid,'n','','',Ext.getCmp('frm_formulario_3_5').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_3_5'); 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.121.148.59/sisad16/build/view/'+'workflow/casos/casos_l.php',params:{wf_proceso_id:'3',wf_paso_id:'11',wf_tarea_id:'6',wf_caso_id:'5',id:'1019',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_3_5').getForm().loadRecord(new Ext.data.Record({"cod_formulario":19,"oid_maestro":null,"cod_bloque":19})); llamadaAJAX({url:'http://190.121.148.59/sisad16/build/view/workflow/casos/casos_datosForm.php',mostrarMsg:false,params:{accion:'verifica',wf_paso_id:'11',cod_formulario:'19',cod_bloque:'19',wf_caso_id:'{"pro":"3","cas":"5"}'}}); }catch(e){alert(e);} } } }) );Ext.getCmp('comp_1019').doLayout();
[suc] => 1
)
fin 2018-12-06 18:59:47
/******************************************************************************************************/
fin 2018-12-06 18:59:47
/******************************************************************************************************/
2018-12 06 19:06:31
Continuar(s,6,11,)
EjecutarTarea_6() 3. Inversión ejecutada id_comp1019
1 1
ValidarUsuario(6):1
EjecutarPaso_11: form:19 , caso=5 id_comp 1019
Paso::Guardar(Caso:5)
Datos a guardar:
Array
(
[wf_proceso_id] => 3
[wf_paso_id] => 11
[wf_tarea_id] => 6
[wf_caso_id] => 5
[id] => 1019
[accion] => nextPaso
[reg] => s
[rta] => n
[cod_formulario2] => 19
[id_periodo] => 2018
[obs_ingreso] =>
[cod_bloque] => 19
[oid] =>
[oid_maestro] =>
[hdcampo289] => 18
[289] => [{"oid":null,"prod_desc":"10","prod_cant":10,"form_master_escribir_xxx":"18"}]
)
OID: 2
rta: 1 dato:2 tabla:sce.t19
CasoPaso:20
CargarDatos_11(2)
se carga 3_6_11_19_19_289Array
SiguientePasoDe11: Funcion para ejecutar el siguiente paso
TerminarTarea(6,)
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_1019').funcionInicial('n');
)
fin 2018-12-06 19:06:31
/******************************************************************************************************/