gx.evt.autoSkip=false;function himh072(){this.ServerClass="HImh072";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV164CodFuncao=gx.fn.getControlValue("vCODFUNCAO")};this.Validv_Undcod=function(){try{var a=gx.util.balloon.getNew("vUNDCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e19571_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh206.aspx",[this.AV145UndCod,this.AV222ScrCodLeitorBiometria]),["AV222ScrCodLeitorBiometria"]);
this.refreshOutputs([])};this.e11572_client=function(){this.executeServerEvent("ENTER",true)};this.e12572_client=function(){this.executeServerEvent("'COMPROVANTE'",false)};this.e13572_client=function(){this.executeServerEvent("'BAIXA MANUAL'",false)};this.e14572_client=function(){this.executeServerEvent("'LIMPAR GRID'",false)};this.e15572_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e16572_client=function(){this.executeServerEvent("'MUDAR FUNCAO'",false)};this.e20572_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[3,20,23,29,32,34,37,39,41,43,46,48,51,53,55,57,59,61,64,66,69,71,73,75,77,78,81,84,86,88,90,92,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111];this.GXLastCtrlId=111;this.Grid3Container=new gx.grid.grid(this,2,"WbpLvl2",95,"Grid3","Grid3","Grid3Container",this.CmpContext,this.IsMasterPage,"himh072",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");this.Grid3Container.addSingleLineEdit("Grdnrotombo",96,"vGRDNROTOMBO","Tombo","","GrdNroTombo","int",0,"px",9,9,"right",null,[],"Grdnrotombo","GrdNroTombo",true,0,false,false);
this.Grid3Container.addSingleLineEdit("Grddsctitulomensagem",97,"vGRDDSCTITULOMENSAGEM","Título","","GrdDscTituloMensagem","char",0,"px",50,50,"left",null,[],"Grddsctitulomensagem","GrdDscTituloMensagem",true,0,false,false);this.Grid3Container.addSingleLineEdit("Grdcodusuario",98,"vGRDCODUSUARIO","Leitor","","GrdCodUsuario","char",0,"px",14,14,"left",null,[],"Grdcodusuario","GrdCodUsuario",true,0,false,false);this.Grid3Container.addSingleLineEdit("Grdnomleitor",99,"vGRDNOMLEITOR","Nome","","GrdNomLeitor","char",0,"px",50,50,"left",null,[],"Grdnomleitor","GrdNomLeitor",true,0,false,false);
this.Grid3Container.addSingleLineEdit("Grddatretirada",100,"vGRDDATRETIRADA","Retirada","","GrdDatRetirada","dtime",0,"px",14,8,"right",null,[],"Grddatretirada","GrdDatRetirada",true,5,false,false);this.Grid3Container.addSingleLineEdit("Grddatdevolucaoprevista",101,"vGRDDATDEVOLUCAOPREVISTA","Dev.prevista","","GrdDatDevolucaoPrevista","dtime",0,"px",14,8,"right",null,[],"Grddatdevolucaoprevista","GrdDatDevolucaoPrevista",true,5,false,false);this.Grid3Container.addSingleLineEdit("Grddscavisoreservado",102,"vGRDDSCAVISORESERVADO","Obs","","GrdDscAvisoReservado","char",0,"px",3,3,"left",null,[],"Grddscavisoreservado","GrdDscAvisoReservado",true,0,false,false);
this.Grid3Container.addComboBox("Grdtipemprestimo",103,"vGRDTIPEMPRESTIMO","Tipo","GrdTipEmprestimo","char",null,0,true,false,0,"px");this.Grid3Container.addSingleLineEdit("Grdqtdatraso",104,"vGRDQTDATRASO","Atraso","","GrdQtdAtraso","int",0,"px",4,4,"right",null,[],"Grdqtdatraso","GrdQtdAtraso",true,0,false,false);this.Grid3Container.addSingleLineEdit("Grdtipprazo",105,"vGRDTIPPRAZO","Prazo","","GrdTipPrazo","char",0,"px",1,1,"left",null,[],"Grdtipprazo","GrdTipPrazo",true,0,false,false);this.Grid3Container.addSingleLineEdit("Grdvalmulta",106,"vGRDVALMULTA","Multa","","GrdValMulta","decimal",0,"px",11,10,"right",null,[],"Grdvalmulta","GrdValMulta",true,2,false,false);
this.Grid3Container.addSingleLineEdit("Grdqtddiassuspensao",107,"vGRDQTDDIASSUSPENSAO","Suspensão","","GrdQtdDiasSuspensao","int",0,"px",4,4,"right",null,[],"Grdqtddiassuspensao","GrdQtdDiasSuspensao",true,0,false,false);this.Grid3Container.addSingleLineEdit("Grdvalunitario",108,"vGRDVALUNITARIO","Val.unit.","","GrdValUnitario","decimal",0,"px",10,10,"right",null,[],"Grdvalunitario","GrdValUnitario",true,2,false,false);this.Grid3Container.addSingleLineEdit("Grdnrosequenciaept",109,"vGRDNROSEQUENCIAEPT","Ept","","GrdNroSequenciaEpt","int",0,"px",10,10,"right",null,[],"Grdnrosequenciaept","GrdNroSequenciaEpt",true,0,false,false);
this.Grid3Container.addSingleLineEdit("Grdnropenalidade",110,"vGRDNROPENALIDADE","Penal.","","GrdNroPenalidade","int",0,"px",7,7,"right",null,[],"Grdnropenalidade","GrdNroPenalidade",true,0,false,false);this.Grid3Container.addSingleLineEdit("Grdnroseqreserva",111,"vGRDNROSEQRESERVA","Res","","GrdNroSeqReserva","int",0,"px",6,6,"right",null,[],"Grdnroseqreserva","GrdNroSeqReserva",true,0,false,false);this.setGrid(this.Grid3Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[20]={fld:"DSCFUNCAO",format:0,grid:0};
this.GXValidFnc[23]={fld:"TABLE6",grid:0};this.GXValidFnc[29]={fld:"TABLE2",grid:0};this.GXValidFnc[32]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[34]={fld:"TABLE3",grid:0};this.GXValidFnc[37]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vIMPCOMPROVANTEDEVOLUCAO",gxz:"ZV56ImpComprovanteDevolucao",gxold:"OV56ImpComprovanteDevolucao",gxvar:"AV56ImpComprovanteDevolucao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV56ImpComprovanteDevolucao=a
},v2z:function(a){gx.O.ZV56ImpComprovanteDevolucao=a},v2c:function(){gx.fn.setCheckBoxValue("vIMPCOMPROVANTEDEVOLUCAO",gx.O.AV56ImpComprovanteDevolucao,"S")},c2v:function(){gx.O.AV56ImpComprovanteDevolucao=this.val()},val:function(){return gx.fn.getCheckBoxValue("vIMPCOMPROVANTEDEVOLUCAO","S","N")},nac:function(){return false}};this.GXValidFnc[39]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vIMPDOCUMENTOCOBRANCA",gxz:"ZV57ImpDocumentoCobranca",gxold:"OV57ImpDocumentoCobranca",gxvar:"AV57ImpDocumentoCobranca",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV57ImpDocumentoCobranca=a
},v2z:function(a){gx.O.ZV57ImpDocumentoCobranca=a},v2c:function(){gx.fn.setCheckBoxValue("vIMPDOCUMENTOCOBRANCA",gx.O.AV57ImpDocumentoCobranca,"S")},c2v:function(){gx.O.AV57ImpDocumentoCobranca=this.val()},val:function(){return gx.fn.getCheckBoxValue("vIMPDOCUMENTOCOBRANCA","S","N")},nac:function(){return false}};this.GXValidFnc[41]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vIMPTIQUETERESERVA",gxz:"ZV58ImpTiqueteReserva",gxold:"OV58ImpTiqueteReserva",gxvar:"AV58ImpTiqueteReserva",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV58ImpTiqueteReserva=a
},v2z:function(a){gx.O.ZV58ImpTiqueteReserva=a},v2c:function(){gx.fn.setCheckBoxValue("vIMPTIQUETERESERVA",gx.O.AV58ImpTiqueteReserva,"S")},c2v:function(){gx.O.AV58ImpTiqueteReserva=this.val()},val:function(){return gx.fn.getCheckBoxValue("vIMPTIQUETERESERVA","S","N")},nac:function(){return false}};this.GXValidFnc[43]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDBAIXAPENALIDADE",gxz:"ZV120IndBaixaPenalidade",gxold:"OV120IndBaixaPenalidade",gxvar:"AV120IndBaixaPenalidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV120IndBaixaPenalidade=a
},v2z:function(a){gx.O.ZV120IndBaixaPenalidade=a},v2c:function(){gx.fn.setCheckBoxValue("vINDBAIXAPENALIDADE",gx.O.AV120IndBaixaPenalidade,"S")},c2v:function(){gx.O.AV120IndBaixaPenalidade=this.val()},val:function(){return gx.fn.getCheckBoxValue("vINDBAIXAPENALIDADE","S","N")},nac:function(){return false}};this.GXValidFnc[46]={fld:"IMAGE1",grid:0};this.GXValidFnc[48]={fld:"TABLE4",grid:0};this.GXValidFnc[51]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[53]={lvl:0,type:"int",len:10,dec:0,sign:false,pic:"ZZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vEPTNROSEQUENCIA",gxz:"ZV171EptNroSequencia",gxold:"OV171EptNroSequencia",gxvar:"AV171EptNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV171EptNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV171EptNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vEPTNROSEQUENCIA",gx.O.AV171EptNroSequencia,0)},c2v:function(){gx.O.AV171EptNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vEPTNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[55]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[57]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSUCODCORR",gxz:"ZV5UsuCodCorr",gxold:"OV5UsuCodCorr",gxvar:"AV5UsuCodCorr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5UsuCodCorr=a
},v2z:function(a){gx.O.ZV5UsuCodCorr=a},v2c:function(){gx.fn.setControlValue("vUSUCODCORR",gx.O.AV5UsuCodCorr,0)},c2v:function(){gx.O.AV5UsuCodCorr=this.val()},val:function(){return gx.fn.getControlValue("vUSUCODCORR")},nac:function(){return false}};this.GXValidFnc[59]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[61]={lvl:0,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATDEVOLUCAOEFETIVA",gxz:"ZV73DatDevolucaoEfetiva",gxold:"OV73DatDevolucaoEfetiva",gxvar:"AV73DatDevolucaoEfetiva",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.AV73DatDevolucaoEfetiva=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV73DatDevolucaoEfetiva=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATDEVOLUCAOEFETIVA",gx.O.AV73DatDevolucaoEfetiva,0)},c2v:function(){gx.O.AV73DatDevolucaoEfetiva=this.val()},val:function(){return gx.fn.getControlValue("vDATDEVOLUCAOEFETIVA")},nac:function(){return false}};this.GXValidFnc[64]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[66]={fld:"TABLE5",grid:0};this.GXValidFnc[69]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Undcod,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV145UndCod",gxold:"OV145UndCod",gxvar:"AV145UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV145UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV145UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV145UndCod,0)},c2v:function(){gx.O.AV145UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[71]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[73]={lvl:0,type:"char",len:12,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNROTOMBOEDITADO",gxz:"ZV179NroTomboEditado",gxold:"OV179NroTomboEditado",gxvar:"AV179NroTomboEditado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV179NroTomboEditado=a
},v2z:function(a){gx.O.ZV179NroTomboEditado=a},v2c:function(){gx.fn.setControlValue("vNROTOMBOEDITADO",gx.O.AV179NroTomboEditado,0)},c2v:function(){gx.O.AV179NroTomboEditado=this.val()},val:function(){return gx.fn.getControlValue("vNROTOMBOEDITADO")},nac:function(){return false}};this.GXValidFnc[75]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDSCMENSAGEMALERTA",gxz:"ZV181DscMensagemAlerta",gxold:"OV181DscMensagemAlerta",gxvar:"AV181DscMensagemAlerta",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV181DscMensagemAlerta=a
},v2z:function(a){gx.O.ZV181DscMensagemAlerta=a},v2c:function(){gx.fn.setControlValue("vDSCMENSAGEMALERTA",gx.O.AV181DscMensagemAlerta,0)},c2v:function(){gx.O.AV181DscMensagemAlerta=this.val()},val:function(){return gx.fn.getControlValue("vDSCMENSAGEMALERTA")},nac:function(){return false}};this.GXValidFnc[77]={fld:"IMGBIOMETRIA",grid:0};this.GXValidFnc[78]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRCODLEITORBIOMETRIA",gxz:"ZV222ScrCodLeitorBiometria",gxold:"OV222ScrCodLeitorBiometria",gxvar:"AV222ScrCodLeitorBiometria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV222ScrCodLeitorBiometria=a
},v2z:function(a){gx.O.ZV222ScrCodLeitorBiometria=a},v2c:function(){gx.fn.setControlValue("vSCRCODLEITORBIOMETRIA",gx.O.AV222ScrCodLeitorBiometria,0)},c2v:function(){gx.O.AV222ScrCodLeitorBiometria=this.val()},val:function(){return gx.fn.getControlValue("vSCRCODLEITORBIOMETRIA")},nac:function(){return false}};this.GXValidFnc[81]={fld:"TABELASENHAS",grid:0};this.GXValidFnc[84]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[86]={lvl:0,type:"char",len:30,dec:0,sign:false,isPwd:true,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRVALSENHALEITOR",gxz:"ZV205ScrValSenhaLeitor",gxold:"OV205ScrValSenhaLeitor",gxvar:"AV205ScrValSenhaLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV205ScrValSenhaLeitor=a
},v2z:function(a){gx.O.ZV205ScrValSenhaLeitor=a},v2c:function(){gx.fn.setControlValue("vSCRVALSENHALEITOR",gx.O.AV205ScrValSenhaLeitor,0)},c2v:function(){gx.O.AV205ScrValSenhaLeitor=this.val()},val:function(){return gx.fn.getControlValue("vSCRVALSENHALEITOR")},nac:function(){return false}};this.GXValidFnc[88]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[90]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[92]={lvl:0,type:"char",len:10,dec:0,sign:false,isPwd:true,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRVALSENHAOPERADOR",gxz:"ZV206ScrValSenhaOperador",gxold:"OV206ScrValSenhaOperador",gxvar:"AV206ScrValSenhaOperador",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV206ScrValSenhaOperador=a
},v2z:function(a){gx.O.ZV206ScrValSenhaOperador=a},v2c:function(){gx.fn.setControlValue("vSCRVALSENHAOPERADOR",gx.O.AV206ScrValSenhaOperador,0)},c2v:function(){gx.O.AV206ScrValSenhaOperador=this.val()},val:function(){return gx.fn.getControlValue("vSCRVALSENHAOPERADOR")},nac:function(){return false}};this.GXValidFnc[96]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROTOMBO",gxz:"ZV36GrdNroTombo",gxold:"OV36GrdNroTombo",gxvar:"AV36GrdNroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV36GrdNroTombo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV36GrdNroTombo=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROTOMBO",gx.fn.currentGridRowImpl(95),gx.O.AV36GrdNroTombo,0)},c2v:function(){gx.O.AV36GrdNroTombo=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROTOMBO",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.GXValidFnc[97]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,fld:"vGRDDSCTITULOMENSAGEM",gxz:"ZV35GrdDscTituloMensagem",gxold:"OV35GrdDscTituloMensagem",gxvar:"AV35GrdDscTituloMensagem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV35GrdDscTituloMensagem=a
},v2z:function(a){gx.O.ZV35GrdDscTituloMensagem=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCTITULOMENSAGEM",gx.fn.currentGridRowImpl(95),gx.O.AV35GrdDscTituloMensagem,0)},c2v:function(){gx.O.AV35GrdDscTituloMensagem=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCTITULOMENSAGEM",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[98]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,fld:"vGRDCODUSUARIO",gxz:"ZV81GrdCodUsuario",gxold:"OV81GrdCodUsuario",gxvar:"AV81GrdCodUsuario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV81GrdCodUsuario=a
},v2z:function(a){gx.O.ZV81GrdCodUsuario=a},v2c:function(){gx.fn.setGridControlValue("vGRDCODUSUARIO",gx.fn.currentGridRowImpl(95),gx.O.AV81GrdCodUsuario,0)},c2v:function(){gx.O.AV81GrdCodUsuario=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDCODUSUARIO",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[99]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,fld:"vGRDNOMLEITOR",gxz:"ZV160GrdNomLeitor",gxold:"OV160GrdNomLeitor",gxvar:"AV160GrdNomLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV160GrdNomLeitor=a
},v2z:function(a){gx.O.ZV160GrdNomLeitor=a},v2c:function(){gx.fn.setGridControlValue("vGRDNOMLEITOR",gx.fn.currentGridRowImpl(95),gx.O.AV160GrdNomLeitor,0)},c2v:function(){gx.O.AV160GrdNomLeitor=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNOMLEITOR",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[100]={lvl:2,type:"dtime",len:8,dec:5,sign:false,ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,fld:"vGRDDATRETIRADA",gxz:"ZV26GrdDatRetirada",gxold:"OV26GrdDatRetirada",gxvar:"AV26GrdDatRetirada",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/99 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26GrdDatRetirada=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV26GrdDatRetirada=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATRETIRADA",gx.fn.currentGridRowImpl(95),gx.O.AV26GrdDatRetirada,0)},c2v:function(){gx.O.AV26GrdDatRetirada=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATRETIRADA",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[101]={lvl:2,type:"dtime",len:8,dec:5,sign:false,ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,fld:"vGRDDATDEVOLUCAOPREVISTA",gxz:"ZV34GrdDatDevolucaoPrevista",gxold:"OV34GrdDatDevolucaoPrevista",gxvar:"AV34GrdDatDevolucaoPrevista",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/99 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV34GrdDatDevolucaoPrevista=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV34GrdDatDevolucaoPrevista=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATDEVOLUCAOPREVISTA",gx.fn.currentGridRowImpl(95),gx.O.AV34GrdDatDevolucaoPrevista,0)},c2v:function(){gx.O.AV34GrdDatDevolucaoPrevista=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATDEVOLUCAOPREVISTA",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[102]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,fld:"vGRDDSCAVISORESERVADO",gxz:"ZV184GrdDscAvisoReservado",gxold:"OV184GrdDscAvisoReservado",gxvar:"AV184GrdDscAvisoReservado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV184GrdDscAvisoReservado=a
},v2z:function(a){gx.O.ZV184GrdDscAvisoReservado=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCAVISORESERVADO",gx.fn.currentGridRowImpl(95),gx.O.AV184GrdDscAvisoReservado,0)},c2v:function(){gx.O.AV184GrdDscAvisoReservado=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCAVISORESERVADO",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[103]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,fld:"vGRDTIPEMPRESTIMO",gxz:"ZV71GrdTipEmprestimo",gxold:"OV71GrdTipEmprestimo",gxvar:"AV71GrdTipEmprestimo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV71GrdTipEmprestimo=a
},v2z:function(a){gx.O.ZV71GrdTipEmprestimo=a},v2c:function(){gx.fn.setGridComboBoxValue("vGRDTIPEMPRESTIMO",gx.fn.currentGridRowImpl(95),gx.O.AV71GrdTipEmprestimo)},c2v:function(){gx.O.AV71GrdTipEmprestimo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDTIPEMPRESTIMO",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[104]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDQTDATRASO",gxz:"ZV72GrdQtdAtraso",gxold:"OV72GrdQtdAtraso",gxvar:"AV72GrdQtdAtraso",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV72GrdQtdAtraso=gx.num.intval(a)
},v2z:function(a){gx.O.ZV72GrdQtdAtraso=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDQTDATRASO",gx.fn.currentGridRowImpl(95),gx.O.AV72GrdQtdAtraso,0)},c2v:function(){gx.O.AV72GrdQtdAtraso=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDQTDATRASO",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.GXValidFnc[105]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,fld:"vGRDTIPPRAZO",gxz:"ZV140GrdTipPrazo",gxold:"OV140GrdTipPrazo",gxvar:"AV140GrdTipPrazo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV140GrdTipPrazo=a
},v2z:function(a){gx.O.ZV140GrdTipPrazo=a},v2c:function(){gx.fn.setGridControlValue("vGRDTIPPRAZO",gx.fn.currentGridRowImpl(95),gx.O.AV140GrdTipPrazo,0)},c2v:function(){gx.O.AV140GrdTipPrazo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDTIPPRAZO",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[106]={lvl:2,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZ,ZZ9.99",ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDVALMULTA",gxz:"ZV65GrdValMulta",gxold:"OV65GrdValMulta",gxvar:"AV65GrdValMulta",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV65GrdValMulta=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV65GrdValMulta=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("vGRDVALMULTA",gx.fn.currentGridRowImpl(95),gx.O.AV65GrdValMulta,2,",")},c2v:function(){gx.O.AV65GrdValMulta=this.val()},val:function(){return gx.fn.getGridDecimalValue("vGRDVALMULTA",gx.fn.currentGridRowImpl(95),".",",")},nac:function(){return false}};this.GXValidFnc[107]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDQTDDIASSUSPENSAO",gxz:"ZV78GrdQtdDiasSuspensao",gxold:"OV78GrdQtdDiasSuspensao",gxvar:"AV78GrdQtdDiasSuspensao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV78GrdQtdDiasSuspensao=gx.num.intval(a)
},v2z:function(a){gx.O.ZV78GrdQtdDiasSuspensao=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDQTDDIASSUSPENSAO",gx.fn.currentGridRowImpl(95),gx.O.AV78GrdQtdDiasSuspensao,0)},c2v:function(){gx.O.AV78GrdQtdDiasSuspensao=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDQTDDIASSUSPENSAO",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.GXValidFnc[108]={lvl:2,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZ,ZZ9.99",ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDVALUNITARIO",gxz:"ZV77GrdValUnitario",gxold:"OV77GrdValUnitario",gxvar:"AV77GrdValUnitario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV77GrdValUnitario=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV77GrdValUnitario=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("vGRDVALUNITARIO",gx.fn.currentGridRowImpl(95),gx.O.AV77GrdValUnitario,2,",")},c2v:function(){gx.O.AV77GrdValUnitario=this.val()},val:function(){return gx.fn.getGridDecimalValue("vGRDVALUNITARIO",gx.fn.currentGridRowImpl(95),".",",")},nac:function(){return false}};this.GXValidFnc[109]={lvl:2,type:"int",len:10,dec:0,sign:false,pic:"ZZZZZZZZZ9",ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROSEQUENCIAEPT",gxz:"ZV51GrdNroSequenciaEpt",gxold:"OV51GrdNroSequenciaEpt",gxvar:"AV51GrdNroSequenciaEpt",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV51GrdNroSequenciaEpt=gx.num.intval(a)
},v2z:function(a){gx.O.ZV51GrdNroSequenciaEpt=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROSEQUENCIAEPT",gx.fn.currentGridRowImpl(95),gx.O.AV51GrdNroSequenciaEpt,0)},c2v:function(){gx.O.AV51GrdNroSequenciaEpt=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROSEQUENCIAEPT",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.GXValidFnc[110]={lvl:2,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROPENALIDADE",gxz:"ZV108GrdNroPenalidade",gxold:"OV108GrdNroPenalidade",gxvar:"AV108GrdNroPenalidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV108GrdNroPenalidade=gx.num.intval(a)
},v2z:function(a){gx.O.ZV108GrdNroPenalidade=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROPENALIDADE",gx.fn.currentGridRowImpl(95),gx.O.AV108GrdNroPenalidade,0)},c2v:function(){gx.O.AV108GrdNroPenalidade=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROPENALIDADE",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.GXValidFnc[111]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:95,gxgrid:this.Grid3Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROSEQRESERVA",gxz:"ZV109GrdNroSeqReserva",gxold:"OV109GrdNroSeqReserva",gxvar:"AV109GrdNroSeqReserva",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV109GrdNroSeqReserva=gx.num.intval(a)
},v2z:function(a){gx.O.ZV109GrdNroSeqReserva=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROSEQRESERVA",gx.fn.currentGridRowImpl(95),gx.O.AV109GrdNroSeqReserva,0)},c2v:function(){gx.O.AV109GrdNroSeqReserva=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROSEQRESERVA",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.AV56ImpComprovanteDevolucao="";this.ZV56ImpComprovanteDevolucao="";this.OV56ImpComprovanteDevolucao="";this.AV57ImpDocumentoCobranca="";
this.ZV57ImpDocumentoCobranca="";this.OV57ImpDocumentoCobranca="";this.AV58ImpTiqueteReserva="";this.ZV58ImpTiqueteReserva="";this.OV58ImpTiqueteReserva="";this.AV120IndBaixaPenalidade="";this.ZV120IndBaixaPenalidade="";this.OV120IndBaixaPenalidade="";this.AV171EptNroSequencia=0;this.ZV171EptNroSequencia=0;this.OV171EptNroSequencia=0;this.AV5UsuCodCorr="";this.ZV5UsuCodCorr="";this.OV5UsuCodCorr="";this.AV73DatDevolucaoEfetiva=gx.date.nullDate();this.ZV73DatDevolucaoEfetiva=gx.date.nullDate();this.OV73DatDevolucaoEfetiva=gx.date.nullDate();
this.AV145UndCod=0;this.ZV145UndCod=0;this.OV145UndCod=0;this.AV179NroTomboEditado="";this.ZV179NroTomboEditado="";this.OV179NroTomboEditado="";this.AV181DscMensagemAlerta="";this.ZV181DscMensagemAlerta="";this.OV181DscMensagemAlerta="";this.AV222ScrCodLeitorBiometria="";this.ZV222ScrCodLeitorBiometria="";this.OV222ScrCodLeitorBiometria="";this.AV205ScrValSenhaLeitor="";this.ZV205ScrValSenhaLeitor="";this.OV205ScrValSenhaLeitor="";this.AV206ScrValSenhaOperador="";this.ZV206ScrValSenhaOperador="";
this.OV206ScrValSenhaOperador="";this.ZV36GrdNroTombo=0;this.OV36GrdNroTombo=0;this.ZV35GrdDscTituloMensagem="";this.OV35GrdDscTituloMensagem="";this.ZV81GrdCodUsuario="";this.OV81GrdCodUsuario="";this.ZV160GrdNomLeitor="";this.OV160GrdNomLeitor="";this.ZV26GrdDatRetirada=gx.date.nullDate();this.OV26GrdDatRetirada=gx.date.nullDate();this.ZV34GrdDatDevolucaoPrevista=gx.date.nullDate();this.OV34GrdDatDevolucaoPrevista=gx.date.nullDate();this.ZV184GrdDscAvisoReservado="";this.OV184GrdDscAvisoReservado="";
this.ZV71GrdTipEmprestimo="";this.OV71GrdTipEmprestimo="";this.ZV72GrdQtdAtraso=0;this.OV72GrdQtdAtraso=0;this.ZV140GrdTipPrazo="";this.OV140GrdTipPrazo="";this.ZV65GrdValMulta=0;this.OV65GrdValMulta=0;this.ZV78GrdQtdDiasSuspensao=0;this.OV78GrdQtdDiasSuspensao=0;this.ZV77GrdValUnitario=0;this.OV77GrdValUnitario=0;this.ZV51GrdNroSequenciaEpt=0;this.OV51GrdNroSequenciaEpt=0;this.ZV108GrdNroPenalidade=0;this.OV108GrdNroPenalidade=0;this.ZV109GrdNroSeqReserva=0;this.OV109GrdNroSeqReserva=0;this.AV164CodFuncao="";
this.AV36GrdNroTombo=0;this.AV35GrdDscTituloMensagem="";this.AV81GrdCodUsuario="";this.AV160GrdNomLeitor="";this.AV26GrdDatRetirada=gx.date.nullDate();this.AV34GrdDatDevolucaoPrevista=gx.date.nullDate();this.AV184GrdDscAvisoReservado="";this.AV71GrdTipEmprestimo="";this.AV72GrdQtdAtraso=0;this.AV140GrdTipPrazo="";this.AV65GrdValMulta=0;this.AV78GrdQtdDiasSuspensao=0;this.AV77GrdValUnitario=0;this.AV51GrdNroSequenciaEpt=0;this.AV108GrdNroPenalidade=0;this.AV109GrdNroSeqReserva=0;this.A727ResNroSeq=0;
this.A258DocNro=0;this.A724ResDatVali=gx.date.nullDate();this.A786UsbNom="";this.A787UsbCod="";this.A953UsbNroFone="";this.A954UsbNroFonT="";this.A957UsbNroRama="";this.A79CaeCod=0;this.A883TiuCod="";this.A922UndCod=0;this.A109CecQtdSusp=0;this.A358EpiIndDevo="";this.A359EpiNroTomb=0;this.A355EpiDatDevP=gx.date.nullDate();this.A888TiuIndPaga="";this.A892TiuTipCalc=0;this.A356EpiDatReti=gx.date.nullDate();this.A364EptNroSequ=0;this.A1099EpiTipEmpr="";this.A360EpiTipPraz="";this.A779SetCod=0;this.A316DvoNroTomo=0;
this.A317DvoNroVolu=0;this.A281DoeNroSequ=0;this.A315DvoNroTomb=0;this.A78CaeCampo1L="";this.A509LocCod=0;this.A318DvoQtdReno=0;this.A83CaeIndVesp="";this.A1114DvoCodUnid=0;this.A1113DvoTipSitu="";this.ServerEvents=["e11572_client","e12572_client","e13572_client","e14572_client","e15572_client","e16572_client","e20572_client"];this.EnterCtrl=["BUTTON4"];this.VarControlMap.AV164CodFuncao={id:"vCODFUNCAO",grid:0,type:"char"};this.SetStandaloneVars()}himh072.prototype=new gx.GxObject;gx.setParentObj(new himh072());