gx.evt.autoSkip=false;function gx02g0(){this.ServerClass="Gx02G0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pModCod=gx.fn.getControlValue("vPMODCOD");this.AV10pRotCod=gx.fn.getIntegerValue("vPROTCOD",".")};this.e139x2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e149x1_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,"gx02g0",[],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(542,33,"MODCOD","Modulo","","ModCod","char",0,"px",2,2,"left",null,[],542,"ModCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(747,34,"ROTCOD","Rotina","","RotCod","int",0,"px",2,2,"right",null,[],747,"RotCod",true,0,false,false);
this.Grid1Container.addSingleLineEdit(748,35,"ROTDES","Descricao","Selecionar","RotDes","char",0,"px",32,32,"left",null,[],748,"RotDes",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:"TEXTBLOCKMODCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:2,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCMODCOD",gxz:"ZV6cModCod",gxold:"OV6cModCod",gxvar:"AV6cModCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cModCod=a
},v2z:function(a){gx.O.ZV6cModCod=a},v2c:function(){gx.fn.setControlValue("vCMODCOD",gx.O.AV6cModCod,0)},c2v:function(){gx.O.AV6cModCod=this.val()},val:function(){return gx.fn.getControlValue("vCMODCOD")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKROTCOD",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCROTCOD",gxz:"ZV7cRotCod",gxold:"OV7cRotCod",gxvar:"AV7cRotCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cRotCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cRotCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCROTCOD",gx.O.AV7cRotCod,0)},c2v:function(){gx.O.AV7cRotCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCROTCOD",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKROTDES",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:32,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCROTDES",gxz:"ZV8cRotDes",gxold:"OV8cRotDes",gxvar:"AV8cRotDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cRotDes=a
},v2z:function(a){gx.O.ZV8cRotDes=a},v2c:function(){gx.fn.setControlValue("vCROTDES",gx.O.AV8cRotDes,0)},c2v:function(){gx.O.AV8cRotDes=this.val()},val:function(){return gx.fn.getControlValue("vCROTDES")},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:2,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"MODCOD",gxz:"Z542ModCod",gxold:"O542ModCod",gxvar:"A542ModCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A542ModCod=a
},v2z:function(a){gx.O.Z542ModCod=a},v2c:function(){gx.fn.setGridControlValue("MODCOD",gx.fn.currentGridRowImpl(31),gx.O.A542ModCod,0)},c2v:function(){gx.O.A542ModCod=this.val()},val:function(){return gx.fn.getGridControlValue("MODCOD",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ROTCOD",gxz:"Z747RotCod",gxold:"O747RotCod",gxvar:"A747RotCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A747RotCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z747RotCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ROTCOD",gx.fn.currentGridRowImpl(31),gx.O.A747RotCod,0)},c2v:function(){gx.O.A747RotCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("ROTCOD",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:32,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ROTDES",gxz:"Z748RotDes",gxold:"O748RotDes",gxvar:"A748RotDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A748RotDes=a
},v2z:function(a){gx.O.Z748RotDes=a},v2c:function(){gx.fn.setGridControlValue("ROTDES",gx.fn.currentGridRowImpl(31),gx.O.A748RotDes,0)},c2v:function(){gx.O.A748RotDes=this.val()},val:function(){return gx.fn.getGridControlValue("ROTDES",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[38]={fld:"TABLE4",grid:0};this.AV6cModCod="";this.ZV6cModCod="";this.OV6cModCod="";this.AV7cRotCod=0;this.ZV7cRotCod=0;this.OV7cRotCod=0;this.AV8cRotDes="";this.ZV8cRotDes="";this.OV8cRotDes="";
this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z542ModCod="";this.O542ModCod="";this.Z747RotCod=0;this.O747RotCod=0;this.Z748RotDes="";this.O748RotDes="";this.AV9pModCod="";this.AV10pRotCod=0;this.AV5LinkSelection="";this.A542ModCod="";this.A747RotCod=0;this.A748RotDes="";this.ServerEvents=["e139x2_client","e149x1_client"];this.VarControlMap.AV9pModCod={id:"vPMODCOD",grid:0,type:"char"};this.VarControlMap.AV10pRotCod={id:"vPROTCOD",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.SetStandaloneVars()}gx02g0.prototype=new gx.GxObject;gx.setParentObj(new gx02g0());