gx.evt.autoSkip=false;function himh007(){this.ServerClass="HImh007";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV5DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV57UndCodAux=gx.fn.getIntegerValue("vUNDCODAUX",".");this.AV58DoeNroSequenciaAux=gx.fn.getIntegerValue("vDOENROSEQUENCIAAUX",".");this.AV6CedNroItem=gx.fn.getIntegerValue("vCEDNROITEM",".");this.AV7CedNroArtigo=gx.fn.getIntegerValue("vCEDNROARTIGO",".");this.AV14DocTipMaterial=gx.fn.getControlValue("vDOCTIPMATERIAL");
this.AV23DicNroSequencia=gx.fn.getIntegerValue("vDICNROSEQUENCIA",".");this.AV20CedNroRepCampo=gx.fn.getIntegerValue("vCEDNROREPCAMPO",".");this.AV30DisNroSequenciaSubcampo=gx.fn.getIntegerValue("vDISNROSEQUENCIASUBCAMPO",".");this.AV24ScdNroAgrupamento=gx.fn.getIntegerValue("vSCDNROAGRUPAMENTO",".");this.AV22ScdNroRepSubcampo=gx.fn.getIntegerValue("vSCDNROREPSUBCAMPO",".");this.AV44ValIndicadorParm=gx.fn.getControlValue("vVALINDICADORPARM");this.AV35IndJaExisteSubcampo=gx.fn.getControlValue("vINDJAEXISTESUBCAMPO");
this.AV55DisIndRecuperar=gx.fn.getControlValue("vDISINDRECUPERAR")};this.e12432_client=function(){this.executeServerEvent("ENTER",true)};this.e13432_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e15432_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,9,12,14,16,20,22,24,26,31,35,37,39,43,45,47,51,53,55,59,61,63,67,69,71,75,77,79,83,85,87,91,93,95,99,102,104];this.GXLastCtrlId=104;this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[6]={fld:"TEXTBLOCK5",format:0,grid:0};
this.GXValidFnc[9]={fld:"TABLE3",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:1,grid:0,gxgrid:null,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.setControlValue("vDICNROETIQUETA",gx.O.AV19DicNroEtiqueta,0)
},c2v:function(){gx.O.AV19DicNroEtiqueta=this.val()},val:function(){return gx.fn.getControlValue("vDICNROETIQUETA")},nac:function(){return false}};this.GXValidFnc[16]={lvl:0,type:"char",len:70,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDICNOMCAMPO",gxz:"ZV25DicNomCampo",gxold:"OV25DicNomCampo",gxvar:"AV25DicNomCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV25DicNomCampo=a},v2z:function(a){gx.O.ZV25DicNomCampo=a},v2c:function(){gx.fn.setControlValue("vDICNOMCAMPO",gx.O.AV25DicNomCampo,0)
},c2v:function(){gx.O.AV25DicNomCampo=this.val()},val:function(){return gx.fn.getControlValue("vDICNOMCAMPO")},nac:function(){return false}};this.GXValidFnc[20]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[22]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDISCODSUBCAMPO",gxz:"ZV21DisCodSubcampo",gxold:"OV21DisCodSubcampo",gxvar:"AV21DisCodSubcampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21DisCodSubcampo=a},v2z:function(a){gx.O.ZV21DisCodSubcampo=a
},v2c:function(){gx.fn.setControlValue("vDISCODSUBCAMPO",gx.O.AV21DisCodSubcampo,0)},c2v:function(){gx.O.AV21DisCodSubcampo=this.val()},val:function(){return gx.fn.getControlValue("vDISCODSUBCAMPO")},nac:function(){return false}};this.GXValidFnc[24]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDISNOMSUBCAMPO",gxz:"ZV26DisNomSubCampo",gxold:"OV26DisNomSubCampo",gxvar:"AV26DisNomSubCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26DisNomSubCampo=a
},v2z:function(a){gx.O.ZV26DisNomSubCampo=a},v2c:function(){gx.fn.setControlValue("vDISNOMSUBCAMPO",gx.O.AV26DisNomSubCampo,0)},c2v:function(){gx.O.AV26DisNomSubCampo=this.val()},val:function(){return gx.fn.getControlValue("vDISNOMSUBCAMPO")},nac:function(){return false}};this.GXValidFnc[26]={lvl:0,type:"char",len:2,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCDTIPENTIDADE",gxz:"ZV28ScdTipEntidade",gxold:"OV28ScdTipEntidade",gxvar:"AV28ScdTipEntidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV28ScdTipEntidade=a
},v2z:function(a){gx.O.ZV28ScdTipEntidade=a},v2c:function(){gx.fn.setComboBoxValue("vSCDTIPENTIDADE",gx.O.AV28ScdTipEntidade)},c2v:function(){gx.O.AV28ScdTipEntidade=this.val()},val:function(){return gx.fn.getControlValue("vSCDTIPENTIDADE")},nac:function(){return false}};this.GXValidFnc[31]={lvl:0,type:"svchar",len:30720,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINSDSCINSTRUCAO",gxz:"ZV66InsDscInstrucao",gxold:"OV66InsDscInstrucao",gxvar:"AV66InsDscInstrucao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV66InsDscInstrucao=a
},v2z:function(a){gx.O.ZV66InsDscInstrucao=a},v2c:function(){gx.fn.setControlValue("vINSDSCINSTRUCAO",gx.O.AV66InsDscInstrucao,0)},c2v:function(){gx.O.AV66InsDscInstrucao=this.val()},val:function(){return gx.fn.getControlValue("vINSDSCINSTRUCAO")},nac:function(){return false}};this.GXValidFnc[35]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[37]={lvl:0,type:"char",len:8,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCDCODENTIDADE",gxz:"ZV27ScdCodEntidade",gxold:"OV27ScdCodEntidade",gxvar:"AV27ScdCodEntidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV27ScdCodEntidade=a
},v2z:function(a){gx.O.ZV27ScdCodEntidade=a},v2c:function(){gx.fn.setControlValue("vSCDCODENTIDADE",gx.O.AV27ScdCodEntidade,0)},c2v:function(){gx.O.AV27ScdCodEntidade=this.val()},val:function(){return gx.fn.getControlValue("vSCDCODENTIDADE")},nac:function(){return false}};this.GXValidFnc[39]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMENTIDADE",gxz:"ZV45NomEntidade",gxold:"OV45NomEntidade",gxvar:"AV45NomEntidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV45NomEntidade=a
},v2z:function(a){gx.O.ZV45NomEntidade=a},v2c:function(){gx.fn.setControlValue("vNOMENTIDADE",gx.O.AV45NomEntidade,0)},c2v:function(){gx.O.AV45NomEntidade=this.val()},val:function(){return gx.fn.getControlValue("vNOMENTIDADE")},nac:function(){return false}};this.GXValidFnc[43]={fld:"BT_AUTORIDADE",format:0,grid:0};this.GXValidFnc[45]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vATDNRO",gxz:"ZV46AtdNro",gxold:"OV46AtdNro",gxvar:"AV46AtdNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV46AtdNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV46AtdNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vATDNRO",gx.O.AV46AtdNro,0)},c2v:function(){gx.O.AV46AtdNro=this.val()},val:function(){return gx.fn.getIntegerValue("vATDNRO",".")},nac:function(){return false}};this.GXValidFnc[47]={fld:"PROMPT_AUTORIDADE",grid:0};this.GXValidFnc[51]={fld:"BT_EDITORA",format:0,grid:0};this.GXValidFnc[53]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vEDINRO",gxz:"ZV47EdiNro",gxold:"OV47EdiNro",gxvar:"AV47EdiNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV47EdiNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV47EdiNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vEDINRO",gx.O.AV47EdiNro,0)},c2v:function(){gx.O.AV47EdiNro=this.val()},val:function(){return gx.fn.getIntegerValue("vEDINRO",".")},nac:function(){return false}};this.GXValidFnc[55]={fld:"PROMPT_EDITORA",grid:0};this.GXValidFnc[59]={fld:"BT_PERIODICO",format:0,grid:0};this.GXValidFnc[61]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vPERNRO",gxz:"ZV50PerNro",gxold:"OV50PerNro",gxvar:"AV50PerNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV50PerNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV50PerNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vPERNRO",gx.O.AV50PerNro,0)},c2v:function(){gx.O.AV50PerNro=this.val()},val:function(){return gx.fn.getIntegerValue("vPERNRO",".")},nac:function(){return false}};this.GXValidFnc[63]={fld:"PROMPT_PERIODICO",grid:0};this.GXValidFnc[67]={fld:"BT_FUNCAO",format:0,grid:0};this.GXValidFnc[69]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vFUNCOD",gxz:"ZV51FunCod",gxold:"OV51FunCod",gxvar:"AV51FunCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV51FunCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV51FunCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vFUNCOD",gx.O.AV51FunCod,0)},c2v:function(){gx.O.AV51FunCod=this.val()},val:function(){return gx.fn.getIntegerValue("vFUNCOD",".")},nac:function(){return false}};this.GXValidFnc[71]={fld:"PROMPT_FUNCAO",grid:0};this.GXValidFnc[75]={fld:"BT_LOCAL",format:0,grid:0};this.GXValidFnc[77]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vLPUCOD",gxz:"ZV52LpuCod",gxold:"OV52LpuCod",gxvar:"AV52LpuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV52LpuCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV52LpuCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLPUCOD",gx.O.AV52LpuCod,0)},c2v:function(){gx.O.AV52LpuCod=this.val()},val:function(){return gx.fn.getIntegerValue("vLPUCOD",".")},nac:function(){return false}};this.GXValidFnc[79]={fld:"PROMPT_LOCAL",grid:0};this.GXValidFnc[83]={fld:"BT_IDIOMA",format:0,grid:0};this.GXValidFnc[85]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vIDICOD",gxz:"ZV53IdiCod",gxold:"OV53IdiCod",gxvar:"AV53IdiCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV53IdiCod=a
},v2z:function(a){gx.O.ZV53IdiCod=a},v2c:function(){gx.fn.setControlValue("vIDICOD",gx.O.AV53IdiCod,0)},c2v:function(){gx.O.AV53IdiCod=this.val()},val:function(){return gx.fn.getControlValue("vIDICOD")},nac:function(){return false}};this.GXValidFnc[87]={fld:"PROMPT_IDIOMA",grid:0};this.GXValidFnc[91]={fld:"BT_DOCUMENTO",format:0,grid:0};this.GXValidFnc[93]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOCNROAGRUPADOR",gxz:"ZV59DocNroAgrupador",gxold:"OV59DocNroAgrupador",gxvar:"AV59DocNroAgrupador",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV59DocNroAgrupador=gx.num.intval(a)
},v2z:function(a){gx.O.ZV59DocNroAgrupador=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOCNROAGRUPADOR",gx.O.AV59DocNroAgrupador,0)},c2v:function(){gx.O.AV59DocNroAgrupador=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCNROAGRUPADOR",".")},nac:function(){return false}};this.GXValidFnc[95]={fld:"PROMPT_DOCUMENTO",grid:0};this.GXValidFnc[99]={fld:"TABLE1",grid:0};this.GXValidFnc[102]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[104]={lvl:0,type:"char",len:2,dec:0,sign:false,ro:0,grid:0,gxgrid:null,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.setControlValue("vVALINDICADOR",gx.O.AV17ValIndicador,0)},c2v:function(){gx.O.AV17ValIndicador=this.val()},val:function(){return gx.fn.getControlValue("vVALINDICADOR")},nac:function(){return false}};this.AV19DicNroEtiqueta="";this.ZV19DicNroEtiqueta="";this.OV19DicNroEtiqueta="";this.AV25DicNomCampo="";this.ZV25DicNomCampo="";this.OV25DicNomCampo="";this.AV21DisCodSubcampo="";this.ZV21DisCodSubcampo="";this.OV21DisCodSubcampo="";this.AV26DisNomSubCampo="";
this.ZV26DisNomSubCampo="";this.OV26DisNomSubCampo="";this.AV28ScdTipEntidade="";this.ZV28ScdTipEntidade="";this.OV28ScdTipEntidade="";this.AV66InsDscInstrucao="";this.ZV66InsDscInstrucao="";this.OV66InsDscInstrucao="";this.AV27ScdCodEntidade="";this.ZV27ScdCodEntidade="";this.OV27ScdCodEntidade="";this.AV45NomEntidade="";this.ZV45NomEntidade="";this.OV45NomEntidade="";this.AV46AtdNro=0;this.ZV46AtdNro=0;this.OV46AtdNro=0;this.AV47EdiNro=0;this.ZV47EdiNro=0;this.OV47EdiNro=0;this.AV50PerNro=0;this.ZV50PerNro=0;
this.OV50PerNro=0;this.AV51FunCod=0;this.ZV51FunCod=0;this.OV51FunCod=0;this.AV52LpuCod=0;this.ZV52LpuCod=0;this.OV52LpuCod=0;this.AV53IdiCod="";this.ZV53IdiCod="";this.OV53IdiCod="";this.AV59DocNroAgrupador=0;this.ZV59DocNroAgrupador=0;this.OV59DocNroAgrupador=0;this.AV17ValIndicador="";this.ZV17ValIndicador="";this.OV17ValIndicador="";this.AV5DocNro=0;this.AV57UndCodAux=0;this.AV58DoeNroSequenciaAux=0;this.AV6CedNroItem=0;this.AV7CedNroArtigo=0;this.AV14DocTipMaterial="";this.AV23DicNroSequencia=0;
this.AV20CedNroRepCampo=0;this.AV30DisNroSequenciaSubcampo=0;this.AV24ScdNroAgrupamento=0;this.AV22ScdNroRepSubcampo=0;this.AV44ValIndicadorParm="";this.AV35IndJaExisteSubcampo="";this.AV55DisIndRecuperar="";this.A286DoiValOpca="";this.A285DoiNroIndi=0;this.A202DicNroSequ=0;this.A203DicTipMate="";this.A284DoiDesSign="";this.ServerEvents=["e12432_client","e13432_client","e15432_client"];this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV5DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV57UndCodAux={id:"vUNDCODAUX",grid:0,type:"int"};
this.VarControlMap.AV58DoeNroSequenciaAux={id:"vDOENROSEQUENCIAAUX",grid:0,type:"int"};this.VarControlMap.AV6CedNroItem={id:"vCEDNROITEM",grid:0,type:"int"};this.VarControlMap.AV7CedNroArtigo={id:"vCEDNROARTIGO",grid:0,type:"int"};this.VarControlMap.AV14DocTipMaterial={id:"vDOCTIPMATERIAL",grid:0,type:"char"};this.VarControlMap.AV23DicNroSequencia={id:"vDICNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV20CedNroRepCampo={id:"vCEDNROREPCAMPO",grid:0,type:"int"};this.VarControlMap.AV30DisNroSequenciaSubcampo={id:"vDISNROSEQUENCIASUBCAMPO",grid:0,type:"int"};
this.VarControlMap.AV24ScdNroAgrupamento={id:"vSCDNROAGRUPAMENTO",grid:0,type:"int"};this.VarControlMap.AV22ScdNroRepSubcampo={id:"vSCDNROREPSUBCAMPO",grid:0,type:"int"};this.VarControlMap.AV44ValIndicadorParm={id:"vVALINDICADORPARM",grid:0,type:"char"};this.VarControlMap.AV35IndJaExisteSubcampo={id:"vINDJAEXISTESUBCAMPO",grid:0,type:"char"};this.VarControlMap.AV55DisIndRecuperar={id:"vDISINDRECUPERAR",grid:0,type:"char"};this.SetStandaloneVars()}himh007.prototype=new gx.GxObject;gx.setParentObj(new himh007());