gx.evt.autoSkip=false;function gx03e1(){this.ServerClass="Gx03E1";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pLtrNro=gx.fn.getIntegerValue("vPLTRNRO",".");this.AV10pSltNro=gx.fn.getIntegerValue("vPSLTNRO",".")};this.e13c12_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14c11_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,28,32,33,34,35,36,39];
this.GXLastCtrlId=39;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx03e1",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",32,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(827,33,"SLTNRO","Setor do local de trabalho","","SltNro","int",0,"px",4,4,"right",null,[],827,"SltNro",true,0,false,false);
this.Grid1Container.addSingleLineEdit(826,34,"SLTNOM","Nome setor","Selecionar","SltNom","char",0,"px",40,40,"left",null,[],826,"SltNom",true,0,false,false);this.Grid1Container.addSingleLineEdit(825,35,"SLTIND1","Indicador 1","","SltInd1","char",0,"px",1,1,"left",null,[],825,"SltInd1",true,0,false,false);this.Grid1Container.addSingleLineEdit(525,36,"LTRNRO","Local de trabalho","","LtrNro","int",0,"px",5,5,"right",null,[],525,"LtrNro",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:"TEXTBLOCKSLTNRO",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:"vCSLTNRO",gxz:"ZV6cSltNro",gxold:"OV6cSltNro",gxvar:"AV6cSltNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cSltNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cSltNro=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("vCSLTNRO",gx.O.AV6cSltNro,0)},c2v:function(){gx.O.AV6cSltNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCSLTNRO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKSLTNOM",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCSLTNOM",gxz:"ZV7cSltNom",gxold:"OV7cSltNom",gxvar:"AV7cSltNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cSltNom=a
},v2z:function(a){gx.O.ZV7cSltNom=a},v2c:function(){gx.fn.setControlValue("vCSLTNOM",gx.O.AV7cSltNom,0)},c2v:function(){gx.O.AV7cSltNom=this.val()},val:function(){return gx.fn.getControlValue("vCSLTNOM")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKSLTIND1",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCSLTIND1",gxz:"ZV8cSltInd1",gxold:"OV8cSltInd1",gxvar:"AV8cSltInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cSltInd1=a
},v2z:function(a){gx.O.ZV8cSltInd1=a},v2c:function(){gx.fn.setControlValue("vCSLTIND1",gx.O.AV8cSltInd1,0)},c2v:function(){gx.O.AV8cSltInd1=this.val()},val:function(){return gx.fn.getControlValue("vCSLTIND1")},nac:function(){return false}};this.GXValidFnc[27]={fld:"GROUP2",grid:0};this.GXValidFnc[28]={fld:"TABLE3",grid:0};this.GXValidFnc[32]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:31,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(31))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SLTNRO",gxz:"Z827SltNro",gxold:"O827SltNro",gxvar:"A827SltNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A827SltNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z827SltNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SLTNRO",gx.fn.currentGridRowImpl(31),gx.O.A827SltNro,0)},c2v:function(){gx.O.A827SltNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLTNRO",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLTNOM",gxz:"Z826SltNom",gxold:"O826SltNom",gxvar:"A826SltNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A826SltNom=a
},v2z:function(a){gx.O.Z826SltNom=a},v2c:function(){gx.fn.setGridControlValue("SLTNOM",gx.fn.currentGridRowImpl(31),gx.O.A826SltNom,0)},c2v:function(){gx.O.A826SltNom=this.val()},val:function(){return gx.fn.getGridControlValue("SLTNOM",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLTIND1",gxz:"Z825SltInd1",gxold:"O825SltInd1",gxvar:"A825SltInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A825SltInd1=a
},v2z:function(a){gx.O.Z825SltInd1=a},v2c:function(){gx.fn.setGridControlValue("SLTIND1",gx.fn.currentGridRowImpl(31),gx.O.A825SltInd1,0)},c2v:function(){gx.O.A825SltInd1=this.val()},val:function(){return gx.fn.getGridControlValue("SLTIND1",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LTRNRO",gxz:"Z525LtrNro",gxold:"O525LtrNro",gxvar:"A525LtrNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A525LtrNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z525LtrNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("LTRNRO",gx.fn.currentGridRowImpl(31),gx.O.A525LtrNro,0)},c2v:function(){gx.O.A525LtrNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("LTRNRO",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TABLE4",grid:0};this.AV6cSltNro=0;this.ZV6cSltNro=0;this.OV6cSltNro=0;this.AV7cSltNom="";this.ZV7cSltNom="";this.OV7cSltNom="";this.AV8cSltInd1="";this.ZV8cSltInd1="";
this.OV8cSltInd1="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z827SltNro=0;this.O827SltNro=0;this.Z826SltNom="";this.O826SltNom="";this.Z825SltInd1="";this.O825SltInd1="";this.Z525LtrNro=0;this.O525LtrNro=0;this.AV9pLtrNro=0;this.AV10pSltNro=0;this.AV5LinkSelection="";this.A827SltNro=0;this.A826SltNom="";this.A825SltInd1="";this.A525LtrNro=0;this.ServerEvents=["e13c12_client","e14c11_client"];this.VarControlMap.AV9pLtrNro={id:"vPLTRNRO",grid:0,type:"int"};this.VarControlMap.AV10pSltNro={id:"vPSLTNRO",grid:0,type:"int"};
this.VarControlMap.AV9pLtrNro={id:"vPLTRNRO",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({rfrVar:"AV9pLtrNro"});this.SetStandaloneVars()}gx03e1.prototype=new gx.GxObject;gx.setParentObj(new gx03e1());