gx.evt.autoSkip=false;function gx04w0(){this.ServerClass="Gx04W0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV11pPfeTipEntidade=gx.fn.getControlValue("vPPFETIPENTIDADE");this.AV12pPfeCodEntidade=gx.fn.getControlValue("vPPFECODENTIDADE");this.AV13pPfeNomPreferencia=gx.fn.getControlValue("vPPFENOMPREFERENCIA")};this.e13kv2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14kv1_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,38,42,43,44,45,46,47,50];this.GXLastCtrlId=50;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",41,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx04w0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",42,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(1160,43,"PFETIPENTI","de entidade","","PfeTipEnti","char",0,"px",50,50,"left",null,[],1160,"PfeTipEnti",true,0,false,false);
this.Grid1Container.addSingleLineEdit(1161,44,"PFECODENTI","entidade","","PfeCodEnti","char",0,"px",20,20,"left",null,[],1161,"PfeCodEnti",true,0,false,false);this.Grid1Container.addSingleLineEdit(1165,45,"PFEIND1","LIVRE","Selecionar","PfeInd1","char",0,"px",1,1,"left",null,[],1165,"PfeInd1",true,0,false,false);this.Grid1Container.addSingleLineEdit(1166,46,"PFEIND2","LIVRE","","PfeInd2","char",0,"px",1,1,"left",null,[],1166,"PfeInd2",true,0,false,false);this.Grid1Container.addSingleLineEdit(1162,47,"PFENOMPREF","Descrição da preferência","","PfeNomPref","char",0,"px",90,90,"left",null,[],1162,"PfeNomPref",false,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:"TEXTBLOCKPFETIPENTIDADE",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPFETIPENTIDADE",gxz:"ZV6cPfeTipEntidade",gxold:"OV6cPfeTipEntidade",gxvar:"AV6cPfeTipEntidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cPfeTipEntidade=a
},v2z:function(a){gx.O.ZV6cPfeTipEntidade=a},v2c:function(){gx.fn.setControlValue("vCPFETIPENTIDADE",gx.O.AV6cPfeTipEntidade,0)},c2v:function(){gx.O.AV6cPfeTipEntidade=this.val()},val:function(){return gx.fn.getControlValue("vCPFETIPENTIDADE")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKPFECODENTIDADE",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPFECODENTIDADE",gxz:"ZV7cPfeCodEntidade",gxold:"OV7cPfeCodEntidade",gxvar:"AV7cPfeCodEntidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cPfeCodEntidade=a
},v2z:function(a){gx.O.ZV7cPfeCodEntidade=a},v2c:function(){gx.fn.setControlValue("vCPFECODENTIDADE",gx.O.AV7cPfeCodEntidade,0)},c2v:function(){gx.O.AV7cPfeCodEntidade=this.val()},val:function(){return gx.fn.getControlValue("vCPFECODENTIDADE")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKPFENOMPREFERENCIA",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:90,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPFENOMPREFERENCIA",gxz:"ZV8cPfeNomPreferencia",gxold:"OV8cPfeNomPreferencia",gxvar:"AV8cPfeNomPreferencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cPfeNomPreferencia=a
},v2z:function(a){gx.O.ZV8cPfeNomPreferencia=a},v2c:function(){gx.fn.setControlValue("vCPFENOMPREFERENCIA",gx.O.AV8cPfeNomPreferencia,0)},c2v:function(){gx.O.AV8cPfeNomPreferencia=this.val()},val:function(){return gx.fn.getControlValue("vCPFENOMPREFERENCIA")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKPFEIND1",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPFEIND1",gxz:"ZV9cPfeInd1",gxold:"OV9cPfeInd1",gxvar:"AV9cPfeInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cPfeInd1=a
},v2z:function(a){gx.O.ZV9cPfeInd1=a},v2c:function(){gx.fn.setControlValue("vCPFEIND1",gx.O.AV9cPfeInd1,0)},c2v:function(){gx.O.AV9cPfeInd1=this.val()},val:function(){return gx.fn.getControlValue("vCPFEIND1")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKPFEIND2",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPFEIND2",gxz:"ZV10cPfeInd2",gxold:"OV10cPfeInd2",gxvar:"AV10cPfeInd2",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cPfeInd2=a
},v2z:function(a){gx.O.ZV10cPfeInd2=a},v2c:function(){gx.fn.setControlValue("vCPFEIND2",gx.O.AV10cPfeInd2,0)},c2v:function(){gx.O.AV10cPfeInd2=this.val()},val:function(){return gx.fn.getControlValue("vCPFEIND2")},nac:function(){return false}};this.GXValidFnc[37]={fld:"GROUP2",grid:0};this.GXValidFnc[38]={fld:"TABLE3",grid:0};this.GXValidFnc[42]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:41,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(41))},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PFETIPENTI",gxz:"Z1160PfeTipEnti",gxold:"O1160PfeTipEnti",gxvar:"A1160PfeTipEnti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1160PfeTipEnti=a
},v2z:function(a){gx.O.Z1160PfeTipEnti=a},v2c:function(){gx.fn.setGridControlValue("PFETIPENTI",gx.fn.currentGridRowImpl(41),gx.O.A1160PfeTipEnti,0)},c2v:function(){gx.O.A1160PfeTipEnti=this.val()},val:function(){return gx.fn.getGridControlValue("PFETIPENTI",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[44]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PFECODENTI",gxz:"Z1161PfeCodEnti",gxold:"O1161PfeCodEnti",gxvar:"A1161PfeCodEnti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1161PfeCodEnti=a
},v2z:function(a){gx.O.Z1161PfeCodEnti=a},v2c:function(){gx.fn.setGridControlValue("PFECODENTI",gx.fn.currentGridRowImpl(41),gx.O.A1161PfeCodEnti,0)},c2v:function(){gx.O.A1161PfeCodEnti=this.val()},val:function(){return gx.fn.getGridControlValue("PFECODENTI",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[45]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PFEIND1",gxz:"Z1165PfeInd1",gxold:"O1165PfeInd1",gxvar:"A1165PfeInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1165PfeInd1=a
},v2z:function(a){gx.O.Z1165PfeInd1=a},v2c:function(){gx.fn.setGridControlValue("PFEIND1",gx.fn.currentGridRowImpl(41),gx.O.A1165PfeInd1,0)},c2v:function(){gx.O.A1165PfeInd1=this.val()},val:function(){return gx.fn.getGridControlValue("PFEIND1",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[46]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PFEIND2",gxz:"Z1166PfeInd2",gxold:"O1166PfeInd2",gxvar:"A1166PfeInd2",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1166PfeInd2=a
},v2z:function(a){gx.O.Z1166PfeInd2=a},v2c:function(){gx.fn.setGridControlValue("PFEIND2",gx.fn.currentGridRowImpl(41),gx.O.A1166PfeInd2,0)},c2v:function(){gx.O.A1166PfeInd2=this.val()},val:function(){return gx.fn.getGridControlValue("PFEIND2",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[47]={lvl:2,type:"char",len:90,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PFENOMPREF",gxz:"Z1162PfeNomPref",gxold:"O1162PfeNomPref",gxvar:"A1162PfeNomPref",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1162PfeNomPref=a
},v2z:function(a){gx.O.Z1162PfeNomPref=a},v2c:function(){gx.fn.setGridControlValue("PFENOMPREF",gx.fn.currentGridRowImpl(41),gx.O.A1162PfeNomPref,0)},c2v:function(){gx.O.A1162PfeNomPref=this.val()},val:function(){return gx.fn.getGridControlValue("PFENOMPREF",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[50]={fld:"TABLE4",grid:0};this.AV6cPfeTipEntidade="";this.ZV6cPfeTipEntidade="";this.OV6cPfeTipEntidade="";this.AV7cPfeCodEntidade="";this.ZV7cPfeCodEntidade="";this.OV7cPfeCodEntidade="";
this.AV8cPfeNomPreferencia="";this.ZV8cPfeNomPreferencia="";this.OV8cPfeNomPreferencia="";this.AV9cPfeInd1="";this.ZV9cPfeInd1="";this.OV9cPfeInd1="";this.AV10cPfeInd2="";this.ZV10cPfeInd2="";this.OV10cPfeInd2="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z1160PfeTipEnti="";this.O1160PfeTipEnti="";this.Z1161PfeCodEnti="";this.O1161PfeCodEnti="";this.Z1165PfeInd1="";this.O1165PfeInd1="";this.Z1166PfeInd2="";this.O1166PfeInd2="";this.Z1162PfeNomPref="";this.O1162PfeNomPref="";this.AV11pPfeTipEntidade="";
this.AV12pPfeCodEntidade="";this.AV13pPfeNomPreferencia="";this.AV5LinkSelection="";this.A1160PfeTipEnti="";this.A1161PfeCodEnti="";this.A1165PfeInd1="";this.A1166PfeInd2="";this.A1162PfeNomPref="";this.ServerEvents=["e13kv2_client","e14kv1_client"];this.VarControlMap.AV11pPfeTipEntidade={id:"vPPFETIPENTIDADE",grid:0,type:"char"};this.VarControlMap.AV12pPfeCodEntidade={id:"vPPFECODENTIDADE",grid:0,type:"char"};this.VarControlMap.AV13pPfeNomPreferencia={id:"vPPFENOMPREFERENCIA",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.SetStandaloneVars()}gx04w0.prototype=new gx.GxObject;gx.setParentObj(new gx04w0());