gx.evt.autoSkip=false;function gx01q2(){this.ServerClass="Gx01Q2";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV10pAcoNro=gx.fn.getIntegerValue("vPACONRO",".");this.AV11pSacNro=gx.fn.getIntegerValue("vPSACNRO",".");this.AV12pCsaNro=gx.fn.getIntegerValue("vPCSANRO",".")};this.e13ah2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14ah1_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,41,42,43,46];this.GXLastCtrlId=46;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",36,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx01q2",[],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(167,38,"CSANRO","Classificações","","CsaNro","int",0,"px",3,3,"right",null,[],167,"CsaNro",true,0,false,false);
this.Grid1Container.addSingleLineEdit(166,39,"CSACODINI","Classificação inicial","Selecionar","CsaCodIni","char",0,"px",25,25,"left",null,[],166,"CsaCodIni",true,0,false,false);this.Grid1Container.addSingleLineEdit(165,40,"CSACODFIM","Classificação final","","CsaCodFim","char",0,"px",25,25,"left",null,[],165,"CsaCodFim",true,0,false,false);this.Grid1Container.addSingleLineEdit(164,41,"CSACAMPO1L","Campo livre","","CsaCampo1L","char",0,"px",20,20,"left",null,[],164,"CsaCampo1L",true,0,false,false);
this.Grid1Container.addSingleLineEdit(4,42,"ACONRO","Área de conhecimento","","AcoNro","int",0,"px",3,3,"right",null,[],4,"AcoNro",false,0,false,false);this.Grid1Container.addSingleLineEdit(753,43,"SACNRO","Sub-área de conhecimento","","SacNro","int",0,"px",3,3,"right",null,[],753,"SacNro",false,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:"TEXTBLOCKCSANRO",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCCSANRO",gxz:"ZV6cCsaNro",gxold:"OV6cCsaNro",gxvar:"AV6cCsaNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cCsaNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cCsaNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCCSANRO",gx.O.AV6cCsaNro,0)},c2v:function(){gx.O.AV6cCsaNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCCSANRO",".")
},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKCSACODINI",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCSACODINI",gxz:"ZV7cCsaCodIni",gxold:"OV7cCsaCodIni",gxvar:"AV7cCsaCodIni",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cCsaCodIni=a},v2z:function(a){gx.O.ZV7cCsaCodIni=a},v2c:function(){gx.fn.setControlValue("vCCSACODINI",gx.O.AV7cCsaCodIni,0)},c2v:function(){gx.O.AV7cCsaCodIni=this.val()
},val:function(){return gx.fn.getControlValue("vCCSACODINI")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKCSACODFIM",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCSACODFIM",gxz:"ZV8cCsaCodFim",gxold:"OV8cCsaCodFim",gxvar:"AV8cCsaCodFim",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cCsaCodFim=a},v2z:function(a){gx.O.ZV8cCsaCodFim=a},v2c:function(){gx.fn.setControlValue("vCCSACODFIM",gx.O.AV8cCsaCodFim,0)
},c2v:function(){gx.O.AV8cCsaCodFim=this.val()},val:function(){return gx.fn.getControlValue("vCCSACODFIM")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKCSACAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCSACAMPO1LIVRE",gxz:"ZV9cCsaCampo1Livre",gxold:"OV9cCsaCampo1Livre",gxvar:"AV9cCsaCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cCsaCampo1Livre=a
},v2z:function(a){gx.O.ZV9cCsaCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCCSACAMPO1LIVRE",gx.O.AV9cCsaCampo1Livre,0)},c2v:function(){gx.O.AV9cCsaCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCCSACAMPO1LIVRE")},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:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CSANRO",gxz:"Z167CsaNro",gxold:"O167CsaNro",gxvar:"A167CsaNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A167CsaNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z167CsaNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CSANRO",gx.fn.currentGridRowImpl(36),gx.O.A167CsaNro,0)},c2v:function(){gx.O.A167CsaNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("CSANRO",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CSACODINI",gxz:"Z166CsaCodIni",gxold:"O166CsaCodIni",gxvar:"A166CsaCodIni",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A166CsaCodIni=a
},v2z:function(a){gx.O.Z166CsaCodIni=a},v2c:function(){gx.fn.setGridControlValue("CSACODINI",gx.fn.currentGridRowImpl(36),gx.O.A166CsaCodIni,0)},c2v:function(){gx.O.A166CsaCodIni=this.val()},val:function(){return gx.fn.getGridControlValue("CSACODINI",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:"CSACODFIM",gxz:"Z165CsaCodFim",gxold:"O165CsaCodFim",gxvar:"A165CsaCodFim",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A165CsaCodFim=a
},v2z:function(a){gx.O.Z165CsaCodFim=a},v2c:function(){gx.fn.setGridControlValue("CSACODFIM",gx.fn.currentGridRowImpl(36),gx.O.A165CsaCodFim,0)},c2v:function(){gx.O.A165CsaCodFim=this.val()},val:function(){return gx.fn.getGridControlValue("CSACODFIM",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CSACAMPO1L",gxz:"Z164CsaCampo1L",gxold:"O164CsaCampo1L",gxvar:"A164CsaCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A164CsaCampo1L=a
},v2z:function(a){gx.O.Z164CsaCampo1L=a},v2c:function(){gx.fn.setGridControlValue("CSACAMPO1L",gx.fn.currentGridRowImpl(36),gx.O.A164CsaCampo1L,0)},c2v:function(){gx.O.A164CsaCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("CSACAMPO1L",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[42]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ACONRO",gxz:"Z4AcoNro",gxold:"O4AcoNro",gxvar:"A4AcoNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A4AcoNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z4AcoNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ACONRO",gx.fn.currentGridRowImpl(36),gx.O.A4AcoNro,0)},c2v:function(){gx.O.A4AcoNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ACONRO",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SACNRO",gxz:"Z753SacNro",gxold:"O753SacNro",gxvar:"A753SacNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A753SacNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z753SacNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SACNRO",gx.fn.currentGridRowImpl(36),gx.O.A753SacNro,0)},c2v:function(){gx.O.A753SacNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("SACNRO",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[46]={fld:"TABLE4",grid:0};this.AV6cCsaNro=0;this.ZV6cCsaNro=0;this.OV6cCsaNro=0;this.AV7cCsaCodIni="";this.ZV7cCsaCodIni="";this.OV7cCsaCodIni="";this.AV8cCsaCodFim="";this.ZV8cCsaCodFim="";
this.OV8cCsaCodFim="";this.AV9cCsaCampo1Livre="";this.ZV9cCsaCampo1Livre="";this.OV9cCsaCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z167CsaNro=0;this.O167CsaNro=0;this.Z166CsaCodIni="";this.O166CsaCodIni="";this.Z165CsaCodFim="";this.O165CsaCodFim="";this.Z164CsaCampo1L="";this.O164CsaCampo1L="";this.Z4AcoNro=0;this.O4AcoNro=0;this.Z753SacNro=0;this.O753SacNro=0;this.AV10pAcoNro=0;this.AV11pSacNro=0;this.AV12pCsaNro=0;this.AV5LinkSelection="";this.A167CsaNro=0;this.A166CsaCodIni="";
this.A165CsaCodFim="";this.A164CsaCampo1L="";this.A4AcoNro=0;this.A753SacNro=0;this.ServerEvents=["e13ah2_client","e14ah1_client"];this.VarControlMap.AV10pAcoNro={id:"vPACONRO",grid:0,type:"int"};this.VarControlMap.AV11pSacNro={id:"vPSACNRO",grid:0,type:"int"};this.VarControlMap.AV12pCsaNro={id:"vPCSANRO",grid:0,type:"int"};this.VarControlMap.AV10pAcoNro={id:"vPACONRO",grid:0,type:"int"};this.VarControlMap.AV11pSacNro={id:"vPSACNRO",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.Grid1Container.addRefreshingVar({rfrVar:"AV10pAcoNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV11pSacNro"});this.SetStandaloneVars()}gx01q2.prototype=new gx.GxObject;gx.setParentObj(new gx01q2());