text: /**@preserve  GeneXus Java 10_3_12-110051 on December 12, 2020 20:37:15.58
  */
  gx.evt.autoSkip = false;
  gx.define('gx0ct2', false, function () {
     this.ServerClass =  "gx0ct2" ;
     this.PackageName =  "" ;
     this.setObjectType("web");
     this.setOnAjaxSessionTimeout("Warn");
     this.hasEnterEvent = true;
     this.skipOnEnter = false;
     this.addKeyListener("5", "REFRESH");
     this.addKeyListener("12", "CANCEL");
     this.addKeyListener("1", "HELP");
     this.autoRefresh = true;
     this.SetStandaloneVars=function()
     {
        this.AV11pLoteamentoEmpresaId=gx.fn.getControlValue("vPLOTEAMENTOEMPRESAID") ;
        this.AV12pLoteamentoId=gx.fn.getIntegerValue("vPLOTEAMENTOID",'.') ;
        this.AV13pLoteNumLote=gx.fn.getControlValue("vPLOTENUMLOTE") ;
        this.AV14pLoteNumQuadra=gx.fn.getControlValue("vPLOTENUMQUADRA") ;
     };
     this.e131rn2_client=function()
     {
        this.executeServerEvent("ENTER", true, arguments[0], false, false);
     };
     this.e141rn1_client=function()
     {
        this.executeServerEvent("CANCEL", true, null, false, false);
     };
     this.GXValidFnc = [];
     var GXValidFnc = 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,54];
     this.GXLastCtrlId =54;
     this.Grid1Container = new gx.grid.grid(this, 2,"WbpLvl2",41,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0ct2",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"",false,[1,1,1,1]);
     var Grid1Container = this.Grid1Container;
     Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",42,0,"px",17,"px",null,"","","Image","");
     Grid1Container.addSingleLineEdit(5316,43,"LOTENUMLOTE","Número Lote","","LoteNumLote","char",0,"px",5,5,"left",null,[],5316,"LoteNumLote",true,0,false,false,"Attribute",1,"");
     Grid1Container.addSingleLineEdit(5317,44,"LOTENUMQUADRA","Número Quadra","","LoteNumQuadra","char",0,"px",5,5,"left",null,[],5317,"LoteNumQuadra",true,0,false,false,"Attribute",1,"");
     Grid1Container.addSingleLineEdit(5292,45,"LOTELOCALIZACAO","Lote Localizacao","Selecionar","LoteLocalizacao","svchar",0,"px",30,30,"left",null,[],5292,"LoteLocalizacao",true,0,false,false,"Attribute",1,"");
     Grid1Container.addSingleLineEdit(5293,46,"LOTEAREAFRENTE","Lote Area Frente","","LoteAreaFrente","decimal",0,"px",11,11,"right",null,[],5293,"LoteAreaFrente",true,3,false,false,"Attribute",1,"");
     Grid1Container.addSingleLineEdit(5294,47,"LOTEAREAFUNDO","Lote Area Fundo","","LoteAreaFundo","decimal",0,"px",11,11,"right",null,[],5294,"LoteAreaFundo",true,3,false,false,"Attribute",1,"");
     Grid1Container.addSingleLineEdit(5295,48,"LOTEAREATOTAL","Lote Area Total","","LoteAreaTotal","decimal",0,"px",11,11,"right",null,[],5295,"LoteAreaTotal",true,3,false,false,"Attribute",1,"");
     Grid1Container.addSingleLineEdit(5296,49,"LOTEAREACOMUM","Lote Area Comum","","LoteAreaComum","decimal",0,"px",11,11,"right",null,[],5296,"LoteAreaComum",true,3,false,false,"Attribute",1,"");
     Grid1Container.addSingleLineEdit(5290,50,"LOTEAMENTOEMPRESAID","Empresa","","LoteamentoEmpresaId","char",0,"px",10,10,"left",null,[],5290,"LoteamentoEmpresaId",false,0,false,false,"Attribute",1,"");
     Grid1Container.addSingleLineEdit(5314,51,"LOTEAMENTOID","Loteamento","","LoteamentoId","int",0,"px",3,3,"right",null,[],5314,"LoteamentoId",false,0,false,false,"Attribute",1,"");
     this.setGrid(Grid1Container);
     GXValidFnc[2]={fld:"TABLE1",grid:0};
     GXValidFnc[8]={fld:"GROUP1",grid:0};
     GXValidFnc[9]={fld:"TABLE2",grid:0};
     GXValidFnc[12]={fld:"TEXTBLOCKLOTENUMLOTE", format:0,grid:0};
     GXValidFnc[14]={lvl:0,type:"char",len:5,dec:0,sign:false,pic:"@!",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCLOTENUMLOTE",gxz:"ZV6cLoteNumLote",gxold:"OV6cLoteNumLote",gxvar:"AV6cLoteNumLote",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV6cLoteNumLote=Value},v2z:function(Value){gx.O.ZV6cLoteNumLote=Value},v2c:function(){gx.fn.setControlValue("vCLOTENUMLOTE",gx.O.AV6cLoteNumLote,0)},c2v:function(){gx.O.AV6cLoteNumLote=this.val()},val:function(){return gx.fn.getControlValue("vCLOTENUMLOTE")},nac:gx.falseFn};
     GXValidFnc[17]={fld:"TEXTBLOCKLOTENUMQUADRA", format:0,grid:0};
     GXValidFnc[19]={lvl:0,type:"char",len:5,dec:0,sign:false,pic:"@!",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCLOTENUMQUADRA",gxz:"ZV7cLoteNumQuadra",gxold:"OV7cLoteNumQuadra",gxvar:"AV7cLoteNumQuadra",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV7cLoteNumQuadra=Value},v2z:function(Value){gx.O.ZV7cLoteNumQuadra=Value},v2c:function(){gx.fn.setControlValue("vCLOTENUMQUADRA",gx.O.AV7cLoteNumQuadra,0)},c2v:function(){gx.O.AV7cLoteNumQuadra=this.val()},val:function(){return gx.fn.getControlValue("vCLOTENUMQUADRA")},nac:gx.falseFn};
     GXValidFnc[22]={fld:"TEXTBLOCKLOTELOCALIZACAO", format:0,grid:0};
     GXValidFnc[24]={lvl:0,type:"svchar",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCLOTELOCALIZACAO",gxz:"ZV8cLoteLocalizacao",gxold:"OV8cLoteLocalizacao",gxvar:"AV8cLoteLocalizacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV8cLoteLocalizacao=Value},v2z:function(Value){gx.O.ZV8cLoteLocalizacao=Value},v2c:function(){gx.fn.setControlValue("vCLOTELOCALIZACAO",gx.O.AV8cLoteLocalizacao,0)},c2v:function(){gx.O.AV8cLoteLocalizacao=this.val()},val:function(){return gx.fn.getControlValue("vCLOTELOCALIZACAO")},nac:gx.falseFn};
     GXValidFnc[27]={fld:"TEXTBLOCKLOTEAREAFRENTE", format:0,grid:0};
     GXValidFnc[29]={lvl:0,type:"decimal",len:10,dec:3,sign:false,pic:"ZZZ,ZZ9.999",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCLOTEAREAFRENTE",gxz:"ZV9cLoteAreaFrente",gxold:"OV9cLoteAreaFrente",gxvar:"AV9cLoteAreaFrente",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV9cLoteAreaFrente=gx.fn.toDecimalValue(Value,',','.')},v2z:function(Value){gx.O.ZV9cLoteAreaFrente=gx.fn.toDecimalValue(Value,'.',',')},v2c:function(){gx.fn.setDecimalValue("vCLOTEAREAFRENTE",gx.O.AV9cLoteAreaFrente,3,',')},c2v:function(){gx.O.AV9cLoteAreaFrente=this.val()},val:function(){return gx.fn.getDecimalValue("vCLOTEAREAFRENTE",'.',',')},nac:gx.falseFn};
     GXValidFnc[32]={fld:"TEXTBLOCKLOTEAREAFUNDO", format:0,grid:0};
     GXValidFnc[34]={lvl:0,type:"decimal",len:10,dec:3,sign:false,pic:"ZZZ,ZZ9.999",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCLOTEAREAFUNDO",gxz:"ZV10cLoteAreaFundo",gxold:"OV10cLoteAreaFundo",gxvar:"AV10cLoteAreaFundo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV10cLoteAreaFundo=gx.fn.toDecimalValue(Value,',','.')},v2z:function(Value){gx.O.ZV10cLoteAreaFundo=gx.fn.toDecimalValue(Value,'.',',')},v2c:function(){gx.fn.setDecimalValue("vCLOTEAREAFUNDO",gx.O.AV10cLoteAreaFundo,3,',')},c2v:function(){gx.O.AV10cLoteAreaFundo=this.val()},val:function(){return gx.fn.getDecimalValue("vCLOTEAREAFUNDO",'.',',')},nac:gx.falseFn};
     GXValidFnc[37]={fld:"GROUP2",grid:0};
     GXValidFnc[38]={fld:"TABLE3",grid:0};
     GXValidFnc[42]={lvl:2,type:"bits",len:1024,dec:0,sign:false,ro:1,isacc:0,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',v2v:function(Value){gx.O.AV5LinkSelection=Value},v2z:function(Value){gx.O.ZV5LinkSelection=Value},v2c:function(row){gx.fn.setGridMultimediaValue("vLINKSELECTION",row || gx.fn.currentGridRowImpl(41),gx.O.AV5LinkSelection,gx.O.AV17Linkselection_GXI)},c2v:function(){gx.O.AV17Linkselection_GXI=this.val_GXI();gx.O.AV5LinkSelection=this.val()},val:function(row){return gx.fn.getGridControlValue("vLINKSELECTION",row || gx.fn.currentGridRowImpl(41))},val_GXI:function(row){return gx.fn.getGridControlValue("vLINKSELECTION_GXI",row || gx.fn.currentGridRowImpl(41))}, gxvar_GXI:'AV17Linkselection_GXI',nac:gx.falseFn};
     GXValidFnc[43]={lvl:2,type:"char",len:5,dec:0,sign:false,pic:"@!",ro:1,isacc:0,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LOTENUMLOTE",gxz:"Z5316LoteNumLote",gxold:"O5316LoteNumLote",gxvar:"A5316LoteNumLote",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',autoCorrect:"1",v2v:function(Value){gx.O.A5316LoteNumLote=Value},v2z:function(Value){gx.O.Z5316LoteNumLote=Value},v2c:function(row){gx.fn.setGridControlValue("LOTENUMLOTE",row || gx.fn.currentGridRowImpl(41),gx.O.A5316LoteNumLote,0)},c2v:function(){gx.O.A5316LoteNumLote=this.val()},val:function(row){return gx.fn.getGridControlValue("LOTENUMLOTE",row || gx.fn.currentGridRowImpl(41))},nac:gx.falseFn};
     GXValidFnc[44]={lvl:2,type:"char",len:5,dec:0,sign:false,pic:"@!",ro:1,isacc:0,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LOTENUMQUADRA",gxz:"Z5317LoteNumQuadra",gxold:"O5317LoteNumQuadra",gxvar:"A5317LoteNumQuadra",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',autoCorrect:"1",v2v:function(Value){gx.O.A5317LoteNumQuadra=Value},v2z:function(Value){gx.O.Z5317LoteNumQuadra=Value},v2c:function(row){gx.fn.setGridControlValue("LOTENUMQUADRA",row || gx.fn.currentGridRowImpl(41),gx.O.A5317LoteNumQuadra,0)},c2v:function(){gx.O.A5317LoteNumQuadra=this.val()},val:function(row){return gx.fn.getGridControlValue("LOTENUMQUADRA",row || gx.fn.currentGridRowImpl(41))},nac:gx.falseFn};
     GXValidFnc[45]={lvl:2,type:"svchar",len:30,dec:0,sign:false,ro:1,isacc:0,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LOTELOCALIZACAO",gxz:"Z5292LoteLocalizacao",gxold:"O5292LoteLocalizacao",gxvar:"A5292LoteLocalizacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',autoCorrect:"1",v2v:function(Value){gx.O.A5292LoteLocalizacao=Value},v2z:function(Value){gx.O.Z5292LoteLocalizacao=Value},v2c:function(row){gx.fn.setGridControlValue("LOTELOCALIZACAO",row || gx.fn.currentGridRowImpl(41),gx.O.A5292LoteLocalizacao,0)},c2v:function(){gx.O.A5292LoteLocalizacao=this.val()},val:function(row){return gx.fn.getGridControlValue("LOTELOCALIZACAO",row || gx.fn.currentGridRowImpl(41))},nac:gx.falseFn};
     GXValidFnc[46]={lvl:2,type:"decimal",len:10,dec:3,sign:false,pic:"ZZZ,ZZ9.999",ro:1,isacc:0,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LOTEAREAFRENTE",gxz:"Z5293LoteAreaFrente",gxold:"O5293LoteAreaFrente",gxvar:"A5293LoteAreaFrente",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',v2v:function(Value){gx.O.A5293LoteAreaFrente=gx.fn.toDecimalValue(Value,',','.')},v2z:function(Value){gx.O.Z5293LoteAreaFrente=gx.fn.toDecimalValue(Value,'.',',')},v2c:function(row){gx.fn.setGridDecimalValue("LOTEAREAFRENTE",row || gx.fn.currentGridRowImpl(41),gx.O.A5293LoteAreaFrente,3,',')},c2v:function(){gx.O.A5293LoteAreaFrente=this.val()},val:function(row){return gx.fn.getGridDecimalValue("LOTEAREAFRENTE",row || gx.fn.currentGridRowImpl(41),'.',',')},nac:gx.falseFn};
     GXValidFnc[47]={lvl:2,type:"decimal",len:10,dec:3,sign:false,pic:"ZZZ,ZZ9.999",ro:1,isacc:0,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LOTEAREAFUNDO",gxz:"Z5294LoteAreaFundo",gxold:"O5294LoteAreaFundo",gxvar:"A5294LoteAreaFundo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',v2v:function(Value){gx.O.A5294LoteAreaFundo=gx.fn.toDecimalValue(Value,',','.')},v2z:function(Value){gx.O.Z5294LoteAreaFundo=gx.fn.toDecimalValue(Value,'.',',')},v2c:function(row){gx.fn.setGridDecimalValue("LOTEAREAFUNDO",row || gx.fn.currentGridRowImpl(41),gx.O.A5294LoteAreaFundo,3,',')},c2v:function(){gx.O.A5294LoteAreaFundo=this.val()},val:function(row){return gx.fn.getGridDecimalValue("LOTEAREAFUNDO",row || gx.fn.currentGridRowImpl(41),'.',',')},nac:gx.falseFn};
     GXValidFnc[48]={lvl:2,type:"decimal",len:10,dec:3,sign:false,pic:"ZZZ,ZZ9.999",ro:1,isacc:0,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LOTEAREATOTAL",gxz:"Z5295LoteAreaTotal",gxold:"O5295LoteAreaTotal",gxvar:"A5295LoteAreaTotal",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',v2v:function(Value){gx.O.A5295LoteAreaTotal=gx.fn.toDecimalValue(Value,',','.')},v2z:function(Value){gx.O.Z5295LoteAreaTotal=gx.fn.toDecimalValue(Value,'.',',')},v2c:function(row){gx.fn.setGridDecimalValue("LOTEAREATOTAL",row || gx.fn.currentGridRowImpl(41),gx.O.A5295LoteAreaTotal,3,',')},c2v:function(){gx.O.A5295LoteAreaTotal=this.val()},val:function(row){return gx.fn.getGridDecimalValue("LOTEAREATOTAL",row || gx.fn.currentGridRowImpl(41),'.',',')},nac:gx.falseFn};
     GXValidFnc[49]={lvl:2,type:"decimal",len:10,dec:3,sign:false,pic:"ZZZ,ZZ9.999",ro:1,isacc:0,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LOTEAREACOMUM",gxz:"Z5296LoteAreaComum",gxold:"O5296LoteAreaComum",gxvar:"A5296LoteAreaComum",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',v2v:function(Value){gx.O.A5296LoteAreaComum=gx.fn.toDecimalValue(Value,',','.')},v2z:function(Value){gx.O.Z5296LoteAreaComum=gx.fn.toDecimalValue(Value,'.',',')},v2c:function(row){gx.fn.setGridDecimalValue("LOTEAREACOMUM",row || gx.fn.currentGridRowImpl(41),gx.O.A5296LoteAreaComum,3,',')},c2v:function(){gx.O.A5296LoteAreaComum=this.val()},val:function(row){return gx.fn.getGridDecimalValue("LOTEAREACOMUM",row || gx.fn.currentGridRowImpl(41),'.',',')},nac:gx.falseFn};
     GXValidFnc[50]={lvl:2,type:"char",len:10,dec:0,sign:false,pic:"@!",ro:1,isacc:0,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LOTEAMENTOEMPRESAID",gxz:"Z5290LoteamentoEmpresaId",gxold:"O5290LoteamentoEmpresaId",gxvar:"A5290LoteamentoEmpresaId",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',autoCorrect:"1",v2v:function(Value){gx.O.A5290LoteamentoEmpresaId=Value},v2z:function(Value){gx.O.Z5290LoteamentoEmpresaId=Value},v2c:function(row){gx.fn.setGridControlValue("LOTEAMENTOEMPRESAID",row || gx.fn.currentGridRowImpl(41),gx.O.A5290LoteamentoEmpresaId,0);if (typeof(this.dom_hdl) == 'function') this.dom_hdl.call(gx.O);},c2v:function(){gx.O.A5290LoteamentoEmpresaId=this.val()},val:function(row){return gx.fn.getGridControlValue("LOTEAMENTOEMPRESAID",row || gx.fn.currentGridRowImpl(41))},nac:gx.falseFn};
     GXValidFnc[51]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,isacc:0,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LOTEAMENTOID",gxz:"Z5314LoteamentoId",gxold:"O5314LoteamentoId",gxvar:"A5314LoteamentoId",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',v2v:function(Value){gx.O.A5314LoteamentoId=gx.num.intval(Value)},v2z:function(Value){gx.O.Z5314LoteamentoId=gx.num.intval(Value)},v2c:function(row){gx.fn.setGridControlValue("LOTEAMENTOID",row || gx.fn.currentGridRowImpl(41),gx.O.A5314LoteamentoId,0)},c2v:function(){gx.O.A5314LoteamentoId=gx.num.intval(this.val())},val:function(row){return gx.fn.getGridIntegerValue("LOTEAMENTOID",row || gx.fn.currentGridRowImpl(41),'.')},nac:gx.falseFn};
     GXValidFnc[54]={fld:"TABLE4",grid:0};
     this.AV6cLoteNumLote = "" ;
     this.ZV6cLoteNumLote = "" ;
     this.OV6cLoteNumLote = "" ;
     this.AV7cLoteNumQuadra = "" ;
     this.ZV7cLoteNumQuadra = "" ;
     this.OV7cLoteNumQuadra = "" ;
     this.AV8cLoteLocalizacao = "" ;
     this.ZV8cLoteLocalizacao = "" ;
     this.OV8cLoteLocalizacao = "" ;
     this.AV9cLoteAreaFrente = 0 ;
     this.ZV9cLoteAreaFrente = 0 ;
     this.OV9cLoteAreaFrente = 0 ;
     this.AV10cLoteAreaFundo = 0 ;
     this.ZV10cLoteAreaFundo = 0 ;
     this.OV10cLoteAreaFundo = 0 ;
     this.ZV5LinkSelection = "" ;
     this.OV5LinkSelection = "" ;
     this.Z5316LoteNumLote = "" ;
     this.O5316LoteNumLote = "" ;
     this.Z5317LoteNumQuadra = "" ;
     this.O5317LoteNumQuadra = "" ;
     this.Z5292LoteLocalizacao = "" ;
     this.O5292LoteLocalizacao = "" ;
     this.Z5293LoteAreaFrente = 0 ;
     this.O5293LoteAreaFrente = 0 ;
     this.Z5294LoteAreaFundo = 0 ;
     this.O5294LoteAreaFundo = 0 ;
     this.Z5295LoteAreaTotal = 0 ;
     this.O5295LoteAreaTotal = 0 ;
     this.Z5296LoteAreaComum = 0 ;
     this.O5296LoteAreaComum = 0 ;
     this.Z5290LoteamentoEmpresaId = "" ;
     this.O5290LoteamentoEmpresaId = "" ;
     this.Z5314LoteamentoId = 0 ;
     this.O5314LoteamentoId = 0 ;
     this.AV6cLoteNumLote = "" ;
     this.AV7cLoteNumQuadra = "" ;
     this.AV8cLoteLocalizacao = "" ;
     this.AV9cLoteAreaFrente = 0 ;
     this.AV10cLoteAreaFundo = 0 ;
     this.AV11pLoteamentoEmpresaId = "" ;
     this.AV12pLoteamentoId = 0 ;
     this.AV13pLoteNumLote = "" ;
     this.AV14pLoteNumQuadra = "" ;
     this.AV5LinkSelection = "" ;
     this.A5316LoteNumLote = "" ;
     this.A5317LoteNumQuadra = "" ;
     this.A5292LoteLocalizacao = "" ;
     this.A5293LoteAreaFrente = 0 ;
     this.A5294LoteAreaFundo = 0 ;
     this.A5295LoteAreaTotal = 0 ;
     this.A5296LoteAreaComum = 0 ;
     this.A5290LoteamentoEmpresaId = "" ;
     this.A5314LoteamentoId = 0 ;
     this.Events = {"e131rn2_client": ["ENTER", true] ,"e141rn1_client": ["CANCEL", true]};
     this.EvtParms["REFRESH"] = [[{av:'GRID1_nFirstRecordOnPage'},{av:'GRID1_nEOF'},{av:'subGrid1_Rows'},{av:'AV6cLoteNumLote',fld:'vCLOTENUMLOTE'},{av:'AV7cLoteNumQuadra',fld:'vCLOTENUMQUADRA'},{av:'AV8cLoteLocalizacao',fld:'vCLOTELOCALIZACAO'},{av:'AV9cLoteAreaFrente',fld:'vCLOTEAREAFRENTE'},{av:'AV10cLoteAreaFundo',fld:'vCLOTEAREAFUNDO'},{av:'AV11pLoteamentoEmpresaId',fld:'vPLOTEAMENTOEMPRESAID',hsh:true},{av:'AV12pLoteamentoId',fld:'vPLOTEAMENTOID',hsh:true}],[]];
     this.EvtParms["LOAD"] = [[],[{av:'AV5LinkSelection',fld:'vLINKSELECTION'}]];
     this.EvtParms["ENTER"] = [[{av:'A5316LoteNumLote',fld:'LOTENUMLOTE'},{av:'A5317LoteNumQuadra',fld:'LOTENUMQUADRA'}],[{av:'AV13pLoteNumLote',fld:'vPLOTENUMLOTE'},{av:'AV14pLoteNumQuadra',fld:'vPLOTENUMQUADRA'}]];
     this.EvtParms["GRID1_FIRSTPAGE"] = [[{av:'GRID1_nFirstRecordOnPage'},{av:'GRID1_nEOF'},{av:'subGrid1_Rows'},{av:'AV6cLoteNumLote',fld:'vCLOTENUMLOTE'},{av:'AV7cLoteNumQuadra',fld:'vCLOTENUMQUADRA'},{av:'AV8cLoteLocalizacao',fld:'vCLOTELOCALIZACAO'},{av:'AV9cLoteAreaFrente',fld:'vCLOTEAREAFRENTE'},{av:'AV10cLoteAreaFundo',fld:'vCLOTEAREAFUNDO'},{av:'AV11pLoteamentoEmpresaId',fld:'vPLOTEAMENTOEMPRESAID',hsh:true},{av:'AV12pLoteamentoId',fld:'vPLOTEAMENTOID',hsh:true}],[]];
     this.EvtParms["GRID1_PREVPAGE"] = [[{av:'GRID1_nFirstRecordOnPage'},{av:'GRID1_nEOF'},{av:'subGrid1_Rows'},{av:'AV6cLoteNumLote',fld:'vCLOTENUMLOTE'},{av:'AV7cLoteNumQuadra',fld:'vCLOTENUMQUADRA'},{av:'AV8cLoteLocalizacao',fld:'vCLOTELOCALIZACAO'},{av:'AV9cLoteAreaFrente',fld:'vCLOTEAREAFRENTE'},{av:'AV10cLoteAreaFundo',fld:'vCLOTEAREAFUNDO'},{av:'AV11pLoteamentoEmpresaId',fld:'vPLOTEAMENTOEMPRESAID',hsh:true},{av:'AV12pLoteamentoId',fld:'vPLOTEAMENTOID',hsh:true}],[]];
     this.EvtParms["GRID1_NEXTPAGE"] = [[{av:'GRID1_nFirstRecordOnPage'},{av:'GRID1_nEOF'},{av:'subGrid1_Rows'},{av:'AV6cLoteNumLote',fld:'vCLOTENUMLOTE'},{av:'AV7cLoteNumQuadra',fld:'vCLOTENUMQUADRA'},{av:'AV8cLoteLocalizacao',fld:'vCLOTELOCALIZACAO'},{av:'AV9cLoteAreaFrente',fld:'vCLOTEAREAFRENTE'},{av:'AV10cLoteAreaFundo',fld:'vCLOTEAREAFUNDO'},{av:'AV11pLoteamentoEmpresaId',fld:'vPLOTEAMENTOEMPRESAID',hsh:true},{av:'AV12pLoteamentoId',fld:'vPLOTEAMENTOID',hsh:true}],[]];
     this.EvtParms["GRID1_LASTPAGE"] = [[{av:'GRID1_nFirstRecordOnPage'},{av:'GRID1_nEOF'},{av:'subGrid1_Rows'},{av:'AV6cLoteNumLote',fld:'vCLOTENUMLOTE'},{av:'AV7cLoteNumQuadra',fld:'vCLOTENUMQUADRA'},{av:'AV8cLoteLocalizacao',fld:'vCLOTELOCALIZACAO'},{av:'AV9cLoteAreaFrente',fld:'vCLOTEAREAFRENTE'},{av:'AV10cLoteAreaFundo',fld:'vCLOTEAREAFUNDO'},{av:'AV11pLoteamentoEmpresaId',fld:'vPLOTEAMENTOEMPRESAID',hsh:true},{av:'AV12pLoteamentoId',fld:'vPLOTEAMENTOID',hsh:true}],[]];
     this.setVCMap("AV11pLoteamentoEmpresaId", "vPLOTEAMENTOEMPRESAID", 0, "char");
     this.setVCMap("AV12pLoteamentoId", "vPLOTEAMENTOID", 0, "int");
     this.setVCMap("AV13pLoteNumLote", "vPLOTENUMLOTE", 0, "char");
     this.setVCMap("AV14pLoteNumQuadra", "vPLOTENUMQUADRA", 0, "char");
     this.setVCMap("AV11pLoteamentoEmpresaId", "vPLOTEAMENTOEMPRESAID", 0, "char");
     this.setVCMap("AV12pLoteamentoId", "vPLOTEAMENTOID", 0, "int");
     Grid1Container.addRefreshingVar(this.GXValidFnc[14]);
     Grid1Container.addRefreshingVar(this.GXValidFnc[19]);
     Grid1Container.addRefreshingVar(this.GXValidFnc[24]);
     Grid1Container.addRefreshingVar(this.GXValidFnc[29]);
     Grid1Container.addRefreshingVar(this.GXValidFnc[34]);
     Grid1Container.addRefreshingVar({rfrVar:"AV11pLoteamentoEmpresaId"});
     Grid1Container.addRefreshingVar({rfrVar:"AV12pLoteamentoId"});
     this.InitStandaloneVars( );
  });
  gx.setParentObj(new gx0ct2());
  