gx.evt.autoSkip=false;function himh222(){this.ServerClass="HImh222";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){this.AV20ParmNroDocumento=gx.fn.getIntegerValue("vPARMNRODOCUMENTO",".")};this.e11h72_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e14h71_client=function(){this.executeServerEvent("ENTER",true)};this.e15h72_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];
this.GXCtrlIds=[3,12,15,18,20,22,24,28,29,30,31,32,33,34,35,36];this.GXLastCtrlId=36;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",27,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh222",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit("Grddatretirada",28,"vGRDDATRETIRADA","Retirada","","GrdDatRetirada","dtime",0,"px",16,10,"right",null,[],"Grddatretirada","GrdDatRetirada",true,5,false,false);
this.Grid1Container.addSingleLineEdit("Grdnrotombo",29,"vGRDNROTOMBO","Tombo","","GrdNroTombo","int",0,"px",9,9,"right",null,[],"Grdnrotombo","GrdNroTombo",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnomleitor",30,"vGRDNOMLEITOR","Leitor","","GrdNomLeitor","char",0,"px",50,50,"left",null,[],"Grdnomleitor","GrdNomLeitor",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdcodoperadorretirada",31,"vGRDCODOPERADORRETIRADA","Operador","","GrdCodOperadorRetirada","char",0,"px",6,6,"left",null,[],"Grdcodoperadorretirada","GrdCodOperadorRetirada",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grddatdevprevista",32,"vGRDDATDEVPREVISTA","Dev.prevista","","GrdDatDevPrevista","dtime",0,"px",16,10,"right",null,[],"Grddatdevprevista","GrdDatDevPrevista",true,5,false,false);this.Grid1Container.addSingleLineEdit("Grddatdevefetiva",33,"vGRDDATDEVEFETIVA","Dev.efetiva","","GrdDatDevEfetiva","dtime",0,"px",16,10,"right",null,[],"Grddatdevefetiva","GrdDatDevEfetiva",true,5,false,false);this.Grid1Container.addSingleLineEdit("Grdcodoperadordevolucao",34,"vGRDCODOPERADORDEVOLUCAO","Operador","","GrdCodOperadorDevolucao","char",0,"px",6,6,"left",null,[],"Grdcodoperadordevolucao","GrdCodOperadorDevolucao",true,0,false,false);
this.Grid1Container.addComboBox("Grdtipemprestimo",35,"vGRDTIPEMPRESTIMO","Tipo","GrdTipEmprestimo","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit("Grdcodleitor",36,"vGRDCODLEITOR","Cadastro","","GrdCodLeitor","char",0,"px",14,14,"left",null,[],"Grdcodleitor","GrdCodLeitor",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};
this.GXValidFnc[20]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRNROUNIDADEDEPOSITARIA",gxz:"ZV25ScrNroUnidadeDepositaria",gxold:"OV25ScrNroUnidadeDepositaria",gxvar:"AV25ScrNroUnidadeDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV25ScrNroUnidadeDepositaria=gx.num.intval(a)},v2z:function(a){gx.O.ZV25ScrNroUnidadeDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRNROUNIDADEDEPOSITARIA",gx.O.AV25ScrNroUnidadeDepositaria,0)
},c2v:function(){gx.O.AV25ScrNroUnidadeDepositaria=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRNROUNIDADEDEPOSITARIA",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDSELECIONAREMABERTO",gxz:"ZV26ScrIndSelecionarEmAberto",gxold:"OV26ScrIndSelecionarEmAberto",gxvar:"AV26ScrIndSelecionarEmAberto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV26ScrIndSelecionarEmAberto=a
},v2z:function(a){gx.O.ZV26ScrIndSelecionarEmAberto=a},v2c:function(){gx.fn.setRadioValue("vSCRINDSELECIONAREMABERTO",gx.O.AV26ScrIndSelecionarEmAberto)},c2v:function(){gx.O.AV26ScrIndSelecionarEmAberto=this.val()},val:function(){return gx.fn.getControlValue("vSCRINDSELECIONAREMABERTO")},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"dtime",len:10,dec:5,sign:false,ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDATRETIRADA",gxz:"ZV29GrdDatRetirada",gxold:"OV29GrdDatRetirada",gxvar:"AV29GrdDatRetirada",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.AV29GrdDatRetirada=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV29GrdDatRetirada=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATRETIRADA",gx.fn.currentGridRowImpl(27),gx.O.AV29GrdDatRetirada,0)},c2v:function(){gx.O.AV29GrdDatRetirada=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATRETIRADA",gx.fn.currentGridRowImpl(27))},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROTOMBO",gxz:"ZV30GrdNroTombo",gxold:"OV30GrdNroTombo",gxvar:"AV30GrdNroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV30GrdNroTombo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV30GrdNroTombo=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROTOMBO",gx.fn.currentGridRowImpl(27),gx.O.AV30GrdNroTombo,0)},c2v:function(){gx.O.AV30GrdNroTombo=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROTOMBO",gx.fn.currentGridRowImpl(27),".")},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDNOMLEITOR",gxz:"ZV31GrdNomLeitor",gxold:"OV31GrdNomLeitor",gxvar:"AV31GrdNomLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV31GrdNomLeitor=a
},v2z:function(a){gx.O.ZV31GrdNomLeitor=a},v2c:function(){gx.fn.setGridControlValue("vGRDNOMLEITOR",gx.fn.currentGridRowImpl(27),gx.O.AV31GrdNomLeitor,0)},c2v:function(){gx.O.AV31GrdNomLeitor=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNOMLEITOR",gx.fn.currentGridRowImpl(27))},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"char",len:6,dec:0,sign:false,ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDCODOPERADORRETIRADA",gxz:"ZV32GrdCodOperadorRetirada",gxold:"OV32GrdCodOperadorRetirada",gxvar:"AV32GrdCodOperadorRetirada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV32GrdCodOperadorRetirada=a
},v2z:function(a){gx.O.ZV32GrdCodOperadorRetirada=a},v2c:function(){gx.fn.setGridControlValue("vGRDCODOPERADORRETIRADA",gx.fn.currentGridRowImpl(27),gx.O.AV32GrdCodOperadorRetirada,0)},c2v:function(){gx.O.AV32GrdCodOperadorRetirada=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDCODOPERADORRETIRADA",gx.fn.currentGridRowImpl(27))},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"dtime",len:10,dec:5,sign:false,ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDATDEVPREVISTA",gxz:"ZV33GrdDatDevPrevista",gxold:"OV33GrdDatDevPrevista",gxvar:"AV33GrdDatDevPrevista",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.AV33GrdDatDevPrevista=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV33GrdDatDevPrevista=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATDEVPREVISTA",gx.fn.currentGridRowImpl(27),gx.O.AV33GrdDatDevPrevista,0)},c2v:function(){gx.O.AV33GrdDatDevPrevista=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATDEVPREVISTA",gx.fn.currentGridRowImpl(27))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"dtime",len:10,dec:5,sign:false,ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDATDEVEFETIVA",gxz:"ZV34GrdDatDevEfetiva",gxold:"OV34GrdDatDevEfetiva",gxvar:"AV34GrdDatDevEfetiva",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.AV34GrdDatDevEfetiva=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV34GrdDatDevEfetiva=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATDEVEFETIVA",gx.fn.currentGridRowImpl(27),gx.O.AV34GrdDatDevEfetiva,0)},c2v:function(){gx.O.AV34GrdDatDevEfetiva=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATDEVEFETIVA",gx.fn.currentGridRowImpl(27))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:6,dec:0,sign:false,ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDCODOPERADORDEVOLUCAO",gxz:"ZV35GrdCodOperadorDevolucao",gxold:"OV35GrdCodOperadorDevolucao",gxvar:"AV35GrdCodOperadorDevolucao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV35GrdCodOperadorDevolucao=a
},v2z:function(a){gx.O.ZV35GrdCodOperadorDevolucao=a},v2c:function(){gx.fn.setGridControlValue("vGRDCODOPERADORDEVOLUCAO",gx.fn.currentGridRowImpl(27),gx.O.AV35GrdCodOperadorDevolucao,0)},c2v:function(){gx.O.AV35GrdCodOperadorDevolucao=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDCODOPERADORDEVOLUCAO",gx.fn.currentGridRowImpl(27))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDTIPEMPRESTIMO",gxz:"ZV36GrdTipEmprestimo",gxold:"OV36GrdTipEmprestimo",gxvar:"AV36GrdTipEmprestimo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV36GrdTipEmprestimo=a
},v2z:function(a){gx.O.ZV36GrdTipEmprestimo=a},v2c:function(){gx.fn.setGridComboBoxValue("vGRDTIPEMPRESTIMO",gx.fn.currentGridRowImpl(27),gx.O.AV36GrdTipEmprestimo)},c2v:function(){gx.O.AV36GrdTipEmprestimo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDTIPEMPRESTIMO",gx.fn.currentGridRowImpl(27))},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDCODLEITOR",gxz:"ZV37GrdCodLeitor",gxold:"OV37GrdCodLeitor",gxvar:"AV37GrdCodLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV37GrdCodLeitor=a
},v2z:function(a){gx.O.ZV37GrdCodLeitor=a},v2c:function(){gx.fn.setGridControlValue("vGRDCODLEITOR",gx.fn.currentGridRowImpl(27),gx.O.AV37GrdCodLeitor,0)},c2v:function(){gx.O.AV37GrdCodLeitor=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDCODLEITOR",gx.fn.currentGridRowImpl(27))},nac:function(){return false}};this.AV25ScrNroUnidadeDepositaria=0;this.ZV25ScrNroUnidadeDepositaria=0;this.OV25ScrNroUnidadeDepositaria=0;this.AV26ScrIndSelecionarEmAberto="";this.ZV26ScrIndSelecionarEmAberto="";
this.OV26ScrIndSelecionarEmAberto="";this.ZV29GrdDatRetirada=gx.date.nullDate();this.OV29GrdDatRetirada=gx.date.nullDate();this.ZV30GrdNroTombo=0;this.OV30GrdNroTombo=0;this.ZV31GrdNomLeitor="";this.OV31GrdNomLeitor="";this.ZV32GrdCodOperadorRetirada="";this.OV32GrdCodOperadorRetirada="";this.ZV33GrdDatDevPrevista=gx.date.nullDate();this.OV33GrdDatDevPrevista=gx.date.nullDate();this.ZV34GrdDatDevEfetiva=gx.date.nullDate();this.OV34GrdDatDevEfetiva=gx.date.nullDate();this.ZV35GrdCodOperadorDevolucao="";
this.OV35GrdCodOperadorDevolucao="";this.ZV36GrdTipEmprestimo="";this.OV36GrdTipEmprestimo="";this.ZV37GrdCodLeitor="";this.OV37GrdCodLeitor="";this.AV20ParmNroDocumento=0;this.AV29GrdDatRetirada=gx.date.nullDate();this.AV30GrdNroTombo=0;this.AV31GrdNomLeitor="";this.AV32GrdCodOperadorRetirada="";this.AV33GrdDatDevPrevista=gx.date.nullDate();this.AV34GrdDatDevEfetiva=gx.date.nullDate();this.AV35GrdCodOperadorDevolucao="";this.AV36GrdTipEmprestimo="";this.AV37GrdCodLeitor="";this.A358EpiIndDevo="";
this.A922UndCod=0;this.A258DocNro=0;this.A356EpiDatReti=gx.date.nullDate();this.A359EpiNroTomb=0;this.A364EptNroSequ=0;this.A786UsbNom="";this.A361EptCodUsua="";this.A355EpiDatDevP=gx.date.nullDate();this.A354EpiDatDevE=gx.date.nullDate();this.A357EpiDesDado="";this.A1099EpiTipEmpr="";this.A787UsbCod="";this.ServerEvents=["e11h72_client","e14h71_client","e15h72_client"];this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV20ParmNroDocumento={id:"vPARMNRODOCUMENTO",grid:0,type:"int"};this.VarControlMap.A787UsbCod={id:"USBCOD",grid:0,type:"char"};
this.VarControlMap.A1099EpiTipEmpr={id:"EPITIPEMPR",grid:0,type:"char"};this.VarControlMap.A357EpiDesDado={id:"EPIDESDADO",grid:0,type:"char"};this.VarControlMap.A354EpiDatDevE={id:"EPIDATDEVE",grid:0,type:"dtime"};this.VarControlMap.A355EpiDatDevP={id:"EPIDATDEVP",grid:0,type:"dtime"};this.VarControlMap.A361EptCodUsua={id:"EPTCODUSUA",grid:0,type:"char"};this.VarControlMap.A786UsbNom={id:"USBNOM",grid:0,type:"char"};this.VarControlMap.A359EpiNroTomb={id:"EPINROTOMB",grid:0,type:"int"};this.VarControlMap.A356EpiDatReti={id:"EPIDATRETI",grid:0,type:"dtime"};
this.VarControlMap.A358EpiIndDevo={id:"EPIINDDEVO",grid:0,type:"char"};this.VarControlMap.AV22SdtRolEmprestimos={id:"vSDTROLEMPRESTIMOS",grid:0,type:"CollSdtTemporarioGeral"};this.Grid1Container.addRefreshingVar({rfrVar:"A787UsbCod"});this.Grid1Container.addRefreshingVar({rfrVar:"A1099EpiTipEmpr"});this.Grid1Container.addRefreshingVar({rfrVar:"A357EpiDesDado"});this.Grid1Container.addRefreshingVar({rfrVar:"A354EpiDatDevE"});this.Grid1Container.addRefreshingVar({rfrVar:"A355EpiDatDevP"});this.Grid1Container.addRefreshingVar({rfrVar:"A361EptCodUsua"});
this.Grid1Container.addRefreshingVar({rfrVar:"A786UsbNom"});this.Grid1Container.addRefreshingVar({rfrVar:"A359EpiNroTomb"});this.Grid1Container.addRefreshingVar({rfrVar:"A356EpiDatReti"});this.Grid1Container.addRefreshingVar({rfrVar:"A358EpiIndDevo"});this.Grid1Container.addRefreshingVar({rfrVar:"AV22SdtRolEmprestimos"});this.SetStandaloneVars()}himh222.prototype=new gx.GxObject;gx.setParentObj(new himh222());