gx.evt.autoSkip=false;function gx0440(){this.ServerClass="Gx0440";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pPrdCod=gx.fn.getControlValue("vPPRDCOD")};this.e13cf2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14cf1_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,"gx0440",[],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(683,53,"PRDCOD","Periodicidade","","PrdCod","char",0,"px",3,3,"left",null,[],683,"PrdCod",true,0,false,false);
this.Grid1Container.addSingleLineEdit(684,54,"PRDDES","Frequência","Selecionar","PrdDes","char",0,"px",15,15,"left",null,[],684,"PrdDes",true,0,false,false);this.Grid1Container.addSingleLineEdit(689,55,"PRDNROSEQU","Sequência","","PrdNroSequ","int",0,"px",2,2,"right",null,[],689,"PrdNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(685,56,"PRDDES1LIV","Campo livre","","PrdDes1Liv","char",0,"px",10,10,"left",null,[],685,"PrdDes1Liv",true,0,false,false);this.Grid1Container.addSingleLineEdit(686,57,"PRDDES2LIV","PrdDes2Livre10","","PrdDes2Liv","char",0,"px",10,10,"left",null,[],686,"PrdDes2Liv",true,0,false,false);
this.Grid1Container.addSingleLineEdit(687,58,"PRDDES3LIV","PrdDes3Livre1","","PrdDes3Liv","char",0,"px",1,1,"left",null,[],687,"PrdDes3Liv",true,0,false,false);this.Grid1Container.addSingleLineEdit(688,59,"PRDDES4LIV","PrdDes4Livre1","","PrdDes4Liv","char",0,"px",1,1,"left",null,[],688,"PrdDes4Liv",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:"TEXTBLOCKPRDCOD",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPRDCOD",gxz:"ZV6cPrdCod",gxold:"OV6cPrdCod",gxvar:"AV6cPrdCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cPrdCod=a},v2z:function(a){gx.O.ZV6cPrdCod=a},v2c:function(){gx.fn.setControlValue("vCPRDCOD",gx.O.AV6cPrdCod,0)},c2v:function(){gx.O.AV6cPrdCod=this.val()},val:function(){return gx.fn.getControlValue("vCPRDCOD")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKPRDDES",format:0,grid:0};
this.GXValidFnc[19]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPRDDES",gxz:"ZV7cPrdDes",gxold:"OV7cPrdDes",gxvar:"AV7cPrdDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cPrdDes=a},v2z:function(a){gx.O.ZV7cPrdDes=a},v2c:function(){gx.fn.setControlValue("vCPRDDES",gx.O.AV7cPrdDes,0)},c2v:function(){gx.O.AV7cPrdDes=this.val()},val:function(){return gx.fn.getControlValue("vCPRDDES")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKPRDNROSEQUENCIA",format:0,grid:0};
this.GXValidFnc[24]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCPRDNROSEQUENCIA",gxz:"ZV8cPrdNroSequencia",gxold:"OV8cPrdNroSequencia",gxvar:"AV8cPrdNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cPrdNroSequencia=gx.num.intval(a)},v2z:function(a){gx.O.ZV8cPrdNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCPRDNROSEQUENCIA",gx.O.AV8cPrdNroSequencia,0)},c2v:function(){gx.O.AV8cPrdNroSequencia=this.val()
},val:function(){return gx.fn.getIntegerValue("vCPRDNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKPRDDES1LIVRE10",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPRDDES1LIVRE10",gxz:"ZV9cPrdDes1Livre10",gxold:"OV9cPrdDes1Livre10",gxvar:"AV9cPrdDes1Livre10",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cPrdDes1Livre10=a},v2z:function(a){gx.O.ZV9cPrdDes1Livre10=a
},v2c:function(){gx.fn.setControlValue("vCPRDDES1LIVRE10",gx.O.AV9cPrdDes1Livre10,0)},c2v:function(){gx.O.AV9cPrdDes1Livre10=this.val()},val:function(){return gx.fn.getControlValue("vCPRDDES1LIVRE10")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKPRDDES2LIVRE10",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPRDDES2LIVRE10",gxz:"ZV10cPrdDes2Livre10",gxold:"OV10cPrdDes2Livre10",gxvar:"AV10cPrdDes2Livre10",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cPrdDes2Livre10=a
},v2z:function(a){gx.O.ZV10cPrdDes2Livre10=a},v2c:function(){gx.fn.setControlValue("vCPRDDES2LIVRE10",gx.O.AV10cPrdDes2Livre10,0)},c2v:function(){gx.O.AV10cPrdDes2Livre10=this.val()},val:function(){return gx.fn.getControlValue("vCPRDDES2LIVRE10")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKPRDDES3LIVRE1",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPRDDES3LIVRE1",gxz:"ZV11cPrdDes3Livre1",gxold:"OV11cPrdDes3Livre1",gxvar:"AV11cPrdDes3Livre1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cPrdDes3Livre1=a
},v2z:function(a){gx.O.ZV11cPrdDes3Livre1=a},v2c:function(){gx.fn.setControlValue("vCPRDDES3LIVRE1",gx.O.AV11cPrdDes3Livre1,0)},c2v:function(){gx.O.AV11cPrdDes3Livre1=this.val()},val:function(){return gx.fn.getControlValue("vCPRDDES3LIVRE1")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCKPRDDES4LIVRE1",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPRDDES4LIVRE1",gxz:"ZV12cPrdDes4Livre1",gxold:"OV12cPrdDes4Livre1",gxvar:"AV12cPrdDes4Livre1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12cPrdDes4Livre1=a
},v2z:function(a){gx.O.ZV12cPrdDes4Livre1=a},v2c:function(){gx.fn.setControlValue("vCPRDDES4LIVRE1",gx.O.AV12cPrdDes4Livre1,0)},c2v:function(){gx.O.AV12cPrdDes4Livre1=this.val()},val:function(){return gx.fn.getControlValue("vCPRDDES4LIVRE1")},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:"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[54]={lvl:2,type:"char",len:15,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,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(51),gx.O.A684PrdDes,0)},c2v:function(){gx.O.A684PrdDes=this.val()},val:function(){return gx.fn.getGridControlValue("PRDDES",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:51,gxgrid:this.Grid1Container,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(51),gx.O.A689PrdNroSequ,0)},c2v:function(){gx.O.A689PrdNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("PRDNROSEQU",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PRDDES1LIV",gxz:"Z685PrdDes1Liv",gxold:"O685PrdDes1Liv",gxvar:"A685PrdDes1Liv",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A685PrdDes1Liv=a
},v2z:function(a){gx.O.Z685PrdDes1Liv=a},v2c:function(){gx.fn.setGridControlValue("PRDDES1LIV",gx.fn.currentGridRowImpl(51),gx.O.A685PrdDes1Liv,0)},c2v:function(){gx.O.A685PrdDes1Liv=this.val()},val:function(){return gx.fn.getGridControlValue("PRDDES1LIV",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[57]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PRDDES2LIV",gxz:"Z686PrdDes2Liv",gxold:"O686PrdDes2Liv",gxvar:"A686PrdDes2Liv",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A686PrdDes2Liv=a
},v2z:function(a){gx.O.Z686PrdDes2Liv=a},v2c:function(){gx.fn.setGridControlValue("PRDDES2LIV",gx.fn.currentGridRowImpl(51),gx.O.A686PrdDes2Liv,0)},c2v:function(){gx.O.A686PrdDes2Liv=this.val()},val:function(){return gx.fn.getGridControlValue("PRDDES2LIV",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[58]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PRDDES3LIV",gxz:"Z687PrdDes3Liv",gxold:"O687PrdDes3Liv",gxvar:"A687PrdDes3Liv",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A687PrdDes3Liv=a
},v2z:function(a){gx.O.Z687PrdDes3Liv=a},v2c:function(){gx.fn.setGridControlValue("PRDDES3LIV",gx.fn.currentGridRowImpl(51),gx.O.A687PrdDes3Liv,0)},c2v:function(){gx.O.A687PrdDes3Liv=this.val()},val:function(){return gx.fn.getGridControlValue("PRDDES3LIV",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[59]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PRDDES4LIV",gxz:"Z688PrdDes4Liv",gxold:"O688PrdDes4Liv",gxvar:"A688PrdDes4Liv",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A688PrdDes4Liv=a
},v2z:function(a){gx.O.Z688PrdDes4Liv=a},v2c:function(){gx.fn.setGridControlValue("PRDDES4LIV",gx.fn.currentGridRowImpl(51),gx.O.A688PrdDes4Liv,0)},c2v:function(){gx.O.A688PrdDes4Liv=this.val()},val:function(){return gx.fn.getGridControlValue("PRDDES4LIV",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[62]={fld:"TABLE4",grid:0};this.AV6cPrdCod="";this.ZV6cPrdCod="";this.OV6cPrdCod="";this.AV7cPrdDes="";this.ZV7cPrdDes="";this.OV7cPrdDes="";this.AV8cPrdNroSequencia=0;this.ZV8cPrdNroSequencia=0;
this.OV8cPrdNroSequencia=0;this.AV9cPrdDes1Livre10="";this.ZV9cPrdDes1Livre10="";this.OV9cPrdDes1Livre10="";this.AV10cPrdDes2Livre10="";this.ZV10cPrdDes2Livre10="";this.OV10cPrdDes2Livre10="";this.AV11cPrdDes3Livre1="";this.ZV11cPrdDes3Livre1="";this.OV11cPrdDes3Livre1="";this.AV12cPrdDes4Livre1="";this.ZV12cPrdDes4Livre1="";this.OV12cPrdDes4Livre1="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z683PrdCod="";this.O683PrdCod="";this.Z684PrdDes="";this.O684PrdDes="";this.Z689PrdNroSequ=0;
this.O689PrdNroSequ=0;this.Z685PrdDes1Liv="";this.O685PrdDes1Liv="";this.Z686PrdDes2Liv="";this.O686PrdDes2Liv="";this.Z687PrdDes3Liv="";this.O687PrdDes3Liv="";this.Z688PrdDes4Liv="";this.O688PrdDes4Liv="";this.AV13pPrdCod="";this.AV5LinkSelection="";this.A683PrdCod="";this.A684PrdDes="";this.A689PrdNroSequ=0;this.A685PrdDes1Liv="";this.A686PrdDes2Liv="";this.A687PrdDes3Liv="";this.A688PrdDes4Liv="";this.ServerEvents=["e13cf2_client","e14cf1_client"];this.VarControlMap.AV13pPrdCod={id:"vPPRDCOD",grid:0,type:"char"};
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()}gx0440.prototype=new gx.GxObject;gx.setParentObj(new gx0440());