gx.evt.autoSkip=false;function gx0490(){this.ServerClass="Gx0490";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pNpuCod=gx.fn.getControlValue("vPNPUCOD")};this.e13cn2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14cn1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,28,32,33,34,35,38];this.GXLastCtrlId=38;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0490",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",32,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(553,33,"NPUCOD","Nível de publicação","","NpuCod","char",0,"px",3,3,"left",null,[],553,"NpuCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(554,34,"NPUDESNIVE","Descrição","Selecionar","NpuDesNive","char",0,"px",25,25,"left",null,[],554,"NpuDesNive",true,0,false,false);
this.Grid1Container.addSingleLineEdit(552,35,"NPUCAMPO1L","Campo livre 1","","NpuCampo1L","char",0,"px",30,30,"left",null,[],552,"NpuCampo1L",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:"TEXTBLOCKNPUCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCNPUCOD",gxz:"ZV6cNpuCod",gxold:"OV6cNpuCod",gxvar:"AV6cNpuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cNpuCod=a
},v2z:function(a){gx.O.ZV6cNpuCod=a},v2c:function(){gx.fn.setControlValue("vCNPUCOD",gx.O.AV6cNpuCod,0)},c2v:function(){gx.O.AV6cNpuCod=this.val()},val:function(){return gx.fn.getControlValue("vCNPUCOD")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKNPUDESNIVEL",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:"vCNPUDESNIVEL",gxz:"ZV7cNpuDesNivel",gxold:"OV7cNpuDesNivel",gxvar:"AV7cNpuDesNivel",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cNpuDesNivel=a
},v2z:function(a){gx.O.ZV7cNpuDesNivel=a},v2c:function(){gx.fn.setControlValue("vCNPUDESNIVEL",gx.O.AV7cNpuDesNivel,0)},c2v:function(){gx.O.AV7cNpuDesNivel=this.val()},val:function(){return gx.fn.getControlValue("vCNPUDESNIVEL")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKNPUCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCNPUCAMPO1LIVRE",gxz:"ZV8cNpuCampo1Livre",gxold:"OV8cNpuCampo1Livre",gxvar:"AV8cNpuCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cNpuCampo1Livre=a
},v2z:function(a){gx.O.ZV8cNpuCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCNPUCAMPO1LIVRE",gx.O.AV8cNpuCampo1Livre,0)},c2v:function(){gx.O.AV8cNpuCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCNPUCAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[27]={fld:"GROUP2",grid:0};this.GXValidFnc[28]={fld:"TABLE3",grid:0};this.GXValidFnc[32]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:31,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(31))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"NPUCOD",gxz:"Z553NpuCod",gxold:"O553NpuCod",gxvar:"A553NpuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A553NpuCod=a
},v2z:function(a){gx.O.Z553NpuCod=a},v2c:function(){gx.fn.setGridControlValue("NPUCOD",gx.fn.currentGridRowImpl(31),gx.O.A553NpuCod,0)},c2v:function(){gx.O.A553NpuCod=this.val()},val:function(){return gx.fn.getGridControlValue("NPUCOD",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"NPUDESNIVE",gxz:"Z554NpuDesNive",gxold:"O554NpuDesNive",gxvar:"A554NpuDesNive",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A554NpuDesNive=a
},v2z:function(a){gx.O.Z554NpuDesNive=a},v2c:function(){gx.fn.setGridControlValue("NPUDESNIVE",gx.fn.currentGridRowImpl(31),gx.O.A554NpuDesNive,0)},c2v:function(){gx.O.A554NpuDesNive=this.val()},val:function(){return gx.fn.getGridControlValue("NPUDESNIVE",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"NPUCAMPO1L",gxz:"Z552NpuCampo1L",gxold:"O552NpuCampo1L",gxvar:"A552NpuCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A552NpuCampo1L=a
},v2z:function(a){gx.O.Z552NpuCampo1L=a},v2c:function(){gx.fn.setGridControlValue("NPUCAMPO1L",gx.fn.currentGridRowImpl(31),gx.O.A552NpuCampo1L,0)},c2v:function(){gx.O.A552NpuCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("NPUCAMPO1L",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[38]={fld:"TABLE4",grid:0};this.AV6cNpuCod="";this.ZV6cNpuCod="";this.OV6cNpuCod="";this.AV7cNpuDesNivel="";this.ZV7cNpuDesNivel="";this.OV7cNpuDesNivel="";this.AV8cNpuCampo1Livre="";
this.ZV8cNpuCampo1Livre="";this.OV8cNpuCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z553NpuCod="";this.O553NpuCod="";this.Z554NpuDesNive="";this.O554NpuDesNive="";this.Z552NpuCampo1L="";this.O552NpuCampo1L="";this.AV9pNpuCod="";this.AV5LinkSelection="";this.A553NpuCod="";this.A554NpuDesNive="";this.A552NpuCampo1L="";this.ServerEvents=["e13cn2_client","e14cn1_client"];this.VarControlMap.AV9pNpuCod={id:"vPNPUCOD",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.SetStandaloneVars()}gx0490.prototype=new gx.GxObject;gx.setParentObj(new gx0490());