gx.evt.autoSkip=false;function hmih029(){this.ServerClass="HMih029";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV75MsgFuncaoDesabilitada=gx.fn.getControlValue("vMSGFUNCAODESABILITADA");this.AV48UsbCodCriptografado=gx.fn.getControlValue("vUSBCODCRIPTOGRAFADO");this.AV46DSIOrigem=gx.fn.getControlValue("vDSIORIGEM");this.AV37IndDsiLiberado=gx.fn.getControlValue("vINDDSILIBERADO");this.AV44IndSolCompraLiberada=gx.fn.getControlValue("vINDSOLCOMPRALIBERADA");
this.AV42IndPodeMudarEmail=gx.fn.getControlValue("vINDPODEMUDAREMAIL");this.AV26IndVisaoUs=gx.fn.getControlValue("vINDVISAOUS");this.AV5UsbCod=gx.fn.getControlValue("vUSBCOD");this.AV14DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV73IndPodeMudarSenha=gx.fn.getControlValue("vINDPODEMUDARSENHA");this.AV25SenhaUsb=gx.fn.getControlValue("vSENHAUSB");this.AV47UsbCodParm=gx.fn.getControlValue("vUSBCODPARM")};this.s112_client=function(){if(this.AV69CodIdiomaLeitor=="ENG"){gx.fn.setCtrlProperty("RENOVACAO","Caption","Renovation");
gx.fn.setCtrlProperty("HISTORICO","Caption","Loans historic list");gx.fn.setCtrlProperty("VERRESERVAS","Caption","See reservations");gx.fn.setCtrlProperty("LISTAGEMAQUISICOES","Caption","List of acquisitions");gx.fn.setCtrlProperty("ASSUNTOSDSI","Caption","Authors and subjects of interest (DSI)");gx.fn.setCtrlProperty("PESQUISARDSI","Caption","Search DSI");gx.fn.setCtrlProperty("SUGESTOES","Caption","Suggested acquisitions");gx.fn.setCtrlProperty("BIBLIOGRAFIA","Caption","Bibliographic disciplines");
gx.fn.setCtrlProperty("MUDAREMAIL","Caption","Change e-mail");gx.fn.setCtrlProperty("MUDARSENHA","Caption","New password");gx.fn.setCtrlProperty("COMENTARIOSRECENTES","Caption","Recent comments");gx.fn.setCtrlProperty("COMENTARIOS","Caption","more...")}};this.e222u1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("hmih006.aspx",[]),[]);this.refreshOutputs([])};this.e232u1_client=function(){this.clearMessages();if(this.AV37IndDsiLiberado=="S"){gx.popup.openUrl(gx.http.formatLink("hmih062.aspx",[this.AV46DSIOrigem,this.AV48UsbCodCriptografado]),["AV46DSIOrigem","AV48UsbCodCriptografado"])
}else{this.addMessage(this.AV75MsgFuncaoDesabilitada)}this.refreshOutputs([])};this.e242u1_client=function(){this.clearMessages();if(this.AV44IndSolCompraLiberada=="S"){gx.popup.openUrl(gx.http.formatLink("himh265.aspx",["L"]),[])}else{this.addMessage(this.AV75MsgFuncaoDesabilitada)}this.refreshOutputs([])};this.e262u1_client=function(){this.clearMessages();if(this.AV26IndVisaoUs=="N"&&this.AV42IndPodeMudarEmail=="S"){gx.popup.openUrl(gx.http.formatLink("hmih030.aspx",[this.AV48UsbCodCriptografado]),["AV48UsbCodCriptografado"])
}else{this.addMessage(this.AV75MsgFuncaoDesabilitada)}this.refreshOutputs([])};this.e272u1_client=function(){this.clearMessages();if(this.AV26IndVisaoUs=="N"&&this.AV25SenhaUsb=="S"&&this.AV73IndPodeMudarSenha=="S"){this.AV14DocNro=0;gx.popup.openUrl(gx.http.formatLink("hmih017.aspx",["USUARIO","SERVICOS",this.AV14DocNro,this.AV5UsbCod]),["","","AV14DocNro","AV5UsbCod"])}else{this.addMessage(this.AV75MsgFuncaoDesabilitada)}this.refreshOutputs([{av:"AV14DocNro",fld:"vDOCNRO"}])};this.e202u1_client=function(){this.clearMessages();
gx.popup.openUrl(gx.http.formatLink("himh152.aspx",[]),[]);this.refreshOutputs([])};this.e252u1_client=function(){this.clearMessages();this.AV77Window.Url=gx.http.formatLink("timt104.aspx",[this.AV5UsbCod,10]);this.AV77Window.Height=750;this.AV77Window.Width=900;gx.popup.open(this.AV77Window);this.refreshOutputs([{ctrl:"vWINDOW",prop:"Width"},{ctrl:"vWINDOW",prop:"Height"},{ctrl:"vWINDOW",prop:"Object"}])};this.e212u1_client=function(){this.clearMessages();this.refreshOutputs([])};this.e182u2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e112u2_client=function(){this.executeServerEvent("'RENOVAçãO'",false)};this.e122u2_client=function(){this.executeServerEvent("'VERRESERVAS'",false)};this.e132u2_client=function(){this.executeServerEvent("'LISTAAQUISICOES'",false)};this.e142u2_client=function(){this.executeServerEvent("'PESQUISARDSI'",false)};this.e152u2_client=function(){this.executeServerEvent("'BIBLIOGRAFIA'",false)};this.e282u2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[6,9,69,72,74,76,77,78,79];
this.GXLastCtrlId=79;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",75,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hmih029",[],false,1,false,true,5,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(242,76,"DOCDESL1TI","","","DocDesL1Ti","char",0,"px",250,250,"left",null,[],242,"DocDesL1Ti",true,0,false,false);this.Grid1Container.addSingleLineEdit(133,77,"CMTDSCCOME","","","CmtDscCome","svchar",0,"px",999,999,"left",null,[],133,"CmtDscCome",true,0,false,false);
this.setGrid(this.Grid1Container);this.GXValidFnc[6]={fld:"TABLE5",grid:0};this.GXValidFnc[9]={fld:"TABLE1",grid:0};this.GXValidFnc[69]={fld:"TABLE4",grid:0};this.GXValidFnc[72]={fld:"COMENTARIOSRECENTES",format:0,grid:0};this.GXValidFnc[74]={fld:"COMENTARIOS",format:0,grid:0};this.GXValidFnc[76]={lvl:2,type:"char",len:250,dec:0,sign:false,ro:1,grid:75,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOCDESL1TI",gxz:"Z242DocDesL1Ti",gxold:"O242DocDesL1Ti",gxvar:"A242DocDesL1Ti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A242DocDesL1Ti=a
},v2z:function(a){gx.O.Z242DocDesL1Ti=a},v2c:function(){gx.fn.setGridControlValue("DOCDESL1TI",gx.fn.currentGridRowImpl(75),gx.O.A242DocDesL1Ti,0)},c2v:function(){gx.O.A242DocDesL1Ti=this.val()},val:function(){return gx.fn.getGridControlValue("DOCDESL1TI",gx.fn.currentGridRowImpl(75))},nac:function(){return false}};this.GXValidFnc[77]={lvl:2,type:"svchar",len:999,dec:0,sign:false,ro:1,grid:75,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CMTDSCCOME",gxz:"Z133CmtDscCome",gxold:"O133CmtDscCome",gxvar:"A133CmtDscCome",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A133CmtDscCome=a
},v2z:function(a){gx.O.Z133CmtDscCome=a},v2c:function(){gx.fn.setGridControlValue("CMTDSCCOME",gx.fn.currentGridRowImpl(75),gx.O.A133CmtDscCome,0)},c2v:function(){gx.O.A133CmtDscCome=this.val()},val:function(){return gx.fn.getGridControlValue("CMTDSCCOME",gx.fn.currentGridRowImpl(75))},nac:function(){return false}};this.GXValidFnc[78]={fld:"HTML",format:1,grid:0};this.GXValidFnc[79]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDMOSTROUENQUETE",gxz:"ZV86ScrIndMostrouEnquete",gxold:"OV86ScrIndMostrouEnquete",gxvar:"AV86ScrIndMostrouEnquete",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV86ScrIndMostrouEnquete=a
},v2z:function(a){gx.O.ZV86ScrIndMostrouEnquete=a},v2c:function(){gx.fn.setControlValue("vSCRINDMOSTROUENQUETE",gx.O.AV86ScrIndMostrouEnquete,0)},c2v:function(){gx.O.AV86ScrIndMostrouEnquete=this.val()},val:function(){return gx.fn.getControlValue("vSCRINDMOSTROUENQUETE")},nac:function(){return false}};this.Z242DocDesL1Ti="";this.O242DocDesL1Ti="";this.Z133CmtDscCome="";this.O133CmtDscCome="";this.AV86ScrIndMostrouEnquete="";this.ZV86ScrIndMostrouEnquete="";this.OV86ScrIndMostrouEnquete="";this.AV47UsbCodParm="";
this.A1011CmtIndAtiv="";this.A135CmtNroSequ=0;this.A258DocNro=0;this.A134CmtDthRegi=gx.date.nullDate();this.A242DocDesL1Ti="";this.A133CmtDscCome="";this.A1030IaeInd2Liv="";this.A1017IaeTipInte=0;this.A1019IaeNomServ="";this.A1147IaeDscIden="";this.A787UsbCod="";this.A786UsbNom="";this.A934UsbDatVali=gx.date.nullDate();this.AV75MsgFuncaoDesabilitada="";this.AV48UsbCodCriptografado="";this.AV46DSIOrigem="";this.AV37IndDsiLiberado="";this.AV44IndSolCompraLiberada="";this.AV42IndPodeMudarEmail="";this.AV26IndVisaoUs="";
this.AV5UsbCod="";this.AV14DocNro=0;this.AV73IndPodeMudarSenha="";this.AV25SenhaUsb="";this.AV69CodIdiomaLeitor="";this.AV77Window={};this.ServerEvents=["e182u2_client","e112u2_client","e122u2_client","e132u2_client","e142u2_client","e152u2_client","e282u2_client"];this.VarControlMap.AV75MsgFuncaoDesabilitada={id:"vMSGFUNCAODESABILITADA",grid:0,type:"char"};this.VarControlMap.AV48UsbCodCriptografado={id:"vUSBCODCRIPTOGRAFADO",grid:0,type:"char"};this.VarControlMap.AV46DSIOrigem={id:"vDSIORIGEM",grid:0,type:"char"};
this.VarControlMap.AV37IndDsiLiberado={id:"vINDDSILIBERADO",grid:0,type:"char"};this.VarControlMap.AV44IndSolCompraLiberada={id:"vINDSOLCOMPRALIBERADA",grid:0,type:"char"};this.VarControlMap.AV42IndPodeMudarEmail={id:"vINDPODEMUDAREMAIL",grid:0,type:"char"};this.VarControlMap.AV26IndVisaoUs={id:"vINDVISAOUS",grid:0,type:"char"};this.VarControlMap.AV5UsbCod={id:"vUSBCOD",grid:0,type:"char"};this.VarControlMap.AV14DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV73IndPodeMudarSenha={id:"vINDPODEMUDARSENHA",grid:0,type:"char"};
this.VarControlMap.AV25SenhaUsb={id:"vSENHAUSB",grid:0,type:"char"};this.VarControlMap.AV47UsbCodParm={id:"vUSBCODPARM",grid:0,type:"char"};this.Grid1Container.addRefreshingVar({rfrVar:"A133CmtDscCome",rfrProp:"Title"});this.Grid1Container.addRefreshingVar({rfrVar:"A242DocDesL1Ti",rfrProp:"Title"});this.SetStandaloneVars()}hmih029.prototype=new gx.GxObject;gx.setParentObj(new hmih029());