gx.evt.autoSkip=false;function timt013(){this.ServerClass="TImt013";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A1AcoCampo1L=gx.fn.getControlValue("ACOCAMPO1L");this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Aconro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Aconro",["gx.O.A4AcoNro","gx.O.A2AcoCod","gx.O.A3AcoDes","gx.O.A1AcoCampo1L"],["A2AcoCod","A3AcoDes","A1AcoCampo1L","Gx_mode","Z4AcoNro","Z2AcoCod","Z3AcoDes","Z1AcoCampo1L",["BUTTON5","Enabled"]]);
return true};this.Valid_Acodes=function(){try{var a=gx.util.balloon.getNew("ACODES");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e123960_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("timt014.aspx",[this.A4AcoNro]),["A4AcoNro"]);this.refreshOutputs([])};this.e113960_client=function(){this.clearMessages();this.addMessage("Em desenvolvimento...");this.refreshOutputs([])};this.e14392_client=function(){this.executeServerEvent("'VOLTAR'",false)
};this.e15392_client=function(){this.executeServerEvent("'GET PENSA-B'",false)};this.e163960_client=function(){this.executeServerEvent("ENTER",true)};this.e173960_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,17,19,22,24,27,32,34,37,39];this.GXLastCtrlId=39;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[17]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[19]={fld:"TABLE2",grid:0};this.GXValidFnc[22]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[24]={fld:"TABLE3",grid:0};
this.GXValidFnc[27]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Aconro,isvalid:null,rgrid:[],fld:"ACONRO",gxz:"Z4AcoNro",gxold:"O4AcoNro",gxvar:"A4AcoNro",ucs:[],op:[39,34],ip:[39,34,27],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A4AcoNro=gx.num.intval(a)},v2z:function(a){gx.O.Z4AcoNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("ACONRO",gx.O.A4AcoNro,0)},c2v:function(){gx.O.A4AcoNro=this.val()},val:function(){return gx.fn.getIntegerValue("ACONRO",".")
},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ACOCOD",gxz:"Z2AcoCod",gxold:"O2AcoCod",gxvar:"A2AcoCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A2AcoCod=a},v2z:function(a){gx.O.Z2AcoCod=a},v2c:function(){gx.fn.setControlValue("ACOCOD",gx.O.A2AcoCod,0)},c2v:function(){gx.O.A2AcoCod=this.val()},val:function(){return gx.fn.getControlValue("ACOCOD")
},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Acodes,isvalid:null,fld:"ACODES",gxz:"Z3AcoDes",gxold:"O3AcoDes",gxvar:"A3AcoDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A3AcoDes=a},v2z:function(a){gx.O.Z3AcoDes=a},v2c:function(){gx.fn.setControlValue("ACODES",gx.O.A3AcoDes,0)},c2v:function(){gx.O.A3AcoDes=this.val()},val:function(){return gx.fn.getControlValue("ACODES")
},nac:function(){return false}};this.A4AcoNro=0;this.Z4AcoNro=0;this.O4AcoNro=0;this.A2AcoCod="";this.Z2AcoCod="";this.O2AcoCod="";this.A3AcoDes="";this.Z3AcoDes="";this.O3AcoDes="";this.AV7UsuCodCorr="";this.AV13HstTipEntidade="";this.AV11HstCodEntidade=0;this.AV14HstTipOcorrencia="";this.AV12HstCodEstacao="";this.A1AcoCampo1L="";this.ServerEvents=["e14392_client","e15392_client","e163960_client","e173960_client"];this.EnterCtrl=["BUTTON5"];this.VarControlMap.A1AcoCampo1L={id:"ACOCAMPO1L",grid:0,type:"char"};
this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}timt013.prototype=new gx.GxObject;gx.setParentObj(new timt013());