gx.evt.autoSkip=false;function timt006(){this.ServerClass="TImt006";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A900TpaDes=gx.fn.getControlValue("TPADES");this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Tpacod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Tpacod",["gx.O.A899TpaCod","gx.O.A900TpaDes","gx.O.A1013TpaDsc"],["A900TpaDes","A1013TpaDsc","Gx_mode","Z899TpaCod","Z900TpaDes","Z1013TpaDsc",["BTN_ENTER2","Enabled"]]);
return true};this.Valid_Tpadsc=function(){try{var a=gx.util.balloon.getNew("TPADSC");this.AnyError=0;if((""==this.A1013TpaDsc)){try{a.setError("Informe a descricao");this.AnyError=1}catch(b){}}}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e12322_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e13324_client=function(){this.executeServerEvent("ENTER",true)};this.e14324_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];
this.GXCtrlIds=[3,15,18,21,23,26,28];this.GXLastCtrlId=28;this.GXValidFnc[3]={fld:"TABLE4",grid:0};this.GXValidFnc[15]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[18]={fld:"TABLE1",grid:0};this.GXValidFnc[21]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[23]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Tpacod,isvalid:null,fld:"TPACOD",gxz:"Z899TpaCod",gxold:"O899TpaCod",gxvar:"A899TpaCod",ucs:[],op:[28],ip:[28,23],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A899TpaCod=a
},v2z:function(a){gx.O.Z899TpaCod=a},v2c:function(){gx.fn.setControlValue("TPACOD",gx.O.A899TpaCod,0)},c2v:function(){gx.O.A899TpaCod=this.val()},val:function(){return gx.fn.getControlValue("TPACOD")},nac:function(){return false}};this.GXValidFnc[26]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[28]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Tpadsc,isvalid:null,fld:"TPADSC",gxz:"Z1013TpaDsc",gxold:"O1013TpaDsc",gxvar:"A1013TpaDsc",ucs:[],op:[28],ip:[28],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1013TpaDsc=a
},v2z:function(a){gx.O.Z1013TpaDsc=a},v2c:function(){gx.fn.setControlValue("TPADSC",gx.O.A1013TpaDsc,0)},c2v:function(){gx.O.A1013TpaDsc=this.val()},val:function(){return gx.fn.getControlValue("TPADSC")},nac:function(){return false}};this.A899TpaCod="";this.Z899TpaCod="";this.O899TpaCod="";this.A1013TpaDsc="";this.Z1013TpaDsc="";this.O1013TpaDsc="";this.AV16UsuCodCorr="";this.A900TpaDes="";this.ServerEvents=["e12322_client","e13324_client","e14324_client"];this.EnterCtrl=["BTN_ENTER2"];this.VarControlMap.A900TpaDes={id:"TPADES",grid:0,type:"char"};
this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}timt006.prototype=new gx.GxObject;gx.setParentObj(new timt006());