gx.evt.autoSkip=false;function himh067(){this.ServerClass="HImh067";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Usbcod=function(){try{var a=gx.util.balloon.getNew("vUSBCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.s112_client=function(){this.AV82DscItemAtrasado="Não há itens em atraso";this.AV81IndPossuiAtrasos="N";this.AV118Agora=gx.date.now();this.AV119PrimeiraVez="S";
this.AV33i=1;while(this.AV33i<=this.AV55QtdItensEmprestados){if(new gx.date.gxdate(this.AV70Vt1DatDevPrevista[this.AV33i-1]).compare(this.AV118Agora)<=0){this.AV81IndPossuiAtrasos="S";if(this.AV119PrimeiraVez=="S"){this.AV119PrimeiraVez="N";this.AV82DscItemAtrasado="Tombos em atraso: "+gx.text.trim(gx.num.str(this.AV71Vt1Tombo[this.AV33i-1],9,0))}else{this.AV82DscItemAtrasado=gx.text.trim(this.AV82DscItemAtrasado)+", "+gx.text.trim(gx.num.str(this.AV71Vt1Tombo[this.AV33i-1],9,0))}}this.AV33i=this.AV33i+1
}};this.e175a1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh267.aspx",[this.AV30DatDevEspecial,this.AV58UsuCodResponsavel,this.AV29TipEmprestimo]),["AV30DatDevEspecial","AV58UsuCodResponsavel","AV29TipEmprestimo"]);this.refreshOutputs([])};this.e115a2_client=function(){this.executeServerEvent("ENTER",true)};this.e125a2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e135a2_client=function(){this.executeServerEvent("'COMPROVANTE'",false)};this.e185a2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[3,16,22,25,28,31,33,36,38,40,43,45,48,50,53,55,58,60,62,64,67,69,72,74,76,79,82,85,88,91,94,97,100,103,106,107,109,113,114,115,116];this.GXLastCtrlId=116;this.Grid3Container=new gx.grid.grid(this,2,"WbpLvl2",112,"Grid3","Grid3","Grid3Container",this.CmpContext,this.IsMasterPage,"himh067",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");this.Grid3Container.addSingleLineEdit("Grdnrotombo",113,"vGRDNROTOMBO","Tombo","","GrdNroTombo","int",0,"px",9,9,"right",null,[],"Grdnrotombo","GrdNroTombo",true,0,false,false);
this.Grid3Container.addSingleLineEdit("Grddatdevolucaoprevista",114,"vGRDDATDEVOLUCAOPREVISTA","Devolução","","GrdDatDevolucaoPrevista","dtime",0,"px",16,10,"right",null,[],"Grddatdevolucaoprevista","GrdDatDevolucaoPrevista",true,5,false,false);this.Grid3Container.addComboBox("Grdtipemprestimo",115,"vGRDTIPEMPRESTIMO","Tipo empréstimo","GrdTipEmprestimo","char",null,0,true,false,0,"px");this.Grid3Container.addSingleLineEdit("Grddsctitulomensagem",116,"vGRDDSCTITULOMENSAGEM","Título","","GrdDscTituloMensagem","char",0,"px",90,90,"left",null,[],"Grddsctitulomensagem","GrdDscTituloMensagem",true,0,false,false);
this.setGrid(this.Grid3Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[22]={fld:"TABLE10",grid:0};this.GXValidFnc[25]={fld:"TABLE3",grid:0};this.GXValidFnc[28]={fld:"TABLE4",grid:0};this.GXValidFnc[31]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[33]={fld:"TABLE9",grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Usbcod,isvalid:null,fld:"vUSBCOD",gxz:"ZV9UsbCod",gxold:"OV9UsbCod",gxvar:"AV9UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9UsbCod=a
},v2z:function(a){gx.O.ZV9UsbCod=a},v2c:function(){gx.fn.setControlValue("vUSBCOD",gx.O.AV9UsbCod,0)},c2v:function(){gx.O.AV9UsbCod=this.val()},val:function(){return gx.fn.getControlValue("vUSBCOD")},nac:function(){return false}};this.GXValidFnc[38]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBNOM",gxz:"ZV22UsbNom",gxold:"OV22UsbNom",gxvar:"AV22UsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22UsbNom=a
},v2z:function(a){gx.O.ZV22UsbNom=a},v2c:function(){gx.fn.setControlValue("vUSBNOM",gx.O.AV22UsbNom,0)},c2v:function(){gx.O.AV22UsbNom=this.val()},val:function(){return gx.fn.getControlValue("vUSBNOM")},nac:function(){return false}};this.GXValidFnc[43]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[45]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUSUCODUNIDDEPOSITARIA",gxz:"ZV8UsuCodUnidDepositaria",gxold:"OV8UsuCodUnidDepositaria",gxvar:"AV8UsuCodUnidDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8UsuCodUnidDepositaria=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8UsuCodUnidDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSUCODUNIDDEPOSITARIA",gx.O.AV8UsuCodUnidDepositaria,0)},c2v:function(){gx.O.AV8UsuCodUnidDepositaria=this.val()},val:function(){return gx.fn.getIntegerValue("vUSUCODUNIDDEPOSITARIA",".")},nac:function(){return false}};this.GXValidFnc[48]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[50]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIUDES",gxz:"ZV27TiuDes",gxold:"OV27TiuDes",gxvar:"AV27TiuDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV27TiuDes=a
},v2z:function(a){gx.O.ZV27TiuDes=a},v2c:function(){gx.fn.setControlValue("vTIUDES",gx.O.AV27TiuDes,0)},c2v:function(){gx.O.AV27TiuDes=this.val()},val:function(){return gx.fn.getControlValue("vTIUDES")},nac:function(){return false}};this.GXValidFnc[53]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[55]={fld:"TABLE6",grid:0};this.GXValidFnc[58]={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:"ZV54EptNroSequencia",gxold:"OV54EptNroSequencia",gxvar:"AV54EptNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV54EptNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV54EptNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vEPTNROSEQUENCIA",gx.O.AV54EptNroSequencia,0)},c2v:function(){gx.O.AV54EptNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vEPTNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[60]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPEMPRESTIMO",gxz:"ZV29TipEmprestimo",gxold:"OV29TipEmprestimo",gxvar:"AV29TipEmprestimo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV29TipEmprestimo=a
},v2z:function(a){gx.O.ZV29TipEmprestimo=a},v2c:function(){gx.fn.setControlValue("vTIPEMPRESTIMO",gx.O.AV29TipEmprestimo,0)},c2v:function(){gx.O.AV29TipEmprestimo=this.val()},val:function(){return gx.fn.getControlValue("vTIPEMPRESTIMO")},nac:function(){return false}};this.GXValidFnc[62]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[64]={lvl:0,type:"char",len:35,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDSCTIPOEMPRESTIMO",gxz:"ZV121ScrDscTipoEmprestimo",gxold:"OV121ScrDscTipoEmprestimo",gxvar:"AV121ScrDscTipoEmprestimo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV121ScrDscTipoEmprestimo=a
},v2z:function(a){gx.O.ZV121ScrDscTipoEmprestimo=a},v2c:function(){gx.fn.setControlValue("vSCRDSCTIPOEMPRESTIMO",gx.O.AV121ScrDscTipoEmprestimo,0)},c2v:function(){gx.O.AV121ScrDscTipoEmprestimo=this.val()},val:function(){return gx.fn.getControlValue("vSCRDSCTIPOEMPRESTIMO")},nac:function(){return false}};this.GXValidFnc[67]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[69]={lvl:0,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATRETIRADA",gxz:"ZV28DatRetirada",gxold:"OV28DatRetirada",gxvar:"AV28DatRetirada",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.AV28DatRetirada=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV28DatRetirada=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATRETIRADA",gx.O.AV28DatRetirada,0)},c2v:function(){gx.O.AV28DatRetirada=this.val()},val:function(){return gx.fn.getControlValue("vDATRETIRADA")},nac:function(){return false}};this.GXValidFnc[72]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[74]={lvl:0,type:"char",len:12,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNROTOMBOEDITADO",gxz:"ZV67NroTomboEditado",gxold:"OV67NroTomboEditado",gxvar:"AV67NroTomboEditado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV67NroTomboEditado=a
},v2z:function(a){gx.O.ZV67NroTomboEditado=a},v2c:function(){gx.fn.setControlValue("vNROTOMBOEDITADO",gx.O.AV67NroTomboEditado,0)},c2v:function(){gx.O.AV67NroTomboEditado=this.val()},val:function(){return gx.fn.getControlValue("vNROTOMBOEDITADO")},nac:function(){return false}};this.GXValidFnc[76]={fld:"TABLE1",grid:0};this.GXValidFnc[79]={lvl:0,type:"bits",len:5,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vFOTOBITMAP",gxz:"ZV65FotoBitMap",gxold:"OV65FotoBitMap",gxvar:"AV65FotoBitMap",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV65FotoBitMap=a
},v2z:function(a){gx.O.ZV65FotoBitMap=a},v2c:function(){},c2v:function(){},val:function(){return""},nac:function(){return false}};this.GXValidFnc[82]={fld:"TABLE5",grid:0};this.GXValidFnc[85]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDSCITENSEMPRESTADOS",gxz:"ZV73DscItensEmprestados",gxold:"OV73DscItensEmprestados",gxvar:"AV73DscItensEmprestados",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV73DscItensEmprestados=a},v2z:function(a){gx.O.ZV73DscItensEmprestados=a
},v2c:function(){gx.fn.setControlValue("vDSCITENSEMPRESTADOS",gx.O.AV73DscItensEmprestados,0)},c2v:function(){gx.O.AV73DscItensEmprestados=this.val()},val:function(){return gx.fn.getControlValue("vDSCITENSEMPRESTADOS")},nac:function(){return false}};this.GXValidFnc[88]={lvl:0,type:"char",len:80,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDSCITEMATRASADO",gxz:"ZV82DscItemAtrasado",gxold:"OV82DscItemAtrasado",gxvar:"AV82DscItemAtrasado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV82DscItemAtrasado=a
},v2z:function(a){gx.O.ZV82DscItemAtrasado=a},v2c:function(){gx.fn.setControlValue("vDSCITEMATRASADO",gx.O.AV82DscItemAtrasado,0)},c2v:function(){gx.O.AV82DscItemAtrasado=this.val()},val:function(){return gx.fn.getControlValue("vDSCITEMATRASADO")},nac:function(){return false}};this.GXValidFnc[91]={lvl:0,type:"char",len:35,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDSCMULTASEMABERTO",gxz:"ZV80DscMultasEmAberto",gxold:"OV80DscMultasEmAberto",gxvar:"AV80DscMultasEmAberto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV80DscMultasEmAberto=a
},v2z:function(a){gx.O.ZV80DscMultasEmAberto=a},v2c:function(){gx.fn.setControlValue("vDSCMULTASEMABERTO",gx.O.AV80DscMultasEmAberto,0)},c2v:function(){gx.O.AV80DscMultasEmAberto=this.val()},val:function(){return gx.fn.getControlValue("vDSCMULTASEMABERTO")},nac:function(){return false}};this.GXValidFnc[94]={lvl:0,type:"char",len:120,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMPRIMEIROTITULOEMPRESTADO",gxz:"ZV97ScrNomPrimeiroTituloEmprestado",gxold:"OV97ScrNomPrimeiroTituloEmprestado",gxvar:"AV97ScrNomPrimeiroTituloEmprestado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV97ScrNomPrimeiroTituloEmprestado=a
},v2z:function(a){gx.O.ZV97ScrNomPrimeiroTituloEmprestado=a},v2c:function(){gx.fn.setControlValue("vSCRNOMPRIMEIROTITULOEMPRESTADO",gx.O.AV97ScrNomPrimeiroTituloEmprestado,0)},c2v:function(){gx.O.AV97ScrNomPrimeiroTituloEmprestado=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMPRIMEIROTITULOEMPRESTADO")},nac:function(){return false}};this.GXValidFnc[97]={lvl:0,type:"char",len:120,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMSEGUNDOTITULOEMPRESTADO",gxz:"ZV98ScrNomSegundoTituloEmprestado",gxold:"OV98ScrNomSegundoTituloEmprestado",gxvar:"AV98ScrNomSegundoTituloEmprestado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV98ScrNomSegundoTituloEmprestado=a
},v2z:function(a){gx.O.ZV98ScrNomSegundoTituloEmprestado=a},v2c:function(){gx.fn.setControlValue("vSCRNOMSEGUNDOTITULOEMPRESTADO",gx.O.AV98ScrNomSegundoTituloEmprestado,0)},c2v:function(){gx.O.AV98ScrNomSegundoTituloEmprestado=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMSEGUNDOTITULOEMPRESTADO")},nac:function(){return false}};this.GXValidFnc[100]={lvl:0,type:"char",len:120,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMTERCEIROTITULOEMPRESTADO",gxz:"ZV99ScrNomTerceiroTituloEmprestado",gxold:"OV99ScrNomTerceiroTituloEmprestado",gxvar:"AV99ScrNomTerceiroTituloEmprestado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV99ScrNomTerceiroTituloEmprestado=a
},v2z:function(a){gx.O.ZV99ScrNomTerceiroTituloEmprestado=a},v2c:function(){gx.fn.setControlValue("vSCRNOMTERCEIROTITULOEMPRESTADO",gx.O.AV99ScrNomTerceiroTituloEmprestado,0)},c2v:function(){gx.O.AV99ScrNomTerceiroTituloEmprestado=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMTERCEIROTITULOEMPRESTADO")},nac:function(){return false}};this.GXValidFnc[103]={lvl:0,type:"char",len:120,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMQUARTOTITULOEMPRESTADO",gxz:"ZV107ScrNomQuartoTituloEmprestado",gxold:"OV107ScrNomQuartoTituloEmprestado",gxvar:"AV107ScrNomQuartoTituloEmprestado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV107ScrNomQuartoTituloEmprestado=a
},v2z:function(a){gx.O.ZV107ScrNomQuartoTituloEmprestado=a},v2c:function(){gx.fn.setControlValue("vSCRNOMQUARTOTITULOEMPRESTADO",gx.O.AV107ScrNomQuartoTituloEmprestado,0)},c2v:function(){gx.O.AV107ScrNomQuartoTituloEmprestado=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMQUARTOTITULOEMPRESTADO")},nac:function(){return false}};this.GXValidFnc[106]={lvl:0,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATDEVESPECIAL",gxz:"ZV30DatDevEspecial",gxold:"OV30DatDevEspecial",gxvar:"AV30DatDevEspecial",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.AV30DatDevEspecial=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV30DatDevEspecial=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATDEVESPECIAL",gx.O.AV30DatDevEspecial,0)},c2v:function(){gx.O.AV30DatDevEspecial=this.val()},val:function(){return gx.fn.getControlValue("vDATDEVESPECIAL")},nac:function(){return false}};this.GXValidFnc[107]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSUCODRESPONSAVEL",gxz:"ZV58UsuCodResponsavel",gxold:"OV58UsuCodResponsavel",gxvar:"AV58UsuCodResponsavel",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV58UsuCodResponsavel=a
},v2z:function(a){gx.O.ZV58UsuCodResponsavel=a},v2c:function(){gx.fn.setControlValue("vUSUCODRESPONSAVEL",gx.O.AV58UsuCodResponsavel,0)},c2v:function(){gx.O.AV58UsuCodResponsavel=this.val()},val:function(){return gx.fn.getControlValue("vUSUCODRESPONSAVEL")},nac:function(){return false}};this.GXValidFnc[109]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDCONFIRMARRETIRADA",gxz:"ZV92ScrIndConfirmarRetirada",gxold:"OV92ScrIndConfirmarRetirada",gxvar:"AV92ScrIndConfirmarRetirada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV92ScrIndConfirmarRetirada=a
},v2z:function(a){gx.O.ZV92ScrIndConfirmarRetirada=a},v2c:function(){gx.fn.setCheckBoxValue("vSCRINDCONFIRMARRETIRADA",gx.O.AV92ScrIndConfirmarRetirada,"S")},c2v:function(){gx.O.AV92ScrIndConfirmarRetirada=this.val()},val:function(){return gx.fn.getCheckBoxValue("vSCRINDCONFIRMARRETIRADA","S","N")},nac:function(){return false}};this.GXValidFnc[113]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:112,gxgrid:this.Grid3Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROTOMBO",gxz:"ZV86GrdNroTombo",gxold:"OV86GrdNroTombo",gxvar:"AV86GrdNroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV86GrdNroTombo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV86GrdNroTombo=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROTOMBO",gx.fn.currentGridRowImpl(112),gx.O.AV86GrdNroTombo,0)},c2v:function(){gx.O.AV86GrdNroTombo=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROTOMBO",gx.fn.currentGridRowImpl(112),".")},nac:function(){return false}};this.GXValidFnc[114]={lvl:2,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:112,gxgrid:this.Grid3Container,fnc:null,isvalid:null,fld:"vGRDDATDEVOLUCAOPREVISTA",gxz:"ZV37GrdDatDevolucaoPrevista",gxold:"OV37GrdDatDevolucaoPrevista",gxvar:"AV37GrdDatDevolucaoPrevista",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.AV37GrdDatDevolucaoPrevista=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV37GrdDatDevolucaoPrevista=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATDEVOLUCAOPREVISTA",gx.fn.currentGridRowImpl(112),gx.O.AV37GrdDatDevolucaoPrevista,0)},c2v:function(){gx.O.AV37GrdDatDevolucaoPrevista=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATDEVOLUCAOPREVISTA",gx.fn.currentGridRowImpl(112))},nac:function(){return false}};this.GXValidFnc[115]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:112,gxgrid:this.Grid3Container,fnc:null,isvalid:null,fld:"vGRDTIPEMPRESTIMO",gxz:"ZV113GrdTipEmprestimo",gxold:"OV113GrdTipEmprestimo",gxvar:"AV113GrdTipEmprestimo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV113GrdTipEmprestimo=a
},v2z:function(a){gx.O.ZV113GrdTipEmprestimo=a},v2c:function(){gx.fn.setGridComboBoxValue("vGRDTIPEMPRESTIMO",gx.fn.currentGridRowImpl(112),gx.O.AV113GrdTipEmprestimo)},c2v:function(){gx.O.AV113GrdTipEmprestimo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDTIPEMPRESTIMO",gx.fn.currentGridRowImpl(112))},nac:function(){return false}};this.GXValidFnc[116]={lvl:2,type:"char",len:90,dec:0,sign:false,ro:0,grid:112,gxgrid:this.Grid3Container,fnc:null,isvalid:null,fld:"vGRDDSCTITULOMENSAGEM",gxz:"ZV38GrdDscTituloMensagem",gxold:"OV38GrdDscTituloMensagem",gxvar:"AV38GrdDscTituloMensagem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV38GrdDscTituloMensagem=a
},v2z:function(a){gx.O.ZV38GrdDscTituloMensagem=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCTITULOMENSAGEM",gx.fn.currentGridRowImpl(112),gx.O.AV38GrdDscTituloMensagem,0)},c2v:function(){gx.O.AV38GrdDscTituloMensagem=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCTITULOMENSAGEM",gx.fn.currentGridRowImpl(112))},nac:function(){return false}};this.AV9UsbCod="";this.ZV9UsbCod="";this.OV9UsbCod="";this.AV22UsbNom="";this.ZV22UsbNom="";this.OV22UsbNom="";this.AV8UsuCodUnidDepositaria=0;
this.ZV8UsuCodUnidDepositaria=0;this.OV8UsuCodUnidDepositaria=0;this.AV27TiuDes="";this.ZV27TiuDes="";this.OV27TiuDes="";this.AV54EptNroSequencia=0;this.ZV54EptNroSequencia=0;this.OV54EptNroSequencia=0;this.AV29TipEmprestimo="";this.ZV29TipEmprestimo="";this.OV29TipEmprestimo="";this.AV121ScrDscTipoEmprestimo="";this.ZV121ScrDscTipoEmprestimo="";this.OV121ScrDscTipoEmprestimo="";this.AV28DatRetirada=gx.date.nullDate();this.ZV28DatRetirada=gx.date.nullDate();this.OV28DatRetirada=gx.date.nullDate();
this.AV67NroTomboEditado="";this.ZV67NroTomboEditado="";this.OV67NroTomboEditado="";this.ZV65FotoBitMap="";this.OV65FotoBitMap="";this.AV73DscItensEmprestados="";this.ZV73DscItensEmprestados="";this.OV73DscItensEmprestados="";this.AV82DscItemAtrasado="";this.ZV82DscItemAtrasado="";this.OV82DscItemAtrasado="";this.AV80DscMultasEmAberto="";this.ZV80DscMultasEmAberto="";this.OV80DscMultasEmAberto="";this.AV97ScrNomPrimeiroTituloEmprestado="";this.ZV97ScrNomPrimeiroTituloEmprestado="";this.OV97ScrNomPrimeiroTituloEmprestado="";
this.AV98ScrNomSegundoTituloEmprestado="";this.ZV98ScrNomSegundoTituloEmprestado="";this.OV98ScrNomSegundoTituloEmprestado="";this.AV99ScrNomTerceiroTituloEmprestado="";this.ZV99ScrNomTerceiroTituloEmprestado="";this.OV99ScrNomTerceiroTituloEmprestado="";this.AV107ScrNomQuartoTituloEmprestado="";this.ZV107ScrNomQuartoTituloEmprestado="";this.OV107ScrNomQuartoTituloEmprestado="";this.AV30DatDevEspecial=gx.date.nullDate();this.ZV30DatDevEspecial=gx.date.nullDate();this.OV30DatDevEspecial=gx.date.nullDate();
this.AV58UsuCodResponsavel="";this.ZV58UsuCodResponsavel="";this.OV58UsuCodResponsavel="";this.AV92ScrIndConfirmarRetirada="";this.ZV92ScrIndConfirmarRetirada="";this.OV92ScrIndConfirmarRetirada="";this.ZV86GrdNroTombo=0;this.OV86GrdNroTombo=0;this.ZV37GrdDatDevolucaoPrevista=gx.date.nullDate();this.OV37GrdDatDevolucaoPrevista=gx.date.nullDate();this.ZV113GrdTipEmprestimo="";this.OV113GrdTipEmprestimo="";this.ZV38GrdDscTituloMensagem="";this.OV38GrdDscTituloMensagem="";this.AV65FotoBitMap="";this.AV86GrdNroTombo=0;
this.AV37GrdDatDevolucaoPrevista=gx.date.nullDate();this.AV113GrdTipEmprestimo="";this.AV38GrdDscTituloMensagem="";this.A316DvoNroTomo=0;this.A317DvoNroVolu=0;this.A281DoeNroSequ=0;this.A922UndCod=0;this.A258DocNro=0;this.A315DvoNroTomb=0;this.A1016CaeIndAcum="";this.A84CaeNom="";this.A1114DvoCodUnid=0;this.A1113DvoTipSitu="";this.A78CaeCampo1L="";this.A79CaeCod=0;this.A787UsbCod="";this.A786UsbNom="";this.A883TiuCod="";this.A884TiuDes="";this.AV71Vt1Tombo=[];this.AV70Vt1DatDevPrevista=[];this.AV55QtdItensEmprestados=0;
this.AV33i=0;this.AV119PrimeiraVez="";this.AV118Agora=gx.date.nullDate();this.AV81IndPossuiAtrasos="";this.ServerEvents=["e115a2_client","e125a2_client","e135a2_client","e185a2_client"];this.EnterCtrl=["BUTTON4"];this.SetStandaloneVars()}himh067.prototype=new gx.GxObject;gx.setParentObj(new himh067());