gx.evt.autoSkip=false;function gx02i1(){this.ServerClass="Gx02I1";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pModCod=gx.fn.getControlValue("vPMODCOD");this.AV9pMnuNroSeqRot=gx.fn.getIntegerValue("vPMNUNROSEQROT",".")};this.e13a02_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14a01_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,23,27,28,29,30,33];
this.GXLastCtrlId=33;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",26,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx02i1",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",27,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(541,28,"MNUNROSEQR","Sequencia","Selecionar","MnuNroSeqR","int",0,"px",2,2,"right",null,[],541,"MnuNroSeqR",true,0,false,false);
this.Grid1Container.addSingleLineEdit(747,29,"ROTCOD","Rotina","","RotCod","int",0,"px",2,2,"right",null,[],747,"RotCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(542,30,"MODCOD","Modulo","","ModCod","char",0,"px",2,2,"left",null,[],542,"ModCod",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:"TEXTBLOCKMNUNROSEQROT",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:"vCMNUNROSEQROT",gxz:"ZV6cMnuNroSeqRot",gxold:"OV6cMnuNroSeqRot",gxvar:"AV6cMnuNroSeqRot",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cMnuNroSeqRot=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cMnuNroSeqRot=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCMNUNROSEQROT",gx.O.AV6cMnuNroSeqRot,0)},c2v:function(){gx.O.AV6cMnuNroSeqRot=this.val()
},val:function(){return gx.fn.getIntegerValue("vCMNUNROSEQROT",".")},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:"GROUP2",grid:0};this.GXValidFnc[23]={fld:"TABLE3",grid:0};this.GXValidFnc[27]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:26,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(26))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"MNUNROSEQR",gxz:"Z541MnuNroSeqR",gxold:"O541MnuNroSeqR",gxvar:"A541MnuNroSeqR",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A541MnuNroSeqR=gx.num.intval(a)
},v2z:function(a){gx.O.Z541MnuNroSeqR=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("MNUNROSEQR",gx.fn.currentGridRowImpl(26),gx.O.A541MnuNroSeqR,0)},c2v:function(){gx.O.A541MnuNroSeqR=this.val()},val:function(){return gx.fn.getGridIntegerValue("MNUNROSEQR",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:26,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(26),gx.O.A747RotCod,0)},c2v:function(){gx.O.A747RotCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("ROTCOD",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:2,dec:0,sign:false,ro:1,grid:26,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(26),gx.O.A542ModCod,0)},c2v:function(){gx.O.A542ModCod=this.val()},val:function(){return gx.fn.getGridControlValue("MODCOD",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[33]={fld:"TABLE4",grid:0};this.AV6cMnuNroSeqRot=0;this.ZV6cMnuNroSeqRot=0;this.OV6cMnuNroSeqRot=0;this.AV7cRotCod=0;this.ZV7cRotCod=0;this.OV7cRotCod=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";
this.Z541MnuNroSeqR=0;this.O541MnuNroSeqR=0;this.Z747RotCod=0;this.O747RotCod=0;this.Z542ModCod="";this.O542ModCod="";this.AV8pModCod="";this.AV9pMnuNroSeqRot=0;this.AV5LinkSelection="";this.A541MnuNroSeqR=0;this.A747RotCod=0;this.A542ModCod="";this.ServerEvents=["e13a02_client","e14a01_client"];this.VarControlMap.AV8pModCod={id:"vPMODCOD",grid:0,type:"char"};this.VarControlMap.AV9pMnuNroSeqRot={id:"vPMNUNROSEQROT",grid:0,type:"int"};this.VarControlMap.AV8pModCod={id:"vPMODCOD",grid:0,type:"char"};
this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar({rfrVar:"AV8pModCod"});this.SetStandaloneVars()}gx02i1.prototype=new gx.GxObject;gx.setParentObj(new gx02i1());