gx.evt.autoSkip=false;function gx0372(){this.ServerClass="Gx0372";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV11pAssNro=gx.fn.getIntegerValue("vPASSNRO",".");this.AV12pAexNroExercicio=gx.fn.getControlValue("vPAEXNROEXERCICIO");this.AV13pAspNroParcela=gx.fn.getIntegerValue("vPASPNROPARCELA",".")};this.e138w2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e148w1_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,38,42,43,44,45,46,47,48,49,50,51,52,53,56];this.GXLastCtrlId=56;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",41,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0372",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",42,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(41,43,"ASPNROPARC","Nro parcela","","AspNroParc","int",0,"px",3,3,"right",null,[],41,"AspNroParc",true,0,false,false);
this.Grid1Container.addSingleLineEdit(38,44,"ASPDATVENC","Data vencimento","Selecionar","AspDatVenc","date",0,"px",10,10,"right",null,[],38,"AspDatVenc",true,0,false,false);this.Grid1Container.addSingleLineEdit(40,45,"ASPNRODOCU","Nro documento","","AspNroDocu","char",0,"px",10,10,"left",null,[],40,"AspNroDocu",true,0,false,false);this.Grid1Container.addSingleLineEdit(43,46,"ASPVALAPAG","Valor a pagar","","AspValAPag","decimal",0,"px",10,10,"right",null,[],43,"AspValAPag",true,2,false,false);this.Grid1Container.addSingleLineEdit(37,47,"ASPDATBAIX","Data da baixa","","AspDatBaix","date",0,"px",10,10,"right",null,[],37,"AspDatBaix",true,0,false,false);
this.Grid1Container.addSingleLineEdit(45,48,"ASPVALPAGO","Valor pago","","AspValPago","decimal",0,"px",10,10,"right",null,[],45,"AspValPago",true,2,false,false);this.Grid1Container.addSingleLineEdit(42,49,"ASPVALACRE","Valor acréscimos","","AspValAcre","decimal",0,"px",10,10,"right",null,[],42,"AspValAcre",true,2,false,false);this.Grid1Container.addSingleLineEdit(44,50,"ASPVALDESC","Valor desconto","","AspValDesc","decimal",0,"px",10,10,"right",null,[],44,"AspValDesc",true,2,false,false);this.Grid1Container.addSingleLineEdit(35,51,"ASPCAMPO1L","Campo livre 1","","AspCampo1L","char",0,"px",10,10,"left",null,[],35,"AspCampo1L",true,0,false,false);
this.Grid1Container.addSingleLineEdit(57,52,"ASSNRO","Assinatura","","AssNro","int",0,"px",5,5,"right",null,[],57,"AssNro",false,0,false,false);this.Grid1Container.addSingleLineEdit(11,53,"AEXNROEXER","Exercício","","AexNroExer","char",0,"px",4,4,"left",null,[],11,"AexNroExer",false,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKASPNROPARCELA",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCASPNROPARCELA",gxz:"ZV6cAspNroParcela",gxold:"OV6cAspNroParcela",gxvar:"AV6cAspNroParcela",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cAspNroParcela=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cAspNroParcela=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCASPNROPARCELA",gx.O.AV6cAspNroParcela,0)},c2v:function(){gx.O.AV6cAspNroParcela=this.val()
},val:function(){return gx.fn.getIntegerValue("vCASPNROPARCELA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKASPDATVENCIMENTO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCASPDATVENCIMENTO",gxz:"ZV7cAspDatVencimento",gxold:"OV7cAspDatVencimento",gxvar:"AV7cAspDatVencimento",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.AV7cAspDatVencimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV7cAspDatVencimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCASPDATVENCIMENTO",gx.O.AV7cAspDatVencimento,0)},c2v:function(){gx.O.AV7cAspDatVencimento=this.val()},val:function(){return gx.fn.getControlValue("vCASPDATVENCIMENTO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKASPNRODOCUMENTO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCASPNRODOCUMENTO",gxz:"ZV8cAspNroDocumento",gxold:"OV8cAspNroDocumento",gxvar:"AV8cAspNroDocumento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cAspNroDocumento=a
},v2z:function(a){gx.O.ZV8cAspNroDocumento=a},v2c:function(){gx.fn.setControlValue("vCASPNRODOCUMENTO",gx.O.AV8cAspNroDocumento,0)},c2v:function(){gx.O.AV8cAspNroDocumento=this.val()},val:function(){return gx.fn.getControlValue("vCASPNRODOCUMENTO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKASPVALAPAGAR",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCASPVALAPAGAR",gxz:"ZV9cAspValAPagar",gxold:"OV9cAspValAPagar",gxvar:"AV9cAspValAPagar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cAspValAPagar=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV9cAspValAPagar=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("vCASPVALAPAGAR",gx.O.AV9cAspValAPagar,2,",")},c2v:function(){gx.O.AV9cAspValAPagar=this.val()},val:function(){return gx.fn.getDecimalValue("vCASPVALAPAGAR",".",",")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKASPDATBAIXA",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCASPDATBAIXA",gxz:"ZV10cAspDatBaixa",gxold:"OV10cAspDatBaixa",gxvar:"AV10cAspDatBaixa",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.AV10cAspDatBaixa=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV10cAspDatBaixa=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCASPDATBAIXA",gx.O.AV10cAspDatBaixa,0)},c2v:function(){gx.O.AV10cAspDatBaixa=this.val()},val:function(){return gx.fn.getControlValue("vCASPDATBAIXA")},nac:function(){return false}};this.GXValidFnc[37]={fld:"GROUP2",grid:0};this.GXValidFnc[38]={fld:"TABLE3",grid:0};this.GXValidFnc[42]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:41,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(41),gx.O.A41AspNroParc,0)},c2v:function(){gx.O.A41AspNroParc=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASPNROPARC",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[44]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:41,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(41),gx.O.A38AspDatVenc,0)},c2v:function(){gx.O.A38AspDatVenc=this.val()},val:function(){return gx.fn.getGridControlValue("ASPDATVENC",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[45]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ASPNRODOCU",gxz:"Z40AspNroDocu",gxold:"O40AspNroDocu",gxvar:"A40AspNroDocu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A40AspNroDocu=a
},v2z:function(a){gx.O.Z40AspNroDocu=a},v2c:function(){gx.fn.setGridControlValue("ASPNRODOCU",gx.fn.currentGridRowImpl(41),gx.O.A40AspNroDocu,0)},c2v:function(){gx.O.A40AspNroDocu=this.val()},val:function(){return gx.fn.getGridControlValue("ASPNRODOCU",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[46]={lvl:2,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZZZ9.99",ro:1,grid:41,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(41),gx.O.A43AspValAPag,2,",")},c2v:function(){gx.O.A43AspValAPag=this.val()},val:function(){return gx.fn.getGridDecimalValue("ASPVALAPAG",gx.fn.currentGridRowImpl(41),".",",")},nac:function(){return false}};this.GXValidFnc[47]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ASPDATBAIX",gxz:"Z37AspDatBaix",gxold:"O37AspDatBaix",gxvar:"A37AspDatBaix",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.A37AspDatBaix=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z37AspDatBaix=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("ASPDATBAIX",gx.fn.currentGridRowImpl(41),gx.O.A37AspDatBaix,0)},c2v:function(){gx.O.A37AspDatBaix=this.val()},val:function(){return gx.fn.getGridControlValue("ASPDATBAIX",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZZZ9.99",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ASPVALPAGO",gxz:"Z45AspValPago",gxold:"O45AspValPago",gxvar:"A45AspValPago",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A45AspValPago=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z45AspValPago=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("ASPVALPAGO",gx.fn.currentGridRowImpl(41),gx.O.A45AspValPago,2,",")},c2v:function(){gx.O.A45AspValPago=this.val()},val:function(){return gx.fn.getGridDecimalValue("ASPVALPAGO",gx.fn.currentGridRowImpl(41),".",",")},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZZZ9.99",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ASPVALACRE",gxz:"Z42AspValAcre",gxold:"O42AspValAcre",gxvar:"A42AspValAcre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A42AspValAcre=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z42AspValAcre=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("ASPVALACRE",gx.fn.currentGridRowImpl(41),gx.O.A42AspValAcre,2,",")},c2v:function(){gx.O.A42AspValAcre=this.val()},val:function(){return gx.fn.getGridDecimalValue("ASPVALACRE",gx.fn.currentGridRowImpl(41),".",",")},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZZZZ9.99",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ASPVALDESC",gxz:"Z44AspValDesc",gxold:"O44AspValDesc",gxvar:"A44AspValDesc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A44AspValDesc=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z44AspValDesc=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("ASPVALDESC",gx.fn.currentGridRowImpl(41),gx.O.A44AspValDesc,2,",")},c2v:function(){gx.O.A44AspValDesc=this.val()},val:function(){return gx.fn.getGridDecimalValue("ASPVALDESC",gx.fn.currentGridRowImpl(41),".",",")},nac:function(){return false}};this.GXValidFnc[51]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ASPCAMPO1L",gxz:"Z35AspCampo1L",gxold:"O35AspCampo1L",gxvar:"A35AspCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A35AspCampo1L=a
},v2z:function(a){gx.O.Z35AspCampo1L=a},v2c:function(){gx.fn.setGridControlValue("ASPCAMPO1L",gx.fn.currentGridRowImpl(41),gx.O.A35AspCampo1L,0)},c2v:function(){gx.O.A35AspCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("ASPCAMPO1L",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[52]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:41,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(41),gx.O.A57AssNro,0)},c2v:function(){gx.O.A57AssNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASSNRO",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"char",len:4,dec:0,sign:false,ro:1,grid:41,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(41),gx.O.A11AexNroExer,0)},c2v:function(){gx.O.A11AexNroExer=this.val()},val:function(){return gx.fn.getGridControlValue("AEXNROEXER",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[56]={fld:"TABLE4",grid:0};this.AV6cAspNroParcela=0;this.ZV6cAspNroParcela=0;this.OV6cAspNroParcela=0;this.AV7cAspDatVencimento=gx.date.nullDate();this.ZV7cAspDatVencimento=gx.date.nullDate();
this.OV7cAspDatVencimento=gx.date.nullDate();this.AV8cAspNroDocumento="";this.ZV8cAspNroDocumento="";this.OV8cAspNroDocumento="";this.AV9cAspValAPagar=0;this.ZV9cAspValAPagar=0;this.OV9cAspValAPagar=0;this.AV10cAspDatBaixa=gx.date.nullDate();this.ZV10cAspDatBaixa=gx.date.nullDate();this.OV10cAspDatBaixa=gx.date.nullDate();this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z41AspNroParc=0;this.O41AspNroParc=0;this.Z38AspDatVenc=gx.date.nullDate();this.O38AspDatVenc=gx.date.nullDate();this.Z40AspNroDocu="";
this.O40AspNroDocu="";this.Z43AspValAPag=0;this.O43AspValAPag=0;this.Z37AspDatBaix=gx.date.nullDate();this.O37AspDatBaix=gx.date.nullDate();this.Z45AspValPago=0;this.O45AspValPago=0;this.Z42AspValAcre=0;this.O42AspValAcre=0;this.Z44AspValDesc=0;this.O44AspValDesc=0;this.Z35AspCampo1L="";this.O35AspCampo1L="";this.Z57AssNro=0;this.O57AssNro=0;this.Z11AexNroExer="";this.O11AexNroExer="";this.AV11pAssNro=0;this.AV12pAexNroExercicio="";this.AV13pAspNroParcela=0;this.AV5LinkSelection="";this.A41AspNroParc=0;
this.A38AspDatVenc=gx.date.nullDate();this.A40AspNroDocu="";this.A43AspValAPag=0;this.A37AspDatBaix=gx.date.nullDate();this.A45AspValPago=0;this.A42AspValAcre=0;this.A44AspValDesc=0;this.A35AspCampo1L="";this.A57AssNro=0;this.A11AexNroExer="";this.ServerEvents=["e138w2_client","e148w1_client"];this.VarControlMap.AV11pAssNro={id:"vPASSNRO",grid:0,type:"int"};this.VarControlMap.AV12pAexNroExercicio={id:"vPAEXNROEXERCICIO",grid:0,type:"char"};this.VarControlMap.AV13pAspNroParcela={id:"vPASPNROPARCELA",grid:0,type:"int"};
this.VarControlMap.AV11pAssNro={id:"vPASSNRO",grid:0,type:"int"};this.VarControlMap.AV12pAexNroExercicio={id:"vPAEXNROEXERCICIO",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);this.Grid1Container.addRefreshingVar({rfrVar:"AV11pAssNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV12pAexNroExercicio"});
this.SetStandaloneVars()}gx0372.prototype=new gx.GxObject;gx.setParentObj(new gx0372());