gx.evt.autoSkip=false;function gx0431(){this.ServerClass="Gx0431";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pMsgNroSeq=gx.fn.getIntegerValue("vPMSGNROSEQ",".");this.AV9pMliNroSeq=gx.fn.getIntegerValue("vPMLINROSEQ",".")};this.e13ay2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14ay1_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,"gx0431",[],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(540,28,"MLINROSEQ","Seq.","","MliNroSeq","int",0,"px",3,3,"right",null,[],540,"MliNroSeq",true,0,false,false);
this.Grid1Container.addSingleLineEdit(539,29,"MLIDESMENS","Mensagem","Selecionar","MliDesMens","char",0,"px",100,100,"left",null,[],539,"MliDesMens",true,0,false,false);this.Grid1Container.addSingleLineEdit(547,30,"MSGNROSEQ","Mensagem","","MsgNroSeq","int",0,"px",3,3,"right",null,[],547,"MsgNroSeq",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:"TEXTBLOCKMLINROSEQ",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCMLINROSEQ",gxz:"ZV6cMliNroSeq",gxold:"OV6cMliNroSeq",gxvar:"AV6cMliNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cMliNroSeq=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cMliNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCMLINROSEQ",gx.O.AV6cMliNroSeq,0)},c2v:function(){gx.O.AV6cMliNroSeq=this.val()},val:function(){return gx.fn.getIntegerValue("vCMLINROSEQ",".")
},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKMLIDESMENSAGEM",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCMLIDESMENSAGEM",gxz:"ZV7cMliDesMensagem",gxold:"OV7cMliDesMensagem",gxvar:"AV7cMliDesMensagem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cMliDesMensagem=a},v2z:function(a){gx.O.ZV7cMliDesMensagem=a},v2c:function(){gx.fn.setControlValue("vCMLIDESMENSAGEM",gx.O.AV7cMliDesMensagem,0)
},c2v:function(){gx.O.AV7cMliDesMensagem=this.val()},val:function(){return gx.fn.getControlValue("vCMLIDESMENSAGEM")},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:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"MLINROSEQ",gxz:"Z540MliNroSeq",gxold:"O540MliNroSeq",gxvar:"A540MliNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A540MliNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z540MliNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("MLINROSEQ",gx.fn.currentGridRowImpl(26),gx.O.A540MliNroSeq,0)},c2v:function(){gx.O.A540MliNroSeq=this.val()},val:function(){return gx.fn.getGridIntegerValue("MLINROSEQ",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"MLIDESMENS",gxz:"Z539MliDesMens",gxold:"O539MliDesMens",gxvar:"A539MliDesMens",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A539MliDesMens=a
},v2z:function(a){gx.O.Z539MliDesMens=a},v2c:function(){gx.fn.setGridControlValue("MLIDESMENS",gx.fn.currentGridRowImpl(26),gx.O.A539MliDesMens,0)},c2v:function(){gx.O.A539MliDesMens=this.val()},val:function(){return gx.fn.getGridControlValue("MLIDESMENS",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"MSGNROSEQ",gxz:"Z547MsgNroSeq",gxold:"O547MsgNroSeq",gxvar:"A547MsgNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A547MsgNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z547MsgNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("MSGNROSEQ",gx.fn.currentGridRowImpl(26),gx.O.A547MsgNroSeq,0)},c2v:function(){gx.O.A547MsgNroSeq=this.val()},val:function(){return gx.fn.getGridIntegerValue("MSGNROSEQ",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TABLE4",grid:0};this.AV6cMliNroSeq=0;this.ZV6cMliNroSeq=0;this.OV6cMliNroSeq=0;this.AV7cMliDesMensagem="";this.ZV7cMliDesMensagem="";this.OV7cMliDesMensagem="";
this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z540MliNroSeq=0;this.O540MliNroSeq=0;this.Z539MliDesMens="";this.O539MliDesMens="";this.Z547MsgNroSeq=0;this.O547MsgNroSeq=0;this.AV8pMsgNroSeq=0;this.AV9pMliNroSeq=0;this.AV5LinkSelection="";this.A540MliNroSeq=0;this.A539MliDesMens="";this.A547MsgNroSeq=0;this.ServerEvents=["e13ay2_client","e14ay1_client"];this.VarControlMap.AV8pMsgNroSeq={id:"vPMSGNROSEQ",grid:0,type:"int"};this.VarControlMap.AV9pMliNroSeq={id:"vPMLINROSEQ",grid:0,type:"int"};
this.VarControlMap.AV8pMsgNroSeq={id:"vPMSGNROSEQ",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar({rfrVar:"AV8pMsgNroSeq"});this.SetStandaloneVars()}gx0431.prototype=new gx.GxObject;gx.setParentObj(new gx0431());