gx.evt.autoSkip=false;function himh008(){this.ServerClass="HImh008";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){};this.Validv_Dictipmaterial=function(){try{var a=gx.util.balloon.getNew("vDICTIPMATERIAL");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e11302_client=function(){this.executeServerEvent("'NOVO CAMPO'",false)};this.e17302_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e13302_client=function(){this.executeServerEvent("'IMPRIMIR'",false)};this.e14302_client=function(){this.executeServerEvent("'ORDEM'",false)};this.e18301_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[5,8,23,26,29,31,33,35,37,39,41,43,45,49,50,51,52,53,54,55,56];this.GXLastCtrlId=56;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",48,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"himh008",[],false,1,true,true,15,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Subfile1Container.addSingleLineEdit("Nrosequencia",49,"vNROSEQUENCIA","Seq","","NroSequencia","int",0,"px",4,4,"right",null,[],"Nrosequencia","NroSequencia",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Codcampo",50,"vCODCAMPO","Campo/Subcampo","","CodCampo","char",0,"px",3,3,"left",null,[],"Codcampo","CodCampo",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Indrepetitivo",51,"vINDREPETITIVO","Repetitivo","","IndRepetitivo","char",0,"px",2,2,"left",null,[],"Indrepetitivo","IndRepetitivo",true,0,false,false);
this.Subfile1Container.addSingleLineEdit("Descricao",52,"vDESCRICAO","Descrição","","Descricao","vchar",0,"px",40960,40960,"left",null,[],"Descricao","Descricao",true,70,false,false);this.Subfile1Container.addComboBox("Distipentrada",53,"vDISTIPENTRADA","Entrada","DisTipEntrada","char",null,0,true,false,0,"px");this.Subfile1Container.addSingleLineEdit("Grdindrecuperar",54,"vGRDINDRECUPERAR","Recuperar","","GrdIndRecuperar","char",0,"px",1,1,"left",null,[],"Grdindrecuperar","GrdIndRecuperar",true,0,false,false);
this.Subfile1Container.addSingleLineEdit("Grdindrestrito",55,"vGRDINDRESTRITO","Restrito","","GrdIndRestrito","char",0,"px",1,1,"left",null,[],"Grdindrestrito","GrdIndRestrito",true,0,false,false);this.Subfile1Container.addComboBox("Indativo",56,"vINDATIVO","Ativo","IndAtivo","char",null,0,true,false,0,"px");this.setGrid(this.Subfile1Container);this.GXValidFnc[5]={fld:"TABLE3",grid:0};this.GXValidFnc[8]={fld:"TABLE1",grid:0};this.GXValidFnc[23]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[26]={fld:"TABLE2",grid:0};
this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Validv_Dictipmaterial,isvalid:null,fld:"vDICTIPMATERIAL",gxz:"ZV14DicTipMaterial",gxold:"OV14DicTipMaterial",gxvar:"AV14DicTipMaterial",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14DicTipMaterial=a},v2z:function(a){gx.O.ZV14DicTipMaterial=a},v2c:function(){gx.fn.setControlValue("vDICTIPMATERIAL",gx.O.AV14DicTipMaterial,0)},c2v:function(){gx.O.AV14DicTipMaterial=this.val()
},val:function(){return gx.fn.getControlValue("vDICTIPMATERIAL")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNROCAMPOINICIAL",gxz:"ZV19NroCampoInicial",gxold:"OV19NroCampoInicial",gxvar:"AV19NroCampoInicial",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19NroCampoInicial=a},v2z:function(a){gx.O.ZV19NroCampoInicial=a},v2c:function(){gx.fn.setControlValue("vNROCAMPOINICIAL",gx.O.AV19NroCampoInicial,0)
},c2v:function(){gx.O.AV19NroCampoInicial=this.val()},val:function(){return gx.fn.getControlValue("vNROCAMPOINICIAL")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNROCAMPOFINAL",gxz:"ZV20NroCampoFinal",gxold:"OV20NroCampoFinal",gxvar:"AV20NroCampoFinal",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20NroCampoFinal=a},v2z:function(a){gx.O.ZV20NroCampoFinal=a
},v2c:function(){gx.fn.setControlValue("vNROCAMPOFINAL",gx.O.AV20NroCampoFinal,0)},c2v:function(){gx.O.AV20NroCampoFinal=this.val()},val:function(){return gx.fn.getControlValue("vNROCAMPOFINAL")},nac:function(){return false}};this.GXValidFnc[41]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[43]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDVERINATIVOS",gxz:"ZV13IndVerInativos",gxold:"OV13IndVerInativos",gxvar:"AV13IndVerInativos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV13IndVerInativos=a
},v2z:function(a){gx.O.ZV13IndVerInativos=a},v2c:function(){gx.fn.setComboBoxValue("vINDVERINATIVOS",gx.O.AV13IndVerInativos)},c2v:function(){gx.O.AV13IndVerInativos=this.val()},val:function(){return gx.fn.getControlValue("vINDVERINATIVOS")},nac:function(){return false}};this.GXValidFnc[45]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDCONFIRMAPROCESSSAMENTO",gxz:"ZV21IndConfirmaProcesssamento",gxold:"OV21IndConfirmaProcesssamento",gxvar:"AV21IndConfirmaProcesssamento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV21IndConfirmaProcesssamento=a
},v2z:function(a){gx.O.ZV21IndConfirmaProcesssamento=a},v2c:function(){gx.fn.setCheckBoxValue("vINDCONFIRMAPROCESSSAMENTO",gx.O.AV21IndConfirmaProcesssamento,"S")},c2v:function(){gx.O.AV21IndConfirmaProcesssamento=this.val()},val:function(){return gx.fn.getCheckBoxValue("vINDCONFIRMAPROCESSSAMENTO","S","N")},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:48,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"vNROSEQUENCIA",gxz:"ZV11NroSequencia",gxold:"OV11NroSequencia",gxvar:"AV11NroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11NroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV11NroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vNROSEQUENCIA",gx.fn.currentGridRowImpl(48),gx.O.AV11NroSequencia,0)},c2v:function(){gx.O.AV11NroSequencia=this.val()},val:function(){return gx.fn.getGridIntegerValue("vNROSEQUENCIA",gx.fn.currentGridRowImpl(48),".")},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:48,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vCODCAMPO",gxz:"ZV8CodCampo",gxold:"OV8CodCampo",gxvar:"AV8CodCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8CodCampo=a
},v2z:function(a){gx.O.ZV8CodCampo=a},v2c:function(){gx.fn.setGridControlValue("vCODCAMPO",gx.fn.currentGridRowImpl(48),gx.O.AV8CodCampo,0)},c2v:function(){gx.O.AV8CodCampo=this.val()},val:function(){return gx.fn.getGridControlValue("vCODCAMPO",gx.fn.currentGridRowImpl(48))},nac:function(){return false}};this.GXValidFnc[51]={lvl:2,type:"char",len:2,dec:0,sign:false,ro:1,grid:48,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vINDREPETITIVO",gxz:"ZV9IndRepetitivo",gxold:"OV9IndRepetitivo",gxvar:"AV9IndRepetitivo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9IndRepetitivo=a
},v2z:function(a){gx.O.ZV9IndRepetitivo=a},v2c:function(){gx.fn.setGridControlValue("vINDREPETITIVO",gx.fn.currentGridRowImpl(48),gx.O.AV9IndRepetitivo,0)},c2v:function(){gx.O.AV9IndRepetitivo=this.val()},val:function(){return gx.fn.getGridControlValue("vINDREPETITIVO",gx.fn.currentGridRowImpl(48))},nac:function(){return false}};this.GXValidFnc[52]={lvl:2,type:"vchar",len:40960,dec:70,sign:false,ro:1,grid:48,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vDESCRICAO",gxz:"ZV10Descricao",gxold:"OV10Descricao",gxvar:"AV10Descricao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10Descricao=a
},v2z:function(a){gx.O.ZV10Descricao=a},v2c:function(){gx.fn.setGridControlValue("vDESCRICAO",gx.fn.currentGridRowImpl(48),gx.O.AV10Descricao,0)},c2v:function(){gx.O.AV10Descricao=this.val()},val:function(){return gx.fn.getGridControlValue("vDESCRICAO",gx.fn.currentGridRowImpl(48))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:48,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vDISTIPENTRADA",gxz:"ZV12DisTipEntrada",gxold:"OV12DisTipEntrada",gxvar:"AV12DisTipEntrada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV12DisTipEntrada=a
},v2z:function(a){gx.O.ZV12DisTipEntrada=a},v2c:function(){gx.fn.setGridComboBoxValue("vDISTIPENTRADA",gx.fn.currentGridRowImpl(48),gx.O.AV12DisTipEntrada)},c2v:function(){gx.O.AV12DisTipEntrada=this.val()},val:function(){return gx.fn.getGridControlValue("vDISTIPENTRADA",gx.fn.currentGridRowImpl(48))},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:48,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vGRDINDRECUPERAR",gxz:"ZV22GrdIndRecuperar",gxold:"OV22GrdIndRecuperar",gxvar:"AV22GrdIndRecuperar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22GrdIndRecuperar=a
},v2z:function(a){gx.O.ZV22GrdIndRecuperar=a},v2c:function(){gx.fn.setGridControlValue("vGRDINDRECUPERAR",gx.fn.currentGridRowImpl(48),gx.O.AV22GrdIndRecuperar,0)},c2v:function(){gx.O.AV22GrdIndRecuperar=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDINDRECUPERAR",gx.fn.currentGridRowImpl(48))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:48,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vGRDINDRESTRITO",gxz:"ZV23GrdIndRestrito",gxold:"OV23GrdIndRestrito",gxvar:"AV23GrdIndRestrito",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23GrdIndRestrito=a
},v2z:function(a){gx.O.ZV23GrdIndRestrito=a},v2c:function(){gx.fn.setGridControlValue("vGRDINDRESTRITO",gx.fn.currentGridRowImpl(48),gx.O.AV23GrdIndRestrito,0)},c2v:function(){gx.O.AV23GrdIndRestrito=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDINDRESTRITO",gx.fn.currentGridRowImpl(48))},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:48,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vINDATIVO",gxz:"ZV15IndAtivo",gxold:"OV15IndAtivo",gxvar:"AV15IndAtivo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV15IndAtivo=a
},v2z:function(a){gx.O.ZV15IndAtivo=a},v2c:function(){gx.fn.setGridComboBoxValue("vINDATIVO",gx.fn.currentGridRowImpl(48),gx.O.AV15IndAtivo)},c2v:function(){gx.O.AV15IndAtivo=this.val()},val:function(){return gx.fn.getGridControlValue("vINDATIVO",gx.fn.currentGridRowImpl(48))},nac:function(){return false}};this.AV14DicTipMaterial="";this.ZV14DicTipMaterial="";this.OV14DicTipMaterial="";this.AV19NroCampoInicial="";this.ZV19NroCampoInicial="";this.OV19NroCampoInicial="";this.AV20NroCampoFinal="";this.ZV20NroCampoFinal="";
this.OV20NroCampoFinal="";this.AV13IndVerInativos="";this.ZV13IndVerInativos="";this.OV13IndVerInativos="";this.AV21IndConfirmaProcesssamento="";this.ZV21IndConfirmaProcesssamento="";this.OV21IndConfirmaProcesssamento="";this.ZV11NroSequencia=0;this.OV11NroSequencia=0;this.ZV8CodCampo="";this.OV8CodCampo="";this.ZV9IndRepetitivo="";this.OV9IndRepetitivo="";this.ZV10Descricao="";this.OV10Descricao="";this.ZV12DisTipEntrada="";this.OV12DisTipEntrada="";this.ZV22GrdIndRecuperar="";this.OV22GrdIndRecuperar="";
this.ZV23GrdIndRestrito="";this.OV23GrdIndRestrito="";this.ZV15IndAtivo="";this.OV15IndAtivo="";this.AV11NroSequencia=0;this.AV8CodCampo="";this.AV9IndRepetitivo="";this.AV10Descricao="";this.AV12DisTipEntrada="";this.AV22GrdIndRecuperar="";this.AV23GrdIndRestrito="";this.AV15IndAtivo="";this.A202DicNroSequ=0;this.A203DicTipMate="";this.A200DicNroEtiq="";this.A198DicNomCamp="";this.A197DicIndCamp="";this.A196DicIndAtiv="";this.A216DisNroSequ=0;this.A214DisNomSubc="";this.A209DisCodSubc="";this.A213DisIndSubc="";
this.A218DisTipEntr="";this.A210DisIndAtiv="";this.A211DisIndRecu="";this.A212DisIndRest="";this.A484IlsDesInst="";this.ServerEvents=["e11302_client","e17302_client","e13302_client","e14302_client","e18301_client"];this.VarControlMap.A484IlsDesInst={id:"ILSDESINST",grid:0,type:"char"};this.VarControlMap.AV16InsTipRegistro={id:"vINSTIPREGISTRO",grid:0,type:"char"};this.VarControlMap.A212DisIndRest={id:"DISINDREST",grid:0,type:"char"};this.VarControlMap.A211DisIndRecu={id:"DISINDRECU",grid:0,type:"char"};
this.VarControlMap.A210DisIndAtiv={id:"DISINDATIV",grid:0,type:"char"};this.VarControlMap.A218DisTipEntr={id:"DISTIPENTR",grid:0,type:"char"};this.VarControlMap.A213DisIndSubc={id:"DISINDSUBC",grid:0,type:"char"};this.VarControlMap.A209DisCodSubc={id:"DISCODSUBC",grid:0,type:"char"};this.VarControlMap.A214DisNomSubc={id:"DISNOMSUBC",grid:0,type:"char"};this.VarControlMap.A216DisNroSequ={id:"DISNROSEQU",grid:0,type:"int"};this.VarControlMap.A196DicIndAtiv={id:"DICINDATIV",grid:0,type:"char"};this.VarControlMap.A202DicNroSequ={id:"DICNROSEQU",grid:0,type:"int"};
this.VarControlMap.A197DicIndCamp={id:"DICINDCAMP",grid:0,type:"char"};this.VarControlMap.A198DicNomCamp={id:"DICNOMCAMP",grid:0,type:"char"};this.VarControlMap.A200DicNroEtiq={id:"DICNROETIQ",grid:0,type:"char"};this.VarControlMap.A203DicTipMate={id:"DICTIPMATE",grid:0,type:"char"};this.Subfile1Container.addRefreshingVar({rfrVar:"A484IlsDesInst"});this.Subfile1Container.addRefreshingVar({rfrVar:"AV16InsTipRegistro"});this.Subfile1Container.addRefreshingVar({rfrVar:"A212DisIndRest"});this.Subfile1Container.addRefreshingVar({rfrVar:"A211DisIndRecu"});
this.Subfile1Container.addRefreshingVar({rfrVar:"A210DisIndAtiv"});this.Subfile1Container.addRefreshingVar({rfrVar:"A218DisTipEntr"});this.Subfile1Container.addRefreshingVar({rfrVar:"A213DisIndSubc"});this.Subfile1Container.addRefreshingVar({rfrVar:"A209DisCodSubc"});this.Subfile1Container.addRefreshingVar({rfrVar:"A214DisNomSubc"});this.Subfile1Container.addRefreshingVar({rfrVar:"A216DisNroSequ"});this.Subfile1Container.addRefreshingVar({rfrVar:"A196DicIndAtiv"});this.Subfile1Container.addRefreshingVar({rfrVar:"A202DicNroSequ"});
this.Subfile1Container.addRefreshingVar({rfrVar:"A197DicIndCamp"});this.Subfile1Container.addRefreshingVar({rfrVar:"A198DicNomCamp"});this.Subfile1Container.addRefreshingVar({rfrVar:"A200DicNroEtiq"});this.Subfile1Container.addRefreshingVar({rfrVar:"A203DicTipMate"});this.SetStandaloneVars()}himh008.prototype=new gx.GxObject;gx.setParentObj(new himh008());