gx.evt.autoSkip=false;function gx02l2(){this.ServerClass="Gx02L2";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.AV11pMroNroSeqPrg=gx.fn.getIntegerValue("vPMRONROSEQPRG",".")};this.e13a32_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14a31_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,37,40];this.GXLastCtrlId=40;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx02l2",[],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(545,33,"MRONROSEQP","Sequencia","","MroNroSeqP","int",0,"px",2,2,"right",null,[],545,"MroNroSeqP",true,0,false,false);
this.Grid1Container.addSingleLineEdit(693,34,"PRGCOD","Programa","","PrgCod","char",0,"px",8,8,"left",null,[],693,"PrgCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(544,35,"MROINDDISP","Disponivel?","Selecionar","MroIndDisp","char",0,"px",2,1,"left",null,[],544,"MroIndDisp",true,0,false,false);this.Grid1Container.addSingleLineEdit(542,36,"MODCOD","Modulo","","ModCod","char",0,"px",2,2,"left",null,[],542,"ModCod",false,0,false,false);this.Grid1Container.addSingleLineEdit(747,37,"ROTCOD","Rotina","","RotCod","int",0,"px",2,2,"right",null,[],747,"RotCod",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:"TEXTBLOCKMRONROSEQPRG",format:0,grid:0};this.GXValidFnc[14]={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:"vCMRONROSEQPRG",gxz:"ZV6cMroNroSeqPrg",gxold:"OV6cMroNroSeqPrg",gxvar:"AV6cMroNroSeqPrg",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cMroNroSeqPrg=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cMroNroSeqPrg=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCMRONROSEQPRG",gx.O.AV6cMroNroSeqPrg,0)},c2v:function(){gx.O.AV6cMroNroSeqPrg=this.val()},val:function(){return gx.fn.getIntegerValue("vCMRONROSEQPRG",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKPRGCOD",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:8,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPRGCOD",gxz:"ZV7cPrgCod",gxold:"OV7cPrgCod",gxvar:"AV7cPrgCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cPrgCod=a
},v2z:function(a){gx.O.ZV7cPrgCod=a},v2c:function(){gx.fn.setControlValue("vCPRGCOD",gx.O.AV7cPrgCod,0)},c2v:function(){gx.O.AV7cPrgCod=this.val()},val:function(){return gx.fn.getControlValue("vCPRGCOD")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKMROINDDISPON",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:"vCMROINDDISPON",gxz:"ZV8cMroIndDispon",gxold:"OV8cMroIndDispon",gxvar:"AV8cMroIndDispon",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cMroIndDispon=a
},v2z:function(a){gx.O.ZV8cMroIndDispon=a},v2c:function(){gx.fn.setControlValue("vCMROINDDISPON",gx.O.AV8cMroIndDispon,0)},c2v:function(){gx.O.AV8cMroIndDispon=this.val()},val:function(){return gx.fn.getControlValue("vCMROINDDISPON")},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:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"MRONROSEQP",gxz:"Z545MroNroSeqP",gxold:"O545MroNroSeqP",gxvar:"A545MroNroSeqP",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A545MroNroSeqP=gx.num.intval(a)
},v2z:function(a){gx.O.Z545MroNroSeqP=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("MRONROSEQP",gx.fn.currentGridRowImpl(31),gx.O.A545MroNroSeqP,0)},c2v:function(){gx.O.A545MroNroSeqP=this.val()},val:function(){return gx.fn.getGridIntegerValue("MRONROSEQP",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:8,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PRGCOD",gxz:"Z693PrgCod",gxold:"O693PrgCod",gxvar:"A693PrgCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A693PrgCod=a
},v2z:function(a){gx.O.Z693PrgCod=a},v2c:function(){gx.fn.setGridControlValue("PRGCOD",gx.fn.currentGridRowImpl(31),gx.O.A693PrgCod,0)},c2v:function(){gx.O.A693PrgCod=this.val()},val:function(){return gx.fn.getGridControlValue("PRGCOD",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:"MROINDDISP",gxz:"Z544MroIndDisp",gxold:"O544MroIndDisp",gxvar:"A544MroIndDisp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A544MroIndDisp=a
},v2z:function(a){gx.O.Z544MroIndDisp=a},v2c:function(){gx.fn.setGridControlValue("MROINDDISP",gx.fn.currentGridRowImpl(31),gx.O.A544MroIndDisp,0)},c2v:function(){gx.O.A544MroIndDisp=this.val()},val:function(){return gx.fn.getGridControlValue("MROINDDISP",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[36]={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[37]={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[40]={fld:"TABLE4",grid:0};this.AV6cMroNroSeqPrg=0;this.ZV6cMroNroSeqPrg=0;this.OV6cMroNroSeqPrg=0;this.AV7cPrgCod="";this.ZV7cPrgCod="";this.OV7cPrgCod="";this.AV8cMroIndDispon="";
this.ZV8cMroIndDispon="";this.OV8cMroIndDispon="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z545MroNroSeqP=0;this.O545MroNroSeqP=0;this.Z693PrgCod="";this.O693PrgCod="";this.Z544MroIndDisp="";this.O544MroIndDisp="";this.Z542ModCod="";this.O542ModCod="";this.Z747RotCod=0;this.O747RotCod=0;this.AV9pModCod="";this.AV10pRotCod=0;this.AV11pMroNroSeqPrg=0;this.AV5LinkSelection="";this.A545MroNroSeqP=0;this.A693PrgCod="";this.A544MroIndDisp="";this.A542ModCod="";this.A747RotCod=0;this.ServerEvents=["e13a32_client","e14a31_client"];
this.VarControlMap.AV9pModCod={id:"vPMODCOD",grid:0,type:"char"};this.VarControlMap.AV10pRotCod={id:"vPROTCOD",grid:0,type:"int"};this.VarControlMap.AV11pMroNroSeqPrg={id:"vPMRONROSEQPRG",grid:0,type:"int"};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.Grid1Container.addRefreshingVar({rfrVar:"AV9pModCod"});this.Grid1Container.addRefreshingVar({rfrVar:"AV10pRotCod"});this.SetStandaloneVars()}gx02l2.prototype=new gx.GxObject;gx.setParentObj(new gx02l2());