gx.evt.autoSkip=false;function himh061(){this.ServerClass="HImh061";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){};this.e114v2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e144v1_client=function(){this.executeServerEvent("ENTER",true)};this.e154v2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[2,11,13,16,18,20,22,28,29,30,31,32,33,34];this.GXLastCtrlId=34;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",27,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh061",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(38,28,"ASPDATVENC","Vencimento","","AspDatVenc","date",0,"px",10,10,"right",null,[],38,"AspDatVenc",true,0,false,false);this.Grid1Container.addSingleLineEdit(43,29,"ASPVALAPAG","Valor","","AspValAPag","decimal",0,"px",10,10,"right",null,[],43,"AspValAPag",true,2,false,false);
this.Grid1Container.addSingleLineEdit(41,30,"ASPNROPARC","Parcela","","AspNroParc","int",0,"px",3,3,"right",null,[],41,"AspNroParc",true,0,false,false);this.Grid1Container.addSingleLineEdit("Perdesabrevtitulo",31,"vPERDESABREVTITULO","Título","","PerDesAbrevTitulo","char",0,"px",20,20,"left",null,[],"Perdesabrevtitulo","PerDesAbrevTitulo",true,0,false,false);this.Grid1Container.addSingleLineEdit("Undcod",32,"vUNDCOD","Un. depositária","","UndCod","int",0,"px",3,3,"right",null,[],"Undcod","UndCod",true,0,false,false);
this.Grid1Container.addSingleLineEdit(57,33,"ASSNRO","Assinatura","","AssNro","int",0,"px",5,5,"right",null,[],57,"AssNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(11,34,"AEXNROEXER","Exercício","","AexNroExer","char",0,"px",4,4,"left",null,[],11,"AexNroExer",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[11]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[13]={fld:"TABLE2",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK2",format:0,grid:0};
this.GXValidFnc[18]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vVCTODATINI",gxz:"ZV8VctoDatIni",gxold:"OV8VctoDatIni",gxvar:"AV8VctoDatIni",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.AV8VctoDatIni=gx.fn.toDatetimeValue(a)},v2z:function(a){gx.O.ZV8VctoDatIni=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vVCTODATINI",gx.O.AV8VctoDatIni,0)},c2v:function(){gx.O.AV8VctoDatIni=this.val()
},val:function(){return gx.fn.getControlValue("vVCTODATINI")},nac:function(){return false}};this.GXValidFnc[20]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[22]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vVCTODATFIM",gxz:"ZV9VctoDatFim",gxold:"OV9VctoDatFim",gxvar:"AV9VctoDatFim",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.AV9VctoDatFim=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV9VctoDatFim=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vVCTODATFIM",gx.O.AV9VctoDatFim,0)},c2v:function(){gx.O.AV9VctoDatFim=this.val()},val:function(){return gx.fn.getControlValue("vVCTODATFIM")},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ASPDATVENC",gxz:"Z38AspDatVenc",gxold:"O38AspDatVenc",gxvar:"A38AspDatVenc",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.A38AspDatVenc=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z38AspDatVenc=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("ASPDATVENC",gx.fn.currentGridRowImpl(27),gx.O.A38AspDatVenc,0)},c2v:function(){gx.O.A38AspDatVenc=this.val()},val:function(){return gx.fn.getGridControlValue("ASPDATVENC",gx.fn.currentGridRowImpl(27))},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZZZ9.99",ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ASPVALAPAG",gxz:"Z43AspValAPag",gxold:"O43AspValAPag",gxvar:"A43AspValAPag",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A43AspValAPag=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z43AspValAPag=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("ASPVALAPAG",gx.fn.currentGridRowImpl(27),gx.O.A43AspValAPag,2,",")},c2v:function(){gx.O.A43AspValAPag=this.val()},val:function(){return gx.fn.getGridDecimalValue("ASPVALAPAG",gx.fn.currentGridRowImpl(27),".",",")},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ASPNROPARC",gxz:"Z41AspNroParc",gxold:"O41AspNroParc",gxvar:"A41AspNroParc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A41AspNroParc=gx.num.intval(a)
},v2z:function(a){gx.O.Z41AspNroParc=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ASPNROPARC",gx.fn.currentGridRowImpl(27),gx.O.A41AspNroParc,0)},c2v:function(){gx.O.A41AspNroParc=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASPNROPARC",gx.fn.currentGridRowImpl(27),".")},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vPERDESABREVTITULO",gxz:"ZV15PerDesAbrevTitulo",gxold:"OV15PerDesAbrevTitulo",gxvar:"AV15PerDesAbrevTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15PerDesAbrevTitulo=a
},v2z:function(a){gx.O.ZV15PerDesAbrevTitulo=a},v2c:function(){gx.fn.setGridControlValue("vPERDESABREVTITULO",gx.fn.currentGridRowImpl(27),gx.O.AV15PerDesAbrevTitulo,0)},c2v:function(){gx.O.AV15PerDesAbrevTitulo=this.val()},val:function(){return gx.fn.getGridControlValue("vPERDESABREVTITULO",gx.fn.currentGridRowImpl(27))},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV21UndCod",gxold:"OV21UndCod",gxvar:"AV21UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV21UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vUNDCOD",gx.fn.currentGridRowImpl(27),gx.O.AV21UndCod,0)},c2v:function(){gx.O.AV21UndCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("vUNDCOD",gx.fn.currentGridRowImpl(27),".")},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,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.setGridControlValue("ASSNRO",gx.fn.currentGridRowImpl(27),gx.O.A57AssNro,0)},c2v:function(){gx.O.A57AssNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASSNRO",gx.fn.currentGridRowImpl(27),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:4,dec:0,sign:false,ro:1,grid:27,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"AEXNROEXER",gxz:"Z11AexNroExer",gxold:"O11AexNroExer",gxvar:"A11AexNroExer",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A11AexNroExer=a
},v2z:function(a){gx.O.Z11AexNroExer=a},v2c:function(){gx.fn.setGridControlValue("AEXNROEXER",gx.fn.currentGridRowImpl(27),gx.O.A11AexNroExer,0)},c2v:function(){gx.O.A11AexNroExer=this.val()},val:function(){return gx.fn.getGridControlValue("AEXNROEXER",gx.fn.currentGridRowImpl(27))},nac:function(){return false}};this.AV8VctoDatIni=gx.date.nullDate();this.ZV8VctoDatIni=gx.date.nullDate();this.OV8VctoDatIni=gx.date.nullDate();this.AV9VctoDatFim=gx.date.nullDate();this.ZV9VctoDatFim=gx.date.nullDate();
this.OV9VctoDatFim=gx.date.nullDate();this.Z38AspDatVenc=gx.date.nullDate();this.O38AspDatVenc=gx.date.nullDate();this.Z43AspValAPag=0;this.O43AspValAPag=0;this.Z41AspNroParc=0;this.O41AspNroParc=0;this.ZV15PerDesAbrevTitulo="";this.OV15PerDesAbrevTitulo="";this.ZV21UndCod=0;this.OV21UndCod=0;this.Z57AssNro=0;this.O57AssNro=0;this.Z11AexNroExer="";this.O11AexNroExer="";this.A37AspDatBaix=gx.date.nullDate();this.A38AspDatVenc=gx.date.nullDate();this.A43AspValAPag=0;this.A41AspNroParc=0;this.AV15PerDesAbrevTitulo="";
this.AV21UndCod=0;this.A57AssNro=0;this.A11AexNroExer="";this.ServerEvents=["e114v2_client","e144v1_client","e154v2_client"];this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV10DataNula={id:"vDATANULA",grid:0,type:"date"};this.VarControlMap.AV22DoeNroSequencia={id:"vDOENROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV20DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV19Origem={id:"vORIGEM",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[18]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[22]);
this.Grid1Container.addRefreshingVar({rfrVar:"AV10DataNula"});this.Grid1Container.addRefreshingVar({rfrVar:"AV22DoeNroSequencia"});this.Grid1Container.addRefreshingVar({rfrVar:"AV20DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV19Origem"});this.SetStandaloneVars()}himh061.prototype=new gx.GxObject;gx.setParentObj(new himh061());