gx.evt.autoSkip=false;function gx03j0(){this.ServerClass="Gx03J0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pTmdTipAplicacao=gx.fn.getControlValue("vPTMDTIPAPLICACAO");this.AV9pTmdDscTermo=gx.fn.getControlValue("vPTMDDSCTERMO")};this.e13c42_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14c41_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,"gx03j0",[],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.addComboBox(898,28,"TMDTIPAPLI","Tipo de aplicação","TmdTipApli","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(897,29,"TMDDSCTERM","Termo","","TmdDscTerm","char",0,"px",25,25,"left",null,[],897,"TmdDscTerm",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:"TEXTBLOCKTMDTIPAPLICACAO",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCTMDTIPAPLICACAO",gxz:"ZV6cTmdTipAplicacao",gxold:"OV6cTmdTipAplicacao",gxvar:"AV6cTmdTipAplicacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV6cTmdTipAplicacao=a
},v2z:function(a){gx.O.ZV6cTmdTipAplicacao=a},v2c:function(){gx.fn.setComboBoxValue("vCTMDTIPAPLICACAO",gx.O.AV6cTmdTipAplicacao)},c2v:function(){gx.O.AV6cTmdTipAplicacao=this.val()},val:function(){return gx.fn.getControlValue("vCTMDTIPAPLICACAO")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKTMDDSCTERMO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCTMDDSCTERMO",gxz:"ZV7cTmdDscTermo",gxold:"OV7cTmdDscTermo",gxvar:"AV7cTmdDscTermo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cTmdDscTermo=a
},v2z:function(a){gx.O.ZV7cTmdDscTermo=a},v2c:function(){gx.fn.setControlValue("vCTMDDSCTERMO",gx.O.AV7cTmdDscTermo,0)},c2v:function(){gx.O.AV7cTmdDscTermo=this.val()},val:function(){return gx.fn.getControlValue("vCTMDDSCTERMO")},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:"char",len:1,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TMDTIPAPLI",gxz:"Z898TmdTipApli",gxold:"O898TmdTipApli",gxvar:"A898TmdTipApli",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A898TmdTipApli=a
},v2z:function(a){gx.O.Z898TmdTipApli=a},v2c:function(){gx.fn.setGridComboBoxValue("TMDTIPAPLI",gx.fn.currentGridRowImpl(26),gx.O.A898TmdTipApli)},c2v:function(){gx.O.A898TmdTipApli=this.val()},val:function(){return gx.fn.getGridControlValue("TMDTIPAPLI",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TMDDSCTERM",gxz:"Z897TmdDscTerm",gxold:"O897TmdDscTerm",gxvar:"A897TmdDscTerm",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A897TmdDscTerm=a
},v2z:function(a){gx.O.Z897TmdDscTerm=a},v2c:function(){gx.fn.setGridControlValue("TMDDSCTERM",gx.fn.currentGridRowImpl(26),gx.O.A897TmdDscTerm,0)},c2v:function(){gx.O.A897TmdDscTerm=this.val()},val:function(){return gx.fn.getGridControlValue("TMDDSCTERM",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[32]={fld:"TABLE4",grid:0};this.AV6cTmdTipAplicacao="";this.ZV6cTmdTipAplicacao="";this.OV6cTmdTipAplicacao="";this.AV7cTmdDscTermo="";this.ZV7cTmdDscTermo="";this.OV7cTmdDscTermo="";
this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z898TmdTipApli="";this.O898TmdTipApli="";this.Z897TmdDscTerm="";this.O897TmdDscTerm="";this.AV8pTmdTipAplicacao="";this.AV9pTmdDscTermo="";this.AV5LinkSelection="";this.A898TmdTipApli="";this.A897TmdDscTerm="";this.ServerEvents=["e13c42_client","e14c41_client"];this.VarControlMap.AV8pTmdTipAplicacao={id:"vPTMDTIPAPLICACAO",grid:0,type:"char"};this.VarControlMap.AV9pTmdDscTermo={id:"vPTMDDSCTERMO",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.SetStandaloneVars()}gx03j0.prototype=new gx.GxObject;gx.setParentObj(new gx03j0());