gx.evt.autoSkip=false;function gx01a0(){this.ServerClass="Gx01A0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pMbaCod=gx.fn.getIntegerValue("vPMBACOD",".")};this.e13b82_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14b81_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,28,32,33,34,37];this.GXLastCtrlId=37;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx01a0",[],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(528,33,"MBACOD","Motivo de baixa","","MbaCod","int",0,"px",3,3,"right",null,[],528,"MbaCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(529,34,"MBADES","Descrição","Selecionar","MbaDes","char",0,"px",100,100,"left",null,[],529,"MbaDes",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:"TEXTBLOCKMBACOD",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:"vCMBACOD",gxz:"ZV6cMbaCod",gxold:"OV6cMbaCod",gxvar:"AV6cMbaCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cMbaCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cMbaCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCMBACOD",gx.O.AV6cMbaCod,0)},c2v:function(){gx.O.AV6cMbaCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCMBACOD",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKMBADES",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:"vCMBADES",gxz:"ZV7cMbaDes",gxold:"OV7cMbaDes",gxvar:"AV7cMbaDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cMbaDes=a
},v2z:function(a){gx.O.ZV7cMbaDes=a},v2c:function(){gx.fn.setControlValue("vCMBADES",gx.O.AV7cMbaDes,0)},c2v:function(){gx.O.AV7cMbaDes=this.val()},val:function(){return gx.fn.getControlValue("vCMBADES")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKMBACAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCMBACAMPO1LIVRE",gxz:"ZV8cMbaCampo1Livre",gxold:"OV8cMbaCampo1Livre",gxvar:"AV8cMbaCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cMbaCampo1Livre=a
},v2z:function(a){gx.O.ZV8cMbaCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCMBACAMPO1LIVRE",gx.O.AV8cMbaCampo1Livre,0)},c2v:function(){gx.O.AV8cMbaCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCMBACAMPO1LIVRE")},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:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"MBACOD",gxz:"Z528MbaCod",gxold:"O528MbaCod",gxvar:"A528MbaCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A528MbaCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z528MbaCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("MBACOD",gx.fn.currentGridRowImpl(31),gx.O.A528MbaCod,0)},c2v:function(){gx.O.A528MbaCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("MBACOD",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"MBADES",gxz:"Z529MbaDes",gxold:"O529MbaDes",gxvar:"A529MbaDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A529MbaDes=a
},v2z:function(a){gx.O.Z529MbaDes=a},v2c:function(){gx.fn.setGridControlValue("MBADES",gx.fn.currentGridRowImpl(31),gx.O.A529MbaDes,0)},c2v:function(){gx.O.A529MbaDes=this.val()},val:function(){return gx.fn.getGridControlValue("MBADES",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[37]={fld:"TABLE4",grid:0};this.AV6cMbaCod=0;this.ZV6cMbaCod=0;this.OV6cMbaCod=0;this.AV7cMbaDes="";this.ZV7cMbaDes="";this.OV7cMbaDes="";this.AV8cMbaCampo1Livre="";this.ZV8cMbaCampo1Livre="";
this.OV8cMbaCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z528MbaCod=0;this.O528MbaCod=0;this.Z529MbaDes="";this.O529MbaDes="";this.AV9pMbaCod=0;this.A527MbaCampo1L="";this.AV5LinkSelection="";this.A528MbaCod=0;this.A529MbaDes="";this.ServerEvents=["e13b82_client","e14b81_client"];this.VarControlMap.AV9pMbaCod={id:"vPMBACOD",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);
this.SetStandaloneVars()}gx01a0.prototype=new gx.GxObject;gx.setParentObj(new gx01a0());