gx.evt.autoSkip=false;function gx00w0(){this.ServerClass="Gx00W0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV10pFunCod=gx.fn.getIntegerValue("vPFUNCOD",".")};this.e13aq2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14aq1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,33,37,38,39,40,41,44];
this.GXLastCtrlId=44;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",36,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx00w0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",37,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(450,38,"FUNCOD","Função","","FunCod","int",0,"px",4,4,"right",null,[],450,"FunCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(452,39,"FUNNOM","Descrição","Selecionar","FunNom","char",0,"px",30,30,"left",null,[],452,"FunNom",true,0,false,false);
this.Grid1Container.addSingleLineEdit(451,40,"FUNDESABRE","Abreviatura","","FunDesAbre","char",0,"px",12,12,"left",null,[],451,"FunDesAbre",true,0,false,false);this.Grid1Container.addComboBox(453,41,"FUNTIPRELA","Tipo de relacionamento","FunTipRela","char",null,0,true,false,0,"px");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:"TEXTBLOCKFUNCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCFUNCOD",gxz:"ZV6cFunCod",gxold:"OV6cFunCod",gxvar:"AV6cFunCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cFunCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cFunCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCFUNCOD",gx.O.AV6cFunCod,0)},c2v:function(){gx.O.AV6cFunCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCFUNCOD",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKFUNNOM",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCFUNNOM",gxz:"ZV7cFunNom",gxold:"OV7cFunNom",gxvar:"AV7cFunNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cFunNom=a
},v2z:function(a){gx.O.ZV7cFunNom=a},v2c:function(){gx.fn.setControlValue("vCFUNNOM",gx.O.AV7cFunNom,0)},c2v:function(){gx.O.AV7cFunNom=this.val()},val:function(){return gx.fn.getControlValue("vCFUNNOM")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKFUNDESABREVIATURA",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:12,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCFUNDESABREVIATURA",gxz:"ZV8cFunDesAbreviatura",gxold:"OV8cFunDesAbreviatura",gxvar:"AV8cFunDesAbreviatura",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cFunDesAbreviatura=a
},v2z:function(a){gx.O.ZV8cFunDesAbreviatura=a},v2c:function(){gx.fn.setControlValue("vCFUNDESABREVIATURA",gx.O.AV8cFunDesAbreviatura,0)},c2v:function(){gx.O.AV8cFunDesAbreviatura=this.val()},val:function(){return gx.fn.getControlValue("vCFUNDESABREVIATURA")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKFUNTIPRELACIONAMENTO",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:"vCFUNTIPRELACIONAMENTO",gxz:"ZV9cFunTipRelacionamento",gxold:"OV9cFunTipRelacionamento",gxvar:"AV9cFunTipRelacionamento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV9cFunTipRelacionamento=a
},v2z:function(a){gx.O.ZV9cFunTipRelacionamento=a},v2c:function(){gx.fn.setComboBoxValue("vCFUNTIPRELACIONAMENTO",gx.O.AV9cFunTipRelacionamento)},c2v:function(){gx.O.AV9cFunTipRelacionamento=this.val()},val:function(){return gx.fn.getControlValue("vCFUNTIPRELACIONAMENTO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"GROUP2",grid:0};this.GXValidFnc[33]={fld:"TABLE3",grid:0};this.GXValidFnc[37]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:36,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(36))},nac:function(){return false}};this.GXValidFnc[38]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"FUNCOD",gxz:"Z450FunCod",gxold:"O450FunCod",gxvar:"A450FunCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A450FunCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z450FunCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("FUNCOD",gx.fn.currentGridRowImpl(36),gx.O.A450FunCod,0)},c2v:function(){gx.O.A450FunCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("FUNCOD",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"FUNNOM",gxz:"Z452FunNom",gxold:"O452FunNom",gxvar:"A452FunNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A452FunNom=a
},v2z:function(a){gx.O.Z452FunNom=a},v2c:function(){gx.fn.setGridControlValue("FUNNOM",gx.fn.currentGridRowImpl(36),gx.O.A452FunNom,0)},c2v:function(){gx.O.A452FunNom=this.val()},val:function(){return gx.fn.getGridControlValue("FUNNOM",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"char",len:12,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"FUNDESABRE",gxz:"Z451FunDesAbre",gxold:"O451FunDesAbre",gxvar:"A451FunDesAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A451FunDesAbre=a
},v2z:function(a){gx.O.Z451FunDesAbre=a},v2c:function(){gx.fn.setGridControlValue("FUNDESABRE",gx.fn.currentGridRowImpl(36),gx.O.A451FunDesAbre,0)},c2v:function(){gx.O.A451FunDesAbre=this.val()},val:function(){return gx.fn.getGridControlValue("FUNDESABRE",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"FUNTIPRELA",gxz:"Z453FunTipRela",gxold:"O453FunTipRela",gxvar:"A453FunTipRela",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A453FunTipRela=a
},v2z:function(a){gx.O.Z453FunTipRela=a},v2c:function(){gx.fn.setGridComboBoxValue("FUNTIPRELA",gx.fn.currentGridRowImpl(36),gx.O.A453FunTipRela)},c2v:function(){gx.O.A453FunTipRela=this.val()},val:function(){return gx.fn.getGridControlValue("FUNTIPRELA",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[44]={fld:"TABLE4",grid:0};this.AV6cFunCod=0;this.ZV6cFunCod=0;this.OV6cFunCod=0;this.AV7cFunNom="";this.ZV7cFunNom="";this.OV7cFunNom="";this.AV8cFunDesAbreviatura="";this.ZV8cFunDesAbreviatura="";
this.OV8cFunDesAbreviatura="";this.AV9cFunTipRelacionamento="";this.ZV9cFunTipRelacionamento="";this.OV9cFunTipRelacionamento="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z450FunCod=0;this.O450FunCod=0;this.Z452FunNom="";this.O452FunNom="";this.Z451FunDesAbre="";this.O451FunDesAbre="";this.Z453FunTipRela="";this.O453FunTipRela="";this.AV10pFunCod=0;this.AV5LinkSelection="";this.A450FunCod=0;this.A452FunNom="";this.A451FunDesAbre="";this.A453FunTipRela="";this.ServerEvents=["e13aq2_client","e14aq1_client"];
this.VarControlMap.AV10pFunCod={id:"vPFUNCOD",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.SetStandaloneVars()}gx00w0.prototype=new gx.GxObject;gx.setParentObj(new gx00w0());