gx.evt.autoSkip=false;function himh133b(){this.ServerClass="HImh133b";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e116f2_client=function(){this.executeServerEvent("ENTER",true)};this.e126f2_client=function(){this.executeServerEvent("'IMPORTAR'",false)};this.e136f2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e146f2_client=function(){this.executeServerEvent("'SERVIDORES'",false)};this.e186f2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[3,16,19,22,24,26,28,31,33,35,37,41,42,43,44,46];this.GXLastCtrlId=46;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",40,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh133b",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");this.Grid1Container.addCheckBox("Op",41,"vOP","","","Op","char","S","N",null,true,false,0,"px");this.Grid1Container.addSingleLineEdit("Nroregistrochr",42,"vNROREGISTROCHR","Nro","","NroRegistroChr","char",0,"px",4,4,"left",null,[],"Nroregistrochr","NroRegistroChr",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Nomcampo",43,"vNOMCAMPO","Campo","","NomCampo","char",0,"px",30,30,"left",null,[],"Nomcampo","NomCampo",true,0,false,false);this.Grid1Container.addSingleLineEdit("Valcampo",44,"vVALCAMPO","Valor","","ValCampo","char",0,"px",3000,3000,"left",null,[],"Valcampo","ValCampo",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[19]={fld:"TABLE2",grid:0};
this.GXValidFnc[22]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vNROSERVIDOR",gxz:"ZV22NroServidor",gxold:"OV22NroServidor",gxvar:"AV22NroServidor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22NroServidor=gx.num.intval(a)},v2z:function(a){gx.O.ZV22NroServidor=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vNROSERVIDOR",gx.O.AV22NroServidor,0)
},c2v:function(){gx.O.AV22NroServidor=this.val()},val:function(){return gx.fn.getIntegerValue("vNROSERVIDOR",".")},nac:function(){return false}};this.GXValidFnc[26]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[28]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDCAMPOSNAOPREVISTOS",gxz:"ZV48IndCamposNaoPrevistos",gxold:"OV48IndCamposNaoPrevistos",gxvar:"AV48IndCamposNaoPrevistos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV48IndCamposNaoPrevistos=a
},v2z:function(a){gx.O.ZV48IndCamposNaoPrevistos=a},v2c:function(){gx.fn.setComboBoxValue("vINDCAMPOSNAOPREVISTOS",gx.O.AV48IndCamposNaoPrevistos)},c2v:function(){gx.O.AV48IndCamposNaoPrevistos=this.val()},val:function(){return gx.fn.getControlValue("vINDCAMPOSNAOPREVISTOS")},nac:function(){return false}};this.GXValidFnc[31]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[33]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vEXPRESSAOBUSCA",gxz:"ZV23ExpressaoBusca",gxold:"OV23ExpressaoBusca",gxvar:"AV23ExpressaoBusca",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23ExpressaoBusca=a
},v2z:function(a){gx.O.ZV23ExpressaoBusca=a},v2c:function(){gx.fn.setControlValue("vEXPRESSAOBUSCA",gx.O.AV23ExpressaoBusca,0)},c2v:function(){gx.O.AV23ExpressaoBusca=this.val()},val:function(){return gx.fn.getControlValue("vEXPRESSAOBUSCA")},nac:function(){return false}};this.GXValidFnc[35]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[37]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vQTDMAXIMAREGISTROS",gxz:"ZV34QtdMaximaRegistros",gxold:"OV34QtdMaximaRegistros",gxvar:"AV34QtdMaximaRegistros",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV34QtdMaximaRegistros=gx.num.intval(a)
},v2z:function(a){gx.O.ZV34QtdMaximaRegistros=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vQTDMAXIMAREGISTROS",gx.O.AV34QtdMaximaRegistros,0)},c2v:function(){gx.O.AV34QtdMaximaRegistros=this.val()},val:function(){return gx.fn.getIntegerValue("vQTDMAXIMAREGISTROS",".")},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"char",len:1,dec:0,sign:true,ro:0,grid:40,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vOP",gxz:"ZV67Op",gxold:"OV67Op",gxvar:"AV67Op",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV67Op=a
},v2z:function(a){gx.O.ZV67Op=a},v2c:function(){gx.fn.setGridCheckBoxValue("vOP",gx.fn.currentGridRowImpl(40),gx.O.AV67Op,"S")},c2v:function(){gx.O.AV67Op=this.val()},val:function(){return gx.fn.getGridCheckBoxValue("vOP",gx.fn.currentGridRowImpl(40),"S","N")},nac:function(){return false}};this.GXValidFnc[42]={lvl:2,type:"char",len:4,dec:0,sign:false,ro:0,grid:40,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vNROREGISTROCHR",gxz:"ZV45NroRegistroChr",gxold:"OV45NroRegistroChr",gxvar:"AV45NroRegistroChr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV45NroRegistroChr=a
},v2z:function(a){gx.O.ZV45NroRegistroChr=a},v2c:function(){gx.fn.setGridControlValue("vNROREGISTROCHR",gx.fn.currentGridRowImpl(40),gx.O.AV45NroRegistroChr,0)},c2v:function(){gx.O.AV45NroRegistroChr=this.val()},val:function(){return gx.fn.getGridControlValue("vNROREGISTROCHR",gx.fn.currentGridRowImpl(40))},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:0,grid:40,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vNOMCAMPO",gxz:"ZV38NomCampo",gxold:"OV38NomCampo",gxvar:"AV38NomCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV38NomCampo=a
},v2z:function(a){gx.O.ZV38NomCampo=a},v2c:function(){gx.fn.setGridControlValue("vNOMCAMPO",gx.fn.currentGridRowImpl(40),gx.O.AV38NomCampo,0)},c2v:function(){gx.O.AV38NomCampo=this.val()},val:function(){return gx.fn.getGridControlValue("vNOMCAMPO",gx.fn.currentGridRowImpl(40))},nac:function(){return false}};this.GXValidFnc[44]={lvl:2,type:"char",len:3000,dec:0,sign:false,ro:0,grid:40,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vVALCAMPO",gxz:"ZV39ValCampo",gxold:"OV39ValCampo",gxvar:"AV39ValCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV39ValCampo=a
},v2z:function(a){gx.O.ZV39ValCampo=a},v2c:function(){gx.fn.setGridControlValue("vVALCAMPO",gx.fn.currentGridRowImpl(40),gx.O.AV39ValCampo,0)},c2v:function(){gx.O.AV39ValCampo=this.val()},val:function(){return gx.fn.getGridControlValue("vVALCAMPO",gx.fn.currentGridRowImpl(40))},nac:function(){return false}};this.GXValidFnc[46]={fld:"PROMPT_NROSERVIDOR",grid:0};this.AV22NroServidor=0;this.ZV22NroServidor=0;this.OV22NroServidor=0;this.AV48IndCamposNaoPrevistos="";this.ZV48IndCamposNaoPrevistos="";this.OV48IndCamposNaoPrevistos="";
this.AV23ExpressaoBusca="";this.ZV23ExpressaoBusca="";this.OV23ExpressaoBusca="";this.AV34QtdMaximaRegistros=0;this.ZV34QtdMaximaRegistros=0;this.OV34QtdMaximaRegistros=0;this.ZV67Op="";this.OV67Op="";this.ZV45NroRegistroChr="";this.OV45NroRegistroChr="";this.ZV38NomCampo="";this.OV38NomCampo="";this.ZV39ValCampo="";this.OV39ValCampo="";this.AV67Op="";this.AV45NroRegistroChr="";this.AV38NomCampo="";this.AV39ValCampo="";this.ServerEvents=["e116f2_client","e126f2_client","e136f2_client","e146f2_client","e186f2_client"];
this.setPrompt("PROMPT_NROSERVIDOR",[24]);this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV42IndExecutouEnter={id:"vINDEXECUTOUENTER",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[28]);this.Grid1Container.addRefreshingVar({rfrVar:"AV42IndExecutouEnter"});this.SetStandaloneVars()}himh133b.prototype=new gx.GxObject;gx.setParentObj(new himh133b());