gx.evt.autoSkip=false;function tgst013(){this.ServerClass="TGst013";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_G02trncod=function(){try{var a=gx.util.balloon.getNew("G02TRNCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_G02coddocu=function(){gx.ajax.validSrvEvt("dyncall","valid_G02coddocu",["gx.O.A458G02TrnCod","gx.O.A457G02CodDocu","gx.O.A459G02ValCont"],["A459G02ValCont","Gx_mode","Z458G02TrnCod","Z457G02CodDocu","Z459G02ValCont",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e112n92_client=function(){this.clearMessages();this.refreshOutputs([])};this.e122n92_client=function(){this.executeServerEvent("ENTER",true)};this.e132n92_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,23,25,29,31];this.GXLastCtrlId=31;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:16,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_G02trncod,isvalid:null,fld:"G02TRNCOD",gxz:"Z458G02TrnCod",gxold:"O458G02TrnCod",gxvar:"A458G02TrnCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A458G02TrnCod=a
},v2z:function(a){gx.O.Z458G02TrnCod=a},v2c:function(){gx.fn.setControlValue("G02TRNCOD",gx.O.A458G02TrnCod,0)},c2v:function(){gx.O.A458G02TrnCod=this.val()},val:function(){return gx.fn.getControlValue("G02TRNCOD")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_G02coddocu,isvalid:null,rgrid:[],fld:"G02CODDOCU",gxz:"Z457G02CodDocu",gxold:"O457G02CodDocu",gxvar:"A457G02CodDocu",ucs:[],op:[31],ip:[31,25,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A457G02CodDocu=gx.num.intval(a)
},v2z:function(a){gx.O.Z457G02CodDocu=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("G02CODDOCU",gx.O.A457G02CodDocu,0)},c2v:function(){gx.O.A457G02CodDocu=this.val()},val:function(){return gx.fn.getIntegerValue("G02CODDOCU",".")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"G02VALCONT",gxz:"Z459G02ValCont",gxold:"O459G02ValCont",gxvar:"A459G02ValCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A459G02ValCont=a
},v2z:function(a){gx.O.Z459G02ValCont=a},v2c:function(){gx.fn.setControlValue("G02VALCONT",gx.O.A459G02ValCont,0)},c2v:function(){gx.O.A459G02ValCont=this.val()},val:function(){return gx.fn.getControlValue("G02VALCONT")},nac:function(){return false}};this.A458G02TrnCod="";this.Z458G02TrnCod="";this.O458G02TrnCod="";this.A457G02CodDocu=0;this.Z457G02CodDocu=0;this.O457G02CodDocu=0;this.A459G02ValCont="";this.Z459G02ValCont="";this.O459G02ValCont="";this.ServerEvents=["e122n92_client","e132n92_client"];
this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tgst013.prototype=new gx.GxObject;gx.setParentObj(new tgst013());