gx.evt.autoSkip=false;function gx01p0(){this.ServerClass="Gx01P0";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.e13cs2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14cs1_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,44];
this.GXLastCtrlId=44;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",36,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx01p0",[],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(4,38,"ACONRO","Área de conhecimento","","AcoNro","int",0,"px",3,3,"right",null,[],4,"AcoNro",true,0,false,false);
this.Grid1Container.addSingleLineEdit(753,39,"SACNRO","Sub-área de conhecimento","","SacNro","int",0,"px",3,3,"right",null,[],753,"SacNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(752,40,"SACNOM","Nome","Selecionar","SacNom","char",0,"px",50,50,"left",null,[],752,"SacNom",true,0,false,false);this.Grid1Container.addSingleLineEdit(751,41,"SACCAMPO1L","Campo livre","","SacCampo1L","char",0,"px",30,30,"left",null,[],751,"SacCampo1L",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:"TEXTBLOCKACONRO",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:"vCACONRO",gxz:"ZV6cAcoNro",gxold:"OV6cAcoNro",gxvar:"AV6cAcoNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cAcoNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cAcoNro=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("vCACONRO",gx.O.AV6cAcoNro,0)},c2v:function(){gx.O.AV6cAcoNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCACONRO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKSACNRO",format:0,grid:0};this.GXValidFnc[19]={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:"vCSACNRO",gxz:"ZV7cSacNro",gxold:"OV7cSacNro",gxvar:"AV7cSacNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cSacNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cSacNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCSACNRO",gx.O.AV7cSacNro,0)},c2v:function(){gx.O.AV7cSacNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCSACNRO",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKSACNOM",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCSACNOM",gxz:"ZV8cSacNom",gxold:"OV8cSacNom",gxvar:"AV8cSacNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cSacNom=a
},v2z:function(a){gx.O.ZV8cSacNom=a},v2c:function(){gx.fn.setControlValue("vCSACNOM",gx.O.AV8cSacNom,0)},c2v:function(){gx.O.AV8cSacNom=this.val()},val:function(){return gx.fn.getControlValue("vCSACNOM")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKSACCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCSACCAMPO1LIVRE",gxz:"ZV9cSacCampo1Livre",gxold:"OV9cSacCampo1Livre",gxvar:"AV9cSacCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cSacCampo1Livre=a
},v2z:function(a){gx.O.ZV9cSacCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCSACCAMPO1LIVRE",gx.O.AV9cSacCampo1Livre,0)},c2v:function(){gx.O.AV9cSacCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCSACCAMPO1LIVRE")},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:"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[39]={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[40]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SACNOM",gxz:"Z752SacNom",gxold:"O752SacNom",gxvar:"A752SacNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A752SacNom=a
},v2z:function(a){gx.O.Z752SacNom=a},v2c:function(){gx.fn.setGridControlValue("SACNOM",gx.fn.currentGridRowImpl(36),gx.O.A752SacNom,0)},c2v:function(){gx.O.A752SacNom=this.val()},val:function(){return gx.fn.getGridControlValue("SACNOM",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SACCAMPO1L",gxz:"Z751SacCampo1L",gxold:"O751SacCampo1L",gxvar:"A751SacCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A751SacCampo1L=a
},v2z:function(a){gx.O.Z751SacCampo1L=a},v2c:function(){gx.fn.setGridControlValue("SACCAMPO1L",gx.fn.currentGridRowImpl(36),gx.O.A751SacCampo1L,0)},c2v:function(){gx.O.A751SacCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("SACCAMPO1L",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[44]={fld:"TABLE4",grid:0};this.AV6cAcoNro=0;this.ZV6cAcoNro=0;this.OV6cAcoNro=0;this.AV7cSacNro=0;this.ZV7cSacNro=0;this.OV7cSacNro=0;this.AV8cSacNom="";this.ZV8cSacNom="";
this.OV8cSacNom="";this.AV9cSacCampo1Livre="";this.ZV9cSacCampo1Livre="";this.OV9cSacCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z4AcoNro=0;this.O4AcoNro=0;this.Z753SacNro=0;this.O753SacNro=0;this.Z752SacNom="";this.O752SacNom="";this.Z751SacCampo1L="";this.O751SacCampo1L="";this.AV10pAcoNro=0;this.AV11pSacNro=0;this.AV5LinkSelection="";this.A4AcoNro=0;this.A753SacNro=0;this.A752SacNom="";this.A751SacCampo1L="";this.ServerEvents=["e13cs2_client","e14cs1_client"];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.SetStandaloneVars()}gx01p0.prototype=new gx.GxObject;gx.setParentObj(new gx01p0());