gx.evt.autoSkip=false;function himh048(){this.ServerClass="HImh048";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV6DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV12MtdNroItem=gx.fn.getIntegerValue("vMTDNROITEM",".")};this.e11202_client=function(){this.executeServerEvent("ENTER",true)};this.e14202_client=function(){this.executeServerEvent("'MENU PRINCIPAL'",true,arguments[0])};this.e15201_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[3,14,17,18,19,20];this.GXLastCtrlId=20;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",16,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh048",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(258,17,"DOCNRO","Documento","","DocNro","int",0,"px",6,6,"right",null,[],258,"DocNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(551,18,"MTDNROITEM","Fascículo","","MtdNroItem","int",0,"px",6,6,"right",null,[],551,"MtdNroItem",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Tippalavra",19,"vTIPPALAVRA","Tipo","","TipPalavra","char",0,"px",14,14,"left",null,[],"Tippalavra","TipPalavra",true,0,false,false);this.Grid1Container.addSingleLineEdit(679,20,"PLRDES","Descrição","","PlrDes","char",0,"px",40,40,"left",null,[],679,"PlrDes",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[17]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:16,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOCNRO",gxz:"Z258DocNro",gxold:"O258DocNro",gxvar:"A258DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A258DocNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z258DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOCNRO",gx.fn.currentGridRowImpl(16),gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(16),".")},nac:function(){return false}};this.GXValidFnc[18]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:16,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"MTDNROITEM",gxz:"Z551MtdNroItem",gxold:"O551MtdNroItem",gxvar:"A551MtdNroItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A551MtdNroItem=gx.num.intval(a)
},v2z:function(a){gx.O.Z551MtdNroItem=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("MTDNROITEM",gx.fn.currentGridRowImpl(16),gx.O.A551MtdNroItem,0)},c2v:function(){gx.O.A551MtdNroItem=this.val()},val:function(){return gx.fn.getGridIntegerValue("MTDNROITEM",gx.fn.currentGridRowImpl(16),".")},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:16,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vTIPPALAVRA",gxz:"ZV13TipPalavra",gxold:"OV13TipPalavra",gxvar:"AV13TipPalavra",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13TipPalavra=a
},v2z:function(a){gx.O.ZV13TipPalavra=a},v2c:function(){gx.fn.setGridControlValue("vTIPPALAVRA",gx.fn.currentGridRowImpl(16),gx.O.AV13TipPalavra,0)},c2v:function(){gx.O.AV13TipPalavra=this.val()},val:function(){return gx.fn.getGridControlValue("vTIPPALAVRA",gx.fn.currentGridRowImpl(16))},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:16,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PLRDES",gxz:"Z679PlrDes",gxold:"O679PlrDes",gxvar:"A679PlrDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A679PlrDes=a
},v2z:function(a){gx.O.Z679PlrDes=a},v2c:function(){gx.fn.setGridControlValue("PLRDES",gx.fn.currentGridRowImpl(16),gx.O.A679PlrDes,0)},c2v:function(){gx.O.A679PlrDes=this.val()},val:function(){return gx.fn.getGridControlValue("PLRDES",gx.fn.currentGridRowImpl(16))},nac:function(){return false}};this.Z258DocNro=0;this.O258DocNro=0;this.Z551MtdNroItem=0;this.O551MtdNroItem=0;this.ZV13TipPalavra="";this.OV13TipPalavra="";this.Z679PlrDes="";this.O679PlrDes="";this.AV6DocNro=0;this.AV12MtdNroItem=0;this.A682PlrTip="";
this.A550MtdNroArti=0;this.A681PlrNro=0;this.A258DocNro=0;this.A551MtdNroItem=0;this.AV13TipPalavra="";this.A679PlrDes="";this.ServerEvents=["e11202_client","e14202_client","e15201_client"];this.EnterCtrl=["BT_CONFIRMA"];this.VarControlMap.AV6DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV12MtdNroItem={id:"vMTDNROITEM",grid:0,type:"int"};this.VarControlMap.AV6DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV12MtdNroItem={id:"vMTDNROITEM",grid:0,type:"int"};this.VarControlMap.A682PlrTip={id:"PLRTIP",grid:0,type:"char"};
this.Grid1Container.addRefreshingVar({rfrVar:"AV6DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV12MtdNroItem"});this.Grid1Container.addRefreshingVar({rfrVar:"A682PlrTip"});this.SetStandaloneVars()}himh048.prototype=new gx.GxObject;gx.setParentObj(new himh048());