gx.evt.autoSkip=false;function timt039(){this.ServerClass="TImt039";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Curcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Curcod",["gx.O.A169CurCod","gx.O.A170CurNom"],["A170CurNom","Gx_mode","Z169CurCod","Z170CurNom",["BUTTON1","Enabled"]]);return true};this.Valid_Curnom=function(){try{var a=gx.util.balloon.getNew("CURNOM");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e115x58_client=function(){this.clearMessages();if(this.A169CurCod>0){gx.popup.openUrl(gx.http.formatLink("timt010.aspx",[this.A169CurCod]),[])}this.refreshOutputs([])};this.e135x2_client=function(){this.executeServerEvent("'GET PENSA-B'",false)};this.e145x58_client=function(){this.executeServerEvent("ENTER",true)};this.e155x58_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];
this.GXCtrlIds=[3,16,19,22,24,27,32,34];this.GXLastCtrlId=34;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[19]={fld:"TABLE3",grid:0};this.GXValidFnc[22]={fld:"TEXTBLOCKCURCOD",format:0,grid:0};this.GXValidFnc[24]={fld:"TABLE2",grid:0};this.GXValidFnc[27]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Curcod,isvalid:null,rgrid:[],fld:"CURCOD",gxz:"Z169CurCod",gxold:"O169CurCod",gxvar:"A169CurCod",ucs:[],op:[34],ip:[34,27],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A169CurCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z169CurCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("CURCOD",gx.O.A169CurCod,0)},c2v:function(){gx.O.A169CurCod=this.val()},val:function(){return gx.fn.getIntegerValue("CURCOD",".")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKCURNOM",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Curnom,isvalid:null,fld:"CURNOM",gxz:"Z170CurNom",gxold:"O170CurNom",gxvar:"A170CurNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A170CurNom=a
},v2z:function(a){gx.O.Z170CurNom=a},v2c:function(){gx.fn.setControlValue("CURNOM",gx.O.A170CurNom,0)},c2v:function(){gx.O.A170CurNom=this.val()},val:function(){return gx.fn.getControlValue("CURNOM")},nac:function(){return false}};this.A169CurCod=0;this.Z169CurCod=0;this.O169CurCod=0;this.A170CurNom="";this.Z170CurNom="";this.O170CurNom="";this.AV9UsuCod="";this.ServerEvents=["e135x2_client","e145x58_client","e155x58_client"];this.EnterCtrl=["BUTTON1"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};
this.SetStandaloneVars()}timt039.prototype=new gx.GxObject;gx.setParentObj(new timt039());