gx.evt.autoSkip=false;function himh102(){this.ServerClass="HImh102";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV17MtcCod=gx.fn.getIntegerValue("vMTCCOD",".")};this.e111s2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e141s1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,15,16];this.GXLastCtrlId=16;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",14,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh102",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit(548,15,"MTCCOD","Motivo","","MtcCod","int",42,"px",3,3,"right",null,[],548,"MtcCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(549,16,"MTCDES","Descrição","","Mtcdes","char",260,"px",50,50,"left",null,[],549,"Mtcdes",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"MTCCOD",gxz:"Z548MtcCod",gxold:"O548MtcCod",gxvar:"A548MtcCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A548MtcCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z548MtcCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("MTCCOD",gx.fn.currentGridRowImpl(14),gx.O.A548MtcCod,0)},c2v:function(){gx.O.A548MtcCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("MTCCOD",gx.fn.currentGridRowImpl(14),".")},nac:function(){return false}};this.GXValidFnc[16]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"MTCDES",gxz:"Z549Mtcdes",gxold:"O549Mtcdes",gxvar:"A549Mtcdes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A549Mtcdes=a
},v2z:function(a){gx.O.Z549Mtcdes=a},v2c:function(){gx.fn.setGridControlValue("MTCDES",gx.fn.currentGridRowImpl(14),gx.O.A549Mtcdes,0)},c2v:function(){gx.O.A549Mtcdes=this.val()},val:function(){return gx.fn.getGridControlValue("MTCDES",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.Z548MtcCod=0;this.O548MtcCod=0;this.Z549Mtcdes="";this.O549Mtcdes="";this.AV17MtcCod=0;this.A548MtcCod=0;this.A549Mtcdes="";this.ServerEvents=["e111s2_client","e141s1_client"];this.VarControlMap.AV17MtcCod={id:"vMTCCOD",grid:0,type:"int"};
this.SetStandaloneVars()}himh102.prototype=new gx.GxObject;gx.setParentObj(new himh102());