gx.evt.autoSkip=false;function himh009b(){this.ServerClass="HImh009b";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV5AtdNro=gx.fn.getIntegerValue("vATDNRO",".")};this.Validv_Dicnroetiqueta=function(){try{var a=gx.util.balloon.getNew("vDICNROETIQUETA");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Discodsubcampo=function(){try{var a=gx.util.balloon.getNew("vDISCODSUBCAMPO");this.AnyError=0
}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Catnrorepcampo=function(){try{var a=gx.util.balloon.getNew("vCATNROREPCAMPO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Satnrorepsubcampo=function(){try{var a=gx.util.balloon.getNew("vSATNROREPSUBCAMPO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.s122_client=function(){if((0==this.AV15CatNroRepCampo)){this.AV18TemErro="S";
this.Gx_msg="Informe o número de repetição do campo"}if(this.AV15CatNroRepCampo>1&&this.AV32DicIndCampoRepetitivo=="NR"){this.AV18TemErro="S";this.Gx_msg="Este campo não é repetitivo"}};this.s152_client=function(){if((0==this.AV17SatNroRepSubcampo)){this.AV18TemErro="S";this.Gx_msg="Informe o número de repetição do subcampo"}if(this.AV17SatNroRepSubcampo>1&&this.AV33DisIndSubcampoRepetitivo=="NR"){this.AV18TemErro="S";this.Gx_msg="Este subcampo não é repetitivo"}};this.e134c2_client=function(){this.executeServerEvent("'APAGA CAMPO'",false)
};this.e144c2_client=function(){this.executeServerEvent("'APAGA SUBCAMPO'",false)};this.e154c2_client=function(){this.executeServerEvent("ENTER",true)};this.e174c2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[5,8,10,14,16,20,22,26,28];this.GXLastCtrlId=28;this.GXValidFnc[5]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[10]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Dicnroetiqueta,isvalid:null,fld:"vDICNROETIQUETA",gxz:"ZV14DicNroEtiqueta",gxold:"OV14DicNroEtiqueta",gxvar:"AV14DicNroEtiqueta",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14DicNroEtiqueta=a
},v2z:function(a){gx.O.ZV14DicNroEtiqueta=a},v2c:function(){gx.fn.setControlValue("vDICNROETIQUETA",gx.O.AV14DicNroEtiqueta,0)},c2v:function(){gx.O.AV14DicNroEtiqueta=this.val()},val:function(){return gx.fn.getControlValue("vDICNROETIQUETA")},nac:function(){return false}};this.GXValidFnc[14]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[16]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Discodsubcampo,isvalid:null,fld:"vDISCODSUBCAMPO",gxz:"ZV16DisCodSubcampo",gxold:"OV16DisCodSubcampo",gxvar:"AV16DisCodSubcampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16DisCodSubcampo=a
},v2z:function(a){gx.O.ZV16DisCodSubcampo=a},v2c:function(){gx.fn.setControlValue("vDISCODSUBCAMPO",gx.O.AV16DisCodSubcampo,0)},c2v:function(){gx.O.AV16DisCodSubcampo=this.val()},val:function(){return gx.fn.getControlValue("vDISCODSUBCAMPO")},nac:function(){return false}};this.GXValidFnc[20]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[22]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Catnrorepcampo,isvalid:null,rgrid:[],fld:"vCATNROREPCAMPO",gxz:"ZV15CatNroRepCampo",gxold:"OV15CatNroRepCampo",gxvar:"AV15CatNroRepCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15CatNroRepCampo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV15CatNroRepCampo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCATNROREPCAMPO",gx.O.AV15CatNroRepCampo,0)},c2v:function(){gx.O.AV15CatNroRepCampo=this.val()},val:function(){return gx.fn.getIntegerValue("vCATNROREPCAMPO",".")},nac:function(){return false}};this.GXValidFnc[26]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[28]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Satnrorepsubcampo,isvalid:null,rgrid:[],fld:"vSATNROREPSUBCAMPO",gxz:"ZV17SatNroRepSubcampo",gxold:"OV17SatNroRepSubcampo",gxvar:"AV17SatNroRepSubcampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17SatNroRepSubcampo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV17SatNroRepSubcampo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSATNROREPSUBCAMPO",gx.O.AV17SatNroRepSubcampo,0)},c2v:function(){gx.O.AV17SatNroRepSubcampo=this.val()},val:function(){return gx.fn.getIntegerValue("vSATNROREPSUBCAMPO",".")},nac:function(){return false}};this.AV14DicNroEtiqueta="";this.ZV14DicNroEtiqueta="";this.OV14DicNroEtiqueta="";this.AV16DisCodSubcampo="";this.ZV16DisCodSubcampo="";this.OV16DisCodSubcampo="";this.AV15CatNroRepCampo=0;this.ZV15CatNroRepCampo=0;
this.OV15CatNroRepCampo=0;this.AV17SatNroRepSubcampo=0;this.ZV17SatNroRepSubcampo=0;this.OV17SatNroRepSubcampo=0;this.AV5AtdNro=0;this.A89CatNroRepC=0;this.A90CatNroSeqC=0;this.A63AtdNro=0;this.A754SatCampo1L="";this.A756SatNroRepS=0;this.A757SatNroSeqS=0;this.A92CatVal2Ind="";this.A91CatVal1Ind="";this.A209DisCodSubc="";this.A202DicNroSequ=0;this.A203DicTipMate="";this.A214DisNomSubc="";this.A216DisNroSequ=0;this.A213DisIndSubc="";this.A211DisIndRecu="";this.A204DicValIndi="";this.A200DicNroEtiq="";
this.A198DicNomCamp="";this.A197DicIndCamp="";this.AV32DicIndCampoRepetitivo="";this.Gx_msg="";this.AV18TemErro="";this.AV33DisIndSubcampoRepetitivo="";this.ServerEvents=["e134c2_client","e144c2_client","e154c2_client","e174c2_client"];this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV5AtdNro={id:"vATDNRO",grid:0,type:"int"};this.SetStandaloneVars()}himh009b.prototype=new gx.GxObject;gx.setParentObj(new himh009b());