gx.evt.autoSkip=false;function hmih053(a){this.ServerClass="HMih053";this.PackageName="";this.setObjectType("web");this.setCmpContext(a);this.ReadonlyForm=true;this.hasEnterEvent=false;this.SetStandaloneVars=function(){this.AV6DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV19UndCod=gx.fn.getIntegerValue("vUNDCOD",".");this.AV7DoeNroSequencia=gx.fn.getIntegerValue("vDOENROSEQUENCIA",".");this.AV9DvoNroVolume=gx.fn.getIntegerValue("vDVONROVOLUME",".");this.AV8DvoNroTomo=gx.fn.getIntegerValue("vDVONROTOMO",".")
};this.e147y2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e157y1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,8,11,15,16,17,20,21];this.GXLastCtrlId=21;this.Grid2Container=new gx.grid.grid(this,2,"WbpLvl2",14,"Grid2","Grid2","Grid2Container",this.CmpContext,this.IsMasterPage,"hmih053",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid2Container.addSingleLineEdit(988,15,"VNCNOMARQU","","","VncNomArqu","char",0,"px",100,100,"left",null,[],988,"VncNomArqu",true,0,false,false);
this.Grid2Container.addSingleLineEdit(985,16,"VNCCODEXTE","","","VncCodExte","char",0,"px",10,10,"left",null,[],985,"VncCodExte",true,0,false,false);this.Grid2Container.addBlob(990,17,"VNCVALCONT","","VncValCont","bitstr",1,60,0,"px","px",true,false);this.setGrid(this.Grid2Container);this.Grid1Container=new gx.grid.grid(this,3,"WbpLvl3",19,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hmih053",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit("Rotulocampo",20,"vROTULOCAMPO","","","RotuloCampo","char",130,"px",20,20,"left",null,[],"Rotulocampo","RotuloCampo",true,0,false,false);this.Grid1Container.addSingleLineEdit("Linha",21,"vLINHA","","","Linha","vchar",410,"px",204800,204800,"left",null,[],"Linha","Linha",true,250,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[11]={fld:"TABLE2",grid:0};
this.GXValidFnc[15]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"VNCNOMARQU",gxz:"Z988VncNomArqu",gxold:"O988VncNomArqu",gxvar:"A988VncNomArqu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(b){gx.O.A988VncNomArqu=b},v2z:function(b){gx.O.Z988VncNomArqu=b},v2c:function(){gx.fn.setGridControlValue("VNCNOMARQU",gx.fn.currentGridRowImpl(14),gx.O.A988VncNomArqu,0)},c2v:function(){gx.O.A988VncNomArqu=this.val()},val:function(){return gx.fn.getGridControlValue("VNCNOMARQU",gx.fn.currentGridRowImpl(14))
},nac:function(){return false}};this.GXValidFnc[16]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"VNCCODEXTE",gxz:"Z985VncCodExte",gxold:"O985VncCodExte",gxvar:"A985VncCodExte",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(b){gx.O.A985VncCodExte=b},v2z:function(b){gx.O.Z985VncCodExte=b},v2c:function(){gx.fn.setGridControlValue("VNCCODEXTE",gx.fn.currentGridRowImpl(14),gx.O.A985VncCodExte,0)},c2v:function(){gx.O.A985VncCodExte=this.val()
},val:function(){return gx.fn.getGridControlValue("VNCCODEXTE",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.GXValidFnc[17]={lvl:2,type:"bitstr",len:1024,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"VNCVALCONT",gxz:"Z990VncValCont",gxold:"O990VncValCont",gxvar:"A990VncValCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(b){gx.O.A990VncValCont=b},v2z:function(b){gx.O.Z990VncValCont=b},v2c:function(){},c2v:function(){gx.O.A990VncValCont=this.val()
},val:function(){return gx.fn.getGridControlValue("VNCVALCONT",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.GXValidFnc[20]={lvl:3,type:"char",len:20,dec:0,sign:false,ro:1,grid:19,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vROTULOCAMPO",gxz:"ZV28RotuloCampo",gxold:"OV28RotuloCampo",gxvar:"AV28RotuloCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(b){gx.O.AV28RotuloCampo=b},v2z:function(b){gx.O.ZV28RotuloCampo=b},v2c:function(){gx.fn.setGridControlValue("vROTULOCAMPO",gx.fn.currentGridRowImpl(19),gx.O.AV28RotuloCampo,0)
},c2v:function(){gx.O.AV28RotuloCampo=this.val()},val:function(){return gx.fn.getGridControlValue("vROTULOCAMPO",gx.fn.currentGridRowImpl(19))},nac:function(){return false}};this.GXValidFnc[21]={lvl:3,type:"vchar",len:204800,dec:250,sign:false,ro:1,grid:19,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINHA",gxz:"ZV27Linha",gxold:"OV27Linha",gxvar:"AV27Linha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(b){gx.O.AV27Linha=b},v2z:function(b){gx.O.ZV27Linha=b},v2c:function(){gx.fn.setGridControlValue("vLINHA",gx.fn.currentGridRowImpl(19),gx.O.AV27Linha,0)
},c2v:function(){gx.O.AV27Linha=this.val()},val:function(){return gx.fn.getGridControlValue("vLINHA",gx.fn.currentGridRowImpl(19))},nac:function(){return false}};this.Z988VncNomArqu="";this.O988VncNomArqu="";this.Z985VncCodExte="";this.O985VncCodExte="";this.Z990VncValCont="";this.O990VncValCont="";this.ZV28RotuloCampo="";this.OV28RotuloCampo="";this.ZV27Linha="";this.OV27Linha="";this.AV6DocNro=0;this.AV19UndCod=0;this.AV7DoeNroSequencia=0;this.AV9DvoNroVolume=0;this.AV8DvoNroTomo=0;this.A987VncIndRese="";
this.A989VncNro=0;this.A986VncCodOrig="";this.A988VncNomArqu="";this.A985VncCodExte="";this.A990VncValCont="";this.AV28RotuloCampo="";this.AV27Linha="";this.A301DviNroItem=0;this.A258DocNro=0;this.A300DviNomArqu="";this.A299DviDesVinc="";this.A303DviTipArqu="";this.A1081DviDscURL="";this.A302DviNroVinc=0;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.A234DocCodAssu="";this.A865TidCodDici="";this.A863TidCod="";this.ServerEvents=["e147y2_client","e157y1_client"];this.VarControlMap.AV6DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV19UndCod={id:"vUNDCOD",grid:0,type:"int"};this.VarControlMap.AV7DoeNroSequencia={id:"vDOENROSEQUENCIA",grid:0,type:"int"};
this.VarControlMap.AV9DvoNroVolume={id:"vDVONROVOLUME",grid:0,type:"int"};this.VarControlMap.AV8DvoNroTomo={id:"vDVONROTOMO",grid:0,type:"int"};this.VarControlMap.AV29VncCodOrigem={id:"vVNCCODORIGEM",grid:0,type:"char"};this.Grid2Container.addRefreshingVar({rfrVar:"AV29VncCodOrigem"});this.Grid1Container.addRefreshingVar({rfrVar:"A1081DviDscURL"});this.Grid1Container.addRefreshingVar({rfrVar:"A303DviTipArqu"});this.Grid1Container.addRefreshingVar({rfrVar:"A299DviDesVinc"});this.Grid1Container.addRefreshingVar({rfrVar:"AV37UsbCod"});
this.Grid1Container.addRefreshingVar({rfrVar:"A300DviNomArqu"});this.Grid1Container.addRefreshingVar({rfrVar:"AV33CvdValConteudo"});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:"A258DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A865TidCodDici"});this.Grid1Container.addRefreshingVar({rfrVar:"A234DocCodAssu"});this.SetStandaloneVars()}gx.setExecutableComponent("hmih053");