gx.evt.autoSkip=false;function tabt004a(){this.ServerClass="Tabt004a";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Parcod=function(){gx.ajax.validSrvEvt("dyncall","valid_Parcod",["gx.O.A559ParCod","gx.O.A588ParNomRepo","gx.O.A572ParFoneRes","gx.O.A589ParNroCRB","gx.O.A567ParDesEndE","gx.O.A580ParIndAute","gx.O.A561ParCodUsua","gx.O.A615ParValSenh"],["A588ParNomRepo","A572ParFoneRes","A589ParNroCRB","A567ParDesEndE","A580ParIndAute","A561ParCodUsua","A615ParValSenh","Gx_mode","Z559ParCod","Z588ParNomRepo","Z572ParFoneRes","Z589ParNroCRB","Z567ParDesEndE","Z580ParIndAute","Z561ParCodUsua","Z615ParValSenh",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.e11043_client=function(){this.executeServerEvent("ENTER",true)};this.e12043_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26,29,31,34,36,39,41,44,46,49,51,54,56];this.GXLastCtrlId=56;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:"int",len:1,dec:0,sign:false,pic:"9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Parcod,isvalid:null,rgrid:[],fld:"PARCOD",gxz:"Z559ParCod",gxold:"O559ParCod",gxvar:"A559ParCod",ucs:[],op:[56,51,46,41,36,31,26],ip:[56,51,46,41,36,31,26,20],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A559ParCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z559ParCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PARCOD",gx.O.A559ParCod,0)},c2v:function(){gx.O.A559ParCod=this.val()},val:function(){return gx.fn.getIntegerValue("PARCOD",".")},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:"PARNOMREPO",gxz:"Z588ParNomRepo",gxold:"O588ParNomRepo",gxvar:"A588ParNomRepo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A588ParNomRepo=a
},v2z:function(a){gx.O.Z588ParNomRepo=a},v2c:function(){gx.fn.setControlValue("PARNOMREPO",gx.O.A588ParNomRepo,0)},c2v:function(){gx.O.A588ParNomRepo=this.val()},val:function(){return gx.fn.getControlValue("PARNOMREPO")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PARFONERES",gxz:"Z572ParFoneRes",gxold:"O572ParFoneRes",gxvar:"A572ParFoneRes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A572ParFoneRes=a
},v2z:function(a){gx.O.Z572ParFoneRes=a},v2c:function(){gx.fn.setControlValue("PARFONERES",gx.O.A572ParFoneRes,0)},c2v:function(){gx.O.A572ParFoneRes=this.val()},val:function(){return gx.fn.getControlValue("PARFONERES")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PARNROCRB",gxz:"Z589ParNroCRB",gxold:"O589ParNroCRB",gxvar:"A589ParNroCRB",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A589ParNroCRB=a
},v2z:function(a){gx.O.Z589ParNroCRB=a},v2c:function(){gx.fn.setControlValue("PARNROCRB",gx.O.A589ParNroCRB,0)},c2v:function(){gx.O.A589ParNroCRB=this.val()},val:function(){return gx.fn.getControlValue("PARNROCRB")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"char",len:70,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PARDESENDE",gxz:"Z567ParDesEndE",gxold:"O567ParDesEndE",gxvar:"A567ParDesEndE",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A567ParDesEndE=a
},v2z:function(a){gx.O.Z567ParDesEndE=a},v2c:function(){gx.fn.setControlValue("PARDESENDE",gx.O.A567ParDesEndE,0)},c2v:function(){gx.O.A567ParDesEndE=this.val()},val:function(){return gx.fn.getControlValue("PARDESENDE")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PARINDAUTE",gxz:"Z580ParIndAute",gxold:"O580ParIndAute",gxvar:"A580ParIndAute",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A580ParIndAute=a
},v2z:function(a){gx.O.Z580ParIndAute=a},v2c:function(){gx.fn.setComboBoxValue("PARINDAUTE",gx.O.A580ParIndAute)},c2v:function(){gx.O.A580ParIndAute=this.val()},val:function(){return gx.fn.getControlValue("PARINDAUTE")},nac:function(){return false}};this.GXValidFnc[49]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[51]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PARCODUSUA",gxz:"Z561ParCodUsua",gxold:"O561ParCodUsua",gxvar:"A561ParCodUsua",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A561ParCodUsua=a
},v2z:function(a){gx.O.Z561ParCodUsua=a},v2c:function(){gx.fn.setControlValue("PARCODUSUA",gx.O.A561ParCodUsua,0)},c2v:function(){gx.O.A561ParCodUsua=this.val()},val:function(){return gx.fn.getControlValue("PARCODUSUA")},nac:function(){return false}};this.GXValidFnc[54]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[56]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PARVALSENH",gxz:"Z615ParValSenh",gxold:"O615ParValSenh",gxvar:"A615ParValSenh",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A615ParValSenh=a
},v2z:function(a){gx.O.Z615ParValSenh=a},v2c:function(){gx.fn.setControlValue("PARVALSENH",gx.O.A615ParValSenh,0)},c2v:function(){gx.O.A615ParValSenh=this.val()},val:function(){return gx.fn.getControlValue("PARVALSENH")},nac:function(){return false}};this.A559ParCod=0;this.Z559ParCod=0;this.O559ParCod=0;this.A588ParNomRepo="";this.Z588ParNomRepo="";this.O588ParNomRepo="";this.A572ParFoneRes="";this.Z572ParFoneRes="";this.O572ParFoneRes="";this.A589ParNroCRB="";this.Z589ParNroCRB="";this.O589ParNroCRB="";
this.A567ParDesEndE="";this.Z567ParDesEndE="";this.O567ParDesEndE="";this.A580ParIndAute="";this.Z580ParIndAute="";this.O580ParIndAute="";this.A561ParCodUsua="";this.Z561ParCodUsua="";this.O561ParCodUsua="";this.A615ParValSenh="";this.Z615ParValSenh="";this.O615ParValSenh="";this.ServerEvents=["e11043_client","e12043_client"];this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tabt004a.prototype=new gx.GxObject;
gx.setParentObj(new tabt004a());