gx.evt.autoSkip=false;function gx0350(){this.ServerClass="Gx0350";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pAssNro=gx.fn.getIntegerValue("vPASSNRO",".");this.AV14pAexNroExercicio=gx.fn.getControlValue("vPAEXNROEXERCICIO")};this.e13cq2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14cq1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];
this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,39,42,44,47,48,52,53,54,55,56,57,58,59,62];this.GXLastCtrlId=62;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",51,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0350",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",52,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(57,53,"ASSNRO","Assinatura","","AssNro","int",0,"px",5,5,"right",null,[],57,"AssNro",true,0,false,false);
this.Grid1Container.addSingleLineEdit(11,54,"AEXNROEXER","Exercício","","AexNroExer","char",0,"px",4,4,"left",null,[],11,"AexNroExer",true,0,false,false);this.Grid1Container.addSingleLineEdit(6,55,"AEXDATASSI","Data de renovação","Selecionar","AexDatAssi","date",0,"px",10,10,"right",null,[],6,"AexDatAssi",true,0,false,false);this.Grid1Container.addSingleLineEdit(8,56,"AEXDATINIC","Data início recebimento","","AexDatInic","date",0,"px",10,10,"right",null,[],8,"AexDatInic",true,0,false,false);this.Grid1Container.addSingleLineEdit(12,57,"AEXQTDMESE","Qtd meses vigência","","AexQtdMese","int",0,"px",3,3,"right",null,[],12,"AexQtdMese",true,0,false,false);
this.Grid1Container.addSingleLineEdit(7,58,"AEXDATFIMR","Data final do recebimento","","AexDatFimR","date",0,"px",10,10,"right",null,[],7,"AexDatFimR",true,0,false,false);this.Grid1Container.addSingleLineEdit(13,59,"AEXQTDPARC","Qtd parcelas pagamento","","AexQtdParc","int",0,"px",3,3,"right",null,[],13,"AexQtdParc",true,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:"TEXTBLOCKASSNRO",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCASSNRO",gxz:"ZV6cAssNro",gxold:"OV6cAssNro",gxvar:"AV6cAssNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cAssNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cAssNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCASSNRO",gx.O.AV6cAssNro,0)},c2v:function(){gx.O.AV6cAssNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCASSNRO",".")
},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKAEXNROEXERCICIO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:4,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCAEXNROEXERCICIO",gxz:"ZV7cAexNroExercicio",gxold:"OV7cAexNroExercicio",gxvar:"AV7cAexNroExercicio",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cAexNroExercicio=a},v2z:function(a){gx.O.ZV7cAexNroExercicio=a},v2c:function(){gx.fn.setControlValue("vCAEXNROEXERCICIO",gx.O.AV7cAexNroExercicio,0)
},c2v:function(){gx.O.AV7cAexNroExercicio=this.val()},val:function(){return gx.fn.getControlValue("vCAEXNROEXERCICIO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKAEXDATASSINATURA",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCAEXDATASSINATURA",gxz:"ZV8cAexDatAssinatura",gxold:"OV8cAexDatAssinatura",gxvar:"AV8cAexDatAssinatura",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.AV8cAexDatAssinatura=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV8cAexDatAssinatura=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCAEXDATASSINATURA",gx.O.AV8cAexDatAssinatura,0)},c2v:function(){gx.O.AV8cAexDatAssinatura=this.val()},val:function(){return gx.fn.getControlValue("vCAEXDATASSINATURA")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKAEXDATINICIORECEBIMENTO",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCAEXDATINICIORECEBIMENTO",gxz:"ZV9cAexDatInicioRecebimento",gxold:"OV9cAexDatInicioRecebimento",gxvar:"AV9cAexDatInicioRecebimento",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.AV9cAexDatInicioRecebimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV9cAexDatInicioRecebimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCAEXDATINICIORECEBIMENTO",gx.O.AV9cAexDatInicioRecebimento,0)},c2v:function(){gx.O.AV9cAexDatInicioRecebimento=this.val()},val:function(){return gx.fn.getControlValue("vCAEXDATINICIORECEBIMENTO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKAEXQTDMESESVIGENCIA",format:0,grid:0};this.GXValidFnc[34]={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:"vCAEXQTDMESESVIGENCIA",gxz:"ZV10cAexQtdMesesVigencia",gxold:"OV10cAexQtdMesesVigencia",gxvar:"AV10cAexQtdMesesVigencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cAexQtdMesesVigencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV10cAexQtdMesesVigencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCAEXQTDMESESVIGENCIA",gx.O.AV10cAexQtdMesesVigencia,0)},c2v:function(){gx.O.AV10cAexQtdMesesVigencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCAEXQTDMESESVIGENCIA",".")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKAEXDATFIMRECEBIMENTO",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCAEXDATFIMRECEBIMENTO",gxz:"ZV11cAexDatFimRecebimento",gxold:"OV11cAexDatFimRecebimento",gxvar:"AV11cAexDatFimRecebimento",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.AV11cAexDatFimRecebimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV11cAexDatFimRecebimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCAEXDATFIMRECEBIMENTO",gx.O.AV11cAexDatFimRecebimento,0)},c2v:function(){gx.O.AV11cAexDatFimRecebimento=this.val()},val:function(){return gx.fn.getControlValue("vCAEXDATFIMRECEBIMENTO")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCKAEXVALTOTALASSINATURA",format:0,grid:0};this.GXValidFnc[44]={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:[this.Grid1Container],fld:"vCAEXVALTOTALASSINATURA",gxz:"ZV12cAexValTotalAssinatura",gxold:"OV12cAexValTotalAssinatura",gxvar:"AV12cAexValTotalAssinatura",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12cAexValTotalAssinatura=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV12cAexValTotalAssinatura=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("vCAEXVALTOTALASSINATURA",gx.O.AV12cAexValTotalAssinatura,2,",")},c2v:function(){gx.O.AV12cAexValTotalAssinatura=this.val()},val:function(){return gx.fn.getDecimalValue("vCAEXVALTOTALASSINATURA",".",",")},nac:function(){return false}};this.GXValidFnc[47]={fld:"GROUP2",grid:0};this.GXValidFnc[48]={fld:"TABLE3",grid:0};this.GXValidFnc[52]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:51,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(51))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:51,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(51),gx.O.A57AssNro,0)},c2v:function(){gx.O.A57AssNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASSNRO",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"char",len:4,dec:0,sign:false,ro:1,grid:51,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(51),gx.O.A11AexNroExer,0)},c2v:function(){gx.O.A11AexNroExer=this.val()},val:function(){return gx.fn.getGridControlValue("AEXNROEXER",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,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.setGridControlValue("AEXDATASSI",gx.fn.currentGridRowImpl(51),gx.O.A6AexDatAssi,0)},c2v:function(){gx.O.A6AexDatAssi=this.val()},val:function(){return gx.fn.getGridControlValue("AEXDATASSI",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,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.setGridControlValue("AEXDATINIC",gx.fn.currentGridRowImpl(51),gx.O.A8AexDatInic,0)},c2v:function(){gx.O.A8AexDatInic=this.val()},val:function(){return gx.fn.getGridControlValue("AEXDATINIC",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[57]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,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.setGridControlValue("AEXQTDMESE",gx.fn.currentGridRowImpl(51),gx.O.A12AexQtdMese,0)},c2v:function(){gx.O.A12AexQtdMese=this.val()},val:function(){return gx.fn.getGridIntegerValue("AEXQTDMESE",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[58]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,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.setGridControlValue("AEXDATFIMR",gx.fn.currentGridRowImpl(51),gx.O.A7AexDatFimR,0)},c2v:function(){gx.O.A7AexDatFimR=this.val()},val:function(){return gx.fn.getGridControlValue("AEXDATFIMR",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[59]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"AEXQTDPARC",gxz:"Z13AexQtdParc",gxold:"O13AexQtdParc",gxvar:"A13AexQtdParc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A13AexQtdParc=gx.num.intval(a)
},v2z:function(a){gx.O.Z13AexQtdParc=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("AEXQTDPARC",gx.fn.currentGridRowImpl(51),gx.O.A13AexQtdParc,0)},c2v:function(){gx.O.A13AexQtdParc=this.val()},val:function(){return gx.fn.getGridIntegerValue("AEXQTDPARC",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[62]={fld:"TABLE4",grid:0};this.AV6cAssNro=0;this.ZV6cAssNro=0;this.OV6cAssNro=0;this.AV7cAexNroExercicio="";this.ZV7cAexNroExercicio="";this.OV7cAexNroExercicio="";
this.AV8cAexDatAssinatura=gx.date.nullDate();this.ZV8cAexDatAssinatura=gx.date.nullDate();this.OV8cAexDatAssinatura=gx.date.nullDate();this.AV9cAexDatInicioRecebimento=gx.date.nullDate();this.ZV9cAexDatInicioRecebimento=gx.date.nullDate();this.OV9cAexDatInicioRecebimento=gx.date.nullDate();this.AV10cAexQtdMesesVigencia=0;this.ZV10cAexQtdMesesVigencia=0;this.OV10cAexQtdMesesVigencia=0;this.AV11cAexDatFimRecebimento=gx.date.nullDate();this.ZV11cAexDatFimRecebimento=gx.date.nullDate();this.OV11cAexDatFimRecebimento=gx.date.nullDate();
this.AV12cAexValTotalAssinatura=0;this.ZV12cAexValTotalAssinatura=0;this.OV12cAexValTotalAssinatura=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z57AssNro=0;this.O57AssNro=0;this.Z11AexNroExer="";this.O11AexNroExer="";this.Z6AexDatAssi=gx.date.nullDate();this.O6AexDatAssi=gx.date.nullDate();this.Z8AexDatInic=gx.date.nullDate();this.O8AexDatInic=gx.date.nullDate();this.Z12AexQtdMese=0;this.O12AexQtdMese=0;this.Z7AexDatFimR=gx.date.nullDate();this.O7AexDatFimR=gx.date.nullDate();this.Z13AexQtdParc=0;
this.O13AexQtdParc=0;this.AV13pAssNro=0;this.AV14pAexNroExercicio="";this.A14AexValTota=0;this.AV5LinkSelection="";this.A57AssNro=0;this.A11AexNroExer="";this.A6AexDatAssi=gx.date.nullDate();this.A8AexDatInic=gx.date.nullDate();this.A12AexQtdMese=0;this.A7AexDatFimR=gx.date.nullDate();this.A13AexQtdParc=0;this.ServerEvents=["e13cq2_client","e14cq1_client"];this.VarControlMap.AV13pAssNro={id:"vPASSNRO",grid:0,type:"int"};this.VarControlMap.AV14pAexNroExercicio={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(this.GXValidFnc[39]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[44]);this.SetStandaloneVars()}gx0350.prototype=new gx.GxObject;gx.setParentObj(new gx0350());