gx.evt.autoSkip=false;function himh183(){this.ServerClass="Himh183";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e11em2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e15em2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e13em2_client=function(){this.executeServerEvent("'RETIRAR'",false)};this.e17em2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};
this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,20,22,24,26,28,30,33,36,38,40,42,44,46,48,54,55,56,57,58,59,60,61,62,63,64,65,66,67,70];this.GXLastCtrlId=70;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",53,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh183",[],false,1,false,true,12,true,false,false,"",0,"px","Novo registro",true,false,true,null,null,false,"");this.Grid1Container.addCheckBox("Grdindselecao",54,"vGRDINDSELECAO","","","GrdIndSelecao","char","S","N",null,true,false,0,"px");
this.Grid1Container.addSingleLineEdit("Grdnrodocumento",55,"vGRDNRODOCUMENTO","Documento","","GrdNroDocumento","int",72,"px",6,6,"right",null,[],"Grdnrodocumento","GrdNroDocumento",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddsctitulo",56,"vGRDDSCTITULO","Título","","GrdDscTitulo","char",0,"px",53,53,"left",null,[],"Grddsctitulo","GrdDscTitulo",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddatcadastramento",57,"vGRDDATCADASTRAMENTO","Cadastramento","","GrdDatCadastramento","date",0,"px",10,10,"right",null,[],"Grddatcadastramento","GrdDatCadastramento",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grdcodleitor",58,"vGRDCODLEITOR","Leitor","","GrdCodLeitor","char",0,"px",14,14,"left",null,[],"Grdcodleitor","GrdCodLeitor",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnomleitor",59,"vGRDNOMLEITOR","Nome","","GrdNomLeitor","char",0,"px",50,50,"left",null,[],"Grdnomleitor","GrdNomLeitor",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddatreserva",60,"vGRDDATRESERVA","Reserva","","GrdDatReserva","date",0,"px",10,10,"right",null,[],"Grddatreserva","GrdDatReserva",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grddatretirada",61,"vGRDDATRETIRADA","Retirada","","GrdDatRetirada","date",0,"px",10,10,"right",null,[],"Grddatretirada","GrdDatRetirada",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddscanotacoes",62,"vGRDDSCANOTACOES","Anotações","","GrdDscAnotacoes","char",0,"px",50,50,"left",null,[],"Grddscanotacoes","GrdDscAnotacoes",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdcodunidadedepositaria",63,"vGRDCODUNIDADEDEPOSITARIA","Unid","","GrdCodUnidadeDepositaria","int",29,"px",3,3,"right",null,[],"Grdcodunidadedepositaria","GrdCodUnidadeDepositaria",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grdnroexemplar",64,"vGRDNROEXEMPLAR","Ex","","GrdNroExemplar","int",34,"px",4,4,"right",null,[],"Grdnroexemplar","GrdNroExemplar",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnroitem",65,"vGRDNROITEM","Item","","GrdNroItem","int",0,"px",6,6,"right",null,[],"Grdnroitem","GrdNroItem",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnroduplicata",66,"vGRDNRODUPLICATA","Duplicata","","GrdNroDuplicata","int",60,"px",2,2,"right",null,[],"Grdnroduplicata","GrdNroDuplicata",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grdcodchave",67,"vGRDCODCHAVE","Grd Cod Chave","","GrdCodChave","char",0,"px",30,30,"left",null,[],"Grdcodchave","GrdCodChave",false,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE3",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[20]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[22]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATCADASTRAMENTOINICIAL",gxz:"ZV75DatCadastramentoInicial",gxold:"OV75DatCadastramentoInicial",gxvar:"AV75DatCadastramentoInicial",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV75DatCadastramentoInicial=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV75DatCadastramentoInicial=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATCADASTRAMENTOINICIAL",gx.O.AV75DatCadastramentoInicial,0)},c2v:function(){gx.O.AV75DatCadastramentoInicial=this.val()},val:function(){return gx.fn.getControlValue("vDATCADASTRAMENTOINICIAL")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATCADASTRAMENTOFINAL",gxz:"ZV76DatCadastramentoFinal",gxold:"OV76DatCadastramentoFinal",gxvar:"AV76DatCadastramentoFinal",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV76DatCadastramentoFinal=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV76DatCadastramentoFinal=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATCADASTRAMENTOFINAL",gx.O.AV76DatCadastramentoFinal,0)},c2v:function(){gx.O.AV76DatCadastramentoFinal=this.val()},val:function(){return gx.fn.getControlValue("vDATCADASTRAMENTOFINAL")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDSITUACAO",gxz:"ZV77IndSituacao",gxold:"OV77IndSituacao",gxvar:"AV77IndSituacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV77IndSituacao=a
},v2z:function(a){gx.O.ZV77IndSituacao=a},v2c:function(){gx.fn.setComboBoxValue("vINDSITUACAO",gx.O.AV77IndSituacao)},c2v:function(){gx.O.AV77IndSituacao=this.val()},val:function(){return gx.fn.getControlValue("vINDSITUACAO")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TABLE2",grid:0};this.GXValidFnc[36]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[38]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBCOD",gxz:"ZV79UsbCod",gxold:"OV79UsbCod",gxvar:"AV79UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV79UsbCod=a
},v2z:function(a){gx.O.ZV79UsbCod=a},v2c:function(){gx.fn.setControlValue("vUSBCOD",gx.O.AV79UsbCod,0)},c2v:function(){gx.O.AV79UsbCod=this.val()},val:function(){return gx.fn.getControlValue("vUSBCOD")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATRETIRADA",gxz:"ZV81DatRetirada",gxold:"OV81DatRetirada",gxvar:"AV81DatRetirada",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV81DatRetirada=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV81DatRetirada=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATRETIRADA",gx.O.AV81DatRetirada,0)},c2v:function(){gx.O.AV81DatRetirada=this.val()},val:function(){return gx.fn.getControlValue("vDATRETIRADA")},nac:function(){return false}};this.GXValidFnc[46]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[48]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDSCANOTACOESRETIRADA",gxz:"ZV82DscAnotacoesRetirada",gxold:"OV82DscAnotacoesRetirada",gxvar:"AV82DscAnotacoesRetirada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV82DscAnotacoesRetirada=a
},v2z:function(a){gx.O.ZV82DscAnotacoesRetirada=a},v2c:function(){gx.fn.setControlValue("vDSCANOTACOESRETIRADA",gx.O.AV82DscAnotacoesRetirada,0)},c2v:function(){gx.O.AV82DscAnotacoesRetirada=this.val()},val:function(){return gx.fn.getControlValue("vDSCANOTACOESRETIRADA")},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDINDSELECAO",gxz:"ZV61GrdIndSelecao",gxold:"OV61GrdIndSelecao",gxvar:"AV61GrdIndSelecao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV61GrdIndSelecao=a
},v2z:function(a){gx.O.ZV61GrdIndSelecao=a},v2c:function(){gx.fn.setGridCheckBoxValue("vGRDINDSELECAO",gx.fn.currentGridRowImpl(53),gx.O.AV61GrdIndSelecao,"S")},c2v:function(){gx.O.AV61GrdIndSelecao=this.val()},val:function(){return gx.fn.getGridCheckBoxValue("vGRDINDSELECAO",gx.fn.currentGridRowImpl(53),"S","N")},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNRODOCUMENTO",gxz:"ZV62GrdNroDocumento",gxold:"OV62GrdNroDocumento",gxvar:"AV62GrdNroDocumento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV62GrdNroDocumento=gx.num.intval(a)
},v2z:function(a){gx.O.ZV62GrdNroDocumento=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNRODOCUMENTO",gx.fn.currentGridRowImpl(53),gx.O.AV62GrdNroDocumento,0)},c2v:function(){gx.O.AV62GrdNroDocumento=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNRODOCUMENTO",gx.fn.currentGridRowImpl(53),".")},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"char",len:53,dec:0,sign:false,ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCTITULO",gxz:"ZV67GrdDscTitulo",gxold:"OV67GrdDscTitulo",gxvar:"AV67GrdDscTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV67GrdDscTitulo=a
},v2z:function(a){gx.O.ZV67GrdDscTitulo=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCTITULO",gx.fn.currentGridRowImpl(53),gx.O.AV67GrdDscTitulo,0)},c2v:function(){gx.O.AV67GrdDscTitulo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCTITULO",gx.fn.currentGridRowImpl(53))},nac:function(){return false}};this.GXValidFnc[57]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDATCADASTRAMENTO",gxz:"ZV68GrdDatCadastramento",gxold:"OV68GrdDatCadastramento",gxvar:"AV68GrdDatCadastramento",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV68GrdDatCadastramento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV68GrdDatCadastramento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATCADASTRAMENTO",gx.fn.currentGridRowImpl(53),gx.O.AV68GrdDatCadastramento,0)},c2v:function(){gx.O.AV68GrdDatCadastramento=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATCADASTRAMENTO",gx.fn.currentGridRowImpl(53))},nac:function(){return false}};this.GXValidFnc[58]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDCODLEITOR",gxz:"ZV69GrdCodLeitor",gxold:"OV69GrdCodLeitor",gxvar:"AV69GrdCodLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV69GrdCodLeitor=a
},v2z:function(a){gx.O.ZV69GrdCodLeitor=a},v2c:function(){gx.fn.setGridControlValue("vGRDCODLEITOR",gx.fn.currentGridRowImpl(53),gx.O.AV69GrdCodLeitor,0)},c2v:function(){gx.O.AV69GrdCodLeitor=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDCODLEITOR",gx.fn.currentGridRowImpl(53))},nac:function(){return false}};this.GXValidFnc[59]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDNOMLEITOR",gxz:"ZV70GrdNomLeitor",gxold:"OV70GrdNomLeitor",gxvar:"AV70GrdNomLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV70GrdNomLeitor=a
},v2z:function(a){gx.O.ZV70GrdNomLeitor=a},v2c:function(){gx.fn.setGridControlValue("vGRDNOMLEITOR",gx.fn.currentGridRowImpl(53),gx.O.AV70GrdNomLeitor,0)},c2v:function(){gx.O.AV70GrdNomLeitor=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNOMLEITOR",gx.fn.currentGridRowImpl(53))},nac:function(){return false}};this.GXValidFnc[60]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDATRESERVA",gxz:"ZV71GrdDatReserva",gxold:"OV71GrdDatReserva",gxvar:"AV71GrdDatReserva",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV71GrdDatReserva=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV71GrdDatReserva=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATRESERVA",gx.fn.currentGridRowImpl(53),gx.O.AV71GrdDatReserva,0)},c2v:function(){gx.O.AV71GrdDatReserva=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATRESERVA",gx.fn.currentGridRowImpl(53))},nac:function(){return false}};this.GXValidFnc[61]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDATRETIRADA",gxz:"ZV73GrdDatRetirada",gxold:"OV73GrdDatRetirada",gxvar:"AV73GrdDatRetirada",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV73GrdDatRetirada=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV73GrdDatRetirada=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vGRDDATRETIRADA",gx.fn.currentGridRowImpl(53),gx.O.AV73GrdDatRetirada,0)},c2v:function(){gx.O.AV73GrdDatRetirada=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDATRETIRADA",gx.fn.currentGridRowImpl(53))},nac:function(){return false}};this.GXValidFnc[62]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCANOTACOES",gxz:"ZV74GrdDscAnotacoes",gxold:"OV74GrdDscAnotacoes",gxvar:"AV74GrdDscAnotacoes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV74GrdDscAnotacoes=a
},v2z:function(a){gx.O.ZV74GrdDscAnotacoes=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCANOTACOES",gx.fn.currentGridRowImpl(53),gx.O.AV74GrdDscAnotacoes,0)},c2v:function(){gx.O.AV74GrdDscAnotacoes=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCANOTACOES",gx.fn.currentGridRowImpl(53))},nac:function(){return false}};this.GXValidFnc[63]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDCODUNIDADEDEPOSITARIA",gxz:"ZV63GrdCodUnidadeDepositaria",gxold:"OV63GrdCodUnidadeDepositaria",gxvar:"AV63GrdCodUnidadeDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV63GrdCodUnidadeDepositaria=gx.num.intval(a)
},v2z:function(a){gx.O.ZV63GrdCodUnidadeDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDCODUNIDADEDEPOSITARIA",gx.fn.currentGridRowImpl(53),gx.O.AV63GrdCodUnidadeDepositaria,0)},c2v:function(){gx.O.AV63GrdCodUnidadeDepositaria=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDCODUNIDADEDEPOSITARIA",gx.fn.currentGridRowImpl(53),".")},nac:function(){return false}};this.GXValidFnc[64]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROEXEMPLAR",gxz:"ZV64GrdNroExemplar",gxold:"OV64GrdNroExemplar",gxvar:"AV64GrdNroExemplar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV64GrdNroExemplar=gx.num.intval(a)
},v2z:function(a){gx.O.ZV64GrdNroExemplar=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROEXEMPLAR",gx.fn.currentGridRowImpl(53),gx.O.AV64GrdNroExemplar,0)},c2v:function(){gx.O.AV64GrdNroExemplar=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROEXEMPLAR",gx.fn.currentGridRowImpl(53),".")},nac:function(){return false}};this.GXValidFnc[65]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROITEM",gxz:"ZV65GrdNroItem",gxold:"OV65GrdNroItem",gxvar:"AV65GrdNroItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV65GrdNroItem=gx.num.intval(a)
},v2z:function(a){gx.O.ZV65GrdNroItem=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROITEM",gx.fn.currentGridRowImpl(53),gx.O.AV65GrdNroItem,0)},c2v:function(){gx.O.AV65GrdNroItem=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROITEM",gx.fn.currentGridRowImpl(53),".")},nac:function(){return false}};this.GXValidFnc[66]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNRODUPLICATA",gxz:"ZV66GrdNroDuplicata",gxold:"OV66GrdNroDuplicata",gxvar:"AV66GrdNroDuplicata",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV66GrdNroDuplicata=gx.num.intval(a)
},v2z:function(a){gx.O.ZV66GrdNroDuplicata=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNRODUPLICATA",gx.fn.currentGridRowImpl(53),gx.O.AV66GrdNroDuplicata,0)},c2v:function(){gx.O.AV66GrdNroDuplicata=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNRODUPLICATA",gx.fn.currentGridRowImpl(53),".")},nac:function(){return false}};this.GXValidFnc[67]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:0,grid:53,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDCODCHAVE",gxz:"ZV85GrdCodChave",gxold:"OV85GrdCodChave",gxvar:"AV85GrdCodChave",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV85GrdCodChave=a
},v2z:function(a){gx.O.ZV85GrdCodChave=a},v2c:function(){gx.fn.setGridControlValue("vGRDCODCHAVE",gx.fn.currentGridRowImpl(53),gx.O.AV85GrdCodChave,0)},c2v:function(){gx.O.AV85GrdCodChave=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDCODCHAVE",gx.fn.currentGridRowImpl(53))},nac:function(){return false}};this.GXValidFnc[70]={fld:"PROMPT_USBCOD",grid:0};this.AV75DatCadastramentoInicial=gx.date.nullDate();this.ZV75DatCadastramentoInicial=gx.date.nullDate();this.OV75DatCadastramentoInicial=gx.date.nullDate();
this.AV76DatCadastramentoFinal=gx.date.nullDate();this.ZV76DatCadastramentoFinal=gx.date.nullDate();this.OV76DatCadastramentoFinal=gx.date.nullDate();this.AV77IndSituacao="";this.ZV77IndSituacao="";this.OV77IndSituacao="";this.AV79UsbCod="";this.ZV79UsbCod="";this.OV79UsbCod="";this.AV81DatRetirada=gx.date.nullDate();this.ZV81DatRetirada=gx.date.nullDate();this.OV81DatRetirada=gx.date.nullDate();this.AV82DscAnotacoesRetirada="";this.ZV82DscAnotacoesRetirada="";this.OV82DscAnotacoesRetirada="";this.ZV61GrdIndSelecao="";
this.OV61GrdIndSelecao="";this.ZV62GrdNroDocumento=0;this.OV62GrdNroDocumento=0;this.ZV67GrdDscTitulo="";this.OV67GrdDscTitulo="";this.ZV68GrdDatCadastramento=gx.date.nullDate();this.OV68GrdDatCadastramento=gx.date.nullDate();this.ZV69GrdCodLeitor="";this.OV69GrdCodLeitor="";this.ZV70GrdNomLeitor="";this.OV70GrdNomLeitor="";this.ZV71GrdDatReserva=gx.date.nullDate();this.OV71GrdDatReserva=gx.date.nullDate();this.ZV73GrdDatRetirada=gx.date.nullDate();this.OV73GrdDatRetirada=gx.date.nullDate();this.ZV74GrdDscAnotacoes="";
this.OV74GrdDscAnotacoes="";this.ZV63GrdCodUnidadeDepositaria=0;this.OV63GrdCodUnidadeDepositaria=0;this.ZV64GrdNroExemplar=0;this.OV64GrdNroExemplar=0;this.ZV65GrdNroItem=0;this.OV65GrdNroItem=0;this.ZV66GrdNroDuplicata=0;this.OV66GrdNroDuplicata=0;this.ZV85GrdCodChave="";this.OV85GrdCodChave="";this.AV61GrdIndSelecao="";this.AV62GrdNroDocumento=0;this.AV67GrdDscTitulo="";this.AV68GrdDatCadastramento=gx.date.nullDate();this.AV69GrdCodLeitor="";this.AV70GrdNomLeitor="";this.AV71GrdDatReserva=gx.date.nullDate();
this.AV73GrdDatRetirada=gx.date.nullDate();this.AV74GrdDscAnotacoes="";this.AV63GrdCodUnidadeDepositaria=0;this.AV64GrdNroExemplar=0;this.AV65GrdNroItem=0;this.AV66GrdNroDuplicata=0;this.AV85GrdCodChave="";this.A859TgeCodTabe="";this.A860TgeValCont="";this.A858TgeCodChav="";this.ServerEvents=["e11em2_client","e15em2_client","e13em2_client","e17em2_client"];this.setPrompt("PROMPT_USBCOD",[40]);this.VarControlMap.AV50GdcDscAnotacoes={id:"vGDCDSCANOTACOES",grid:0,type:"char"};this.VarControlMap.AV49GdcDatRetirada={id:"vGDCDATRETIRADA",grid:0,type:"date"};
this.VarControlMap.AV54GdcIndFoiRetirado={id:"vGDCINDFOIRETIRADO",grid:0,type:"char"};this.VarControlMap.AV53GdcDatReserva={id:"vGDCDATRESERVA",grid:0,type:"date"};this.VarControlMap.AV47GdcCodLeitorInteressado={id:"vGDCCODLEITORINTERESSADO",grid:0,type:"char"};this.VarControlMap.AV48GdcDatCadastramento={id:"vGDCDATCADASTRAMENTO",grid:0,type:"date"};this.VarControlMap.A860TgeValCont={id:"TGEVALCONT",grid:0,type:"char"};this.VarControlMap.A858TgeCodChav={id:"TGECODCHAV",grid:0,type:"char"};this.VarControlMap.A859TgeCodTabe={id:"TGECODTABE",grid:0,type:"char"};
this.Grid1Container.addRefreshingVar(this.GXValidFnc[30]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[26]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[22]);this.Grid1Container.addRefreshingVar({rfrVar:"AV50GdcDscAnotacoes"});this.Grid1Container.addRefreshingVar({rfrVar:"AV49GdcDatRetirada"});this.Grid1Container.addRefreshingVar({rfrVar:"AV54GdcIndFoiRetirado"});this.Grid1Container.addRefreshingVar({rfrVar:"AV53GdcDatReserva"});this.Grid1Container.addRefreshingVar({rfrVar:"AV47GdcCodLeitorInteressado"});
this.Grid1Container.addRefreshingVar({rfrVar:"AV48GdcDatCadastramento"});this.Grid1Container.addRefreshingVar({rfrVar:"A860TgeValCont"});this.Grid1Container.addRefreshingVar({rfrVar:"A858TgeCodChav"});this.Grid1Container.addRefreshingVar({rfrVar:"A859TgeCodTabe"});this.SetStandaloneVars()}himh183.prototype=new gx.GxObject;gx.setParentObj(new himh183());