gx.evt.autoSkip=false;function hlfreq(){this.ServerClass="HLFreq";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV8PrdCod=gx.fn.getControlValue("vPRDCOD")};this.Valid_Prddes=function(){try{if(gx.fn.currentGridRowImpl(23)===0){return true}var a=gx.util.balloon.getNew("PRDDES",gx.fn.currentGridRowImpl(23));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e135o2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e155o1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,16,19,21,24,25,26];this.GXLastCtrlId=26;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",23,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hlfreq",[],false,1,false,true,12,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Subfile1Container.addSingleLineEdit(683,24,"PRDCOD","Periodicidade","","PrdCod","char",0,"px",3,3,"left",null,[],683,"PrdCod",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(684,25,"PRDDES","Descrição","","PrdDes","char",0,"px",15,15,"left",null,[],684,"PrdDes",true,0,false,false);this.Subfile1Container.addSingleLineEdit(689,26,"PRDNROSEQU","Seq","","PrdNroSequ","int",0,"px",2,2,"right",null,[],689,"PrdNroSequ",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[16]={fld:"TABLE2",grid:0};this.GXValidFnc[19]={fld:"TEXTBLOCK2",format:0,grid:0};
this.GXValidFnc[21]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMECONTENDO",gxz:"ZV9NomeContendo",gxold:"OV9NomeContendo",gxvar:"AV9NomeContendo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9NomeContendo=a},v2z:function(a){gx.O.ZV9NomeContendo=a},v2c:function(){gx.fn.setControlValue("vNOMECONTENDO",gx.O.AV9NomeContendo,0)},c2v:function(){gx.O.AV9NomeContendo=this.val()},val:function(){return gx.fn.getControlValue("vNOMECONTENDO")
},nac:function(){return false}};this.GXValidFnc[24]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:23,gxgrid:this.Subfile1Container,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(23),gx.O.A683PrdCod,0)},c2v:function(){gx.O.A683PrdCod=this.val()},val:function(){return gx.fn.getGridControlValue("PRDCOD",gx.fn.currentGridRowImpl(23))
},nac:function(){return false}};this.GXValidFnc[25]={lvl:2,type:"char",len:15,dec:0,sign:false,ro:1,grid:23,gxgrid:this.Subfile1Container,fnc:this.Valid_Prddes,isvalid:null,fld:"PRDDES",gxz:"Z684PrdDes",gxold:"O684PrdDes",gxvar:"A684PrdDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A684PrdDes=a},v2z:function(a){gx.O.Z684PrdDes=a},v2c:function(){gx.fn.setGridControlValue("PRDDES",gx.fn.currentGridRowImpl(23),gx.O.A684PrdDes,0)},c2v:function(){gx.O.A684PrdDes=this.val()},val:function(){return gx.fn.getGridControlValue("PRDDES",gx.fn.currentGridRowImpl(23))
},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:23,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"PRDNROSEQU",gxz:"Z689PrdNroSequ",gxold:"O689PrdNroSequ",gxvar:"A689PrdNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A689PrdNroSequ=gx.num.intval(a)},v2z:function(a){gx.O.Z689PrdNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PRDNROSEQU",gx.fn.currentGridRowImpl(23),gx.O.A689PrdNroSequ,0)
},c2v:function(){gx.O.A689PrdNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("PRDNROSEQU",gx.fn.currentGridRowImpl(23),".")},nac:function(){return false}};this.AV9NomeContendo="";this.ZV9NomeContendo="";this.OV9NomeContendo="";this.Z683PrdCod="";this.O683PrdCod="";this.Z684PrdDes="";this.O684PrdDes="";this.Z689PrdNroSequ=0;this.O689PrdNroSequ=0;this.AV8PrdCod="";this.A683PrdCod="";this.A684PrdDes="";this.A689PrdNroSequ=0;this.ServerEvents=["e135o2_client","e155o1_client"];this.VarControlMap.AV8PrdCod={id:"vPRDCOD",grid:0,type:"char"};
this.VarControlMap.AV10CharDB={id:"vCHARDB",grid:0,type:"char"};this.Subfile1Container.addRefreshingVar(this.GXValidFnc[21]);this.Subfile1Container.addRefreshingVar({rfrVar:"AV10CharDB"});this.SetStandaloneVars()}hlfreq.prototype=new gx.GxObject;gx.setParentObj(new hlfreq());