gx.evt.autoSkip=false;function gx00v0(){this.ServerClass="Gx00V0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV12pAutNro=gx.fn.getIntegerValue("vPAUTNRO",".")};this.e13d02_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14d01_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,43,47,48,49,50,51,52,53,56];
this.GXLastCtrlId=56;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",46,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx00v0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",47,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(74,48,"AUTNRO","Autor","","AutNro","int",0,"px",6,6,"right",null,[],74,"AutNro",true,0,false,false);this.Grid1Container.addComboBox(75,49,"AUTTIPAUTO","Tipo de autor","AutTipAuto","char",null,0,true,false,0,"px");
this.Grid1Container.addSingleLineEdit(70,50,"AUTDESTITU","Título do autor","","AutDesTitu","char",0,"px",20,20,"left",null,[],70,"AutDesTitu",true,0,false,false);this.Grid1Container.addSingleLineEdit(69,51,"AUTDESDATA","Datas associadas","","AutDesData","char",0,"px",15,15,"left",null,[],69,"AutDesData",true,0,false,false);this.Grid1Container.addSingleLineEdit(72,52,"AUTNOMLOCA","Local","","AutNomLoca","char",0,"px",30,30,"left",null,[],72,"AutNomLoca",true,0,false,false);this.Grid1Container.addSingleLineEdit(73,53,"AUTNOMSEMA","Nome sem acento","","AutNomSemA","char",0,"px",40,40,"left",null,[],73,"AutNomSemA",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:"TEXTBLOCKAUTNRO",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:"vCAUTNRO",gxz:"ZV6cAutNro",gxold:"OV6cAutNro",gxvar:"AV6cAutNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cAutNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cAutNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCAUTNRO",gx.O.AV6cAutNro,0)},c2v:function(){gx.O.AV6cAutNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCAUTNRO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKAUTTIPAUTOR",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCAUTTIPAUTOR",gxz:"ZV7cAutTipAutor",gxold:"OV7cAutTipAutor",gxvar:"AV7cAutTipAutor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV7cAutTipAutor=a
},v2z:function(a){gx.O.ZV7cAutTipAutor=a},v2c:function(){gx.fn.setComboBoxValue("vCAUTTIPAUTOR",gx.O.AV7cAutTipAutor)},c2v:function(){gx.O.AV7cAutTipAutor=this.val()},val:function(){return gx.fn.getControlValue("vCAUTTIPAUTOR")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKAUTDESTITULO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCAUTDESTITULO",gxz:"ZV8cAutDesTitulo",gxold:"OV8cAutDesTitulo",gxvar:"AV8cAutDesTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cAutDesTitulo=a
},v2z:function(a){gx.O.ZV8cAutDesTitulo=a},v2c:function(){gx.fn.setControlValue("vCAUTDESTITULO",gx.O.AV8cAutDesTitulo,0)},c2v:function(){gx.O.AV8cAutDesTitulo=this.val()},val:function(){return gx.fn.getControlValue("vCAUTDESTITULO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKAUTDESDATASASSOCIADAS",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCAUTDESDATASASSOCIADAS",gxz:"ZV9cAutDesDatasAssociadas",gxold:"OV9cAutDesDatasAssociadas",gxvar:"AV9cAutDesDatasAssociadas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cAutDesDatasAssociadas=a
},v2z:function(a){gx.O.ZV9cAutDesDatasAssociadas=a},v2c:function(){gx.fn.setControlValue("vCAUTDESDATASASSOCIADAS",gx.O.AV9cAutDesDatasAssociadas,0)},c2v:function(){gx.O.AV9cAutDesDatasAssociadas=this.val()},val:function(){return gx.fn.getControlValue("vCAUTDESDATASASSOCIADAS")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKAUTNOMLOCAL",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCAUTNOMLOCAL",gxz:"ZV10cAutNomLocal",gxold:"OV10cAutNomLocal",gxvar:"AV10cAutNomLocal",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cAutNomLocal=a
},v2z:function(a){gx.O.ZV10cAutNomLocal=a},v2c:function(){gx.fn.setControlValue("vCAUTNOMLOCAL",gx.O.AV10cAutNomLocal,0)},c2v:function(){gx.O.AV10cAutNomLocal=this.val()},val:function(){return gx.fn.getControlValue("vCAUTNOMLOCAL")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKAUTNOMSEMACENTO",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCAUTNOMSEMACENTO",gxz:"ZV11cAutNomSemAcento",gxold:"OV11cAutNomSemAcento",gxvar:"AV11cAutNomSemAcento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cAutNomSemAcento=a
},v2z:function(a){gx.O.ZV11cAutNomSemAcento=a},v2c:function(){gx.fn.setControlValue("vCAUTNOMSEMACENTO",gx.O.AV11cAutNomSemAcento,0)},c2v:function(){gx.O.AV11cAutNomSemAcento=this.val()},val:function(){return gx.fn.getControlValue("vCAUTNOMSEMACENTO")},nac:function(){return false}};this.GXValidFnc[42]={fld:"GROUP2",grid:0};this.GXValidFnc[43]={fld:"TABLE3",grid:0};this.GXValidFnc[47]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:46,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(46))},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"AUTNRO",gxz:"Z74AutNro",gxold:"O74AutNro",gxvar:"A74AutNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A74AutNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z74AutNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("AUTNRO",gx.fn.currentGridRowImpl(46),gx.O.A74AutNro,0)},c2v:function(){gx.O.A74AutNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("AUTNRO",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"AUTTIPAUTO",gxz:"Z75AutTipAuto",gxold:"O75AutTipAuto",gxvar:"A75AutTipAuto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A75AutTipAuto=a
},v2z:function(a){gx.O.Z75AutTipAuto=a},v2c:function(){gx.fn.setGridComboBoxValue("AUTTIPAUTO",gx.fn.currentGridRowImpl(46),gx.O.A75AutTipAuto)},c2v:function(){gx.O.A75AutTipAuto=this.val()},val:function(){return gx.fn.getGridControlValue("AUTTIPAUTO",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"AUTDESTITU",gxz:"Z70AutDesTitu",gxold:"O70AutDesTitu",gxvar:"A70AutDesTitu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A70AutDesTitu=a
},v2z:function(a){gx.O.Z70AutDesTitu=a},v2c:function(){gx.fn.setGridControlValue("AUTDESTITU",gx.fn.currentGridRowImpl(46),gx.O.A70AutDesTitu,0)},c2v:function(){gx.O.A70AutDesTitu=this.val()},val:function(){return gx.fn.getGridControlValue("AUTDESTITU",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[51]={lvl:2,type:"char",len:15,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"AUTDESDATA",gxz:"Z69AutDesData",gxold:"O69AutDesData",gxvar:"A69AutDesData",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A69AutDesData=a
},v2z:function(a){gx.O.Z69AutDesData=a},v2c:function(){gx.fn.setGridControlValue("AUTDESDATA",gx.fn.currentGridRowImpl(46),gx.O.A69AutDesData,0)},c2v:function(){gx.O.A69AutDesData=this.val()},val:function(){return gx.fn.getGridControlValue("AUTDESDATA",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[52]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"AUTNOMLOCA",gxz:"Z72AutNomLoca",gxold:"O72AutNomLoca",gxvar:"A72AutNomLoca",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A72AutNomLoca=a
},v2z:function(a){gx.O.Z72AutNomLoca=a},v2c:function(){gx.fn.setGridControlValue("AUTNOMLOCA",gx.fn.currentGridRowImpl(46),gx.O.A72AutNomLoca,0)},c2v:function(){gx.O.A72AutNomLoca=this.val()},val:function(){return gx.fn.getGridControlValue("AUTNOMLOCA",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"AUTNOMSEMA",gxz:"Z73AutNomSemA",gxold:"O73AutNomSemA",gxvar:"A73AutNomSemA",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A73AutNomSemA=a
},v2z:function(a){gx.O.Z73AutNomSemA=a},v2c:function(){gx.fn.setGridControlValue("AUTNOMSEMA",gx.fn.currentGridRowImpl(46),gx.O.A73AutNomSemA,0)},c2v:function(){gx.O.A73AutNomSemA=this.val()},val:function(){return gx.fn.getGridControlValue("AUTNOMSEMA",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[56]={fld:"TABLE4",grid:0};this.AV6cAutNro=0;this.ZV6cAutNro=0;this.OV6cAutNro=0;this.AV7cAutTipAutor="";this.ZV7cAutTipAutor="";this.OV7cAutTipAutor="";this.AV8cAutDesTitulo="";
this.ZV8cAutDesTitulo="";this.OV8cAutDesTitulo="";this.AV9cAutDesDatasAssociadas="";this.ZV9cAutDesDatasAssociadas="";this.OV9cAutDesDatasAssociadas="";this.AV10cAutNomLocal="";this.ZV10cAutNomLocal="";this.OV10cAutNomLocal="";this.AV11cAutNomSemAcento="";this.ZV11cAutNomSemAcento="";this.OV11cAutNomSemAcento="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z74AutNro=0;this.O74AutNro=0;this.Z75AutTipAuto="";this.O75AutTipAuto="";this.Z70AutDesTitu="";this.O70AutDesTitu="";this.Z69AutDesData="";
this.O69AutDesData="";this.Z72AutNomLoca="";this.O72AutNomLoca="";this.Z73AutNomSemA="";this.O73AutNomSemA="";this.AV12pAutNro=0;this.AV5LinkSelection="";this.A74AutNro=0;this.A75AutTipAuto="";this.A70AutDesTitu="";this.A69AutDesData="";this.A72AutNomLoca="";this.A73AutNomSemA="";this.ServerEvents=["e13d02_client","e14d01_client"];this.VarControlMap.AV12pAutNro={id:"vPAUTNRO",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.SetStandaloneVars()}gx00v0.prototype=new gx.GxObject;gx.setParentObj(new gx00v0());