gx.evt.autoSkip=false;function gx0090(){this.ServerClass="Gx0090";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV10pPchNro=gx.fn.getIntegerValue("vPPCHNRO",".")};this.e13972_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14971_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,33,37,38,39,40,43];this.GXLastCtrlId=43;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",36,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0090",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",37,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(193,38,"PCHNRO","Código da palavra-chave","","PchNro","int",0,"px",6,6,"right",null,[],193,"PchNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(192,39,"PCHDES","Palavra-chave","Selecionar","PchDes","char",0,"px",60,60,"left",null,[],192,"PchDes",true,0,false,false);
this.Grid1Container.addSingleLineEdit(616,40,"PCHCODCLAS","Classificação","","PchCodClas","char",0,"px",25,25,"left",null,[],616,"PchCodClas",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKPCHNRO",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCPCHNRO",gxz:"ZV6cPchNro",gxold:"OV6cPchNro",gxvar:"AV6cPchNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cPchNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cPchNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCPCHNRO",gx.O.AV6cPchNro,0)},c2v:function(){gx.O.AV6cPchNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCPCHNRO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKPCHDES",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPCHDES",gxz:"ZV7cPchDes",gxold:"OV7cPchDes",gxvar:"AV7cPchDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cPchDes=a
},v2z:function(a){gx.O.ZV7cPchDes=a},v2c:function(){gx.fn.setControlValue("vCPCHDES",gx.O.AV7cPchDes,0)},c2v:function(){gx.O.AV7cPchDes=this.val()},val:function(){return gx.fn.getControlValue("vCPCHDES")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKPCHDESSEMACENTO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPCHDESSEMACENTO",gxz:"ZV8cPchDesSemAcento",gxold:"OV8cPchDesSemAcento",gxvar:"AV8cPchDesSemAcento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cPchDesSemAcento=a
},v2z:function(a){gx.O.ZV8cPchDesSemAcento=a},v2c:function(){gx.fn.setControlValue("vCPCHDESSEMACENTO",gx.O.AV8cPchDesSemAcento,0)},c2v:function(){gx.O.AV8cPchDesSemAcento=this.val()},val:function(){return gx.fn.getControlValue("vCPCHDESSEMACENTO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKPCHCODCLASSIFICACAO",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPCHCODCLASSIFICACAO",gxz:"ZV9cPchCodClassificacao",gxold:"OV9cPchCodClassificacao",gxvar:"AV9cPchCodClassificacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cPchCodClassificacao=a
},v2z:function(a){gx.O.ZV9cPchCodClassificacao=a},v2c:function(){gx.fn.setControlValue("vCPCHCODCLASSIFICACAO",gx.O.AV9cPchCodClassificacao,0)},c2v:function(){gx.O.AV9cPchCodClassificacao=this.val()},val:function(){return gx.fn.getControlValue("vCPCHCODCLASSIFICACAO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"GROUP2",grid:0};this.GXValidFnc[33]={fld:"TABLE3",grid:0};this.GXValidFnc[37]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[38]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"PCHNRO",gxz:"Z193PchNro",gxold:"O193PchNro",gxvar:"A193PchNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A193PchNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z193PchNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PCHNRO",gx.fn.currentGridRowImpl(36),gx.O.A193PchNro,0)},c2v:function(){gx.O.A193PchNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("PCHNRO",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"char",len:60,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PCHDES",gxz:"Z192PchDes",gxold:"O192PchDes",gxvar:"A192PchDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A192PchDes=a
},v2z:function(a){gx.O.Z192PchDes=a},v2c:function(){gx.fn.setGridControlValue("PCHDES",gx.fn.currentGridRowImpl(36),gx.O.A192PchDes,0)},c2v:function(){gx.O.A192PchDes=this.val()},val:function(){return gx.fn.getGridControlValue("PCHDES",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PCHCODCLAS",gxz:"Z616PchCodClas",gxold:"O616PchCodClas",gxvar:"A616PchCodClas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A616PchCodClas=a
},v2z:function(a){gx.O.Z616PchCodClas=a},v2c:function(){gx.fn.setGridControlValue("PCHCODCLAS",gx.fn.currentGridRowImpl(36),gx.O.A616PchCodClas,0)},c2v:function(){gx.O.A616PchCodClas=this.val()},val:function(){return gx.fn.getGridControlValue("PCHCODCLAS",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[43]={fld:"TABLE4",grid:0};this.AV6cPchNro=0;this.ZV6cPchNro=0;this.OV6cPchNro=0;this.AV7cPchDes="";this.ZV7cPchDes="";this.OV7cPchDes="";this.AV8cPchDesSemAcento="";this.ZV8cPchDesSemAcento="";
this.OV8cPchDesSemAcento="";this.AV9cPchCodClassificacao="";this.ZV9cPchCodClassificacao="";this.OV9cPchCodClassificacao="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z193PchNro=0;this.O193PchNro=0;this.Z192PchDes="";this.O192PchDes="";this.Z616PchCodClas="";this.O616PchCodClas="";this.AV10pPchNro=0;this.A617PchDesSemA="";this.AV5LinkSelection="";this.A193PchNro=0;this.A192PchDes="";this.A616PchCodClas="";this.ServerEvents=["e13972_client","e14971_client"];this.VarControlMap.AV10pPchNro={id:"vPPCHNRO",grid:0,type:"int"};
this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.SetStandaloneVars()}gx0090.prototype=new gx.GxObject;gx.setParentObj(new gx0090());