gx.evt.autoSkip=false;function tgst017(){this.ServerClass="Tgst017";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Cfgcod=function(){gx.ajax.validSrvEvt("dyncall","valid_Cfgcod",["gx.O.A122CfgCod","gx.O.A127CfgValCont","gx.O.A125CfgIndLibU","gx.O.A126CfgTipCamp","gx.O.A124CfgDesSign","gx.O.A123CfgCodGrup"],["A127CfgValCont","A125CfgIndLibU","A126CfgTipCamp","A124CfgDesSign","A123CfgCodGrup","Gx_mode","Z122CfgCod","Z127CfgValCont","Z125CfgIndLibU","Z126CfgTipCamp","Z124CfgDesSign","Z123CfgCodGrup",["BTN_GET","Enabled"],["A127CfgValCont","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.Valid_Cfgvalcont=function(){try{var a=gx.util.balloon.getNew("CFGVALCONT");this.AnyError=0;if((""==this.A127CfgValCont)){try{a.setMessage("Atenção: O conteúdo não foi informado.")}catch(b){}}}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Cfgindlibu=function(){try{var a=gx.util.balloon.getNew("CFGINDLIBU");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e112r82_client=function(){this.executeServerEvent("ENTER",true)
};this.e122r82_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26,29,31,34,36,39,41,44,46];this.GXLastCtrlId=46;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:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Cfgcod,isvalid:null,fld:"CFGCOD",gxz:"Z122CfgCod",gxold:"O122CfgCod",gxvar:"A122CfgCod",ucs:[],op:[46,41,36,31,26],ip:[46,41,36,31,26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A122CfgCod=a
},v2z:function(a){gx.O.Z122CfgCod=a},v2c:function(){gx.fn.setControlValue("CFGCOD",gx.O.A122CfgCod,0)},c2v:function(){gx.O.A122CfgCod=this.val()},val:function(){return gx.fn.getControlValue("CFGCOD")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:90,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Cfgvalcont,isvalid:null,fld:"CFGVALCONT",gxz:"Z127CfgValCont",gxold:"O127CfgValCont",gxvar:"A127CfgValCont",ucs:[],op:[],ip:[26],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A127CfgValCont=a
},v2z:function(a){gx.O.Z127CfgValCont=a},v2c:function(){gx.fn.setControlValue("CFGVALCONT",gx.O.A127CfgValCont,0)},c2v:function(){gx.O.A127CfgValCont=this.val()},val:function(){return gx.fn.getControlValue("CFGVALCONT")},nac:function(){return this.A125CfgIndLibU=="N"}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Cfgindlibu,isvalid:null,fld:"CFGINDLIBU",gxz:"Z125CfgIndLibU",gxold:"O125CfgIndLibU",gxvar:"A125CfgIndLibU",ucs:[],op:[],ip:[],nacdep:[26],ctrltype:"edit",v2v:function(a){gx.O.A125CfgIndLibU=a
},v2z:function(a){gx.O.Z125CfgIndLibU=a},v2c:function(){gx.fn.setControlValue("CFGINDLIBU",gx.O.A125CfgIndLibU,0)},c2v:function(){gx.O.A125CfgIndLibU=this.val()},val:function(){return gx.fn.getControlValue("CFGINDLIBU")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CFGTIPCAMP",gxz:"Z126CfgTipCamp",gxold:"O126CfgTipCamp",gxvar:"A126CfgTipCamp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A126CfgTipCamp=a
},v2z:function(a){gx.O.Z126CfgTipCamp=a},v2c:function(){gx.fn.setControlValue("CFGTIPCAMP",gx.O.A126CfgTipCamp,0)},c2v:function(){gx.O.A126CfgTipCamp=this.val()},val:function(){return gx.fn.getControlValue("CFGTIPCAMP")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"char",len:95,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CFGDESSIGN",gxz:"Z124CfgDesSign",gxold:"O124CfgDesSign",gxvar:"A124CfgDesSign",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A124CfgDesSign=a
},v2z:function(a){gx.O.Z124CfgDesSign=a},v2c:function(){gx.fn.setControlValue("CFGDESSIGN",gx.O.A124CfgDesSign,0)},c2v:function(){gx.O.A124CfgDesSign=this.val()},val:function(){return gx.fn.getControlValue("CFGDESSIGN")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CFGCODGRUP",gxz:"Z123CfgCodGrup",gxold:"O123CfgCodGrup",gxvar:"A123CfgCodGrup",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A123CfgCodGrup=a
},v2z:function(a){gx.O.Z123CfgCodGrup=a},v2c:function(){gx.fn.setControlValue("CFGCODGRUP",gx.O.A123CfgCodGrup,0)},c2v:function(){gx.O.A123CfgCodGrup=this.val()},val:function(){return gx.fn.getControlValue("CFGCODGRUP")},nac:function(){return false}};this.A122CfgCod="";this.Z122CfgCod="";this.O122CfgCod="";this.A127CfgValCont="";this.Z127CfgValCont="";this.O127CfgValCont="";this.A125CfgIndLibU="";this.Z125CfgIndLibU="";this.O125CfgIndLibU="";this.A126CfgTipCamp="";this.Z126CfgTipCamp="";this.O126CfgTipCamp="";
this.A124CfgDesSign="";this.Z124CfgDesSign="";this.O124CfgDesSign="";this.A123CfgCodGrup="";this.Z123CfgCodGrup="";this.O123CfgCodGrup="";this.ServerEvents=["e112r82_client","e122r82_client"];this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tgst017.prototype=new gx.GxObject;gx.setParentObj(new tgst017());