gx.evt.autoSkip=false;function gx0110(){this.ServerClass="Gx0110";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV11pLpuCod=gx.fn.getIntegerValue("vPLPUCOD",".")};this.e139p2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e149p1_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,"gx0110",[],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(516,43,"LPUCOD","Local de publicação","","LpuCod","int",0,"px",5,5,"right",null,[],516,"LpuCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(518,44,"LPUNOM","Nome","Selecionar","LpuNom","char",0,"px",30,30,"left",null,[],518,"LpuNom",true,0,false,false);
this.Grid1Container.addSingleLineEdit(519,45,"LPUNOMSEMA","Nome sem acento","","LpuNomSemA","char",0,"px",30,30,"left",null,[],519,"LpuNomSemA",true,0,false,false);this.Grid1Container.addSingleLineEdit(517,46,"LPUDESCOMP","Complemento","","LpuDesComp","char",0,"px",20,20,"left",null,[],517,"LpuDesComp",true,0,false,false);this.Grid1Container.addSingleLineEdit(515,47,"LPUCAMPO1L","Campo livre","","LpuCampo1L","char",0,"px",20,20,"left",null,[],515,"LpuCampo1L",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:"TEXTBLOCKLPUCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCLPUCOD",gxz:"ZV6cLpuCod",gxold:"OV6cLpuCod",gxvar:"AV6cLpuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cLpuCod=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cLpuCod=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("vCLPUCOD",gx.O.AV6cLpuCod,0)},c2v:function(){gx.O.AV6cLpuCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCLPUCOD",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKLPUNOM",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:"vCLPUNOM",gxz:"ZV7cLpuNom",gxold:"OV7cLpuNom",gxvar:"AV7cLpuNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cLpuNom=a
},v2z:function(a){gx.O.ZV7cLpuNom=a},v2c:function(){gx.fn.setControlValue("vCLPUNOM",gx.O.AV7cLpuNom,0)},c2v:function(){gx.O.AV7cLpuNom=this.val()},val:function(){return gx.fn.getControlValue("vCLPUNOM")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKLPUNOMSEMACENTO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCLPUNOMSEMACENTO",gxz:"ZV8cLpuNomSemAcento",gxold:"OV8cLpuNomSemAcento",gxvar:"AV8cLpuNomSemAcento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cLpuNomSemAcento=a
},v2z:function(a){gx.O.ZV8cLpuNomSemAcento=a},v2c:function(){gx.fn.setControlValue("vCLPUNOMSEMACENTO",gx.O.AV8cLpuNomSemAcento,0)},c2v:function(){gx.O.AV8cLpuNomSemAcento=this.val()},val:function(){return gx.fn.getControlValue("vCLPUNOMSEMACENTO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKLPUDESCOMPLEMENTO",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCLPUDESCOMPLEMENTO",gxz:"ZV9cLpuDesComplemento",gxold:"OV9cLpuDesComplemento",gxvar:"AV9cLpuDesComplemento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cLpuDesComplemento=a
},v2z:function(a){gx.O.ZV9cLpuDesComplemento=a},v2c:function(){gx.fn.setControlValue("vCLPUDESCOMPLEMENTO",gx.O.AV9cLpuDesComplemento,0)},c2v:function(){gx.O.AV9cLpuDesComplemento=this.val()},val:function(){return gx.fn.getControlValue("vCLPUDESCOMPLEMENTO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKLPUCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCLPUCAMPO1LIVRE",gxz:"ZV10cLpuCampo1Livre",gxold:"OV10cLpuCampo1Livre",gxvar:"AV10cLpuCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cLpuCampo1Livre=a
},v2z:function(a){gx.O.ZV10cLpuCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCLPUCAMPO1LIVRE",gx.O.AV10cLpuCampo1Livre,0)},c2v:function(){gx.O.AV10cLpuCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCLPUCAMPO1LIVRE")},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:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LPUCOD",gxz:"Z516LpuCod",gxold:"O516LpuCod",gxvar:"A516LpuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A516LpuCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z516LpuCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("LPUCOD",gx.fn.currentGridRowImpl(41),gx.O.A516LpuCod,0)},c2v:function(){gx.O.A516LpuCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("LPUCOD",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[44]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"LPUNOM",gxz:"Z518LpuNom",gxold:"O518LpuNom",gxvar:"A518LpuNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A518LpuNom=a
},v2z:function(a){gx.O.Z518LpuNom=a},v2c:function(){gx.fn.setGridControlValue("LPUNOM",gx.fn.currentGridRowImpl(41),gx.O.A518LpuNom,0)},c2v:function(){gx.O.A518LpuNom=this.val()},val:function(){return gx.fn.getGridControlValue("LPUNOM",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[45]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"LPUNOMSEMA",gxz:"Z519LpuNomSemA",gxold:"O519LpuNomSemA",gxvar:"A519LpuNomSemA",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A519LpuNomSemA=a
},v2z:function(a){gx.O.Z519LpuNomSemA=a},v2c:function(){gx.fn.setGridControlValue("LPUNOMSEMA",gx.fn.currentGridRowImpl(41),gx.O.A519LpuNomSemA,0)},c2v:function(){gx.O.A519LpuNomSemA=this.val()},val:function(){return gx.fn.getGridControlValue("LPUNOMSEMA",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[46]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"LPUDESCOMP",gxz:"Z517LpuDesComp",gxold:"O517LpuDesComp",gxvar:"A517LpuDesComp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A517LpuDesComp=a
},v2z:function(a){gx.O.Z517LpuDesComp=a},v2c:function(){gx.fn.setGridControlValue("LPUDESCOMP",gx.fn.currentGridRowImpl(41),gx.O.A517LpuDesComp,0)},c2v:function(){gx.O.A517LpuDesComp=this.val()},val:function(){return gx.fn.getGridControlValue("LPUDESCOMP",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[47]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"LPUCAMPO1L",gxz:"Z515LpuCampo1L",gxold:"O515LpuCampo1L",gxvar:"A515LpuCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A515LpuCampo1L=a
},v2z:function(a){gx.O.Z515LpuCampo1L=a},v2c:function(){gx.fn.setGridControlValue("LPUCAMPO1L",gx.fn.currentGridRowImpl(41),gx.O.A515LpuCampo1L,0)},c2v:function(){gx.O.A515LpuCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("LPUCAMPO1L",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[50]={fld:"TABLE4",grid:0};this.AV6cLpuCod=0;this.ZV6cLpuCod=0;this.OV6cLpuCod=0;this.AV7cLpuNom="";this.ZV7cLpuNom="";this.OV7cLpuNom="";this.AV8cLpuNomSemAcento="";this.ZV8cLpuNomSemAcento="";
this.OV8cLpuNomSemAcento="";this.AV9cLpuDesComplemento="";this.ZV9cLpuDesComplemento="";this.OV9cLpuDesComplemento="";this.AV10cLpuCampo1Livre="";this.ZV10cLpuCampo1Livre="";this.OV10cLpuCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z516LpuCod=0;this.O516LpuCod=0;this.Z518LpuNom="";this.O518LpuNom="";this.Z519LpuNomSemA="";this.O519LpuNomSemA="";this.Z517LpuDesComp="";this.O517LpuDesComp="";this.Z515LpuCampo1L="";this.O515LpuCampo1L="";this.AV11pLpuCod=0;this.AV5LinkSelection="";
this.A516LpuCod=0;this.A518LpuNom="";this.A519LpuNomSemA="";this.A517LpuDesComp="";this.A515LpuCampo1L="";this.ServerEvents=["e139p2_client","e149p1_client"];this.VarControlMap.AV11pLpuCod={id:"vPLPUCOD",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.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);
this.SetStandaloneVars()}gx0110.prototype=new gx.GxObject;gx.setParentObj(new gx0110());