gx.evt.autoSkip=false;function hzlocpb(){this.ServerClass="HZLocPb";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A519LpuNomSemA=gx.fn.getControlValue("LPUNOMSEMA");this.AV17LpuCod=gx.fn.getIntegerValue("vLPUCOD",".")};this.e130d2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e120d2_client=function(){this.executeServerEvent("'NOVO'",false)};this.e160d2_client=function(){this.executeServerEvent("'VOLTAR'",true,arguments[0])
};this.e170d1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,21,24,26,30,31,34];this.GXLastCtrlId=34;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",29,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hzlocpb",[],false,1,true,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Subfile1Container.addSingleLineEdit(518,30,"LPUNOM","Nome","","LpuNom","char",0,"px",30,30,"left",null,[],518,"LpuNom",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(516,31,"LPUCOD","Código","","LpuCod","int",0,"px",5,5,"right",null,[],516,"LpuCod",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE3",grid:0};this.GXValidFnc[21]={fld:"TABLE2",grid:0};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vLPUNOM",gxz:"ZV19LpuNom",gxold:"OV19LpuNom",gxvar:"AV19LpuNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19LpuNom=a
},v2z:function(a){gx.O.ZV19LpuNom=a},v2c:function(){gx.fn.setControlValue("vLPUNOM",gx.O.AV19LpuNom,0)},c2v:function(){gx.O.AV19LpuNom=this.val()},val:function(){return gx.fn.getControlValue("vLPUNOM")},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:29,gxgrid:this.Subfile1Container,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(29),gx.O.A518LpuNom,0)},c2v:function(){gx.O.A518LpuNom=this.val()},val:function(){return gx.fn.getGridControlValue("LPUNOM",gx.fn.currentGridRowImpl(29))},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:29,gxgrid:this.Subfile1Container,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(29),gx.O.A516LpuCod,0)},c2v:function(){gx.O.A516LpuCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("LPUCOD",gx.fn.currentGridRowImpl(29),".")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TBQUANTIDADE",format:0,grid:0};this.AV19LpuNom="";this.ZV19LpuNom="";this.OV19LpuNom="";this.Z518LpuNom="";this.O518LpuNom="";this.Z516LpuCod=0;this.O516LpuCod=0;
this.AV17LpuCod=0;this.A519LpuNomSemA="";this.A518LpuNom="";this.A516LpuCod=0;this.ServerEvents=["e130d2_client","e120d2_client","e160d2_client","e170d1_client"];this.VarControlMap.A519LpuNomSemA={id:"LPUNOMSEMA",grid:0,type:"char"};this.VarControlMap.AV17LpuCod={id:"vLPUCOD",grid:0,type:"int"};this.VarControlMap.AV26CharDB={id:"vCHARDB",grid:0,type:"char"};this.VarControlMap.AV32QtdLocais={id:"vQTDLOCAIS",grid:0,type:"int"};this.Subfile1Container.addRefreshingVar(this.GXValidFnc[26]);this.Subfile1Container.addRefreshingVar({rfrVar:"AV26CharDB"});
this.Subfile1Container.addRefreshingVar({rfrVar:"AV32QtdLocais"});this.SetStandaloneVars()}hzlocpb.prototype=new gx.GxObject;gx.setParentObj(new hzlocpb());