gx.evt.autoSkip=false;function himh304(){this.ServerClass="HImh304";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){};this.e12kg2_client=function(){this.executeServerEvent("'NOVO'",false)};this.e13kg2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e16kg2_client=function(){this.executeServerEvent("'EDITAR'",true,arguments[0])};this.e17kg2_client=function(){this.executeServerEvent("'EXCLUIR'",true,arguments[0])
};this.e18kg2_client=function(){this.executeServerEvent("'FERIADOS'",true,arguments[0])};this.e19kg2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e20kg2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[2,13,16,17,18,19,20,21];this.GXLastCtrlId=21;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",15,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh304",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addBitmap("&Grdimgeditar","vGRDIMGEDITAR",16,0,"px",17,"px","e16kg2_client","","");this.Grid1Container.addSingleLineEdit("Grdnrosequencia",17,"vGRDNROSEQUENCIA","Número","","GrdNroSequencia","int",0,"px",3,3,"right",null,[],"Grdnrosequencia","GrdNroSequencia",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnom",18,"vGRDNOM","Descrição","","GrdNom","char",0,"px",30,30,"left",null,[],"Grdnom","GrdNom",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddatdevolucao",19,"vGRDDATDEVOLUCAO","Limite devolução","","GrdDatDevolucao","date",0,"px",10,10,"right",null,[],"Grddatdevolucao","GrdDatDevolucao",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grdlinkferiados",20,"vGRDLINKFERIADOS","","","GrdLinkFeriados","char",0,"px",20,20,"left","e18kg2_client",[],"Grdlinkferiados","GrdLinkFeriados",true,0,false,false);this.Grid1Container.addBitmap("&Grdimgexcluir","vGRDIMGEXCLUIR",21,0,"px",17,"px","e17kg2_client","","");this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[13]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[16]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDIMGEDITAR",gxz:"ZV5GrdImgEditar",gxold:"OV5GrdImgEditar",gxvar:"AV5GrdImgEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5GrdImgEditar=a
},v2z:function(a){gx.O.ZV5GrdImgEditar=a},v2c:function(){},c2v:function(){gx.O.AV5GrdImgEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDIMGEDITAR",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[17]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROSEQUENCIA",gxz:"ZV6GrdNroSequencia",gxold:"OV6GrdNroSequencia",gxvar:"AV6GrdNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6GrdNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6GrdNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROSEQUENCIA",gx.fn.currentGridRowImpl(15),gx.O.AV6GrdNroSequencia,0)},c2v:function(){gx.O.AV6GrdNroSequencia=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROSEQUENCIA",gx.fn.currentGridRowImpl(15),".")},nac:function(){return false}};this.GXValidFnc[18]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:0,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDNOM",gxz:"ZV7GrdNom",gxold:"OV7GrdNom",gxvar:"AV7GrdNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7GrdNom=a
},v2z:function(a){gx.O.ZV7GrdNom=a},v2c:function(){gx.fn.setGridControlValue("vGRDNOM",gx.fn.currentGridRowImpl(15),gx.O.AV7GrdNom,0)},c2v:function(){gx.O.AV7GrdNom=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNOM",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:0,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDATDEVOLUCAO",gxz:"ZV16GrdDatDevolucao",gxold:"OV16GrdDatDevolucao",gxvar:"AV16GrdDatDevolucao",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.AV16GrdDatDevolucao=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV16GrdDatDevolucao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATDEVOLUCAO",gx.fn.currentGridRowImpl(15),gx.O.AV16GrdDatDevolucao,0)},c2v:function(){gx.O.AV16GrdDatDevolucao=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATDEVOLUCAO",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:0,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDLINKFERIADOS",gxz:"ZV17GrdLinkFeriados",gxold:"OV17GrdLinkFeriados",gxvar:"AV17GrdLinkFeriados",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17GrdLinkFeriados=a
},v2z:function(a){gx.O.ZV17GrdLinkFeriados=a},v2c:function(){gx.fn.setGridControlValue("vGRDLINKFERIADOS",gx.fn.currentGridRowImpl(15),gx.O.AV17GrdLinkFeriados,0)},c2v:function(){gx.O.AV17GrdLinkFeriados=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDLINKFERIADOS",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[21]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDIMGEXCLUIR",gxz:"ZV8GrdImgExcluir",gxold:"OV8GrdImgExcluir",gxvar:"AV8GrdImgExcluir",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8GrdImgExcluir=a
},v2z:function(a){gx.O.ZV8GrdImgExcluir=a},v2c:function(){},c2v:function(){gx.O.AV8GrdImgExcluir=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDIMGEXCLUIR",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.ZV5GrdImgEditar="";this.OV5GrdImgEditar="";this.ZV6GrdNroSequencia=0;this.OV6GrdNroSequencia=0;this.ZV7GrdNom="";this.OV7GrdNom="";this.ZV16GrdDatDevolucao=gx.date.nullDate();this.OV16GrdDatDevolucao=gx.date.nullDate();this.ZV17GrdLinkFeriados="";this.OV17GrdLinkFeriados="";
this.ZV8GrdImgExcluir="";this.OV8GrdImgExcluir="";this.AV5GrdImgEditar="";this.AV6GrdNroSequencia=0;this.AV7GrdNom="";this.AV16GrdDatDevolucao=gx.date.nullDate();this.AV17GrdLinkFeriados="";this.AV8GrdImgExcluir="";this.ServerEvents=["e12kg2_client","e13kg2_client","e16kg2_client","e17kg2_client","e18kg2_client","e19kg2_client","e20kg2_client"];this.VarControlMap.AV12SdtRolListaTiposClassificacao={id:"vSDTROLLISTATIPOSCLASSIFICACAO",grid:0,type:"CollSdtTabelaGenerica"};this.Grid1Container.addRefreshingVar({rfrVar:"AV8GrdImgExcluir",rfrProp:"Jsonclick"});
this.Grid1Container.addRefreshingVar({rfrVar:"AV12SdtRolListaTiposClassificacao"});this.SetStandaloneVars()}himh304.prototype=new gx.GxObject;gx.setParentObj(new himh304());