gx.evt.autoSkip=false;function tpet009(){this.ServerClass="Tpet009";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Cctcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Cctcod",["gx.O.A97CctCod","gx.O.A98CctNomCent","gx.O.A15AreCod"],["A98CctNomCent","A15AreCod","A16AreDes","Gx_mode","Z97CctCod","Z98CctNomCent","Z15AreCod","Z16AreDes",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.Valid_Arecod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Arecod",["gx.O.A15AreCod","gx.O.A16AreDes"],["A16AreDes"]);return true};this.e1159111_client=function(){this.executeServerEvent("ENTER",true)};this.e1259111_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26,29,31,34,36,44];this.GXLastCtrlId=44;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_Cctcod,isvalid:null,fld:"CCTCOD",gxz:"Z97CctCod",gxold:"O97CctCod",gxvar:"A97CctCod",ucs:[],op:[31,26],ip:[31,26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A97CctCod=a},v2z:function(a){gx.O.Z97CctCod=a},v2c:function(){gx.fn.setControlValue("CCTCOD",gx.O.A97CctCod,0)},c2v:function(){gx.O.A97CctCod=this.val()},val:function(){return gx.fn.getControlValue("CCTCOD")},nac:function(){return false
}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:35,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CCTNOMCENT",gxz:"Z98CctNomCent",gxold:"O98CctNomCent",gxvar:"A98CctNomCent",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A98CctNomCent=a},v2z:function(a){gx.O.Z98CctNomCent=a},v2c:function(){gx.fn.setControlValue("CCTNOMCENT",gx.O.A98CctNomCent,0)},c2v:function(){gx.O.A98CctNomCent=this.val()},val:function(){return gx.fn.getControlValue("CCTNOMCENT")
},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={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:[36],ip:[36,31],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[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:1,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.GXValidFnc[44]={fld:"PROMPT_15",grid:111};this.A97CctCod="";this.Z97CctCod="";this.O97CctCod="";this.A98CctNomCent="";this.Z98CctNomCent="";this.O98CctNomCent="";this.A15AreCod="";this.Z15AreCod="";this.O15AreCod="";this.A16AreDes="";this.Z16AreDes="";this.O16AreDes="";this.ServerEvents=["e1159111_client","e1259111_client"];this.setPrompt("PROMPT_15",[31]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};
this.SetStandaloneVars()}tpet009.prototype=new gx.GxObject;gx.setParentObj(new tpet009());