gx.evt.autoSkip=false;function gx02r1(){this.ServerClass="Gx02R1";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pUsuCod=gx.fn.getControlValue("vPUSUCOD");this.AV10pDirCod=gx.fn.getControlValue("vPDIRCOD")};this.e139v2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e149v1_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,36,39];
this.GXLastCtrlId=39;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx02r1",[],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(205,33,"DIRCOD","Direito","","DirCod","char",0,"px",7,7,"left",null,[],205,"DirCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(965,34,"USPINDACES","Acessa programa","Selecionar","UspIndAces","char",0,"px",2,1,"left",null,[],965,"UspIndAces",true,0,false,false);
this.Grid1Container.addComboBox(966,35,"USPTIPACES","Tipo de acesso","UspTipAces","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(968,36,"USUCOD","Operador","","UsuCod","char",0,"px",6,6,"left",null,[],968,"UsuCod",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:"TEXTBLOCKDIRCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:7,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDIRCOD",gxz:"ZV6cDirCod",gxold:"OV6cDirCod",gxvar:"AV6cDirCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDirCod=a
},v2z:function(a){gx.O.ZV6cDirCod=a},v2c:function(){gx.fn.setControlValue("vCDIRCOD",gx.O.AV6cDirCod,0)},c2v:function(){gx.O.AV6cDirCod=this.val()},val:function(){return gx.fn.getControlValue("vCDIRCOD")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKUSPINDACESSA",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSPINDACESSA",gxz:"ZV7cUspIndAcessa",gxold:"OV7cUspIndAcessa",gxvar:"AV7cUspIndAcessa",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cUspIndAcessa=a
},v2z:function(a){gx.O.ZV7cUspIndAcessa=a},v2c:function(){gx.fn.setControlValue("vCUSPINDACESSA",gx.O.AV7cUspIndAcessa,0)},c2v:function(){gx.O.AV7cUspIndAcessa=this.val()},val:function(){return gx.fn.getControlValue("vCUSPINDACESSA")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKUSPTIPACESSO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSPTIPACESSO",gxz:"ZV8cUspTipAcesso",gxold:"OV8cUspTipAcesso",gxvar:"AV8cUspTipAcesso",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV8cUspTipAcesso=a
},v2z:function(a){gx.O.ZV8cUspTipAcesso=a},v2c:function(){gx.fn.setComboBoxValue("vCUSPTIPACESSO",gx.O.AV8cUspTipAcesso)},c2v:function(){gx.O.AV8cUspTipAcesso=this.val()},val:function(){return gx.fn.getControlValue("vCUSPTIPACESSO")},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:7,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DIRCOD",gxz:"Z205DirCod",gxold:"O205DirCod",gxvar:"A205DirCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A205DirCod=a
},v2z:function(a){gx.O.Z205DirCod=a},v2c:function(){gx.fn.setGridControlValue("DIRCOD",gx.fn.currentGridRowImpl(31),gx.O.A205DirCod,0)},c2v:function(){gx.O.A205DirCod=this.val()},val:function(){return gx.fn.getGridControlValue("DIRCOD",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USPINDACES",gxz:"Z965UspIndAces",gxold:"O965UspIndAces",gxvar:"A965UspIndAces",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A965UspIndAces=a
},v2z:function(a){gx.O.Z965UspIndAces=a},v2c:function(){gx.fn.setGridControlValue("USPINDACES",gx.fn.currentGridRowImpl(31),gx.O.A965UspIndAces,0)},c2v:function(){gx.O.A965UspIndAces=this.val()},val:function(){return gx.fn.getGridControlValue("USPINDACES",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USPTIPACES",gxz:"Z966UspTipAces",gxold:"O966UspTipAces",gxvar:"A966UspTipAces",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A966UspTipAces=a
},v2z:function(a){gx.O.Z966UspTipAces=a},v2c:function(){gx.fn.setGridComboBoxValue("USPTIPACES",gx.fn.currentGridRowImpl(31),gx.O.A966UspTipAces)},c2v:function(){gx.O.A966UspTipAces=this.val()},val:function(){return gx.fn.getGridControlValue("USPTIPACES",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"char",len:6,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USUCOD",gxz:"Z968UsuCod",gxold:"O968UsuCod",gxvar:"A968UsuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A968UsuCod=a
},v2z:function(a){gx.O.Z968UsuCod=a},v2c:function(){gx.fn.setGridControlValue("USUCOD",gx.fn.currentGridRowImpl(31),gx.O.A968UsuCod,0)},c2v:function(){gx.O.A968UsuCod=this.val()},val:function(){return gx.fn.getGridControlValue("USUCOD",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[39]={fld:"TABLE4",grid:0};this.AV6cDirCod="";this.ZV6cDirCod="";this.OV6cDirCod="";this.AV7cUspIndAcessa="";this.ZV7cUspIndAcessa="";this.OV7cUspIndAcessa="";this.AV8cUspTipAcesso="";this.ZV8cUspTipAcesso="";
this.OV8cUspTipAcesso="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z205DirCod="";this.O205DirCod="";this.Z965UspIndAces="";this.O965UspIndAces="";this.Z966UspTipAces="";this.O966UspTipAces="";this.Z968UsuCod="";this.O968UsuCod="";this.AV9pUsuCod="";this.AV10pDirCod="";this.AV5LinkSelection="";this.A205DirCod="";this.A965UspIndAces="";this.A966UspTipAces="";this.A968UsuCod="";this.ServerEvents=["e139v2_client","e149v1_client"];this.VarControlMap.AV9pUsuCod={id:"vPUSUCOD",grid:0,type:"char"};
this.VarControlMap.AV10pDirCod={id:"vPDIRCOD",grid:0,type:"char"};this.VarControlMap.AV9pUsuCod={id:"vPUSUCOD",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar({rfrVar:"AV9pUsuCod"});this.SetStandaloneVars()}gx02r1.prototype=new gx.GxObject;gx.setParentObj(new gx02r1());