gx.evt.autoSkip=false;function timt022(){this.ServerClass="TImt022";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_BScreen=gx.fn.getIntegerValue("vGXBSCREEN",".");this.A13AexQtdParc=gx.fn.getIntegerValue("AEXQTDPARC",".");this.A449ForNroFone=gx.fn.getControlValue("FORNROFONE");this.Gx_mode=gx.fn.getControlValue("vMODE");this.Gx_msg=gx.fn.getControlValue("vMSG");this.AV7TemErro=gx.fn.getControlValue("vTEMERRO");this.AV16VncCodOrigem=gx.fn.getControlValue("vVNCCODORIGEM")
};this.Valid_Assnro=function(){try{var a=gx.util.balloon.getNew("ASSNRO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Aexnroexer=function(){gx.ajax.validSrvEvt("dyncall","Valid_Aexnroexer",["gx.O.A57AssNro","gx.O.A11AexNroExer",'gx.date.urlDate(gx.O.A6AexDatAssi,"DMY")','gx.date.urlDate(gx.O.A8AexDatInic,"DMY")',"gx.O.A12AexQtdMese",'gx.date.urlDate(gx.O.A7AexDatFimR,"DMY")',"gx.num.urlDecimal(gx.O.A14AexValTota,'.',',')","gx.O.A13AexQtdParc","gx.O.A10AexNroAuto","gx.O.A9AexIndVige","gx.O.A5AexCampo1L","gx.O.A433ForCod"],["A6AexDatAssi","A8AexDatInic","A12AexQtdMese","A7AexDatFimR","A14AexValTota","A13AexQtdParc","A10AexNroAuto","A433ForCod","A9AexIndVige","A5AexCampo1L","A444ForNomComp","A449ForNroFone","Gx_mode","Z57AssNro","Z11AexNroExer","Z6AexDatAssi","Z8AexDatInic","Z12AexQtdMese","Z7AexDatFimR","Z14AexValTota","Z13AexQtdParc","Z10AexNroAuto","Z433ForCod","Z9AexIndVige","Z5AexCampo1L","Z444ForNomComp","Z449ForNroFone",["BUTTON8","Enabled"]]);
return true};this.Valid_Aexdatinic=function(){try{var a=gx.util.balloon.getNew("AEXDATINIC");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Aexdatfimr=function(){try{var a=gx.util.balloon.getNew("AEXDATFIMR");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Forcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Forcod",["gx.O.A433ForCod","gx.O.A444ForNomComp","gx.O.A449ForNroFone"],["A444ForNomComp","A449ForNroFone"]);
return true};this.e113j113_client=function(){this.clearMessages();this.AV7TemErro="N";if(this.AV7TemErro=="N"){gx.popup.openUrl(gx.http.formatLink("timt023.aspx",[this.A57AssNro,this.A11AexNroExer]),["A57AssNro","A11AexNroExer"])}else{this.addMessage(this.Gx_msg)}this.refreshOutputs([{av:"AV7TemErro",fld:"vTEMERRO"}])};this.e123j113_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh174.aspx",[this.AV16VncCodOrigem]),["AV16VncCodOrigem"]);this.refreshOutputs([])};this.e143j2_client=function(){this.executeServerEvent("'PAGAMENTOS'",false)
};this.e153j2_client=function(){this.executeServerEvent("'ELIMINAR EXERCíCIO'",false)};this.e163j2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e173j2_client=function(){this.executeServerEvent("'GET PENSA-B'",false)};this.e183j113_client=function(){this.executeServerEvent("ENTER",true)};this.e193j113_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,21,25,28,30,33,35,38,42,45,47,50,52,55,57,60,62,65,67,70,72,75,77,80,82,83,86,88,90];
this.GXLastCtrlId=90;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"IMAGE1",grid:0};this.GXValidFnc[21]={fld:"TEXTBLOCK15",format:0,grid:0};this.GXValidFnc[25]={fld:"TABLE2",grid:0};this.GXValidFnc[28]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Assnro,isvalid:null,rgrid:[],fld:"ASSNRO",gxz:"Z57AssNro",gxold:"O57AssNro",gxvar:"A57AssNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A57AssNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z57AssNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("ASSNRO",gx.O.A57AssNro,0)},c2v:function(){gx.O.A57AssNro=this.val()},val:function(){return gx.fn.getIntegerValue("ASSNRO",".")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[35]={fld:"TABLE4",grid:0};this.GXValidFnc[38]={lvl:0,type:"char",len:4,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Aexnroexer,isvalid:null,fld:"AEXNROEXER",gxz:"Z11AexNroExer",gxold:"O11AexNroExer",gxvar:"A11AexNroExer",ucs:[],op:[82,67,88,77,72,62,52,57,47],ip:[82,67,88,77,72,62,52,57,47,38,30],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A11AexNroExer=a
},v2z:function(a){gx.O.Z11AexNroExer=a},v2c:function(){gx.fn.setControlValue("AEXNROEXER",gx.O.A11AexNroExer,0)},c2v:function(){gx.O.A11AexNroExer=this.val()},val:function(){return gx.fn.getControlValue("AEXNROEXER")},nac:function(){return false}};this.GXValidFnc[42]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vPERDESABREVTITULO",gxz:"ZV14PerDesAbrevTitulo",gxold:"OV14PerDesAbrevTitulo",gxvar:"AV14PerDesAbrevTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14PerDesAbrevTitulo=a
},v2z:function(a){gx.O.ZV14PerDesAbrevTitulo=a},v2c:function(){gx.fn.setControlValue("vPERDESABREVTITULO",gx.O.AV14PerDesAbrevTitulo,0)},c2v:function(){gx.O.AV14PerDesAbrevTitulo=this.val()},val:function(){return gx.fn.getControlValue("vPERDESABREVTITULO")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[47]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"AEXDATASSI",gxz:"Z6AexDatAssi",gxold:"O6AexDatAssi",gxvar:"A6AexDatAssi",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A6AexDatAssi=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z6AexDatAssi=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("AEXDATASSI",gx.O.A6AexDatAssi,0)},c2v:function(){gx.O.A6AexDatAssi=this.val()},val:function(){return gx.fn.getControlValue("AEXDATASSI")},nac:function(){return false}};this.GXValidFnc[50]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[52]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"AEXQTDMESE",gxz:"Z12AexQtdMese",gxold:"O12AexQtdMese",gxvar:"A12AexQtdMese",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A12AexQtdMese=gx.num.intval(a)
},v2z:function(a){gx.O.Z12AexQtdMese=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("AEXQTDMESE",gx.O.A12AexQtdMese,0)},c2v:function(){gx.O.A12AexQtdMese=this.val()},val:function(){return gx.fn.getIntegerValue("AEXQTDMESE",".")},nac:function(){return false}};this.GXValidFnc[55]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[57]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Aexdatinic,isvalid:null,fld:"AEXDATINIC",gxz:"Z8AexDatInic",gxold:"O8AexDatInic",gxvar:"A8AexDatInic",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A8AexDatInic=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z8AexDatInic=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("AEXDATINIC",gx.O.A8AexDatInic,0)},c2v:function(){gx.O.A8AexDatInic=this.val()},val:function(){return gx.fn.getControlValue("AEXDATINIC")},nac:function(){return false}};this.GXValidFnc[60]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[62]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Aexdatfimr,isvalid:null,fld:"AEXDATFIMR",gxz:"Z7AexDatFimR",gxold:"O7AexDatFimR",gxvar:"A7AexDatFimR",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A7AexDatFimR=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z7AexDatFimR=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("AEXDATFIMR",gx.O.A7AexDatFimR,0)},c2v:function(){gx.O.A7AexDatFimR=this.val()},val:function(){return gx.fn.getControlValue("AEXDATFIMR")},nac:function(){return false}};this.GXValidFnc[65]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[67]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"AEXCAMPO1L",gxz:"Z5AexCampo1L",gxold:"O5AexCampo1L",gxvar:"A5AexCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A5AexCampo1L=a
},v2z:function(a){gx.O.Z5AexCampo1L=a},v2c:function(){gx.fn.setControlValue("AEXCAMPO1L",gx.O.A5AexCampo1L,0)},c2v:function(){gx.O.A5AexCampo1L=this.val()},val:function(){return gx.fn.getControlValue("AEXCAMPO1L")},nac:function(){return false}};this.GXValidFnc[70]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[72]={lvl:0,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZ,ZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"AEXVALTOTA",gxz:"Z14AexValTota",gxold:"O14AexValTota",gxvar:"A14AexValTota",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A14AexValTota=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z14AexValTota=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("AEXVALTOTA",gx.O.A14AexValTota,2,",")},c2v:function(){gx.O.A14AexValTota=this.val()},val:function(){return gx.fn.getDecimalValue("AEXVALTOTA",".",",")},nac:function(){return false}};this.GXValidFnc[75]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[77]={lvl:0,type:"char",len:12,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"AEXNROAUTO",gxz:"Z10AexNroAuto",gxold:"O10AexNroAuto",gxvar:"A10AexNroAuto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A10AexNroAuto=a
},v2z:function(a){gx.O.Z10AexNroAuto=a},v2c:function(){gx.fn.setControlValue("AEXNROAUTO",gx.O.A10AexNroAuto,0)},c2v:function(){gx.O.A10AexNroAuto=this.val()},val:function(){return gx.fn.getControlValue("AEXNROAUTO")},nac:function(){return false}};this.GXValidFnc[80]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[82]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Forcod,isvalid:null,rgrid:[],fld:"FORCOD",gxz:"Z433ForCod",gxold:"O433ForCod",gxvar:"A433ForCod",ucs:[],op:[83],ip:[83,82],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A433ForCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z433ForCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("FORCOD",gx.O.A433ForCod,0)},c2v:function(){gx.O.A433ForCod=this.val()},val:function(){return gx.fn.getIntegerValue("FORCOD",".")},nac:function(){return false}};this.GXValidFnc[83]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"FORNOMCOMP",gxz:"Z444ForNomComp",gxold:"O444ForNomComp",gxvar:"A444ForNomComp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A444ForNomComp=a
},v2z:function(a){gx.O.Z444ForNomComp=a},v2c:function(){gx.fn.setControlValue("FORNOMCOMP",gx.O.A444ForNomComp,0)},c2v:function(){gx.O.A444ForNomComp=this.val()},val:function(){return gx.fn.getControlValue("FORNOMCOMP")},nac:function(){return false}};this.GXValidFnc[86]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[88]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"AEXINDVIGE",gxz:"Z9AexIndVige",gxold:"O9AexIndVige",gxvar:"A9AexIndVige",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A9AexIndVige=a
},v2z:function(a){gx.O.Z9AexIndVige=a},v2c:function(){gx.fn.setComboBoxValue("AEXINDVIGE",gx.O.A9AexIndVige)},c2v:function(){gx.O.A9AexIndVige=this.val()},val:function(){return gx.fn.getControlValue("AEXINDVIGE")},nac:function(){return false}};this.GXValidFnc[90]={fld:"PROMPT_433",grid:113};this.A57AssNro=0;this.Z57AssNro=0;this.O57AssNro=0;this.A11AexNroExer="";this.Z11AexNroExer="";this.O11AexNroExer="";this.AV14PerDesAbrevTitulo="";this.ZV14PerDesAbrevTitulo="";this.OV14PerDesAbrevTitulo="";this.A6AexDatAssi=gx.date.nullDate();
this.Z6AexDatAssi=gx.date.nullDate();this.O6AexDatAssi=gx.date.nullDate();this.A12AexQtdMese=0;this.Z12AexQtdMese=0;this.O12AexQtdMese=0;this.A8AexDatInic=gx.date.nullDate();this.Z8AexDatInic=gx.date.nullDate();this.O8AexDatInic=gx.date.nullDate();this.A7AexDatFimR=gx.date.nullDate();this.Z7AexDatFimR=gx.date.nullDate();this.O7AexDatFimR=gx.date.nullDate();this.A5AexCampo1L="";this.Z5AexCampo1L="";this.O5AexCampo1L="";this.A14AexValTota=0;this.Z14AexValTota=0;this.O14AexValTota=0;this.A10AexNroAuto="";
this.Z10AexNroAuto="";this.O10AexNroAuto="";this.A433ForCod=0;this.Z433ForCod=0;this.O433ForCod=0;this.A444ForNomComp="";this.Z444ForNomComp="";this.O444ForNomComp="";this.A9AexIndVige="";this.Z9AexIndVige="";this.O9AexIndVige="";this.AV20UsuCodCorr="";this.AV21UsuCodUnidDepositaria=0;this.AV19PerDesLongoTitulo="";this.AV18AssNro="";this.AV16VncCodOrigem="";this.AV17VncNro=0;this.Gx_BScreen=0;this.A13AexQtdParc=0;this.A449ForNroFone="";this.Gx_msg="";this.AV7TemErro="";this.ServerEvents=["e143j2_client","e153j2_client","e163j2_client","e173j2_client","e183j113_client","e193j113_client"];
this.setPrompt("PROMPT_433",[82]);this.EnterCtrl=["BUTTON8"];this.VarControlMap.Gx_BScreen={id:"vGXBSCREEN",grid:0,type:"int"};this.VarControlMap.A13AexQtdParc={id:"AEXQTDPARC",grid:0,type:"int"};this.VarControlMap.A449ForNroFone={id:"FORNROFONE",grid:0,type:"char"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.VarControlMap.Gx_msg={id:"vMSG",grid:0,type:"char"};this.VarControlMap.AV7TemErro={id:"vTEMERRO",grid:0,type:"char"};this.VarControlMap.AV16VncCodOrigem={id:"vVNCCODORIGEM",grid:0,type:"char"};
this.SetStandaloneVars()}timt022.prototype=new gx.GxObject;gx.setParentObj(new timt022());