gx.evt.autoSkip=false;function himh238(){this.ServerClass="HImh238";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV99ParmCodLeitor=gx.fn.getControlValue("vPARMCODLEITOR")};this.e13hy2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14hy1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,10,14,15,16,17,18,19];this.GXLastCtrlId=19;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",13,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh238",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(922,14,"UNDCOD","Unid","","UndCod","int",29,"px",3,3,"right",null,[],922,"UndCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(359,15,"EPINROTOMB","Tombo","","EpiNroTomb","int",0,"px",9,9,"right",null,[],359,"EpiNroTomb",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Linha",16,"vLINHA","Título / autor","","Linha","vchar",410,"px",200,200,"left",null,[],"Linha","Linha",true,200,false,false);this.Grid1Container.addSingleLineEdit(356,17,"EPIDATRETI","Retirada","","EpiDatReti","dtime",106,"px",16,10,"right",null,[],356,"EpiDatReti",true,5,false,false);this.Grid1Container.addSingleLineEdit(355,18,"EPIDATDEVP","Devolver até","","EpiDatDevP","dtime",106,"px",16,10,"right",null,[],355,"EpiDatDevP",true,5,false,false);this.Grid1Container.addSingleLineEdit(364,19,"EPTNROSEQU","Controle","","EptNroSequ","int",70,"px",10,10,"right",null,[],364,"EptNroSequ",true,0,false,false);
this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[10]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[14]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"UNDCOD",gxz:"Z922UndCod",gxold:"O922UndCod",gxvar:"A922UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A922UndCod=gx.num.intval(a)},v2z:function(a){gx.O.Z922UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("UNDCOD",gx.fn.currentGridRowImpl(13),gx.O.A922UndCod,0)
},c2v:function(){gx.O.A922UndCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("UNDCOD",gx.fn.currentGridRowImpl(13),".")},nac:function(){return false}};this.GXValidFnc[15]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EPINROTOMB",gxz:"Z359EpiNroTomb",gxold:"O359EpiNroTomb",gxvar:"A359EpiNroTomb",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A359EpiNroTomb=gx.num.intval(a)},v2z:function(a){gx.O.Z359EpiNroTomb=gx.num.intval(a)
},v2c:function(){gx.fn.setGridControlValue("EPINROTOMB",gx.fn.currentGridRowImpl(13),gx.O.A359EpiNroTomb,0)},c2v:function(){gx.O.A359EpiNroTomb=this.val()},val:function(){return gx.fn.getGridIntegerValue("EPINROTOMB",gx.fn.currentGridRowImpl(13),".")},nac:function(){return false}};this.GXValidFnc[16]={lvl:2,type:"vchar",len:200,dec:200,sign:false,ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINHA",gxz:"ZV61Linha",gxold:"OV61Linha",gxvar:"AV61Linha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV61Linha=a
},v2z:function(a){gx.O.ZV61Linha=a},v2c:function(){gx.fn.setGridControlValue("vLINHA",gx.fn.currentGridRowImpl(13),gx.O.AV61Linha,1)},c2v:function(){gx.O.AV61Linha=this.val()},val:function(){return gx.fn.getGridControlValue("vLINHA",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.GXValidFnc[17]={lvl:2,type:"dtime",len:10,dec:5,sign:false,ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EPIDATRETI",gxz:"Z356EpiDatReti",gxold:"O356EpiDatReti",gxvar:"A356EpiDatReti",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/9999 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A356EpiDatReti=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z356EpiDatReti=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("EPIDATRETI",gx.fn.currentGridRowImpl(13),gx.O.A356EpiDatReti,0)},c2v:function(){gx.O.A356EpiDatReti=this.val()},val:function(){return gx.fn.getGridControlValue("EPIDATRETI",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.GXValidFnc[18]={lvl:2,type:"dtime",len:10,dec:5,sign:false,ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EPIDATDEVP",gxz:"Z355EpiDatDevP",gxold:"O355EpiDatDevP",gxvar:"A355EpiDatDevP",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/9999 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A355EpiDatDevP=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z355EpiDatDevP=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("EPIDATDEVP",gx.fn.currentGridRowImpl(13),gx.O.A355EpiDatDevP,0)},c2v:function(){gx.O.A355EpiDatDevP=this.val()},val:function(){return gx.fn.getGridControlValue("EPIDATDEVP",gx.fn.currentGridRowImpl(13))},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"int",len:10,dec:0,sign:false,pic:"ZZZZZZZZZ9",ro:1,grid:13,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EPTNROSEQU",gxz:"Z364EptNroSequ",gxold:"O364EptNroSequ",gxvar:"A364EptNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A364EptNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z364EptNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EPTNROSEQU",gx.fn.currentGridRowImpl(13),gx.O.A364EptNroSequ,0)},c2v:function(){gx.O.A364EptNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("EPTNROSEQU",gx.fn.currentGridRowImpl(13),".")},nac:function(){return false}};this.Z922UndCod=0;this.O922UndCod=0;this.Z359EpiNroTomb=0;this.O359EpiNroTomb=0;this.ZV61Linha="";this.OV61Linha="";this.Z356EpiDatReti=gx.date.nullDate();this.O356EpiDatReti=gx.date.nullDate();
this.Z355EpiDatDevP=gx.date.nullDate();this.O355EpiDatDevP=gx.date.nullDate();this.Z364EptNroSequ=0;this.O364EptNroSequ=0;this.AV99ParmCodLeitor="";this.A258DocNro=0;this.A242DocDesL1Ti="";this.A358EpiIndDevo="";this.A353EpiCodBibU="";this.A922UndCod=0;this.A359EpiNroTomb=0;this.AV61Linha="";this.A356EpiDatReti=gx.date.nullDate();this.A355EpiDatDevP=gx.date.nullDate();this.A364EptNroSequ=0;this.ServerEvents=["e13hy2_client","e14hy1_client"];this.VarControlMap.AV99ParmCodLeitor={id:"vPARMCODLEITOR",grid:0,type:"char"};
this.VarControlMap.AV99ParmCodLeitor={id:"vPARMCODLEITOR",grid:0,type:"char"};this.VarControlMap.A242DocDesL1Ti={id:"DOCDESL1TI",grid:0,type:"char"};this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.Grid1Container.addRefreshingVar({rfrVar:"AV99ParmCodLeitor"});this.Grid1Container.addRefreshingVar({rfrVar:"A242DocDesL1Ti"});this.Grid1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.SetStandaloneVars()}himh238.prototype=new gx.GxObject;gx.setParentObj(new himh238());