gx.evt.autoSkip=false;function tabt006(){this.ServerClass="Tabt006";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Tpacod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Tpacod",["gx.O.A899TpaCod","gx.O.A900TpaDes"],["A900TpaDes","Gx_mode","Z899TpaCod","Z900TpaDes",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);return true};this.Valid_Tpades=function(){try{var a=gx.util.balloon.getNew("TPADES");
this.AnyError=0;if((""==this.A900TpaDes)){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.e11064_client=function(){this.executeServerEvent("ENTER",true)};this.e12064_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26];this.GXLastCtrlId=26;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK1",format:0,grid:0};
this.GXValidFnc[20]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Tpacod,isvalid:null,fld:"TPACOD",gxz:"Z899TpaCod",gxold:"O899TpaCod",gxvar:"A899TpaCod",ucs:[],op:[20,26],ip:[26,20],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[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Tpades,isvalid:null,fld:"TPADES",gxz:"Z900TpaDes",gxold:"O900TpaDes",gxvar:"A900TpaDes",ucs:[],op:[26],ip:[26],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A900TpaDes=a},v2z:function(a){gx.O.Z900TpaDes=a},v2c:function(){gx.fn.setControlValue("TPADES",gx.O.A900TpaDes,0)},c2v:function(){gx.O.A900TpaDes=this.val()},val:function(){return gx.fn.getControlValue("TPADES")
},nac:function(){return false}};this.A899TpaCod="";this.Z899TpaCod="";this.O899TpaCod="";this.A900TpaDes="";this.Z900TpaDes="";this.O900TpaDes="";this.ServerEvents=["e11064_client","e12064_client"];this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tabt006.prototype=new gx.GxObject;gx.setParentObj(new tabt006());