gx.evt.autoSkip=false;function hmih071(a){this.ServerClass="HMih071";this.PackageName="";this.setObjectType("web");this.setCmpContext(a);this.ReadonlyForm=true;this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV5DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV33TidIndModoPublicacao=gx.fn.getControlValue("vTIDINDMODOPUBLICACAO");this.AV63UndCodSele=gx.fn.getIntegerValue("vUNDCODSELE",".")};this.e137f2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e147f2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[2,5,9,13,14,15];this.GXLastCtrlId=15;this.SubfileContainer=new gx.grid.grid(this,2,"WbpLvl2",12,"Subfile","Subfile","SubfileContainer",this.CmpContext,this.IsMasterPage,"hmih071",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.SubfileContainer.addSingleLineEdit("Nroetiqueta",13,"vNROETIQUETA","","","NroEtiqueta","char",0,"px",3,3,"left",null,[],"Nroetiqueta","NroEtiqueta",true,0,false,false);this.SubfileContainer.addSingleLineEdit("Valindicador",14,"vVALINDICADOR","","","ValIndicador","char",0,"px",2,2,"left",null,[],"Valindicador","ValIndicador",true,0,false,false);
this.SubfileContainer.addSingleLineEdit("Valconteudo",15,"vVALCONTEUDO","","","ValConteudo","vchar",410,"px",36864,36864,"left",null,[],"Valconteudo","ValConteudo",true,250,false,false);this.setGrid(this.SubfileContainer);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[5]={fld:"TABLE2",grid:0};this.GXValidFnc[9]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[13]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:12,gxgrid:this.SubfileContainer,fnc:null,isvalid:null,fld:"vNROETIQUETA",gxz:"ZV40NroEtiqueta",gxold:"OV40NroEtiqueta",gxvar:"AV40NroEtiqueta",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(b){gx.O.AV40NroEtiqueta=b
},v2z:function(b){gx.O.ZV40NroEtiqueta=b},v2c:function(){gx.fn.setGridControlValue("vNROETIQUETA",gx.fn.currentGridRowImpl(12),gx.O.AV40NroEtiqueta,0)},c2v:function(){gx.O.AV40NroEtiqueta=this.val()},val:function(){return gx.fn.getGridControlValue("vNROETIQUETA",gx.fn.currentGridRowImpl(12))},nac:function(){return false}};this.GXValidFnc[14]={lvl:2,type:"char",len:2,dec:0,sign:false,ro:1,grid:12,gxgrid:this.SubfileContainer,fnc:null,isvalid:null,fld:"vVALINDICADOR",gxz:"ZV41ValIndicador",gxold:"OV41ValIndicador",gxvar:"AV41ValIndicador",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(b){gx.O.AV41ValIndicador=b
},v2z:function(b){gx.O.ZV41ValIndicador=b},v2c:function(){gx.fn.setGridControlValue("vVALINDICADOR",gx.fn.currentGridRowImpl(12),gx.O.AV41ValIndicador,0)},c2v:function(){gx.O.AV41ValIndicador=this.val()},val:function(){return gx.fn.getGridControlValue("vVALINDICADOR",gx.fn.currentGridRowImpl(12))},nac:function(){return false}};this.GXValidFnc[15]={lvl:2,type:"vchar",len:36864,dec:250,sign:false,ro:1,grid:12,gxgrid:this.SubfileContainer,fnc:null,isvalid:null,fld:"vVALCONTEUDO",gxz:"ZV42ValConteudo",gxold:"OV42ValConteudo",gxvar:"AV42ValConteudo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(b){gx.O.AV42ValConteudo=b
},v2z:function(b){gx.O.ZV42ValConteudo=b},v2c:function(){gx.fn.setGridControlValue("vVALCONTEUDO",gx.fn.currentGridRowImpl(12),gx.O.AV42ValConteudo,0)},c2v:function(){gx.O.AV42ValConteudo=this.val()},val:function(){return gx.fn.getGridControlValue("vVALCONTEUDO",gx.fn.currentGridRowImpl(12))},nac:function(){return false}};this.ZV40NroEtiqueta="";this.OV40NroEtiqueta="";this.ZV41ValIndicador="";this.OV41ValIndicador="";this.ZV42ValConteudo="";this.OV42ValConteudo="";this.AV5DocNro=0;this.AV33TidIndModoPublicacao="";
this.AV63UndCodSele=0;this.AV40NroEtiqueta="";this.AV41ValIndicador="";this.AV42ValConteudo="";this.A216DisNroSequ=0;this.A202DicNroSequ=0;this.A203DicTipMate="";this.A209DisCodSubc="";this.A212DisIndRest="";this.A89CatNroRepC=0;this.A90CatNroSeqC=0;this.A63AtdNro=0;this.A759SatValSubc="";this.A756SatNroRepS=0;this.A757SatNroSeqS=0;this.A258DocNro=0;this.A259DocNroPubl="";this.A236DocDatInse=gx.date.nullDate();this.A865TidCodDici="";this.A863TidCod="";this.A303DviTipArqu="";this.A301DviNroItem=0;
this.A300DviNomArqu="";this.A302DviNroVinc=0;this.A114CedNroRepC=0;this.A112CedNroArti=0;this.A113CedNroItem=0;this.A115CedNroSeqC=0;this.A116CedVal1Ind="";this.A117CedVal2Ind="";this.A764ScdCodEnti="";this.A767ScdNroSeqS=0;this.A768ScdTipEnti="";this.A200DicNroEtiq="";this.ServerEvents=["e137f2_client","e147f2_client"];this.VarControlMap.AV5DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV33TidIndModoPublicacao={id:"vTIDINDMODOPUBLICACAO",grid:0,type:"char"};this.VarControlMap.AV63UndCodSele={id:"vUNDCODSELE",grid:0,type:"int"};
this.VarControlMap.A300DviNomArqu={id:"DVINOMARQU",grid:0,type:"char"};this.VarControlMap.A302DviNroVinc={id:"DVINROVINC",grid:0,type:"int"};this.VarControlMap.A301DviNroItem={id:"DVINROITEM",grid:0,type:"int"};this.VarControlMap.A212DisIndRest={id:"DISINDREST",grid:0,type:"char"};this.VarControlMap.A209DisCodSubc={id:"DISCODSUBC",grid:0,type:"char"};this.VarControlMap.A759SatValSubc={id:"SATVALSUBC",grid:0,type:"vchar"};this.VarControlMap.A756SatNroRepS={id:"SATNROREPS",grid:0,type:"int"};this.VarControlMap.A757SatNroSeqS={id:"SATNROSEQS",grid:0,type:"int"};
this.VarControlMap.A89CatNroRepC={id:"CATNROREPC",grid:0,type:"int"};this.VarControlMap.A90CatNroSeqC={id:"CATNROSEQC",grid:0,type:"int"};this.VarControlMap.A63AtdNro={id:"ATDNRO",grid:0,type:"int"};this.VarControlMap.A768ScdTipEnti={id:"SCDTIPENTI",grid:0,type:"char"};this.VarControlMap.A767ScdNroSeqS={id:"SCDNROSEQS",grid:0,type:"int"};this.VarControlMap.A764ScdCodEnti={id:"SCDCODENTI",grid:0,type:"char"};this.VarControlMap.A200DicNroEtiq={id:"DICNROETIQ",grid:0,type:"char"};this.VarControlMap.A117CedVal2Ind={id:"CEDVAL2IND",grid:0,type:"char"};
this.VarControlMap.A116CedVal1Ind={id:"CEDVAL1IND",grid:0,type:"char"};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.A865TidCodDici={id:"TIDCODDICI",grid:0,type:"char"};this.VarControlMap.AV5DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.Gx_date={id:"vTODAY",grid:0,type:"date"};
this.VarControlMap.A236DocDatInse={id:"DOCDATINSE",grid:0,type:"date"};this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.A259DocNroPubl={id:"DOCNROPUBL",grid:0,type:"char"};this.SubfileContainer.addRefreshingVar({rfrVar:"A300DviNomArqu"});this.SubfileContainer.addRefreshingVar({rfrVar:"A302DviNroVinc"});this.SubfileContainer.addRefreshingVar({rfrVar:"A301DviNroItem"});this.SubfileContainer.addRefreshingVar({rfrVar:"A212DisIndRest"});this.SubfileContainer.addRefreshingVar({rfrVar:"A209DisCodSubc"});
this.SubfileContainer.addRefreshingVar({rfrVar:"A759SatValSubc"});this.SubfileContainer.addRefreshingVar({rfrVar:"A756SatNroRepS"});this.SubfileContainer.addRefreshingVar({rfrVar:"A757SatNroSeqS"});this.SubfileContainer.addRefreshingVar({rfrVar:"A89CatNroRepC"});this.SubfileContainer.addRefreshingVar({rfrVar:"A90CatNroSeqC"});this.SubfileContainer.addRefreshingVar({rfrVar:"A63AtdNro"});this.SubfileContainer.addRefreshingVar({rfrVar:"A768ScdTipEnti"});this.SubfileContainer.addRefreshingVar({rfrVar:"A767ScdNroSeqS"});
this.SubfileContainer.addRefreshingVar({rfrVar:"A764ScdCodEnti"});this.SubfileContainer.addRefreshingVar({rfrVar:"A200DicNroEtiq"});this.SubfileContainer.addRefreshingVar({rfrVar:"A117CedVal2Ind"});this.SubfileContainer.addRefreshingVar({rfrVar:"A116CedVal1Ind"});this.SubfileContainer.addRefreshingVar({rfrVar:"A114CedNroRepC"});this.SubfileContainer.addRefreshingVar({rfrVar:"A115CedNroSeqC"});this.SubfileContainer.addRefreshingVar({rfrVar:"A112CedNroArti"});this.SubfileContainer.addRefreshingVar({rfrVar:"A113CedNroItem"});
this.SubfileContainer.addRefreshingVar({rfrVar:"A865TidCodDici"});this.SubfileContainer.addRefreshingVar({rfrVar:"AV5DocNro"});this.SubfileContainer.addRefreshingVar({rfrVar:"Gx_date"});this.SubfileContainer.addRefreshingVar({rfrVar:"A236DocDatInse"});this.SubfileContainer.addRefreshingVar({rfrVar:"A258DocNro"});this.SubfileContainer.addRefreshingVar({rfrVar:"A259DocNroPubl"});this.SetStandaloneVars()}gx.setExecutableComponent("hmih071");