gx.evt.autoSkip=false;function gx0050(){this.ServerClass="Gx0050";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pDocNro=gx.fn.getIntegerValue("vPDOCNRO",".")};this.e13b12_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14b11_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,"gx0050",[],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(258,53,"DOCNRO","Documento","","DocNro","int",0,"px",6,6,"right",null,[],258,"DocNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(863,54,"TIDCOD","Código","","TidCod","char",0,"px",3,3,"left",null,[],863,"TidCod",true,0,false,false);
this.Grid1Container.addSingleLineEdit(234,55,"DOCCODASSU","Código do assunto","Selecionar","DocCodAssu","char",0,"px",25,25,"left",null,[],234,"DocCodAssu",true,0,false,false);this.Grid1Container.addSingleLineEdit(235,56,"DOCCODAUTO","Código do autor","","DocCodAuto","char",0,"px",7,7,"left",null,[],235,"DocCodAuto",true,0,false,false);this.Grid1Container.addSingleLineEdit(480,57,"IDICOD","Idioma","","IdiCod","char",0,"px",3,3,"left",null,[],480,"IdiCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(253,58,"DOCNOMAUTO","Nome autor sem acento","","DocNomAuto","char",0,"px",48,48,"left",null,[],253,"DocNomAuto",true,0,false,false);
this.Grid1Container.addSingleLineEdit(652,59,"PERNRO","Periódico","","PerNro","int",0,"px",5,5,"right",null,[],652,"PerNro",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:"TEXTBLOCKDOCNRO",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCDOCNRO",gxz:"ZV6cDocNro",gxold:"OV6cDocNro",gxvar:"AV6cDocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDocNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cDocNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDOCNRO",gx.O.AV6cDocNro,0)},c2v:function(){gx.O.AV6cDocNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCDOCNRO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKTIDCOD",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCTIDCOD",gxz:"ZV7cTidCod",gxold:"OV7cTidCod",gxvar:"AV7cTidCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cTidCod=a
},v2z:function(a){gx.O.ZV7cTidCod=a},v2c:function(){gx.fn.setControlValue("vCTIDCOD",gx.O.AV7cTidCod,0)},c2v:function(){gx.O.AV7cTidCod=this.val()},val:function(){return gx.fn.getControlValue("vCTIDCOD")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKDOCCODASSUNTO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDOCCODASSUNTO",gxz:"ZV8cDocCodAssunto",gxold:"OV8cDocCodAssunto",gxvar:"AV8cDocCodAssunto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cDocCodAssunto=a
},v2z:function(a){gx.O.ZV8cDocCodAssunto=a},v2c:function(){gx.fn.setControlValue("vCDOCCODASSUNTO",gx.O.AV8cDocCodAssunto,0)},c2v:function(){gx.O.AV8cDocCodAssunto=this.val()},val:function(){return gx.fn.getControlValue("vCDOCCODASSUNTO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKDOCCODAUTOR",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:7,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDOCCODAUTOR",gxz:"ZV9cDocCodAutor",gxold:"OV9cDocCodAutor",gxvar:"AV9cDocCodAutor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cDocCodAutor=a
},v2z:function(a){gx.O.ZV9cDocCodAutor=a},v2c:function(){gx.fn.setControlValue("vCDOCCODAUTOR",gx.O.AV9cDocCodAutor,0)},c2v:function(){gx.O.AV9cDocCodAutor=this.val()},val:function(){return gx.fn.getControlValue("vCDOCCODAUTOR")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKIDICOD",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCIDICOD",gxz:"ZV10cIdiCod",gxold:"OV10cIdiCod",gxvar:"AV10cIdiCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cIdiCod=a
},v2z:function(a){gx.O.ZV10cIdiCod=a},v2c:function(){gx.fn.setControlValue("vCIDICOD",gx.O.AV10cIdiCod,0)},c2v:function(){gx.O.AV10cIdiCod=this.val()},val:function(){return gx.fn.getControlValue("vCIDICOD")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKDOCNOML1AUTOR",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDOCNOML1AUTOR",gxz:"ZV11cDocNomL1Autor",gxold:"OV11cDocNomL1Autor",gxvar:"AV11cDocNomL1Autor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cDocNomL1Autor=a
},v2z:function(a){gx.O.ZV11cDocNomL1Autor=a},v2c:function(){gx.fn.setControlValue("vCDOCNOML1AUTOR",gx.O.AV11cDocNomL1Autor,0)},c2v:function(){gx.O.AV11cDocNomL1Autor=this.val()},val:function(){return gx.fn.getControlValue("vCDOCNOML1AUTOR")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCKDOCNOMAUTORSEMACENTO",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"char",len:48,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDOCNOMAUTORSEMACENTO",gxz:"ZV12cDocNomAutorSemAcento",gxold:"OV12cDocNomAutorSemAcento",gxvar:"AV12cDocNomAutorSemAcento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12cDocNomAutorSemAcento=a
},v2z:function(a){gx.O.ZV12cDocNomAutorSemAcento=a},v2c:function(){gx.fn.setControlValue("vCDOCNOMAUTORSEMACENTO",gx.O.AV12cDocNomAutorSemAcento,0)},c2v:function(){gx.O.AV12cDocNomAutorSemAcento=this.val()},val:function(){return gx.fn.getControlValue("vCDOCNOMAUTORSEMACENTO")},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:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:51,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(51),gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TIDCOD",gxz:"Z863TidCod",gxold:"O863TidCod",gxvar:"A863TidCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A863TidCod=a
},v2z:function(a){gx.O.Z863TidCod=a},v2c:function(){gx.fn.setGridControlValue("TIDCOD",gx.fn.currentGridRowImpl(51),gx.O.A863TidCod,0)},c2v:function(){gx.O.A863TidCod=this.val()},val:function(){return gx.fn.getGridControlValue("TIDCOD",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOCCODASSU",gxz:"Z234DocCodAssu",gxold:"O234DocCodAssu",gxvar:"A234DocCodAssu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A234DocCodAssu=a
},v2z:function(a){gx.O.Z234DocCodAssu=a},v2c:function(){gx.fn.setGridControlValue("DOCCODASSU",gx.fn.currentGridRowImpl(51),gx.O.A234DocCodAssu,0)},c2v:function(){gx.O.A234DocCodAssu=this.val()},val:function(){return gx.fn.getGridControlValue("DOCCODASSU",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"char",len:7,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOCCODAUTO",gxz:"Z235DocCodAuto",gxold:"O235DocCodAuto",gxvar:"A235DocCodAuto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A235DocCodAuto=a
},v2z:function(a){gx.O.Z235DocCodAuto=a},v2c:function(){gx.fn.setGridControlValue("DOCCODAUTO",gx.fn.currentGridRowImpl(51),gx.O.A235DocCodAuto,0)},c2v:function(){gx.O.A235DocCodAuto=this.val()},val:function(){return gx.fn.getGridControlValue("DOCCODAUTO",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[57]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"IDICOD",gxz:"Z480IdiCod",gxold:"O480IdiCod",gxvar:"A480IdiCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A480IdiCod=a
},v2z:function(a){gx.O.Z480IdiCod=a},v2c:function(){gx.fn.setGridControlValue("IDICOD",gx.fn.currentGridRowImpl(51),gx.O.A480IdiCod,0)},c2v:function(){gx.O.A480IdiCod=this.val()},val:function(){return gx.fn.getGridControlValue("IDICOD",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[58]={lvl:2,type:"char",len:48,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOCNOMAUTO",gxz:"Z253DocNomAuto",gxold:"O253DocNomAuto",gxvar:"A253DocNomAuto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A253DocNomAuto=a
},v2z:function(a){gx.O.Z253DocNomAuto=a},v2c:function(){gx.fn.setGridControlValue("DOCNOMAUTO",gx.fn.currentGridRowImpl(51),gx.O.A253DocNomAuto,0)},c2v:function(){gx.O.A253DocNomAuto=this.val()},val:function(){return gx.fn.getGridControlValue("DOCNOMAUTO",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[59]={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:"PERNRO",gxz:"Z652PerNro",gxold:"O652PerNro",gxvar:"A652PerNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A652PerNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z652PerNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PERNRO",gx.fn.currentGridRowImpl(51),gx.O.A652PerNro,0)},c2v:function(){gx.O.A652PerNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("PERNRO",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[62]={fld:"TABLE4",grid:0};this.AV6cDocNro=0;this.ZV6cDocNro=0;this.OV6cDocNro=0;this.AV7cTidCod="";this.ZV7cTidCod="";this.OV7cTidCod="";this.AV8cDocCodAssunto="";this.ZV8cDocCodAssunto="";
this.OV8cDocCodAssunto="";this.AV9cDocCodAutor="";this.ZV9cDocCodAutor="";this.OV9cDocCodAutor="";this.AV10cIdiCod="";this.ZV10cIdiCod="";this.OV10cIdiCod="";this.AV11cDocNomL1Autor="";this.ZV11cDocNomL1Autor="";this.OV11cDocNomL1Autor="";this.AV12cDocNomAutorSemAcento="";this.ZV12cDocNomAutorSemAcento="";this.OV12cDocNomAutorSemAcento="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z258DocNro=0;this.O258DocNro=0;this.Z863TidCod="";this.O863TidCod="";this.Z234DocCodAssu="";this.O234DocCodAssu="";
this.Z235DocCodAuto="";this.O235DocCodAuto="";this.Z480IdiCod="";this.O480IdiCod="";this.Z253DocNomAuto="";this.O253DocNomAuto="";this.Z652PerNro=0;this.O652PerNro=0;this.AV13pDocNro=0;this.A256DocNomL1Au="";this.AV5LinkSelection="";this.A258DocNro=0;this.A863TidCod="";this.A234DocCodAssu="";this.A235DocCodAuto="";this.A480IdiCod="";this.A253DocNomAuto="";this.A652PerNro=0;this.ServerEvents=["e13b12_client","e14b11_client"];this.VarControlMap.AV13pDocNro={id:"vPDOCNRO",grid:0,type:"int"};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()}gx0050.prototype=new gx.GxObject;gx.setParentObj(new gx0050());