gx.evt.autoSkip=false;function hmih101(){this.ServerClass="HMih101";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV5ParmNroDocumento=gx.fn.getIntegerValue("vPARMNRODOCUMENTO",".");this.AV14ParmNroVolume=gx.fn.getIntegerValue("vPARMNROVOLUME",".");this.AV32ParmNroArtigo=gx.fn.getIntegerValue("vPARMNROARTIGO",".")};this.e14jv2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e15jv2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[2,5,7,10,15,16];this.GXLastCtrlId=16;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",12,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hmih101",[],true,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addMultipleLineEdit("Grdlinha",15,"vGRDLINHA","","GrdLinha","char",80,"chr",4,"row","250",250,"left",null,true,false,0);
this.Grid1Container.endCell();this.Grid1Container.endRow();this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[5]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[7]={fld:"TABLE2",grid:0};this.GXValidFnc[10]={fld:"TEXTHTMLIMAGEM",format:1,grid:0};this.GXValidFnc[15]={lvl:2,type:"char",len:250,dec:0,sign:false,ro:1,grid:12,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDLINHA",gxz:"ZV24GrdLinha",gxold:"OV24GrdLinha",gxvar:"AV24GrdLinha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV24GrdLinha=a
},v2z:function(a){gx.O.ZV24GrdLinha=a},v2c:function(){gx.fn.setGridControlValue("vGRDLINHA",gx.fn.currentGridRowImpl(12),gx.O.AV24GrdLinha,0)},c2v:function(){gx.O.AV24GrdLinha=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDLINHA",gx.fn.currentGridRowImpl(12))},nac:function(){return false}};this.GXValidFnc[16]={fld:"TEXTHTML",format:1,grid:0};this.ZV24GrdLinha="";this.OV24GrdLinha="";this.AV5ParmNroDocumento=0;this.AV14ParmNroVolume=0;this.AV32ParmNroArtigo=0;this.AV24GrdLinha="";
this.A873TidIndRecu="";this.A258DocNro=0;this.A234DocCodAssu="";this.A869TidIndAnot="";this.A865TidCodDici="";this.A868TidDes="";this.A242DocDesL1Ti="";this.A863TidCod="";this.A115CedNroSeqC=0;this.A114CedNroRepC=0;this.A112CedNroArti=0;this.A113CedNroItem=0;this.A116CedVal1Ind="";this.A202DicNroSequ=0;this.A203DicTipMate="";this.A200DicNroEtiq="";this.A317DvoNroVolu=0;this.A225DitNroVolu="";this.A223DitNroEdic="";this.A220DitAnoEdic="";this.A227DitValExte="";this.A224DitNroTomo="";this.A226DitTipFasc="";
this.A300DviNomArqu="";this.A301DviNroItem=0;this.A987VncIndRese="";this.A986VncCodOrig="";this.A988VncNomArqu="";this.A985VncCodExte="";this.A990VncValCont="";this.A989VncNro=0;this.A559ParCod=0;this.A558ParCampo1L="";this.ServerEvents=["e14jv2_client","e15jv2_client"];this.VarControlMap.AV5ParmNroDocumento={id:"vPARMNRODOCUMENTO",grid:0,type:"int"};this.VarControlMap.AV14ParmNroVolume={id:"vPARMNROVOLUME",grid:0,type:"int"};this.VarControlMap.AV32ParmNroArtigo={id:"vPARMNROARTIGO",grid:0,type:"int"};
this.VarControlMap.AV5ParmNroDocumento={id:"vPARMNRODOCUMENTO",grid:0,type:"int"};this.VarControlMap.AV44IndEstatAtivada={id:"vINDESTATATIVADA",grid:0,type:"char"};this.VarControlMap.AV41QtdLinha={id:"vQTDLINHA",grid:0,type:"int"};this.VarControlMap.A114CedNroRepC={id:"CEDNROREPC",grid:0,type:"int"};this.VarControlMap.A115CedNroSeqC={id:"CEDNROSEQC",grid:0,type:"int"};this.VarControlMap.A112CedNroArti={id:"CEDNROARTI",grid:0,type:"int"};this.VarControlMap.A113CedNroItem={id:"CEDNROITEM",grid:0,type:"int"};
this.VarControlMap.A200DicNroEtiq={id:"DICNROETIQ",grid:0,type:"char"};this.VarControlMap.A116CedVal1Ind={id:"CEDVAL1IND",grid:0,type:"char"};this.VarControlMap.AV32ParmNroArtigo={id:"vPARMNROARTIGO",grid:0,type:"int"};this.VarControlMap.A226DitTipFasc={id:"DITTIPFASC",grid:0,type:"char"};this.VarControlMap.AV37IdItem={id:"vIDITEM",grid:0,type:"char"};this.VarControlMap.AV15TidIndModoPublicacao={id:"vTIDINDMODOPUBLICACAO",grid:0,type:"char"};this.VarControlMap.A223DitNroEdic={id:"DITNROEDIC",grid:0,type:"char"};
this.VarControlMap.A220DitAnoEdic={id:"DITANOEDIC",grid:0,type:"char"};this.VarControlMap.A227DitValExte={id:"DITVALEXTE",grid:0,type:"char"};this.VarControlMap.A224DitNroTomo={id:"DITNROTOMO",grid:0,type:"char"};this.VarControlMap.A225DitNroVolu={id:"DITNROVOLU",grid:0,type:"char"};this.VarControlMap.A242DocDesL1Ti={id:"DOCDESL1TI",grid:0,type:"char"};this.VarControlMap.AV14ParmNroVolume={id:"vPARMNROVOLUME",grid:0,type:"int"};this.VarControlMap.A868TidDes={id:"TIDDES",grid:0,type:"char"};this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};
this.VarControlMap.A865TidCodDici={id:"TIDCODDICI",grid:0,type:"char"};this.VarControlMap.A869TidIndAnot={id:"TIDINDANOT",grid:0,type:"char"};this.VarControlMap.A234DocCodAssu={id:"DOCCODASSU",grid:0,type:"char"};this.Grid1Container.addRefreshingVar({rfrVar:"AV5ParmNroDocumento"});this.Grid1Container.addRefreshingVar({rfrVar:"AV44IndEstatAtivada"});this.Grid1Container.addRefreshingVar({rfrVar:"AV41QtdLinha"});this.Grid1Container.addRefreshingVar({rfrVar:"A114CedNroRepC"});this.Grid1Container.addRefreshingVar({rfrVar:"A115CedNroSeqC"});
this.Grid1Container.addRefreshingVar({rfrVar:"A112CedNroArti"});this.Grid1Container.addRefreshingVar({rfrVar:"A113CedNroItem"});this.Grid1Container.addRefreshingVar({rfrVar:"A200DicNroEtiq"});this.Grid1Container.addRefreshingVar({rfrVar:"A116CedVal1Ind"});this.Grid1Container.addRefreshingVar({rfrVar:"AV32ParmNroArtigo"});this.Grid1Container.addRefreshingVar({rfrVar:"A226DitTipFasc"});this.Grid1Container.addRefreshingVar({rfrVar:"AV37IdItem"});this.Grid1Container.addRefreshingVar({rfrVar:"AV15TidIndModoPublicacao"});
this.Grid1Container.addRefreshingVar({rfrVar:"A223DitNroEdic"});this.Grid1Container.addRefreshingVar({rfrVar:"A220DitAnoEdic"});this.Grid1Container.addRefreshingVar({rfrVar:"A227DitValExte"});this.Grid1Container.addRefreshingVar({rfrVar:"A224DitNroTomo"});this.Grid1Container.addRefreshingVar({rfrVar:"A225DitNroVolu"});this.Grid1Container.addRefreshingVar({rfrVar:"A242DocDesL1Ti"});this.Grid1Container.addRefreshingVar({rfrVar:"AV14ParmNroVolume"});this.Grid1Container.addRefreshingVar({rfrVar:"A868TidDes"});
this.Grid1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A865TidCodDici"});this.Grid1Container.addRefreshingVar({rfrVar:"A869TidIndAnot"});this.Grid1Container.addRefreshingVar({rfrVar:"A234DocCodAssu"});this.SetStandaloneVars()}hmih101.prototype=new gx.GxObject;gx.setParentObj(new hmih101());