gx.evt.autoSkip=false;function gx0420(){this.ServerClass="Gx0420";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pMsgNroSeq=gx.fn.getIntegerValue("vPMSGNROSEQ",".")};this.e13ax2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14ax1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,23,27,28,29,32];this.GXLastCtrlId=32;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",26,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0420",[],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(547,28,"MSGNROSEQ","Mensagem","","MsgNroSeq","int",0,"px",3,3,"right",null,[],547,"MsgNroSeq",true,0,false,false);this.Grid1Container.addSingleLineEdit(546,29,"MSGDESASSU","Assunto","Selecionar","MsgDesAssu","char",0,"px",40,40,"left",null,[],546,"MsgDesAssu",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:"TEXTBLOCKMSGNROSEQ",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:"vCMSGNROSEQ",gxz:"ZV6cMsgNroSeq",gxold:"OV6cMsgNroSeq",gxvar:"AV6cMsgNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cMsgNroSeq=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cMsgNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCMSGNROSEQ",gx.O.AV6cMsgNroSeq,0)
},c2v:function(){gx.O.AV6cMsgNroSeq=this.val()},val:function(){return gx.fn.getIntegerValue("vCMSGNROSEQ",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKMSGDESASSUNTO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCMSGDESASSUNTO",gxz:"ZV7cMsgDesAssunto",gxold:"OV7cMsgDesAssunto",gxvar:"AV7cMsgDesAssunto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cMsgDesAssunto=a
},v2z:function(a){gx.O.ZV7cMsgDesAssunto=a},v2c:function(){gx.fn.setControlValue("vCMSGDESASSUNTO",gx.O.AV7cMsgDesAssunto,0)},c2v:function(){gx.O.AV7cMsgDesAssunto=this.val()},val:function(){return gx.fn.getControlValue("vCMSGDESASSUNTO")},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:"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[29]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"MSGDESASSU",gxz:"Z546MsgDesAssu",gxold:"O546MsgDesAssu",gxvar:"A546MsgDesAssu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A546MsgDesAssu=a
},v2z:function(a){gx.O.Z546MsgDesAssu=a},v2c:function(){gx.fn.setGridControlValue("MSGDESASSU",gx.fn.currentGridRowImpl(26),gx.O.A546MsgDesAssu,0)},c2v:function(){gx.O.A546MsgDesAssu=this.val()},val:function(){return gx.fn.getGridControlValue("MSGDESASSU",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[32]={fld:"TABLE4",grid:0};this.AV6cMsgNroSeq=0;this.ZV6cMsgNroSeq=0;this.OV6cMsgNroSeq=0;this.AV7cMsgDesAssunto="";this.ZV7cMsgDesAssunto="";this.OV7cMsgDesAssunto="";this.ZV5LinkSelection="";
this.OV5LinkSelection="";this.Z547MsgNroSeq=0;this.O547MsgNroSeq=0;this.Z546MsgDesAssu="";this.O546MsgDesAssu="";this.AV8pMsgNroSeq=0;this.AV5LinkSelection="";this.A547MsgNroSeq=0;this.A546MsgDesAssu="";this.ServerEvents=["e13ax2_client","e14ax1_client"];this.VarControlMap.AV8pMsgNroSeq={id:"vPMSGNROSEQ",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.SetStandaloneVars()}gx0420.prototype=new gx.GxObject;gx.setParentObj(new gx0420());