gx.evt.autoSkip=false;function timt011(){this.ServerClass="TImt011";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Ferdat=function(){gx.ajax.validSrvEvt("dyncall","Valid_Ferdat",['gx.date.urlDate(gx.O.A415FerDat,"DMY")',"gx.O.A416FerDesMoti"],["A416FerDesMoti","Gx_mode","Z415FerDat","Z416FerDesMoti",["BTN_ENTER2","Enabled"]]);return true};this.Valid_Ferdesmoti=function(){try{var a=gx.util.balloon.getNew("FERDESMOTI");
this.AnyError=0;if((""==this.A416FerDesMoti)){try{a.setError("Informe o motivo do feriado ");this.AnyError=1}catch(b){}}}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e123719_client=function(){this.executeServerEvent("ENTER",true)};this.e133719_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,14,17,20,22,25,27];this.GXLastCtrlId=27;this.GXValidFnc[3]={fld:"TABLE4",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK8",format:0,grid:0};
this.GXValidFnc[17]={fld:"TABLE1",grid:0};this.GXValidFnc[20]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[22]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Ferdat,isvalid:null,fld:"FERDAT",gxz:"Z415FerDat",gxold:"O415FerDat",gxvar:"A415FerDat",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[27],ip:[27,22],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A415FerDat=gx.fn.toDatetimeValue(a)},v2z:function(a){gx.O.Z415FerDat=gx.fn.toDatetimeValue(a)
},v2c:function(){gx.fn.setControlValue("FERDAT",gx.O.A415FerDat,0)},c2v:function(){gx.O.A415FerDat=this.val()},val:function(){return gx.fn.getControlValue("FERDAT")},nac:function(){return false}};this.GXValidFnc[25]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[27]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Ferdesmoti,isvalid:null,fld:"FERDESMOTI",gxz:"Z416FerDesMoti",gxold:"O416FerDesMoti",gxvar:"A416FerDesMoti",ucs:[],op:[27],ip:[27],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A416FerDesMoti=a
},v2z:function(a){gx.O.Z416FerDesMoti=a},v2c:function(){gx.fn.setControlValue("FERDESMOTI",gx.O.A416FerDesMoti,0)},c2v:function(){gx.O.A416FerDesMoti=this.val()},val:function(){return gx.fn.getControlValue("FERDESMOTI")},nac:function(){return false}};this.A415FerDat=gx.date.nullDate();this.Z415FerDat=gx.date.nullDate();this.O415FerDat=gx.date.nullDate();this.A416FerDesMoti="";this.Z416FerDesMoti="";this.O416FerDesMoti="";this.AV8UsuCod="";this.ServerEvents=["e123719_client","e133719_client"];this.EnterCtrl=["BTN_ENTER2"];
this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}timt011.prototype=new gx.GxObject;gx.setParentObj(new timt011());