gx.evt.autoSkip=false;function hmih026(){this.ServerClass="HMih026";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){this.AV7DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV13ParTipForm=gx.fn.getControlValue("vPARTIPFORM");this.AV14IndOrigem=gx.fn.getControlValue("vINDORIGEM");this.AV15TidIndModoPublicacao=gx.fn.getControlValue("vTIDINDMODOPUBLICACAO");this.AV17UndCodSele=gx.fn.getIntegerValue("vUNDCODSELE",".");this.AV20IndModeloApresentacao=gx.fn.getControlValue("vINDMODELOAPRESENTACAO")
};this.e117g2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e147g2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e157g2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[4,9,17,18,19,20,21,22];this.GXLastCtrlId=22;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",16,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hmih026",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit(922,17,"UNDCOD","Un.depositária","","UndCod","int",0,"px",3,3,"right",null,[],922,"UndCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(281,18,"DOENROSEQU","Exemplar","","DoeNroSequ","int",0,"px",4,4,"right",null,[],281,"DoeNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(317,19,"DVONROVOLU","Item","","DvoNroVolu","int",0,"px",6,6,"right",null,[],317,"DvoNroVolu",true,0,false,false);this.Grid1Container.addSingleLineEdit("Idusuario",20,"vIDUSUARIO","Usuário","","IdUsuario","char",0,"px",50,50,"left",null,[],"Idusuario","IdUsuario",true,0,false,false);
this.Grid1Container.addSingleLineEdit(362,21,"EPTDATRETI","Retirada","","EptDatReti","dtime",0,"px",16,10,"right",null,[],362,"EptDatReti",true,5,false,false);this.Grid1Container.addSingleLineEdit(354,22,"EPIDATDEVE"," Devolução","","EpiDatDevE","dtime",0,"px",16,10,"right",null,[],354,"EpiDatDevE",true,5,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[4]={fld:"TABLE1",grid:0};this.GXValidFnc[9]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[17]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:16,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(16),gx.O.A922UndCod,0)},c2v:function(){gx.O.A922UndCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("UNDCOD",gx.fn.currentGridRowImpl(16),".")},nac:function(){return false}};this.GXValidFnc[18]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:16,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOENROSEQU",gxz:"Z281DoeNroSequ",gxold:"O281DoeNroSequ",gxvar:"A281DoeNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A281DoeNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z281DoeNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOENROSEQU",gx.fn.currentGridRowImpl(16),gx.O.A281DoeNroSequ,0)},c2v:function(){gx.O.A281DoeNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOENROSEQU",gx.fn.currentGridRowImpl(16),".")},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:16,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DVONROVOLU",gxz:"Z317DvoNroVolu",gxold:"O317DvoNroVolu",gxvar:"A317DvoNroVolu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A317DvoNroVolu=gx.num.intval(a)
},v2z:function(a){gx.O.Z317DvoNroVolu=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DVONROVOLU",gx.fn.currentGridRowImpl(16),gx.O.A317DvoNroVolu,0)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROVOLU",gx.fn.currentGridRowImpl(16),".")},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:16,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIDUSUARIO",gxz:"ZV18IdUsuario",gxold:"OV18IdUsuario",gxvar:"AV18IdUsuario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18IdUsuario=a
},v2z:function(a){gx.O.ZV18IdUsuario=a},v2c:function(){gx.fn.setGridControlValue("vIDUSUARIO",gx.fn.currentGridRowImpl(16),gx.O.AV18IdUsuario,0)},c2v:function(){gx.O.AV18IdUsuario=this.val()},val:function(){return gx.fn.getGridControlValue("vIDUSUARIO",gx.fn.currentGridRowImpl(16))},nac:function(){return false}};this.GXValidFnc[21]={lvl:2,type:"dtime",len:10,dec:5,sign:false,ro:1,grid:16,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EPTDATRETI",gxz:"Z362EptDatReti",gxold:"O362EptDatReti",gxvar:"A362EptDatReti",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.A362EptDatReti=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z362EptDatReti=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("EPTDATRETI",gx.fn.currentGridRowImpl(16),gx.O.A362EptDatReti,0)},c2v:function(){gx.O.A362EptDatReti=this.val()},val:function(){return gx.fn.getGridControlValue("EPTDATRETI",gx.fn.currentGridRowImpl(16))},nac:function(){return false}};this.GXValidFnc[22]={lvl:2,type:"dtime",len:10,dec:5,sign:false,ro:1,grid:16,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EPIDATDEVE",gxz:"Z354EpiDatDevE",gxold:"O354EpiDatDevE",gxvar:"A354EpiDatDevE",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.A354EpiDatDevE=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z354EpiDatDevE=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("EPIDATDEVE",gx.fn.currentGridRowImpl(16),gx.O.A354EpiDatDevE,0)},c2v:function(){gx.O.A354EpiDatDevE=this.val()},val:function(){return gx.fn.getGridControlValue("EPIDATDEVE",gx.fn.currentGridRowImpl(16))},nac:function(){return false}};this.Z922UndCod=0;this.O922UndCod=0;this.Z281DoeNroSequ=0;this.O281DoeNroSequ=0;this.Z317DvoNroVolu=0;this.O317DvoNroVolu=0;this.ZV18IdUsuario="";this.OV18IdUsuario="";
this.Z362EptDatReti=gx.date.nullDate();this.O362EptDatReti=gx.date.nullDate();this.Z354EpiDatDevE=gx.date.nullDate();this.O354EpiDatDevE=gx.date.nullDate();this.AV7DocNro=0;this.AV13ParTipForm="";this.AV14IndOrigem="";this.AV15TidIndModoPublicacao="";this.AV17UndCodSele=0;this.AV20IndModeloApresentacao="";this.A258DocNro=0;this.A787UsbCod="";this.A786UsbNom="";this.A364EptNroSequ=0;this.A922UndCod=0;this.A281DoeNroSequ=0;this.A317DvoNroVolu=0;this.AV18IdUsuario="";this.A362EptDatReti=gx.date.nullDate();
this.A354EpiDatDevE=gx.date.nullDate();this.A122CfgCod="";this.A127CfgValCont="";this.ServerEvents=["e117g2_client","e147g2_client","e157g2_client"];this.VarControlMap.AV7DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV13ParTipForm={id:"vPARTIPFORM",grid:0,type:"char"};this.VarControlMap.AV14IndOrigem={id:"vINDORIGEM",grid:0,type:"char"};this.VarControlMap.AV15TidIndModoPublicacao={id:"vTIDINDMODOPUBLICACAO",grid:0,type:"char"};this.VarControlMap.AV17UndCodSele={id:"vUNDCODSELE",grid:0,type:"int"};
this.VarControlMap.AV20IndModeloApresentacao={id:"vINDMODELOAPRESENTACAO",grid:0,type:"char"};this.VarControlMap.AV7DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.A786UsbNom={id:"USBNOM",grid:0,type:"char"};this.VarControlMap.A787UsbCod={id:"USBCOD",grid:0,type:"char"};this.VarControlMap.AV19IndNomeCod={id:"vINDNOMECOD",grid:0,type:"char"};this.Grid1Container.addRefreshingVar({rfrVar:"AV7DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A786UsbNom"});this.Grid1Container.addRefreshingVar({rfrVar:"A787UsbCod"});
this.Grid1Container.addRefreshingVar({rfrVar:"AV19IndNomeCod"});this.SetStandaloneVars()}hmih026.prototype=new gx.GxObject;gx.setParentObj(new hmih026());