gx.evt.autoSkip=false;function himh004b(){this.ServerClass="HImh004b";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){this.AV8UndCodAux=gx.fn.getIntegerValue("vUNDCODAUX",".");this.AV9DoeNroSequenciaAux=gx.fn.getIntegerValue("vDOENROSEQUENCIAAUX",".")};this.Validv_Docnro=function(){try{var a=gx.util.balloon.getNew("vDOCNRO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Cednroitem=function(){try{var a=gx.util.balloon.getNew("vCEDNROITEM");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Cednroartigo=function(){try{var a=gx.util.balloon.getNew("vCEDNROARTIGO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e11452_client=function(){this.executeServerEvent("'AUTORIDADES EM LOTE'",false)};this.e12452_client=function(){this.executeServerEvent("'MENU PRINCIPAL'",false)};this.e13452_client=function(){this.executeServerEvent("'VOLTAR'",false)
};this.e16451_client=function(){this.executeServerEvent("ENTER",true)};this.e17451_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,20,23,26,28,30,32,34,36,37,38,40,42,45,51,52,53];this.GXLastCtrlId=53;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",50,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"himh004b",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Subfile1Container.addSingleLineEdit("Dicnroetiqueta",51,"vDICNROETIQUETA","","","DicNroEtiqueta","char",0,"px",3,3,"left",null,[],"Dicnroetiqueta","DicNroEtiqueta",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Valindicador",52,"vVALINDICADOR","","","ValIndicador","char",0,"px",2,2,"left",null,[],"Valindicador","ValIndicador",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Valconteudo",53,"vVALCONTEUDO","","","ValConteudo","vchar",0,"px",36864,36864,"left",null,[],"Valconteudo","ValConteudo",true,250,false,false);
this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[20]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[23]={fld:"TABLE2",grid:0};this.GXValidFnc[26]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[28]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Validv_Docnro,isvalid:null,rgrid:[],fld:"vDOCNRO",gxz:"ZV5DocNro",gxold:"OV5DocNro",gxvar:"AV5DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5DocNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV5DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOCNRO",gx.O.AV5DocNro,0)},c2v:function(){gx.O.AV5DocNro=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCNRO",".")},nac:function(){return false}};this.GXValidFnc[30]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[32]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIDDES",gxz:"ZV11TidDes",gxold:"OV11TidDes",gxvar:"AV11TidDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11TidDes=a
},v2z:function(a){gx.O.ZV11TidDes=a},v2c:function(){gx.fn.setControlValue("vTIDDES",gx.O.AV11TidDes,0)},c2v:function(){gx.O.AV11TidDes=this.val()},val:function(){return gx.fn.getControlValue("vTIDDES")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Validv_Cednroitem,isvalid:null,rgrid:[],fld:"vCEDNROITEM",gxz:"ZV6CedNroItem",gxold:"OV6CedNroItem",gxvar:"AV6CedNroItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6CedNroItem=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6CedNroItem=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCEDNROITEM",gx.O.AV6CedNroItem,0)},c2v:function(){gx.O.AV6CedNroItem=this.val()},val:function(){return gx.fn.getIntegerValue("vCEDNROITEM",".")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[38]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Validv_Cednroartigo,isvalid:null,rgrid:[],fld:"vCEDNROARTIGO",gxz:"ZV7CedNroArtigo",gxold:"OV7CedNroArtigo",gxvar:"AV7CedNroArtigo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7CedNroArtigo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7CedNroArtigo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCEDNROARTIGO",gx.O.AV7CedNroArtigo,0)},c2v:function(){gx.O.AV7CedNroArtigo=this.val()},val:function(){return gx.fn.getIntegerValue("vCEDNROARTIGO",".")},nac:function(){return false}};this.GXValidFnc[40]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDSCDICIONARIO",gxz:"ZV12DscDicionario",gxold:"OV12DscDicionario",gxvar:"AV12DscDicionario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12DscDicionario=a
},v2z:function(a){gx.O.ZV12DscDicionario=a},v2c:function(){gx.fn.setControlValue("vDSCDICIONARIO",gx.O.AV12DscDicionario,0)},c2v:function(){gx.O.AV12DscDicionario=this.val()},val:function(){return gx.fn.getControlValue("vDSCDICIONARIO")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TB_CONTEUDO",format:0,grid:0};this.GXValidFnc[45]={fld:"TABLE3",grid:0};this.GXValidFnc[51]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:50,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vDICNROETIQUETA",gxz:"ZV19DicNroEtiqueta",gxold:"OV19DicNroEtiqueta",gxvar:"AV19DicNroEtiqueta",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19DicNroEtiqueta=a
},v2z:function(a){gx.O.ZV19DicNroEtiqueta=a},v2c:function(){gx.fn.setGridControlValue("vDICNROETIQUETA",gx.fn.currentGridRowImpl(50),gx.O.AV19DicNroEtiqueta,0)},c2v:function(){gx.O.AV19DicNroEtiqueta=this.val()},val:function(){return gx.fn.getGridControlValue("vDICNROETIQUETA",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[52]={lvl:2,type:"char",len:2,dec:0,sign:false,ro:1,grid:50,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vVALINDICADOR",gxz:"ZV17ValIndicador",gxold:"OV17ValIndicador",gxvar:"AV17ValIndicador",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17ValIndicador=a
},v2z:function(a){gx.O.ZV17ValIndicador=a},v2c:function(){gx.fn.setGridControlValue("vVALINDICADOR",gx.fn.currentGridRowImpl(50),gx.O.AV17ValIndicador,0)},c2v:function(){gx.O.AV17ValIndicador=this.val()},val:function(){return gx.fn.getGridControlValue("vVALINDICADOR",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"vchar",len:36864,dec:250,sign:false,ro:1,grid:50,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vVALCONTEUDO",gxz:"ZV18ValConteudo",gxold:"OV18ValConteudo",gxvar:"AV18ValConteudo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18ValConteudo=a
},v2z:function(a){gx.O.ZV18ValConteudo=a},v2c:function(){gx.fn.setGridControlValue("vVALCONTEUDO",gx.fn.currentGridRowImpl(50),gx.O.AV18ValConteudo,0)},c2v:function(){gx.O.AV18ValConteudo=this.val()},val:function(){return gx.fn.getGridControlValue("vVALCONTEUDO",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.AV5DocNro=0;this.ZV5DocNro=0;this.OV5DocNro=0;this.AV11TidDes="";this.ZV11TidDes="";this.OV11TidDes="";this.AV6CedNroItem=0;this.ZV6CedNroItem=0;this.OV6CedNroItem=0;this.AV7CedNroArtigo=0;
this.ZV7CedNroArtigo=0;this.OV7CedNroArtigo=0;this.AV12DscDicionario="";this.ZV12DscDicionario="";this.OV12DscDicionario="";this.ZV19DicNroEtiqueta="";this.OV19DicNroEtiqueta="";this.ZV17ValIndicador="";this.OV17ValIndicador="";this.ZV18ValConteudo="";this.OV18ValConteudo="";this.AV8UndCodAux=0;this.AV9DoeNroSequenciaAux=0;this.AV19DicNroEtiqueta="";this.AV17ValIndicador="";this.AV18ValConteudo="";this.A114CedNroRepC=0;this.A112CedNroArti=0;this.A113CedNroItem=0;this.A258DocNro=0;this.A115CedNroSeqC=0;
this.A116CedVal1Ind="";this.A117CedVal2Ind="";this.A767ScdNroSeqS=0;this.A764ScdCodEnti="";this.A768ScdTipEnti="";this.A766ScdNroRepS=0;this.A765ScdNroAgru=0;this.A202DicNroSequ=0;this.A216DisNroSequ=0;this.A203DicTipMate="";this.A209DisCodSubc="";this.A200DicNroEtiq="";this.A236DocDatInse=gx.date.nullDate();this.A865TidCodDici="";this.A864TidCodArti="";this.A863TidCod="";this.A868TidDes="";this.ServerEvents=["e11452_client","e12452_client","e13452_client","e16451_client","e17451_client"];this.EnterCtrl=["BUTTON5"];
this.VarControlMap.AV8UndCodAux={id:"vUNDCODAUX",grid:0,type:"int"};this.VarControlMap.AV9DoeNroSequenciaAux={id:"vDOENROSEQUENCIAAUX",grid:0,type:"int"};this.VarControlMap.A768ScdTipEnti={id:"SCDTIPENTI",grid:0,type:"char"};this.VarControlMap.A209DisCodSubc={id:"DISCODSUBC",grid:0,type:"char"};this.VarControlMap.A764ScdCodEnti={id:"SCDCODENTI",grid:0,type:"char"};this.VarControlMap.A766ScdNroRepS={id:"SCDNROREPS",grid:0,type:"int"};this.VarControlMap.A767ScdNroSeqS={id:"SCDNROSEQS",grid:0,type:"int"};
this.VarControlMap.A765ScdNroAgru={id:"SCDNROAGRU",grid:0,type:"int"};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.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.Subfile1Container.addRefreshingVar({rfrVar:"A768ScdTipEnti"});this.Subfile1Container.addRefreshingVar({rfrVar:"A209DisCodSubc"});this.Subfile1Container.addRefreshingVar({rfrVar:"A764ScdCodEnti"});this.Subfile1Container.addRefreshingVar({rfrVar:"A766ScdNroRepS"});this.Subfile1Container.addRefreshingVar({rfrVar:"A767ScdNroSeqS"});this.Subfile1Container.addRefreshingVar({rfrVar:"A765ScdNroAgru"});this.Subfile1Container.addRefreshingVar({rfrVar:"A200DicNroEtiq"});
this.Subfile1Container.addRefreshingVar({rfrVar:"A117CedVal2Ind"});this.Subfile1Container.addRefreshingVar({rfrVar:"A116CedVal1Ind"});this.Subfile1Container.addRefreshingVar({rfrVar:"A114CedNroRepC"});this.Subfile1Container.addRefreshingVar({rfrVar:"A115CedNroSeqC"});this.Subfile1Container.addRefreshingVar({rfrVar:"A112CedNroArti"});this.Subfile1Container.addRefreshingVar({rfrVar:"A113CedNroItem"});this.Subfile1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.SetStandaloneVars()}himh004b.prototype=new gx.GxObject;
gx.setParentObj(new himh004b());