text: /**@preserve  GeneXus Java 10_3_12-110051 on December 12, 2020 20:29:26.55
  */
  gx.evt.autoSkip = false;
  gx.define('gx05n0', false, function () {
     this.ServerClass =  "gx05n0" ;
     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.AV13pNaturezaDespesaEmpresaId=gx.fn.getControlValue("vPNATUREZADESPESAEMPRESAID") ;
        this.AV14pNaturezaDespesaId=gx.fn.getIntegerValue("vPNATUREZADESPESAID",'.') ;
     };
     this.e131lm2_client=function()
     {
        this.executeServerEvent("ENTER", true, arguments[0], false, false);
     };
     this.e141lm1_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,39,42,44,47,48,52,53,54,55,56,57,58,59,60,63];
     this.GXLastCtrlId =63;
     this.Grid1Container = new gx.grid.grid(this, 2,"WbpLvl2",51,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx05n0",[],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",52,0,"px",17,"px",null,"","","Image","");
     Grid1Container.addSingleLineEdit(2076,53,"NATUREZADESPESAEMPRESAID","Empresa","","NaturezaDespesaEmpresaId","char",0,"px",10,10,"left",null,[],2076,"NaturezaDespesaEmpresaId",true,0,false,false,"Attribute",1,"");
     Grid1Container.addSingleLineEdit(2073,54,"NATUREZADESPESAID","Código","","NaturezaDespesaId","int",0,"px",8,8,"right",null,[],2073,"NaturezaDespesaId",true,0,false,false,"Attribute",1,"");
     Grid1Container.addSingleLineEdit(2077,55,"NATUREZADESPESADESCRICAO","Descrição","Selecionar","NaturezaDespesaDescricao","svchar",0,"px",40,40,"left",null,[],2077,"NaturezaDespesaDescricao",true,0,false,false,"Attribute",1,"");
     Grid1Container.addRadioButton(2074,56,"NATUREZADESPESATPIMPRESSAO","Tipo Impressão","NaturezaDespesaTpImpressao","char",null,false,true,false,"");
     Grid1Container.addComboBox(2075,57,"NATUREZADESPESATIPO","Tipo","NaturezaDespesaTipo","char",null,0,true,false,0,"px","");
     Grid1Container.addSingleLineEdit(2078,58,"NATUREZADESPESAUSUARIOALT","Usuário Alteração","","NaturezaDespesaUsuarioAlt","char",0,"px",12,12,"left",null,[],2078,"NaturezaDespesaUsuarioAlt",true,0,false,false,"Attribute",1,"");
     Grid1Container.addSingleLineEdit(2079,59,"NATUREZADESPESADATAHORAALT","Data/Hora Alteração","","NaturezaDespesaDataHoraAlt","dtime",0,"px",16,16,"right",null,[],2079,"NaturezaDespesaDataHoraAlt",true,5,false,false,"Attribute",1,"");
     Grid1Container.addSingleLineEdit(8180,60,"NATUREZADESPESATPDISPEMP","Empresa","","NaturezaDespesaTpDispEmp","char",0,"px",10,10,"left",null,[],8180,"NaturezaDespesaTpDispEmp",true,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:"TEXTBLOCKNATUREZADESPESAEMPRESAID", format:0,grid:0};
     GXValidFnc[14]={lvl:0,type:"char",len:10,dec:0,sign:false,pic:"@!",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCNATUREZADESPESAEMPRESAID",gxz:"ZV6cNaturezaDespesaEmpresaId",gxold:"OV6cNaturezaDespesaEmpresaId",gxvar:"AV6cNaturezaDespesaEmpresaId",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV6cNaturezaDespesaEmpresaId=Value},v2z:function(Value){gx.O.ZV6cNaturezaDespesaEmpresaId=Value},v2c:function(){gx.fn.setControlValue("vCNATUREZADESPESAEMPRESAID",gx.O.AV6cNaturezaDespesaEmpresaId,0)},c2v:function(){gx.O.AV6cNaturezaDespesaEmpresaId=this.val()},val:function(){return gx.fn.getControlValue("vCNATUREZADESPESAEMPRESAID")},nac:gx.falseFn};
     GXValidFnc[17]={fld:"TEXTBLOCKNATUREZADESPESAID", format:0,grid:0};
     GXValidFnc[19]={lvl:0,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCNATUREZADESPESAID",gxz:"ZV7cNaturezaDespesaId",gxold:"OV7cNaturezaDespesaId",gxvar:"AV7cNaturezaDespesaId",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV7cNaturezaDespesaId=gx.num.intval(Value)},v2z:function(Value){gx.O.ZV7cNaturezaDespesaId=gx.num.intval(Value)},v2c:function(){gx.fn.setControlValue("vCNATUREZADESPESAID",gx.O.AV7cNaturezaDespesaId,0)},c2v:function(){gx.O.AV7cNaturezaDespesaId=gx.num.intval(this.val())},val:function(){return gx.fn.getIntegerValue("vCNATUREZADESPESAID",'.')},nac:gx.falseFn};
     GXValidFnc[22]={fld:"TEXTBLOCKNATUREZADESPESADESCRICAO", format:0,grid:0};
     GXValidFnc[24]={lvl:0,type:"svchar",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCNATUREZADESPESADESCRICAO",gxz:"ZV8cNaturezaDespesaDescricao",gxold:"OV8cNaturezaDespesaDescricao",gxvar:"AV8cNaturezaDespesaDescricao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV8cNaturezaDespesaDescricao=Value},v2z:function(Value){gx.O.ZV8cNaturezaDespesaDescricao=Value},v2c:function(){gx.fn.setControlValue("vCNATUREZADESPESADESCRICAO",gx.O.AV8cNaturezaDespesaDescricao,0)},c2v:function(){gx.O.AV8cNaturezaDespesaDescricao=this.val()},val:function(){return gx.fn.getControlValue("vCNATUREZADESPESADESCRICAO")},nac:gx.falseFn};
     GXValidFnc[27]={fld:"TEXTBLOCKNATUREZADESPESATPIMPRESSAO", format:0,grid:0};
     GXValidFnc[29]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCNATUREZADESPESATPIMPRESSAO",gxz:"ZV9cNaturezaDespesaTpImpressao",gxold:"OV9cNaturezaDespesaTpImpressao",gxvar:"AV9cNaturezaDespesaTpImpressao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(Value){gx.O.AV9cNaturezaDespesaTpImpressao=Value},v2z:function(Value){gx.O.ZV9cNaturezaDespesaTpImpressao=Value},v2c:function(){gx.fn.setRadioValue("vCNATUREZADESPESATPIMPRESSAO",gx.O.AV9cNaturezaDespesaTpImpressao)},c2v:function(){gx.O.AV9cNaturezaDespesaTpImpressao=this.val()},val:function(){return gx.fn.getControlValue("vCNATUREZADESPESATPIMPRESSAO")},nac:gx.falseFn};
     GXValidFnc[32]={fld:"TEXTBLOCKNATUREZADESPESATIPO", format:0,grid:0};
     GXValidFnc[34]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCNATUREZADESPESATIPO",gxz:"ZV10cNaturezaDespesaTipo",gxold:"OV10cNaturezaDespesaTipo",gxvar:"AV10cNaturezaDespesaTipo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(Value){gx.O.AV10cNaturezaDespesaTipo=Value},v2z:function(Value){gx.O.ZV10cNaturezaDespesaTipo=Value},v2c:function(){gx.fn.setComboBoxValue("vCNATUREZADESPESATIPO",gx.O.AV10cNaturezaDespesaTipo)},c2v:function(){gx.O.AV10cNaturezaDespesaTipo=this.val()},val:function(){return gx.fn.getControlValue("vCNATUREZADESPESATIPO")},nac:gx.falseFn};
     GXValidFnc[37]={fld:"TEXTBLOCKNATUREZADESPESAUSUARIOALT", format:0,grid:0};
     GXValidFnc[39]={lvl:0,type:"char",len:12,dec:0,sign:false,pic:"@!",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCNATUREZADESPESAUSUARIOALT",gxz:"ZV11cNaturezaDespesaUsuarioAlt",gxold:"OV11cNaturezaDespesaUsuarioAlt",gxvar:"AV11cNaturezaDespesaUsuarioAlt",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV11cNaturezaDespesaUsuarioAlt=Value},v2z:function(Value){gx.O.ZV11cNaturezaDespesaUsuarioAlt=Value},v2c:function(){gx.fn.setControlValue("vCNATUREZADESPESAUSUARIOALT",gx.O.AV11cNaturezaDespesaUsuarioAlt,0)},c2v:function(){gx.O.AV11cNaturezaDespesaUsuarioAlt=this.val()},val:function(){return gx.fn.getControlValue("vCNATUREZADESPESAUSUARIOALT")},nac:gx.falseFn};
     GXValidFnc[42]={fld:"TEXTBLOCKNATUREZADESPESADATAHORAALT", format:0,grid:0};
     GXValidFnc[44]={lvl:0,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCNATUREZADESPESADATAHORAALT",gxz:"ZV12cNaturezaDespesaDataHoraAlt",gxold:"OV12cNaturezaDespesaDataHoraAlt",gxvar:"AV12cNaturezaDespesaDataHoraAlt",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/9999 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV12cNaturezaDespesaDataHoraAlt=gx.fn.toDatetimeValue(Value)},v2z:function(Value){gx.O.ZV12cNaturezaDespesaDataHoraAlt=gx.fn.toDatetimeValue(Value)},v2c:function(){gx.fn.setControlValue("vCNATUREZADESPESADATAHORAALT",gx.O.AV12cNaturezaDespesaDataHoraAlt,0)},c2v:function(){gx.O.AV12cNaturezaDespesaDataHoraAlt=gx.fn.toDatetimeValue(this.val())},val:function(){return gx.fn.getDateTimeValue("vCNATUREZADESPESADATAHORAALT")},nac:gx.falseFn};
     GXValidFnc[47]={fld:"GROUP2",grid:0};
     GXValidFnc[48]={fld:"TABLE3",grid:0};
     GXValidFnc[52]={lvl:2,type:"bits",len:1024,dec:0,sign:false,ro:1,isacc:0,grid:51,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(51),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(51))},val_GXI:function(row){return gx.fn.getGridControlValue("vLINKSELECTION_GXI",row || gx.fn.currentGridRowImpl(51))}, gxvar_GXI:'AV17Linkselection_GXI',nac:gx.falseFn};
     GXValidFnc[53]={lvl:2,type:"char",len:10,dec:0,sign:false,pic:"@!",ro:1,isacc:0,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"NATUREZADESPESAEMPRESAID",gxz:"Z2076NaturezaDespesaEmpresaId",gxold:"O2076NaturezaDespesaEmpresaId",gxvar:"A2076NaturezaDespesaEmpresaId",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',autoCorrect:"1",v2v:function(Value){gx.O.A2076NaturezaDespesaEmpresaId=Value},v2z:function(Value){gx.O.Z2076NaturezaDespesaEmpresaId=Value},v2c:function(row){gx.fn.setGridControlValue("NATUREZADESPESAEMPRESAID",row || gx.fn.currentGridRowImpl(51),gx.O.A2076NaturezaDespesaEmpresaId,0);if (typeof(this.dom_hdl) == 'function') this.dom_hdl.call(gx.O);},c2v:function(){gx.O.A2076NaturezaDespesaEmpresaId=this.val()},val:function(row){return gx.fn.getGridControlValue("NATUREZADESPESAEMPRESAID",row || gx.fn.currentGridRowImpl(51))},nac:gx.falseFn};
     GXValidFnc[54]={lvl:2,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:1,isacc:0,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"NATUREZADESPESAID",gxz:"Z2073NaturezaDespesaId",gxold:"O2073NaturezaDespesaId",gxvar:"A2073NaturezaDespesaId",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',v2v:function(Value){gx.O.A2073NaturezaDespesaId=gx.num.intval(Value)},v2z:function(Value){gx.O.Z2073NaturezaDespesaId=gx.num.intval(Value)},v2c:function(row){gx.fn.setGridControlValue("NATUREZADESPESAID",row || gx.fn.currentGridRowImpl(51),gx.O.A2073NaturezaDespesaId,0)},c2v:function(){gx.O.A2073NaturezaDespesaId=gx.num.intval(this.val())},val:function(row){return gx.fn.getGridIntegerValue("NATUREZADESPESAID",row || gx.fn.currentGridRowImpl(51),'.')},nac:gx.falseFn};
     GXValidFnc[55]={lvl:2,type:"svchar",len:40,dec:0,sign:false,ro:1,isacc:0,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"NATUREZADESPESADESCRICAO",gxz:"Z2077NaturezaDespesaDescricao",gxold:"O2077NaturezaDespesaDescricao",gxvar:"A2077NaturezaDespesaDescricao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',autoCorrect:"1",v2v:function(Value){gx.O.A2077NaturezaDespesaDescricao=Value},v2z:function(Value){gx.O.Z2077NaturezaDespesaDescricao=Value},v2c:function(row){gx.fn.setGridControlValue("NATUREZADESPESADESCRICAO",row || gx.fn.currentGridRowImpl(51),gx.O.A2077NaturezaDespesaDescricao,0);if (typeof(this.dom_hdl) == 'function') this.dom_hdl.call(gx.O);},c2v:function(){gx.O.A2077NaturezaDespesaDescricao=this.val()},val:function(row){return gx.fn.getGridControlValue("NATUREZADESPESADESCRICAO",row || gx.fn.currentGridRowImpl(51))},nac:gx.falseFn};
     GXValidFnc[56]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,isacc:0,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"NATUREZADESPESATPIMPRESSAO",gxz:"Z2074NaturezaDespesaTpImpressao",gxold:"O2074NaturezaDespesaTpImpressao",gxvar:"A2074NaturezaDespesaTpImpressao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",inputType:'text',v2v:function(Value){gx.O.A2074NaturezaDespesaTpImpressao=Value},v2z:function(Value){gx.O.Z2074NaturezaDespesaTpImpressao=Value},v2c:function(row){gx.fn.setGridControlValue("NATUREZADESPESATPIMPRESSAO",row || gx.fn.currentGridRowImpl(51),gx.O.A2074NaturezaDespesaTpImpressao,0)},c2v:function(){gx.O.A2074NaturezaDespesaTpImpressao=this.val()},val:function(row){return gx.fn.getGridControlValue("NATUREZADESPESATPIMPRESSAO",row || gx.fn.currentGridRowImpl(51))},nac:gx.falseFn};
     GXValidFnc[57]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,isacc:0,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"NATUREZADESPESATIPO",gxz:"Z2075NaturezaDespesaTipo",gxold:"O2075NaturezaDespesaTipo",gxvar:"A2075NaturezaDespesaTipo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",inputType:'text',v2v:function(Value){gx.O.A2075NaturezaDespesaTipo=Value},v2z:function(Value){gx.O.Z2075NaturezaDespesaTipo=Value},v2c:function(row){gx.fn.setGridComboBoxValue("NATUREZADESPESATIPO",row || gx.fn.currentGridRowImpl(51),gx.O.A2075NaturezaDespesaTipo)},c2v:function(){gx.O.A2075NaturezaDespesaTipo=this.val()},val:function(row){return gx.fn.getGridControlValue("NATUREZADESPESATIPO",row || gx.fn.currentGridRowImpl(51))},nac:gx.falseFn};
     GXValidFnc[58]={lvl:2,type:"char",len:12,dec:0,sign:false,pic:"@!",ro:1,isacc:0,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"NATUREZADESPESAUSUARIOALT",gxz:"Z2078NaturezaDespesaUsuarioAlt",gxold:"O2078NaturezaDespesaUsuarioAlt",gxvar:"A2078NaturezaDespesaUsuarioAlt",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',autoCorrect:"1",v2v:function(Value){gx.O.A2078NaturezaDespesaUsuarioAlt=Value},v2z:function(Value){gx.O.Z2078NaturezaDespesaUsuarioAlt=Value},v2c:function(row){gx.fn.setGridControlValue("NATUREZADESPESAUSUARIOALT",row || gx.fn.currentGridRowImpl(51),gx.O.A2078NaturezaDespesaUsuarioAlt,0);if (typeof(this.dom_hdl) == 'function') this.dom_hdl.call(gx.O);},c2v:function(){gx.O.A2078NaturezaDespesaUsuarioAlt=this.val()},val:function(row){return gx.fn.getGridControlValue("NATUREZADESPESAUSUARIOALT",row || gx.fn.currentGridRowImpl(51))},nac:gx.falseFn};
     GXValidFnc[59]={lvl:2,type:"dtime",len:10,dec:5,sign:false,ro:1,isacc:0,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"NATUREZADESPESADATAHORAALT",gxz:"Z2079NaturezaDespesaDataHoraAlt",gxold:"O2079NaturezaDespesaDataHoraAlt",gxvar:"A2079NaturezaDespesaDataHoraAlt",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/9999 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',v2v:function(Value){gx.O.A2079NaturezaDespesaDataHoraAlt=gx.fn.toDatetimeValue(Value)},v2z:function(Value){gx.O.Z2079NaturezaDespesaDataHoraAlt=gx.fn.toDatetimeValue(Value)},v2c:function(row){gx.fn.setGridControlValue("NATUREZADESPESADATAHORAALT",row || gx.fn.currentGridRowImpl(51),gx.O.A2079NaturezaDespesaDataHoraAlt,0);if (typeof(this.dom_hdl) == 'function') this.dom_hdl.call(gx.O);},c2v:function(){gx.O.A2079NaturezaDespesaDataHoraAlt=gx.fn.toDatetimeValue(this.val())},val:function(row){return gx.fn.getGridDateTimeValue("NATUREZADESPESADATAHORAALT",row || gx.fn.currentGridRowImpl(51))},nac:gx.falseFn};
     GXValidFnc[60]={lvl:2,type:"char",len:10,dec:0,sign:false,pic:"@!",ro:1,isacc:0,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"NATUREZADESPESATPDISPEMP",gxz:"Z8180NaturezaDespesaTpDispEmp",gxold:"O8180NaturezaDespesaTpDispEmp",gxvar:"A8180NaturezaDespesaTpDispEmp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:'text',autoCorrect:"1",v2v:function(Value){gx.O.A8180NaturezaDespesaTpDispEmp=Value},v2z:function(Value){gx.O.Z8180NaturezaDespesaTpDispEmp=Value},v2c:function(row){gx.fn.setGridControlValue("NATUREZADESPESATPDISPEMP",row || gx.fn.currentGridRowImpl(51),gx.O.A8180NaturezaDespesaTpDispEmp,0);if (typeof(this.dom_hdl) == 'function') this.dom_hdl.call(gx.O);},c2v:function(){gx.O.A8180NaturezaDespesaTpDispEmp=this.val()},val:function(row){return gx.fn.getGridControlValue("NATUREZADESPESATPDISPEMP",row || gx.fn.currentGridRowImpl(51))},nac:gx.falseFn};
     GXValidFnc[63]={fld:"TABLE4",grid:0};
     this.AV6cNaturezaDespesaEmpresaId = "" ;
     this.ZV6cNaturezaDespesaEmpresaId = "" ;
     this.OV6cNaturezaDespesaEmpresaId = "" ;
     this.AV7cNaturezaDespesaId = 0 ;
     this.ZV7cNaturezaDespesaId = 0 ;
     this.OV7cNaturezaDespesaId = 0 ;
     this.AV8cNaturezaDespesaDescricao = "" ;
     this.ZV8cNaturezaDespesaDescricao = "" ;
     this.OV8cNaturezaDespesaDescricao = "" ;
     this.AV9cNaturezaDespesaTpImpressao = "" ;
     this.ZV9cNaturezaDespesaTpImpressao = "" ;
     this.OV9cNaturezaDespesaTpImpressao = "" ;
     this.AV10cNaturezaDespesaTipo = "" ;
     this.ZV10cNaturezaDespesaTipo = "" ;
     this.OV10cNaturezaDespesaTipo = "" ;
     this.AV11cNaturezaDespesaUsuarioAlt = "" ;
     this.ZV11cNaturezaDespesaUsuarioAlt = "" ;
     this.OV11cNaturezaDespesaUsuarioAlt = "" ;
     this.AV12cNaturezaDespesaDataHoraAlt = gx.date.nullDate() ;
     this.ZV12cNaturezaDespesaDataHoraAlt = gx.date.nullDate() ;
     this.OV12cNaturezaDespesaDataHoraAlt = gx.date.nullDate() ;
     this.ZV5LinkSelection = "" ;
     this.OV5LinkSelection = "" ;
     this.Z2076NaturezaDespesaEmpresaId = "" ;
     this.O2076NaturezaDespesaEmpresaId = "" ;
     this.Z2073NaturezaDespesaId = 0 ;
     this.O2073NaturezaDespesaId = 0 ;
     this.Z2077NaturezaDespesaDescricao = "" ;
     this.O2077NaturezaDespesaDescricao = "" ;
     this.Z2074NaturezaDespesaTpImpressao = "" ;
     this.O2074NaturezaDespesaTpImpressao = "" ;
     this.Z2075NaturezaDespesaTipo = "" ;
     this.O2075NaturezaDespesaTipo = "" ;
     this.Z2078NaturezaDespesaUsuarioAlt = "" ;
     this.O2078NaturezaDespesaUsuarioAlt = "" ;
     this.Z2079NaturezaDespesaDataHoraAlt = gx.date.nullDate() ;
     this.O2079NaturezaDespesaDataHoraAlt = gx.date.nullDate() ;
     this.Z8180NaturezaDespesaTpDispEmp = "" ;
     this.O8180NaturezaDespesaTpDispEmp = "" ;
     this.AV6cNaturezaDespesaEmpresaId = "" ;
     this.AV7cNaturezaDespesaId = 0 ;
     this.AV8cNaturezaDespesaDescricao = "" ;
     this.AV9cNaturezaDespesaTpImpressao = "" ;
     this.AV10cNaturezaDespesaTipo = "" ;
     this.AV11cNaturezaDespesaUsuarioAlt = "" ;
     this.AV12cNaturezaDespesaDataHoraAlt = gx.date.nullDate() ;
     this.AV13pNaturezaDespesaEmpresaId = "" ;
     this.AV14pNaturezaDespesaId = 0 ;
     this.AV5LinkSelection = "" ;
     this.A2076NaturezaDespesaEmpresaId = "" ;
     this.A2073NaturezaDespesaId = 0 ;
     this.A2077NaturezaDespesaDescricao = "" ;
     this.A2074NaturezaDespesaTpImpressao = "" ;
     this.A2075NaturezaDespesaTipo = "" ;
     this.A2078NaturezaDespesaUsuarioAlt = "" ;
     this.A2079NaturezaDespesaDataHoraAlt = gx.date.nullDate() ;
     this.A8180NaturezaDespesaTpDispEmp = "" ;
     this.Events = {"e131lm2_client": ["ENTER", true] ,"e141lm1_client": ["CANCEL", true]};
     this.EvtParms["REFRESH"] = [[{av:'GRID1_nFirstRecordOnPage'},{av:'GRID1_nEOF'},{av:'subGrid1_Rows'},{av:'AV6cNaturezaDespesaEmpresaId',fld:'vCNATUREZADESPESAEMPRESAID'},{av:'AV7cNaturezaDespesaId',fld:'vCNATUREZADESPESAID'},{av:'AV8cNaturezaDespesaDescricao',fld:'vCNATUREZADESPESADESCRICAO'},{av:'AV9cNaturezaDespesaTpImpressao',fld:'vCNATUREZADESPESATPIMPRESSAO'},{av:'AV10cNaturezaDespesaTipo',fld:'vCNATUREZADESPESATIPO'},{av:'AV11cNaturezaDespesaUsuarioAlt',fld:'vCNATUREZADESPESAUSUARIOALT'},{av:'AV12cNaturezaDespesaDataHoraAlt',fld:'vCNATUREZADESPESADATAHORAALT'}],[]];
     this.EvtParms["LOAD"] = [[],[{av:'AV5LinkSelection',fld:'vLINKSELECTION'}]];
     this.EvtParms["ENTER"] = [[{av:'A2076NaturezaDespesaEmpresaId',fld:'NATUREZADESPESAEMPRESAID'},{av:'A2073NaturezaDespesaId',fld:'NATUREZADESPESAID'}],[{av:'AV13pNaturezaDespesaEmpresaId',fld:'vPNATUREZADESPESAEMPRESAID'},{av:'AV14pNaturezaDespesaId',fld:'vPNATUREZADESPESAID'}]];
     this.EvtParms["GRID1_FIRSTPAGE"] = [[{av:'GRID1_nFirstRecordOnPage'},{av:'GRID1_nEOF'},{av:'subGrid1_Rows'},{av:'AV6cNaturezaDespesaEmpresaId',fld:'vCNATUREZADESPESAEMPRESAID'},{av:'AV7cNaturezaDespesaId',fld:'vCNATUREZADESPESAID'},{av:'AV8cNaturezaDespesaDescricao',fld:'vCNATUREZADESPESADESCRICAO'},{av:'AV9cNaturezaDespesaTpImpressao',fld:'vCNATUREZADESPESATPIMPRESSAO'},{av:'AV10cNaturezaDespesaTipo',fld:'vCNATUREZADESPESATIPO'},{av:'AV11cNaturezaDespesaUsuarioAlt',fld:'vCNATUREZADESPESAUSUARIOALT'},{av:'AV12cNaturezaDespesaDataHoraAlt',fld:'vCNATUREZADESPESADATAHORAALT'}],[]];
     this.EvtParms["GRID1_PREVPAGE"] = [[{av:'GRID1_nFirstRecordOnPage'},{av:'GRID1_nEOF'},{av:'subGrid1_Rows'},{av:'AV6cNaturezaDespesaEmpresaId',fld:'vCNATUREZADESPESAEMPRESAID'},{av:'AV7cNaturezaDespesaId',fld:'vCNATUREZADESPESAID'},{av:'AV8cNaturezaDespesaDescricao',fld:'vCNATUREZADESPESADESCRICAO'},{av:'AV9cNaturezaDespesaTpImpressao',fld:'vCNATUREZADESPESATPIMPRESSAO'},{av:'AV10cNaturezaDespesaTipo',fld:'vCNATUREZADESPESATIPO'},{av:'AV11cNaturezaDespesaUsuarioAlt',fld:'vCNATUREZADESPESAUSUARIOALT'},{av:'AV12cNaturezaDespesaDataHoraAlt',fld:'vCNATUREZADESPESADATAHORAALT'}],[]];
     this.EvtParms["GRID1_NEXTPAGE"] = [[{av:'GRID1_nFirstRecordOnPage'},{av:'GRID1_nEOF'},{av:'subGrid1_Rows'},{av:'AV6cNaturezaDespesaEmpresaId',fld:'vCNATUREZADESPESAEMPRESAID'},{av:'AV7cNaturezaDespesaId',fld:'vCNATUREZADESPESAID'},{av:'AV8cNaturezaDespesaDescricao',fld:'vCNATUREZADESPESADESCRICAO'},{av:'AV9cNaturezaDespesaTpImpressao',fld:'vCNATUREZADESPESATPIMPRESSAO'},{av:'AV10cNaturezaDespesaTipo',fld:'vCNATUREZADESPESATIPO'},{av:'AV11cNaturezaDespesaUsuarioAlt',fld:'vCNATUREZADESPESAUSUARIOALT'},{av:'AV12cNaturezaDespesaDataHoraAlt',fld:'vCNATUREZADESPESADATAHORAALT'}],[]];
     this.EvtParms["GRID1_LASTPAGE"] = [[{av:'GRID1_nFirstRecordOnPage'},{av:'GRID1_nEOF'},{av:'subGrid1_Rows'},{av:'AV6cNaturezaDespesaEmpresaId',fld:'vCNATUREZADESPESAEMPRESAID'},{av:'AV7cNaturezaDespesaId',fld:'vCNATUREZADESPESAID'},{av:'AV8cNaturezaDespesaDescricao',fld:'vCNATUREZADESPESADESCRICAO'},{av:'AV9cNaturezaDespesaTpImpressao',fld:'vCNATUREZADESPESATPIMPRESSAO'},{av:'AV10cNaturezaDespesaTipo',fld:'vCNATUREZADESPESATIPO'},{av:'AV11cNaturezaDespesaUsuarioAlt',fld:'vCNATUREZADESPESAUSUARIOALT'},{av:'AV12cNaturezaDespesaDataHoraAlt',fld:'vCNATUREZADESPESADATAHORAALT'}],[]];
     this.setVCMap("AV13pNaturezaDespesaEmpresaId", "vPNATUREZADESPESAEMPRESAID", 0, "char");
     this.setVCMap("AV14pNaturezaDespesaId", "vPNATUREZADESPESAID", 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(this.GXValidFnc[39]);
     Grid1Container.addRefreshingVar(this.GXValidFnc[44]);
     this.InitStandaloneVars( );
  });
  gx.setParentObj(new gx05n0());
  