gx.evt.autoSkip=false;function tpet014(){this.ServerClass="Tpet014";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Arecod=function(){gx.ajax.validSrvEvt("dyncall","valid_Arecod",["gx.O.A15AreCod","gx.O.A16AreDes"],["A16AreDes","Gx_mode","Z15AreCod","Z16AreDes",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);return true};this.e115c112_client=function(){this.executeServerEvent("ENTER",true)
};this.e125c112_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26];this.GXLastCtrlId=26;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"char",len:8,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Arecod,isvalid:null,fld:"ARECOD",gxz:"Z15AreCod",gxold:"O15AreCod",gxvar:"A15AreCod",ucs:[],op:[20,26],ip:[26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A15AreCod=a
},v2z:function(a){gx.O.Z15AreCod=a},v2c:function(){gx.fn.setControlValue("ARECOD",gx.O.A15AreCod,0)},c2v:function(){gx.O.A15AreCod=this.val()},val:function(){return gx.fn.getControlValue("ARECOD")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"AREDES",gxz:"Z16AreDes",gxold:"O16AreDes",gxvar:"A16AreDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A16AreDes=a
},v2z:function(a){gx.O.Z16AreDes=a},v2c:function(){gx.fn.setControlValue("AREDES",gx.O.A16AreDes,0)},c2v:function(){gx.O.A16AreDes=this.val()},val:function(){return gx.fn.getControlValue("AREDES")},nac:function(){return false}};this.A15AreCod="";this.Z15AreCod="";this.O15AreCod="";this.A16AreDes="";this.Z16AreDes="";this.O16AreDes="";this.ServerEvents=["e115c112_client","e125c112_client"];this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};
this.SetStandaloneVars()}tpet014.prototype=new gx.GxObject;gx.setParentObj(new tpet014());