gx.evt.autoSkip=false;function hmih024b(){this.ServerClass="HMih024b";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV5DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV43ParTipForm=gx.fn.getControlValue("vPARTIPFORM");this.AV67IndOrigem=gx.fn.getControlValue("vINDORIGEM");this.AV72TidIndModoPublicacao=gx.fn.getControlValue("vTIDINDMODOPUBLICACAO");this.AV106UndCodSele=gx.fn.getIntegerValue("vUNDCODSELE",".");this.AV175IndModeloApresentacao=gx.fn.getControlValue("vINDMODELOAPRESENTACAO")
};this.e117j2_client=function(){this.executeServerEvent("'DETALHES'",false)};this.e127j2_client=function(){this.executeServerEvent("'REFERENCIA'",false)};this.e217j2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e137j2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e147j2_client=function(){this.executeServerEvent("'RESERVAR'",false)};this.e157j2_client=function(){this.executeServerEvent("'FILA ESPERA'",false)};this.e167j2_client=function(){this.executeServerEvent("'REGISTRO MARC'",false)
};this.e177j2_client=function(){this.executeServerEvent("'MOVIMENTAçãO'",false)};this.e187j2_client=function(){this.executeServerEvent("'COLEçãO'",false)};this.e227j2_client=function(){this.executeServerEvent("'MENU PRINCIPAL'",true,arguments[0])};this.e257j2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,22,25,29,33,34,35,38,39];this.GXLastCtrlId=39;this.Grid2Container=new gx.grid.grid(this,2,"WbpLvl2",32,"Grid2","Grid2","Grid2Container",this.CmpContext,this.IsMasterPage,"hmih024b",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid2Container.addSingleLineEdit(988,33,"VNCNOMARQU","","","VncNomArqu","char",0,"px",100,100,"left",null,[],988,"VncNomArqu",true,0,false,false);this.Grid2Container.addSingleLineEdit(985,34,"VNCCODEXTE","","","VncCodExte","char",0,"px",10,10,"left",null,[],985,"VncCodExte",true,0,false,false);this.Grid2Container.addBlob(990,35,"VNCVALCONT","","VncValCont","bitstr",1,60,0,"px","px",true,false);this.setGrid(this.Grid2Container);this.Grid1Container=new gx.grid.grid(this,3,"WbpLvl3",37,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hmih024b",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit("Rotulocampo",38,"vROTULOCAMPO","","","RotuloCampo","char",0,"px",20,20,"left",null,[],"Rotulocampo","RotuloCampo",true,0,false,false);this.Grid1Container.addSingleLineEdit("Linha",39,"vLINHA","","","Linha","vchar",0,"px",204800,204800,"left",null,[],"Linha","Linha",true,250,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[22]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[25]={fld:"TABLE2",grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:112,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDSCTEXTOFOLKSONOMIA",gxz:"ZV183DscTextoFolksonomia",gxold:"OV183DscTextoFolksonomia",gxvar:"AV183DscTextoFolksonomia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV183DscTextoFolksonomia=a
},v2z:function(a){gx.O.ZV183DscTextoFolksonomia=a},v2c:function(){gx.fn.setControlValue("vDSCTEXTOFOLKSONOMIA",gx.O.AV183DscTextoFolksonomia,0)},c2v:function(){gx.O.AV183DscTextoFolksonomia=this.val()},val:function(){return gx.fn.getControlValue("vDSCTEXTOFOLKSONOMIA")},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:32,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"VNCNOMARQU",gxz:"Z988VncNomArqu",gxold:"O988VncNomArqu",gxvar:"A988VncNomArqu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A988VncNomArqu=a
},v2z:function(a){gx.O.Z988VncNomArqu=a},v2c:function(){gx.fn.setGridControlValue("VNCNOMARQU",gx.fn.currentGridRowImpl(32),gx.O.A988VncNomArqu,0)},c2v:function(){gx.O.A988VncNomArqu=this.val()},val:function(){return gx.fn.getGridControlValue("VNCNOMARQU",gx.fn.currentGridRowImpl(32))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:32,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"VNCCODEXTE",gxz:"Z985VncCodExte",gxold:"O985VncCodExte",gxvar:"A985VncCodExte",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A985VncCodExte=a
},v2z:function(a){gx.O.Z985VncCodExte=a},v2c:function(){gx.fn.setGridControlValue("VNCCODEXTE",gx.fn.currentGridRowImpl(32),gx.O.A985VncCodExte,0)},c2v:function(){gx.O.A985VncCodExte=this.val()},val:function(){return gx.fn.getGridControlValue("VNCCODEXTE",gx.fn.currentGridRowImpl(32))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"bitstr",len:1024,dec:0,sign:false,ro:1,grid:32,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"VNCVALCONT",gxz:"Z990VncValCont",gxold:"O990VncValCont",gxvar:"A990VncValCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A990VncValCont=a
},v2z:function(a){gx.O.Z990VncValCont=a},v2c:function(){},c2v:function(){gx.O.A990VncValCont=this.val()},val:function(){return gx.fn.getGridControlValue("VNCVALCONT",gx.fn.currentGridRowImpl(32))},nac:function(){return false}};this.GXValidFnc[38]={lvl:3,type:"char",len:20,dec:0,sign:false,ro:1,grid:37,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vROTULOCAMPO",gxz:"ZV176RotuloCampo",gxold:"OV176RotuloCampo",gxvar:"AV176RotuloCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV176RotuloCampo=a
},v2z:function(a){gx.O.ZV176RotuloCampo=a},v2c:function(){gx.fn.setGridControlValue("vROTULOCAMPO",gx.fn.currentGridRowImpl(37),gx.O.AV176RotuloCampo,0)},c2v:function(){gx.O.AV176RotuloCampo=this.val()},val:function(){return gx.fn.getGridControlValue("vROTULOCAMPO",gx.fn.currentGridRowImpl(37))},nac:function(){return false}};this.GXValidFnc[39]={lvl:3,type:"vchar",len:204800,dec:250,sign:false,ro:1,grid:37,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINHA",gxz:"ZV7Linha",gxold:"OV7Linha",gxvar:"AV7Linha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7Linha=a
},v2z:function(a){gx.O.ZV7Linha=a},v2c:function(){gx.fn.setGridControlValue("vLINHA",gx.fn.currentGridRowImpl(37),gx.O.AV7Linha,1)},c2v:function(){gx.O.AV7Linha=this.val()},val:function(){return gx.fn.getGridControlValue("vLINHA",gx.fn.currentGridRowImpl(37))},nac:function(){return false}};this.AV183DscTextoFolksonomia="";this.ZV183DscTextoFolksonomia="";this.OV183DscTextoFolksonomia="";this.Z988VncNomArqu="";this.O988VncNomArqu="";this.Z985VncCodExte="";this.O985VncCodExte="";this.Z990VncValCont="";
this.O990VncValCont="";this.ZV176RotuloCampo="";this.OV176RotuloCampo="";this.ZV7Linha="";this.OV7Linha="";this.AV5DocNro=0;this.AV43ParTipForm="";this.AV67IndOrigem="";this.AV72TidIndModoPublicacao="";this.AV106UndCodSele=0;this.AV175IndModeloApresentacao="";this.A987VncIndRese="";this.A989VncNro=0;this.A986VncCodOrig="";this.A988VncNomArqu="";this.A985VncCodExte="";this.A990VncValCont="";this.A559ParCod=0;this.A558ParCampo1L="";this.AV176RotuloCampo="";this.AV7Linha="";this.A926UndNomSigl="";this.A122CfgCod="";
this.A127CfgValCont="";this.A258DocNro=0;this.A873TidIndRecu="";this.A234DocCodAssu="";this.A869TidIndAnot="";this.A865TidCodDici="";this.A868TidDes="";this.A235DocCodAuto="";this.A248DocDesSecT="";this.A240DocDesEqui="";this.A482IdiDes="";this.A244DocDesNotG="";this.A247DocDesResu="";this.A237DocDesBibl="";this.A871TidIndModo="";this.A863TidCod="";this.A480IdiCod="";this.A512LocNom="";this.A922UndCod=0;this.A513LocNomResp="";this.A359EpiNroTomb=0;this.A358EpiIndDevo="";this.A316DvoNroTomo=0;this.A317DvoNroVolu=0;
this.A281DoeNroSequ=0;this.A787UsbCod="";this.A786UsbNom="";this.A355EpiDatDevP=gx.date.nullDate();this.A364EptNroSequ=0;this.A925UndNomComp="";this.A301DviNroItem=0;this.A300DviNomArqu="";this.A299DviDesVinc="";this.A303DviTipArqu="";this.A114CedNroRepC=0;this.A112CedNroArti=0;this.A113CedNroItem=0;this.A115CedNroSeqC=0;this.A116CedVal1Ind="";this.A767ScdNroSeqS=0;this.A768ScdTipEnti="";this.A764ScdCodEnti="";this.A766ScdNroRepS=0;this.A765ScdNroAgru=0;this.A202DicNroSequ=0;this.A216DisNroSequ=0;
this.A203DicTipMate="";this.A217DisTipEnti="";this.A209DisCodSubc="";this.A200DicNroEtiq="";this.A199DicNomRotu="";this.A171CvdNro=0;this.A172CvdValCont="";this.A287DonDesLinh="";this.A288DonNroSeq=0;this.A192PchDes="";this.A289DpcNroSeq=0;this.A193PchNro=0;this.A231DntNroSequ=0;this.A230DntDesTitu="";this.A229DntDesFisi="";this.A296DtaTipResp="";this.A71AutNom="";this.A74AutNro=0;this.ServerEvents=["e117j2_client","e127j2_client","e217j2_client","e137j2_client","e147j2_client","e157j2_client","e167j2_client","e177j2_client","e187j2_client","e227j2_client","e257j2_client"];
this.VarControlMap.AV5DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV43ParTipForm={id:"vPARTIPFORM",grid:0,type:"char"};this.VarControlMap.AV67IndOrigem={id:"vINDORIGEM",grid:0,type:"char"};this.VarControlMap.AV72TidIndModoPublicacao={id:"vTIDINDMODOPUBLICACAO",grid:0,type:"char"};this.VarControlMap.AV106UndCodSele={id:"vUNDCODSELE",grid:0,type:"int"};this.VarControlMap.AV175IndModeloApresentacao={id:"vINDMODELOAPRESENTACAO",grid:0,type:"char"};this.VarControlMap.AV163VncCodOrigem={id:"vVNCCODORIGEM",grid:0,type:"char"};
this.Grid2Container.addRefreshingVar({rfrVar:"AV163VncCodOrigem"});this.Grid1Container.addRefreshingVar({rfrVar:"AV85IndEstatAtivada"});this.Grid1Container.addRefreshingVar({rfrVar:"AV160QtdExeEmAquisicao"});this.Grid1Container.addRefreshingVar({rfrVar:"A513LocNomResp"});this.Grid1Container.addRefreshingVar({rfrVar:"A512LocNom"});this.Grid1Container.addRefreshingVar({rfrVar:"AV33NomRespon"});this.Grid1Container.addRefreshingVar({rfrVar:"AV60Texto100"});this.Grid1Container.addRefreshingVar({rfrVar:"AV63DesVolume"});
this.Grid1Container.addRefreshingVar({rfrVar:"A355EpiDatDevP"});this.Grid1Container.addRefreshingVar({rfrVar:"A786UsbNom"});this.Grid1Container.addRefreshingVar({rfrVar:"A787UsbCod"});this.Grid1Container.addRefreshingVar({rfrVar:"A358EpiIndDevo"});this.Grid1Container.addRefreshingVar({rfrVar:"A316DvoNroTomo"});this.Grid1Container.addRefreshingVar({rfrVar:"A317DvoNroVolu"});this.Grid1Container.addRefreshingVar({rfrVar:"A281DoeNroSequ"});this.Grid1Container.addRefreshingVar({rfrVar:"Gx_msg"});this.Grid1Container.addRefreshingVar({rfrVar:"AV158TemErro"});
this.Grid1Container.addRefreshingVar({rfrVar:"AV100NroTomoAux"});this.Grid1Container.addRefreshingVar({rfrVar:"A922UndCod"});this.Grid1Container.addRefreshingVar({rfrVar:"A925UndNomComp"});this.Grid1Container.addRefreshingVar({rfrVar:"AV113QtdUndCod"});this.Grid1Container.addRefreshingVar({rfrVar:"AV108DatAquisFim"});this.Grid1Container.addRefreshingVar({rfrVar:"AV107DatAquisIni"});this.Grid1Container.addRefreshingVar({rfrVar:"AV110LocCod"});this.Grid1Container.addRefreshingVar({rfrVar:"AV196RolCategoriaEmprestimo"});
this.Grid1Container.addRefreshingVar({rfrVar:"AV109TpaCod"});this.Grid1Container.addRefreshingVar({rfrVar:"AV111DoeCodProp"});this.Grid1Container.addRefreshingVar({rfrVar:"A871TidIndModo"});this.Grid1Container.addRefreshingVar({rfrVar:"AV105LocNomAnt"});this.Grid1Container.addRefreshingVar({rfrVar:"AV115NomEnderecoWeb"});this.Grid1Container.addRefreshingVar({rfrVar:"A303DviTipArqu"});this.Grid1Container.addRefreshingVar({rfrVar:"AV55LinkAnexo"});this.Grid1Container.addRefreshingVar({rfrVar:"A299DviDesVinc"});
this.Grid1Container.addRefreshingVar({rfrVar:"A300DviNomArqu"});this.Grid1Container.addRefreshingVar({rfrVar:"AV181CvdValConteudo"});this.Grid1Container.addRefreshingVar({rfrVar:"A764ScdCodEnti"});this.Grid1Container.addRefreshingVar({rfrVar:"A209DisCodSubc"});this.Grid1Container.addRefreshingVar({rfrVar:"A217DisTipEnti"});this.Grid1Container.addRefreshingVar({rfrVar:"A768ScdTipEnti"});this.Grid1Container.addRefreshingVar({rfrVar:"A766ScdNroRepS"});this.Grid1Container.addRefreshingVar({rfrVar:"A767ScdNroSeqS"});
this.Grid1Container.addRefreshingVar({rfrVar:"A765ScdNroAgru"});this.Grid1Container.addRefreshingVar({rfrVar:"A199DicNomRotu"});this.Grid1Container.addRefreshingVar({rfrVar:"A200DicNroEtiq"});this.Grid1Container.addRefreshingVar({rfrVar:"A116CedVal1Ind"});this.Grid1Container.addRefreshingVar({rfrVar:"A114CedNroRepC"});this.Grid1Container.addRefreshingVar({rfrVar:"A115CedNroSeqC"});this.Grid1Container.addRefreshingVar({rfrVar:"A112CedNroArti"});this.Grid1Container.addRefreshingVar({rfrVar:"A113CedNroItem"});
this.Grid1Container.addRefreshingVar({rfrVar:"AV172ValQuebraLinha"});this.Grid1Container.addRefreshingVar({rfrVar:"AV152IndMostrou5xx"});this.Grid1Container.addRefreshingVar({rfrVar:"AV153IndMostrou6xx"});this.Grid1Container.addRefreshingVar({rfrVar:"AV142EtiqAnt"});this.Grid1Container.addRefreshingVar({rfrVar:"AV157TxtAux250b"});this.Grid1Container.addRefreshingVar({rfrVar:"AV154CfgLinguagemWeb"});this.Grid1Container.addRefreshingVar({rfrVar:"A172CvdValCont"});this.Grid1Container.addRefreshingVar({rfrVar:"AV150TextoLongoAux"});
this.Grid1Container.addRefreshingVar({rfrVar:"AV144TextoLongo"});this.Grid1Container.addRefreshingVar({rfrVar:"AV8TextoCheio"});this.Grid1Container.addRefreshingVar({rfrVar:"AV128TextoAux"});this.Grid1Container.addRefreshingVar({rfrVar:"AV138QtdAutPerm"});this.Grid1Container.addRefreshingVar({rfrVar:"AV137iCampos"});this.Grid1Container.addRefreshingVar({rfrVar:"AV106UndCodSele"});this.Grid1Container.addRefreshingVar({rfrVar:"AV72TidIndModoPublicacao"});this.Grid1Container.addRefreshingVar({rfrVar:"AV67IndOrigem"});
this.Grid1Container.addRefreshingVar({rfrVar:"AV5DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A287DonDesLinh"});this.Grid1Container.addRefreshingVar({rfrVar:"A288DonNroSeq"});this.Grid1Container.addRefreshingVar({rfrVar:"A192PchDes"});this.Grid1Container.addRefreshingVar({rfrVar:"A289DpcNroSeq"});this.Grid1Container.addRefreshingVar({rfrVar:"A71AutNom"});this.Grid1Container.addRefreshingVar({rfrVar:"A296DtaTipResp"});this.Grid1Container.addRefreshingVar({rfrVar:"A229DntDesFisi"});this.Grid1Container.addRefreshingVar({rfrVar:"A230DntDesTitu"});
this.Grid1Container.addRefreshingVar({rfrVar:"A237DocDesBibl"});this.Grid1Container.addRefreshingVar({rfrVar:"A247DocDesResu"});this.Grid1Container.addRefreshingVar({rfrVar:"A244DocDesNotG"});this.Grid1Container.addRefreshingVar({rfrVar:"A482IdiDes"});this.Grid1Container.addRefreshingVar({rfrVar:"A240DocDesEqui"});this.Grid1Container.addRefreshingVar({rfrVar:"A248DocDesSecT"});this.Grid1Container.addRefreshingVar({rfrVar:"AV124TpaCodAux"});this.Grid1Container.addRefreshingVar({rfrVar:"AV123CodProprietarioAux"});
this.Grid1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A868TidDes"});this.Grid1Container.addRefreshingVar({rfrVar:"A235DocCodAuto"});this.Grid1Container.addRefreshingVar({rfrVar:"AV43ParTipForm"});this.Grid1Container.addRefreshingVar({rfrVar:"AV175IndModeloApresentacao"});this.Grid1Container.addRefreshingVar({rfrVar:"A865TidCodDici"});this.Grid1Container.addRefreshingVar({rfrVar:"A869TidIndAnot"});this.Grid1Container.addRefreshingVar({rfrVar:"A234DocCodAssu"});
this.Grid1Container.addRefreshingVar({rfrVar:"A127CfgValCont"});this.SetStandaloneVars()}hmih024b.prototype=new gx.GxObject;gx.setParentObj(new hmih024b());