gx.evt.autoSkip=false;function gx03w0(){this.ServerClass="Gx03W0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pPerNro=gx.fn.getIntegerValue("vPPERNRO",".")};this.e13ci2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14ci1_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,"gx03w0",[],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(652,53,"PERNRO","Periódico","","PerNro","int",0,"px",5,5,"right",null,[],652,"PerNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(643,54,"PERDESLONG","Título completo","Selecionar","PerDesLong","char",0,"px",50,50,"left",null,[],643,"PerDesLong",true,0,false,false);
this.Grid1Container.addSingleLineEdit(642,55,"PERDESABRE","Título abreviado","","PerDesAbre","char",0,"px",20,20,"left",null,[],642,"PerDesAbre",true,0,false,false);this.Grid1Container.addSingleLineEdit(653,56,"PERNROCCN","Nro CCN","","PerNroCcn","char",0,"px",15,15,"left",null,[],653,"PerNroCcn",true,0,false,false);this.Grid1Container.addSingleLineEdit(634,57,"PERCODEDIT","Código editora","","PerCodEdit","int",0,"px",5,5,"right",null,[],634,"PerCodEdit",true,0,false,false);this.Grid1Container.addSingleLineEdit(683,58,"PRDCOD","Periodicidade","","PrdCod","char",0,"px",3,3,"left",null,[],683,"PrdCod",true,0,false,false);
this.Grid1Container.addSingleLineEdit(881,59,"TIPCOD","Tipo","","TipCod","char",0,"px",3,3,"left",null,[],881,"TipCod",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:"TEXTBLOCKPERNRO",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCPERNRO",gxz:"ZV6cPerNro",gxold:"OV6cPerNro",gxvar:"AV6cPerNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cPerNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cPerNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCPERNRO",gx.O.AV6cPerNro,0)},c2v:function(){gx.O.AV6cPerNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCPERNRO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKPERDESLONGOTITULO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPERDESLONGOTITULO",gxz:"ZV7cPerDesLongoTitulo",gxold:"OV7cPerDesLongoTitulo",gxvar:"AV7cPerDesLongoTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cPerDesLongoTitulo=a
},v2z:function(a){gx.O.ZV7cPerDesLongoTitulo=a},v2c:function(){gx.fn.setControlValue("vCPERDESLONGOTITULO",gx.O.AV7cPerDesLongoTitulo,0)},c2v:function(){gx.O.AV7cPerDesLongoTitulo=this.val()},val:function(){return gx.fn.getControlValue("vCPERDESLONGOTITULO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKPERDESABREVTITULO",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:"vCPERDESABREVTITULO",gxz:"ZV8cPerDesAbrevTitulo",gxold:"OV8cPerDesAbrevTitulo",gxvar:"AV8cPerDesAbrevTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cPerDesAbrevTitulo=a
},v2z:function(a){gx.O.ZV8cPerDesAbrevTitulo=a},v2c:function(){gx.fn.setControlValue("vCPERDESABREVTITULO",gx.O.AV8cPerDesAbrevTitulo,0)},c2v:function(){gx.O.AV8cPerDesAbrevTitulo=this.val()},val:function(){return gx.fn.getControlValue("vCPERDESABREVTITULO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKPERDESSEMACENTOCOMPLETA",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPERDESSEMACENTOCOMPLETA",gxz:"ZV9cPerDesSemAcentoCompleta",gxold:"OV9cPerDesSemAcentoCompleta",gxvar:"AV9cPerDesSemAcentoCompleta",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cPerDesSemAcentoCompleta=a
},v2z:function(a){gx.O.ZV9cPerDesSemAcentoCompleta=a},v2c:function(){gx.fn.setControlValue("vCPERDESSEMACENTOCOMPLETA",gx.O.AV9cPerDesSemAcentoCompleta,0)},c2v:function(){gx.O.AV9cPerDesSemAcentoCompleta=this.val()},val:function(){return gx.fn.getControlValue("vCPERDESSEMACENTOCOMPLETA")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKPERNROCCN",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPERNROCCN",gxz:"ZV10cPerNroCcn",gxold:"OV10cPerNroCcn",gxvar:"AV10cPerNroCcn",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cPerNroCcn=a
},v2z:function(a){gx.O.ZV10cPerNroCcn=a},v2c:function(){gx.fn.setControlValue("vCPERNROCCN",gx.O.AV10cPerNroCcn,0)},c2v:function(){gx.O.AV10cPerNroCcn=this.val()},val:function(){return gx.fn.getControlValue("vCPERNROCCN")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKPERCODEDITORA",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCPERCODEDITORA",gxz:"ZV11cPerCodEditora",gxold:"OV11cPerCodEditora",gxvar:"AV11cPerCodEditora",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cPerCodEditora=gx.num.intval(a)
},v2z:function(a){gx.O.ZV11cPerCodEditora=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCPERCODEDITORA",gx.O.AV11cPerCodEditora,0)},c2v:function(){gx.O.AV11cPerCodEditora=this.val()},val:function(){return gx.fn.getIntegerValue("vCPERCODEDITORA",".")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCKPRDCOD",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPRDCOD",gxz:"ZV12cPrdCod",gxold:"OV12cPrdCod",gxvar:"AV12cPrdCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12cPrdCod=a
},v2z:function(a){gx.O.ZV12cPrdCod=a},v2c:function(){gx.fn.setControlValue("vCPRDCOD",gx.O.AV12cPrdCod,0)},c2v:function(){gx.O.AV12cPrdCod=this.val()},val:function(){return gx.fn.getControlValue("vCPRDCOD")},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: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[54]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PERDESLONG",gxz:"Z643PerDesLong",gxold:"O643PerDesLong",gxvar:"A643PerDesLong",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A643PerDesLong=a
},v2z:function(a){gx.O.Z643PerDesLong=a},v2c:function(){gx.fn.setGridControlValue("PERDESLONG",gx.fn.currentGridRowImpl(51),gx.O.A643PerDesLong,0)},c2v:function(){gx.O.A643PerDesLong=this.val()},val:function(){return gx.fn.getGridControlValue("PERDESLONG",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PERDESABRE",gxz:"Z642PerDesAbre",gxold:"O642PerDesAbre",gxvar:"A642PerDesAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A642PerDesAbre=a
},v2z:function(a){gx.O.Z642PerDesAbre=a},v2c:function(){gx.fn.setGridControlValue("PERDESABRE",gx.fn.currentGridRowImpl(51),gx.O.A642PerDesAbre,0)},c2v:function(){gx.O.A642PerDesAbre=this.val()},val:function(){return gx.fn.getGridControlValue("PERDESABRE",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"char",len:15,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PERNROCCN",gxz:"Z653PerNroCcn",gxold:"O653PerNroCcn",gxvar:"A653PerNroCcn",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A653PerNroCcn=a
},v2z:function(a){gx.O.Z653PerNroCcn=a},v2c:function(){gx.fn.setGridControlValue("PERNROCCN",gx.fn.currentGridRowImpl(51),gx.O.A653PerNroCcn,0)},c2v:function(){gx.O.A653PerNroCcn=this.val()},val:function(){return gx.fn.getGridControlValue("PERNROCCN",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[57]={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:"PERCODEDIT",gxz:"Z634PerCodEdit",gxold:"O634PerCodEdit",gxvar:"A634PerCodEdit",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A634PerCodEdit=gx.num.intval(a)
},v2z:function(a){gx.O.Z634PerCodEdit=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PERCODEDIT",gx.fn.currentGridRowImpl(51),gx.O.A634PerCodEdit,0)},c2v:function(){gx.O.A634PerCodEdit=this.val()},val:function(){return gx.fn.getGridIntegerValue("PERCODEDIT",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[58]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PRDCOD",gxz:"Z683PrdCod",gxold:"O683PrdCod",gxvar:"A683PrdCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A683PrdCod=a
},v2z:function(a){gx.O.Z683PrdCod=a},v2c:function(){gx.fn.setGridControlValue("PRDCOD",gx.fn.currentGridRowImpl(51),gx.O.A683PrdCod,0)},c2v:function(){gx.O.A683PrdCod=this.val()},val:function(){return gx.fn.getGridControlValue("PRDCOD",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[59]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TIPCOD",gxz:"Z881TipCod",gxold:"O881TipCod",gxvar:"A881TipCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A881TipCod=a
},v2z:function(a){gx.O.Z881TipCod=a},v2c:function(){gx.fn.setGridControlValue("TIPCOD",gx.fn.currentGridRowImpl(51),gx.O.A881TipCod,0)},c2v:function(){gx.O.A881TipCod=this.val()},val:function(){return gx.fn.getGridControlValue("TIPCOD",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[62]={fld:"TABLE4",grid:0};this.AV6cPerNro=0;this.ZV6cPerNro=0;this.OV6cPerNro=0;this.AV7cPerDesLongoTitulo="";this.ZV7cPerDesLongoTitulo="";this.OV7cPerDesLongoTitulo="";this.AV8cPerDesAbrevTitulo="";
this.ZV8cPerDesAbrevTitulo="";this.OV8cPerDesAbrevTitulo="";this.AV9cPerDesSemAcentoCompleta="";this.ZV9cPerDesSemAcentoCompleta="";this.OV9cPerDesSemAcentoCompleta="";this.AV10cPerNroCcn="";this.ZV10cPerNroCcn="";this.OV10cPerNroCcn="";this.AV11cPerCodEditora=0;this.ZV11cPerCodEditora=0;this.OV11cPerCodEditora=0;this.AV12cPrdCod="";this.ZV12cPrdCod="";this.OV12cPrdCod="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z652PerNro=0;this.O652PerNro=0;this.Z643PerDesLong="";this.O643PerDesLong="";
this.Z642PerDesAbre="";this.O642PerDesAbre="";this.Z653PerNroCcn="";this.O653PerNroCcn="";this.Z634PerCodEdit=0;this.O634PerCodEdit=0;this.Z683PrdCod="";this.O683PrdCod="";this.Z881TipCod="";this.O881TipCod="";this.AV13pPerNro=0;this.A646PerDesSemA="";this.AV5LinkSelection="";this.A652PerNro=0;this.A643PerDesLong="";this.A642PerDesAbre="";this.A653PerNroCcn="";this.A634PerCodEdit=0;this.A683PrdCod="";this.A881TipCod="";this.ServerEvents=["e13ci2_client","e14ci1_client"];this.VarControlMap.AV13pPerNro={id:"vPPERNRO",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()}gx03w0.prototype=new gx.GxObject;gx.setParentObj(new gx03w0());