gx.evt.autoSkip=false;function hlperiod(){this.ServerClass="HLPeriod";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A646PerDesSemA=gx.fn.getControlValue("PERDESSEMA");this.AV6PerNroParm=gx.fn.getIntegerValue("vPERNROPARM",".")};this.e131t2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e121t2_client=function(){this.executeServerEvent("'NOVO'",false)};this.e161t1_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[3,6,17,20,23,25,29,30,31,32];this.GXLastCtrlId=32;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",28,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hlperiod",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Subfile1Container.addSingleLineEdit("Perdeslongotitulo",29,"vPERDESLONGOTITULO","Título completo","","PerDesLongoTitulo","char",0,"px",50,50,"left",null,[],"Perdeslongotitulo","PerDesLongoTitulo",true,0,false,false);
this.Subfile1Container.addSingleLineEdit("Pernro",30,"vPERNRO","Periódico","","PerNro","int",0,"px",5,5,"right",null,[],"Pernro","PerNro",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Prdcod",31,"vPRDCOD","Periodicidade","","PrdCod","char",0,"px",3,3,"left",null,[],"Prdcod","PrdCod",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Perdesabrevtitulo",32,"vPERDESABREVTITULO","Título abreviado","","PerDesAbrevTitulo","char",110,"px",20,20,"left",null,[],"Perdesabrevtitulo","PerDesAbrevTitulo",true,0,false,false);
this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE3",grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[17]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[20]={fld:"TABLE2",grid:0};this.GXValidFnc[23]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"char",len:19,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vPERNOMABRE",gxz:"ZV5PerNomAbre",gxold:"OV5PerNomAbre",gxvar:"AV5PerNomAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5PerNomAbre=a
},v2z:function(a){gx.O.ZV5PerNomAbre=a},v2c:function(){gx.fn.setControlValue("vPERNOMABRE",gx.O.AV5PerNomAbre,0)},c2v:function(){gx.O.AV5PerNomAbre=this.val()},val:function(){return gx.fn.getControlValue("vPERNOMABRE")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:28,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vPERDESLONGOTITULO",gxz:"ZV18PerDesLongoTitulo",gxold:"OV18PerDesLongoTitulo",gxvar:"AV18PerDesLongoTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18PerDesLongoTitulo=a
},v2z:function(a){gx.O.ZV18PerDesLongoTitulo=a},v2c:function(){gx.fn.setGridControlValue("vPERDESLONGOTITULO",gx.fn.currentGridRowImpl(28),gx.O.AV18PerDesLongoTitulo,0)},c2v:function(){gx.O.AV18PerDesLongoTitulo=this.val()},val:function(){return gx.fn.getGridControlValue("vPERDESLONGOTITULO",gx.fn.currentGridRowImpl(28))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:28,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"vPERNRO",gxz:"ZV19PerNro",gxold:"OV19PerNro",gxvar:"AV19PerNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19PerNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV19PerNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vPERNRO",gx.fn.currentGridRowImpl(28),gx.O.AV19PerNro,0)},c2v:function(){gx.O.AV19PerNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("vPERNRO",gx.fn.currentGridRowImpl(28),".")},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:28,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vPRDCOD",gxz:"ZV20PrdCod",gxold:"OV20PrdCod",gxvar:"AV20PrdCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20PrdCod=a
},v2z:function(a){gx.O.ZV20PrdCod=a},v2c:function(){gx.fn.setGridControlValue("vPRDCOD",gx.fn.currentGridRowImpl(28),gx.O.AV20PrdCod,0)},c2v:function(){gx.O.AV20PrdCod=this.val()},val:function(){return gx.fn.getGridControlValue("vPRDCOD",gx.fn.currentGridRowImpl(28))},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:28,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vPERDESABREVTITULO",gxz:"ZV17PerDesAbrevTitulo",gxold:"OV17PerDesAbrevTitulo",gxvar:"AV17PerDesAbrevTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17PerDesAbrevTitulo=a
},v2z:function(a){gx.O.ZV17PerDesAbrevTitulo=a},v2c:function(){gx.fn.setGridControlValue("vPERDESABREVTITULO",gx.fn.currentGridRowImpl(28),gx.O.AV17PerDesAbrevTitulo,0)},c2v:function(){gx.O.AV17PerDesAbrevTitulo=this.val()},val:function(){return gx.fn.getGridControlValue("vPERDESABREVTITULO",gx.fn.currentGridRowImpl(28))},nac:function(){return false}};this.AV5PerNomAbre="";this.ZV5PerNomAbre="";this.OV5PerNomAbre="";this.ZV18PerDesLongoTitulo="";this.OV18PerDesLongoTitulo="";this.ZV19PerNro=0;this.OV19PerNro=0;
this.ZV20PrdCod="";this.OV20PrdCod="";this.ZV17PerDesAbrevTitulo="";this.OV17PerDesAbrevTitulo="";this.AV6PerNroParm=0;this.AV18PerDesLongoTitulo="";this.AV19PerNro=0;this.AV20PrdCod="";this.AV17PerDesAbrevTitulo="";this.A642PerDesAbre="";this.A643PerDesLong="";this.A652PerNro=0;this.A683PrdCod="";this.A646PerDesSemA="";this.ServerEvents=["e131t2_client","e121t2_client","e161t1_client"];this.VarControlMap.A646PerDesSemA={id:"PERDESSEMA",grid:0,type:"char"};this.VarControlMap.AV6PerNroParm={id:"vPERNROPARM",grid:0,type:"int"};
this.VarControlMap.A683PrdCod={id:"PRDCOD",grid:0,type:"char"};this.VarControlMap.A652PerNro={id:"PERNRO",grid:0,type:"int"};this.VarControlMap.AV16PerNomContendo={id:"vPERNOMCONTENDO",grid:0,type:"char"};this.VarControlMap.A643PerDesLong={id:"PERDESLONG",grid:0,type:"char"};this.VarControlMap.A642PerDesAbre={id:"PERDESABRE",grid:0,type:"char"};this.Subfile1Container.addRefreshingVar({rfrVar:"A683PrdCod"});this.Subfile1Container.addRefreshingVar({rfrVar:"A652PerNro"});this.Subfile1Container.addRefreshingVar({rfrVar:"AV16PerNomContendo"});
this.Subfile1Container.addRefreshingVar({rfrVar:"A643PerDesLong"});this.Subfile1Container.addRefreshingVar({rfrVar:"A642PerDesAbre"});this.Subfile1Container.addRefreshingVar({rfrVar:"A646PerDesSemA"});this.SetStandaloneVars()}hlperiod.prototype=new gx.GxObject;gx.setParentObj(new hlperiod());