gx.evt.autoSkip=false;function gx00j0(){this.ServerClass="Gx00J0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pFerDat=gx.fn.getDateValue("vPFERDAT")};this.e139i2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e149i1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,23,27,28,29,32];this.GXLastCtrlId=32;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",26,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx00j0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",27,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(415,28,"FERDAT","Data","","FerDat","date",0,"px",10,10,"right",null,[],415,"FerDat",true,0,false,false);this.Grid1Container.addSingleLineEdit(416,29,"FERDESMOTI","Motivo","Selecionar","FerDesMoti","char",0,"px",25,25,"left",null,[],416,"FerDesMoti",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};
this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKFERDAT",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCFERDAT",gxz:"ZV6cFerDat",gxold:"OV6cFerDat",gxvar:"AV6cFerDat",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cFerDat=gx.fn.toDatetimeValue(a)},v2z:function(a){gx.O.ZV6cFerDat=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCFERDAT",gx.O.AV6cFerDat,0)
},c2v:function(){gx.O.AV6cFerDat=this.val()},val:function(){return gx.fn.getControlValue("vCFERDAT")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKFERDESMOTIVO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCFERDESMOTIVO",gxz:"ZV7cFerDesMotivo",gxold:"OV7cFerDesMotivo",gxvar:"AV7cFerDesMotivo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cFerDesMotivo=a},v2z:function(a){gx.O.ZV7cFerDesMotivo=a
},v2c:function(){gx.fn.setControlValue("vCFERDESMOTIVO",gx.O.AV7cFerDesMotivo,0)},c2v:function(){gx.O.AV7cFerDesMotivo=this.val()},val:function(){return gx.fn.getControlValue("vCFERDESMOTIVO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"GROUP2",grid:0};this.GXValidFnc[23]={fld:"TABLE3",grid:0};this.GXValidFnc[27]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,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:[],ip:[],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.setGridControlValue("FERDAT",gx.fn.currentGridRowImpl(26),gx.O.A415FerDat,0)},c2v:function(){gx.O.A415FerDat=this.val()},val:function(){return gx.fn.getGridControlValue("FERDAT",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"FERDESMOTI",gxz:"Z416FerDesMoti",gxold:"O416FerDesMoti",gxvar:"A416FerDesMoti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A416FerDesMoti=a
},v2z:function(a){gx.O.Z416FerDesMoti=a},v2c:function(){gx.fn.setGridControlValue("FERDESMOTI",gx.fn.currentGridRowImpl(26),gx.O.A416FerDesMoti,0)},c2v:function(){gx.O.A416FerDesMoti=this.val()},val:function(){return gx.fn.getGridControlValue("FERDESMOTI",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[32]={fld:"TABLE4",grid:0};this.AV6cFerDat=gx.date.nullDate();this.ZV6cFerDat=gx.date.nullDate();this.OV6cFerDat=gx.date.nullDate();this.AV7cFerDesMotivo="";this.ZV7cFerDesMotivo="";
this.OV7cFerDesMotivo="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z415FerDat=gx.date.nullDate();this.O415FerDat=gx.date.nullDate();this.Z416FerDesMoti="";this.O416FerDesMoti="";this.AV8pFerDat=gx.date.nullDate();this.AV5LinkSelection="";this.A415FerDat=gx.date.nullDate();this.A416FerDesMoti="";this.ServerEvents=["e139i2_client","e149i1_client"];this.VarControlMap.AV8pFerDat={id:"vPFERDAT",grid:0,type:"date"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);
this.SetStandaloneVars()}gx00j0.prototype=new gx.GxObject;gx.setParentObj(new gx00j0());