gx.evt.autoSkip=false;function timt021(){this.ServerClass="TImt021";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Arecod=function(){gx.ajax.validSrvEvt("dyncall","valid_Arecod",["gx.O.A15AreCod","gx.O.A16AreDes"],["A16AreDes","Gx_mode","Z15AreCod","Z16AreDes",["BUTTON5","Enabled"]]);return true};this.e123i2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e133i112_client=function(){this.executeServerEvent("ENTER",true)
};this.e143i112_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,22,25,28,30,33,35];this.GXLastCtrlId=35;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[22]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[25]={fld:"TABLE2",grid:0};this.GXValidFnc[28]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"char",len:8,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Arecod,isvalid:null,fld:"ARECOD",gxz:"Z15AreCod",gxold:"O15AreCod",gxvar:"A15AreCod",ucs:[],op:[30,35],ip:[35,30],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A15AreCod=a
},v2z:function(a){gx.O.Z15AreCod=a},v2c:function(){gx.fn.setControlValue("ARECOD",gx.O.A15AreCod,0)},c2v:function(){gx.O.A15AreCod=this.val()},val:function(){return gx.fn.getControlValue("ARECOD")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"AREDES",gxz:"Z16AreDes",gxold:"O16AreDes",gxvar:"A16AreDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A16AreDes=a
},v2z:function(a){gx.O.Z16AreDes=a},v2c:function(){gx.fn.setControlValue("AREDES",gx.O.A16AreDes,0)},c2v:function(){gx.O.A16AreDes=this.val()},val:function(){return gx.fn.getControlValue("AREDES")},nac:function(){return false}};this.A15AreCod="";this.Z15AreCod="";this.O15AreCod="";this.A16AreDes="";this.Z16AreDes="";this.O16AreDes="";this.AV7UsuCodCorr="";this.ServerEvents=["e123i2_client","e133i112_client","e143i112_client"];this.EnterCtrl=["BUTTON5"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};
this.SetStandaloneVars()}timt021.prototype=new gx.GxObject;gx.setParentObj(new timt021());