gx.evt.autoSkip=false;function tgst018(){this.ServerClass="Tgst018";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_G01trncod=function(){try{var a=gx.util.balloon.getNew("G01TRNCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_G01codchav=function(){gx.ajax.validSrvEvt("dyncall","valid_G01codchav",["gx.O.A456G01TrnCod","gx.O.A454G01CodChav","gx.O.A455G01DesCont"],["A455G01DesCont","Gx_mode","Z456G01TrnCod","Z454G01CodChav","Z455G01DesCont",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e112s95_client=function(){this.clearMessages();this.refreshOutputs([])};this.e122s95_client=function(){this.executeServerEvent("ENTER",true)};this.e132s95_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_G01trncod,isvalid:null,fld:"G01TRNCOD",gxz:"Z456G01TrnCod",gxold:"O456G01TrnCod",gxvar:"A456G01TrnCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A456G01TrnCod=a
},v2z:function(a){gx.O.Z456G01TrnCod=a},v2c:function(){gx.fn.setControlValue("G01TRNCOD",gx.O.A456G01TrnCod,0)},c2v:function(){gx.O.A456G01TrnCod=this.val()},val:function(){return gx.fn.getControlValue("G01TRNCOD")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"char",len:35,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_G01codchav,isvalid:null,fld:"G01CODCHAV",gxz:"Z454G01CodChav",gxold:"O454G01CodChav",gxvar:"A454G01CodChav",ucs:[],op:[31],ip:[31,25,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A454G01CodChav=a
},v2z:function(a){gx.O.Z454G01CodChav=a},v2c:function(){gx.fn.setControlValue("G01CODCHAV",gx.O.A454G01CodChav,0)},c2v:function(){gx.O.A454G01CodChav=this.val()},val:function(){return gx.fn.getControlValue("G01CODCHAV")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:250,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"G01DESCONT",gxz:"Z455G01DesCont",gxold:"O455G01DesCont",gxvar:"A455G01DesCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A455G01DesCont=a
},v2z:function(a){gx.O.Z455G01DesCont=a},v2c:function(){gx.fn.setControlValue("G01DESCONT",gx.O.A455G01DesCont,0)},c2v:function(){gx.O.A455G01DesCont=this.val()},val:function(){return gx.fn.getControlValue("G01DESCONT")},nac:function(){return false}};this.A456G01TrnCod="";this.Z456G01TrnCod="";this.O456G01TrnCod="";this.A454G01CodChav="";this.Z454G01CodChav="";this.O454G01CodChav="";this.A455G01DesCont="";this.Z455G01DesCont="";this.O455G01DesCont="";this.ServerEvents=["e122s95_client","e132s95_client"];
this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tgst018.prototype=new gx.GxObject;gx.setParentObj(new tgst018());