gx.evt.autoSkip=false;function himh047(){this.ServerClass="HImh047";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV19IndOrigem=gx.fn.getControlValue("vINDORIGEM");this.AV10AspNroParcela=gx.fn.getIntegerValue("vASPNROPARCELA",".")};this.Validv_Assnro=function(){try{var a=gx.util.balloon.getNew("vASSNRO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Aexnroexercicio=function(){try{var a=gx.util.balloon.getNew("vAEXNROEXERCICIO");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e110w2_client=function(){this.executeServerEvent("ENTER",true)};this.e130w2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e150w2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,20,23,25,28,30,33,35,38,40,44,47,49,52,55,58,60,63,65,68,70,73,75];this.GXLastCtrlId=75;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};
this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[20]={fld:"TABLE3",grid:0};this.GXValidFnc[23]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Validv_Assnro,isvalid:null,rgrid:[],fld:"vASSNRO",gxz:"ZV8AssNro",gxold:"OV8AssNro",gxvar:"AV8AssNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8AssNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV8AssNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vASSNRO",gx.O.AV8AssNro,0)
},c2v:function(){gx.O.AV8AssNro=this.val()},val:function(){return gx.fn.getIntegerValue("vASSNRO",".")},nac:function(){return false}};this.GXValidFnc[25]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vPERDESABREVTITULO",gxz:"ZV12PerDesAbrevTitulo",gxold:"OV12PerDesAbrevTitulo",gxvar:"AV12PerDesAbrevTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12PerDesAbrevTitulo=a},v2z:function(a){gx.O.ZV12PerDesAbrevTitulo=a},v2c:function(){gx.fn.setControlValue("vPERDESABREVTITULO",gx.O.AV12PerDesAbrevTitulo,0)
},c2v:function(){gx.O.AV12PerDesAbrevTitulo=this.val()},val:function(){return gx.fn.getControlValue("vPERDESABREVTITULO")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"char",len:4,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Validv_Aexnroexercicio,isvalid:null,fld:"vAEXNROEXERCICIO",gxz:"ZV9AexNroExercicio",gxold:"OV9AexNroExercicio",gxvar:"AV9AexNroExercicio",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9AexNroExercicio=a
},v2z:function(a){gx.O.ZV9AexNroExercicio=a},v2c:function(){gx.fn.setControlValue("vAEXNROEXERCICIO",gx.O.AV9AexNroExercicio,0)},c2v:function(){gx.O.AV9AexNroExercicio=this.val()},val:function(){return gx.fn.getControlValue("vAEXNROEXERCICIO")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,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.setControlValue("ASPDATVENC",gx.O.A38AspDatVenc,0)},c2v:function(){gx.O.A38AspDatVenc=this.val()},val:function(){return gx.fn.getControlValue("ASPDATVENC")},nac:function(){return false}};this.GXValidFnc[38]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZZZ9.99",ro:1,grid:0,gxgrid:null,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.setDecimalValue("ASPVALAPAG",gx.O.A43AspValAPag,2,",")},c2v:function(){gx.O.A43AspValAPag=this.val()},val:function(){return gx.fn.getDecimalValue("ASPVALAPAG",".",",")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TABLE4",grid:0};this.GXValidFnc[47]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[49]={lvl:0,type:"char",len:8,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPFUNCAO",gxz:"ZV13TipFuncao",gxold:"OV13TipFuncao",gxvar:"AV13TipFuncao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13TipFuncao=a
},v2z:function(a){gx.O.ZV13TipFuncao=a},v2c:function(){gx.fn.setControlValue("vTIPFUNCAO",gx.O.AV13TipFuncao,0)},c2v:function(){gx.O.AV13TipFuncao=this.val()},val:function(){return gx.fn.getControlValue("vTIPFUNCAO")},nac:function(){return false}};this.GXValidFnc[52]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[55]={fld:"TABLE5",grid:0};this.GXValidFnc[58]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[60]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vASPDATBAIXA",gxz:"ZV17AspDatBaixa",gxold:"OV17AspDatBaixa",gxvar:"AV17AspDatBaixa",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.AV17AspDatBaixa=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV17AspDatBaixa=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vASPDATBAIXA",gx.O.AV17AspDatBaixa,0)},c2v:function(){gx.O.AV17AspDatBaixa=this.val()},val:function(){return gx.fn.getControlValue("vASPDATBAIXA")},nac:function(){return false}};this.GXValidFnc[63]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[65]={lvl:0,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vASPVALPAGO",gxz:"ZV16AspValPago",gxold:"OV16AspValPago",gxvar:"AV16AspValPago",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16AspValPago=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV16AspValPago=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("vASPVALPAGO",gx.O.AV16AspValPago,2,",")},c2v:function(){gx.O.AV16AspValPago=this.val()},val:function(){return gx.fn.getDecimalValue("vASPVALPAGO",".",",")},nac:function(){return false}};this.GXValidFnc[68]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[70]={lvl:0,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vASPVALDESCONTO",gxz:"ZV15AspValDesconto",gxold:"OV15AspValDesconto",gxvar:"AV15AspValDesconto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15AspValDesconto=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV15AspValDesconto=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("vASPVALDESCONTO",gx.O.AV15AspValDesconto,2,",")},c2v:function(){gx.O.AV15AspValDesconto=this.val()},val:function(){return gx.fn.getDecimalValue("vASPVALDESCONTO",".",",")},nac:function(){return false}};this.GXValidFnc[73]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[75]={lvl:0,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vASPVALACRESCIMO",gxz:"ZV14AspValAcrescimo",gxold:"OV14AspValAcrescimo",gxvar:"AV14AspValAcrescimo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14AspValAcrescimo=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV14AspValAcrescimo=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("vASPVALACRESCIMO",gx.O.AV14AspValAcrescimo,2,",")},c2v:function(){gx.O.AV14AspValAcrescimo=this.val()},val:function(){return gx.fn.getDecimalValue("vASPVALACRESCIMO",".",",")},nac:function(){return false}};this.AV8AssNro=0;this.ZV8AssNro=0;this.OV8AssNro=0;this.AV12PerDesAbrevTitulo="";this.ZV12PerDesAbrevTitulo="";this.OV12PerDesAbrevTitulo="";this.AV9AexNroExercicio="";this.ZV9AexNroExercicio="";
this.OV9AexNroExercicio="";this.A38AspDatVenc=gx.date.nullDate();this.Z38AspDatVenc=gx.date.nullDate();this.O38AspDatVenc=gx.date.nullDate();this.A43AspValAPag=0;this.Z43AspValAPag=0;this.O43AspValAPag=0;this.AV13TipFuncao="";this.ZV13TipFuncao="";this.OV13TipFuncao="";this.AV17AspDatBaixa=gx.date.nullDate();this.ZV17AspDatBaixa=gx.date.nullDate();this.OV17AspDatBaixa=gx.date.nullDate();this.AV16AspValPago=0;this.ZV16AspValPago=0;this.OV16AspValPago=0;this.AV15AspValDesconto=0;this.ZV15AspValDesconto=0;
this.OV15AspValDesconto=0;this.AV14AspValAcrescimo=0;this.ZV14AspValAcrescimo=0;this.OV14AspValAcrescimo=0;this.AV19IndOrigem="";this.AV10AspNroParcela=0;this.A41AspNroParc=0;this.A11AexNroExer="";this.A57AssNro=0;this.A42AspValAcre=0;this.A44AspValDesc=0;this.A45AspValPago=0;this.A37AspDatBaix=gx.date.nullDate();this.ServerEvents=["e110w2_client","e130w2_client","e150w2_client"];this.EnterCtrl=["BTCONFIRMA"];this.VarControlMap.AV19IndOrigem={id:"vINDORIGEM",grid:0,type:"char"};this.VarControlMap.AV10AspNroParcela={id:"vASPNROPARCELA",grid:0,type:"int"};
this.SetStandaloneVars()}himh047.prototype=new gx.GxObject;gx.setParentObj(new himh047());