gx.evt.autoSkip=false;function timt015(){this.ServerClass="TImt015";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A508LocCampo1L=gx.fn.getControlValue("LOCCAMPO1L");this.A926UndNomSigl=gx.fn.getControlValue("UNDNOMSIGL");this.A924UndIndTomb=gx.fn.getControlValue("UNDINDTOMB");this.A921UndCampo1L=gx.fn.getControlValue("UNDCAMPO1L");this.A923UndDatFech=gx.fn.getDateValue("UNDDATFECH");this.Gx_mode=gx.fn.getControlValue("vMODE")
};this.Valid_Undcod=function(){try{var a=gx.util.balloon.getNew("UNDCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Loccod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Loccod",["gx.O.A922UndCod","gx.O.A509LocCod","gx.O.A512LocNom","gx.O.A513LocNomResp","gx.O.A511LocDesEnde","gx.O.A510LocCodEmai","gx.O.A514LocNroFone","gx.O.A508LocCampo1L"],["A925UndNomComp","A926UndNomSigl","A924UndIndTomb","A921UndCampo1L","A512LocNom","A923UndDatFech","A513LocNomResp","A511LocDesEnde","A510LocCodEmai","A514LocNroFone","A508LocCampo1L","Gx_mode","Z922UndCod","Z509LocCod","Z925UndNomComp","Z926UndNomSigl","Z924UndIndTomb","Z921UndCampo1L","Z512LocNom","Z923UndDatFech","Z513LocNomResp","Z511LocDesEnde","Z510LocCodEmai","Z514LocNroFone","Z508LocCampo1L",["BUTTON5","Enabled"]]);
return true};this.Valid_Undnomcomp=function(){try{var a=gx.util.balloon.getNew("UNDNOMCOMP");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Locnom=function(){try{var a=gx.util.balloon.getNew("LOCNOM");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e113b40_client=function(){this.clearMessages();this.addMessage("Função em desenvolvimento.");this.refreshOutputs([])};this.e133b2_client=function(){this.executeServerEvent("'GET PENSA-B'",false)
};this.e143b2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e153b2_client=function(){this.executeServerEvent("'APAGAR ACERVO DO LOCAL'",false)};this.e163b40_client=function(){this.executeServerEvent("ENTER",true)};this.e173b40_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,14,17,20,22,25,27,30,35,37,40,42,45,47,50,52,55,57,60,62,68];this.GXLastCtrlId=68;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK1",format:0,grid:0};
this.GXValidFnc[17]={fld:"TABLE2",grid:0};this.GXValidFnc[20]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[22]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Undcod,isvalid:null,rgrid:[],fld:"UNDCOD",gxz:"Z922UndCod",gxold:"O922UndCod",gxvar:"A922UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A922UndCod=gx.num.intval(a)},v2z:function(a){gx.O.Z922UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("UNDCOD",gx.O.A922UndCod,0)
},c2v:function(){gx.O.A922UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("UNDCOD",".")},nac:function(){return false}};this.GXValidFnc[25]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[27]={fld:"TABLE3",grid:0};this.GXValidFnc[30]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Loccod,isvalid:null,rgrid:[],fld:"LOCCOD",gxz:"Z509LocCod",gxold:"O509LocCod",gxvar:"A509LocCod",ucs:[],op:[47,62,57,52,42],ip:[47,62,57,52,42,30,22],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A509LocCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z509LocCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("LOCCOD",gx.O.A509LocCod,0)},c2v:function(){gx.O.A509LocCod=this.val()},val:function(){return gx.fn.getIntegerValue("LOCCOD",".")},nac:function(){return false}};this.GXValidFnc[35]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[37]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Undnomcomp,isvalid:null,fld:"UNDNOMCOMP",gxz:"Z925UndNomComp",gxold:"O925UndNomComp",gxvar:"A925UndNomComp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A925UndNomComp=a
},v2z:function(a){gx.O.Z925UndNomComp=a},v2c:function(){gx.fn.setControlValue("UNDNOMCOMP",gx.O.A925UndNomComp,0)},c2v:function(){gx.O.A925UndNomComp=this.val()},val:function(){return gx.fn.getControlValue("UNDNOMCOMP")},nac:function(){return false}};this.GXValidFnc[40]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"char",len:45,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Locnom,isvalid:null,fld:"LOCNOM",gxz:"Z512LocNom",gxold:"O512LocNom",gxvar:"A512LocNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A512LocNom=a
},v2z:function(a){gx.O.Z512LocNom=a},v2c:function(){gx.fn.setControlValue("LOCNOM",gx.O.A512LocNom,0)},c2v:function(){gx.O.A512LocNom=this.val()},val:function(){return gx.fn.getControlValue("LOCNOM")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[47]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"LOCNROFONE",gxz:"Z514LocNroFone",gxold:"O514LocNroFone",gxvar:"A514LocNroFone",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A514LocNroFone=a
},v2z:function(a){gx.O.Z514LocNroFone=a},v2c:function(){gx.fn.setControlValue("LOCNROFONE",gx.O.A514LocNroFone,0)},c2v:function(){gx.O.A514LocNroFone=this.val()},val:function(){return gx.fn.getControlValue("LOCNROFONE")},nac:function(){return false}};this.GXValidFnc[50]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[52]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"LOCNOMRESP",gxz:"Z513LocNomResp",gxold:"O513LocNomResp",gxvar:"A513LocNomResp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A513LocNomResp=a
},v2z:function(a){gx.O.Z513LocNomResp=a},v2c:function(){gx.fn.setControlValue("LOCNOMRESP",gx.O.A513LocNomResp,0)},c2v:function(){gx.O.A513LocNomResp=this.val()},val:function(){return gx.fn.getControlValue("LOCNOMRESP")},nac:function(){return false}};this.GXValidFnc[55]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[57]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"LOCDESENDE",gxz:"Z511LocDesEnde",gxold:"O511LocDesEnde",gxvar:"A511LocDesEnde",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A511LocDesEnde=a
},v2z:function(a){gx.O.Z511LocDesEnde=a},v2c:function(){gx.fn.setControlValue("LOCDESENDE",gx.O.A511LocDesEnde,0)},c2v:function(){gx.O.A511LocDesEnde=this.val()},val:function(){return gx.fn.getControlValue("LOCDESENDE")},nac:function(){return false}};this.GXValidFnc[60]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[62]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"LOCCODEMAI",gxz:"Z510LocCodEmai",gxold:"O510LocCodEmai",gxvar:"A510LocCodEmai",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A510LocCodEmai=a
},v2z:function(a){gx.O.Z510LocCodEmai=a},v2c:function(){gx.fn.setControlValue("LOCCODEMAI",gx.O.A510LocCodEmai,0)},c2v:function(){gx.O.A510LocCodEmai=this.val()},val:function(){return gx.fn.getControlValue("LOCCODEMAI")},nac:function(){return false}};this.GXValidFnc[68]={fld:"TABLE4",grid:0};this.A922UndCod=0;this.Z922UndCod=0;this.O922UndCod=0;this.A509LocCod=0;this.Z509LocCod=0;this.O509LocCod=0;this.A925UndNomComp="";this.Z925UndNomComp="";this.O925UndNomComp="";this.A512LocNom="";this.Z512LocNom="";
this.O512LocNom="";this.A514LocNroFone="";this.Z514LocNroFone="";this.O514LocNroFone="";this.A513LocNomResp="";this.Z513LocNomResp="";this.O513LocNomResp="";this.A511LocDesEnde="";this.Z511LocDesEnde="";this.O511LocDesEnde="";this.A510LocCodEmai="";this.Z510LocCodEmai="";this.O510LocCodEmai="";this.AV18UsuCodCorr="";this.AV19IndLiber="";this.Gx_msg="";this.AV28IndAcessoPermitido="";this.AV29MsgErro="";this.A926UndNomSigl="";this.A924UndIndTomb="";this.A921UndCampo1L="";this.A923UndDatFech=gx.date.nullDate();
this.A508LocCampo1L="";this.ServerEvents=["e133b2_client","e143b2_client","e153b2_client","e163b40_client","e173b40_client"];this.EnterCtrl=["BUTTON5"];this.VarControlMap.A508LocCampo1L={id:"LOCCAMPO1L",grid:0,type:"char"};this.VarControlMap.A926UndNomSigl={id:"UNDNOMSIGL",grid:0,type:"char"};this.VarControlMap.A924UndIndTomb={id:"UNDINDTOMB",grid:0,type:"char"};this.VarControlMap.A921UndCampo1L={id:"UNDCAMPO1L",grid:0,type:"char"};this.VarControlMap.A923UndDatFech={id:"UNDDATFECH",grid:0,type:"date"};
this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}timt015.prototype=new gx.GxObject;gx.setParentObj(new timt015());