gx.evt.autoSkip=false;function gx03d0(){this.ServerClass="Gx03D0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV10pLtrNro=gx.fn.getIntegerValue("vPLTRNRO",".")};this.e13l52_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14l51_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,"gx03d0",[],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(525,38,"LTRNRO","Local de trabalho","","LtrNro","int",0,"px",5,5,"right",null,[],525,"LtrNro",true,0,false,false);
this.Grid1Container.addSingleLineEdit(524,39,"LTRNOM","Nome local de trabalho","Selecionar","LtrNom","char",0,"px",40,40,"left",null,[],524,"LtrNom",true,0,false,false);this.Grid1Container.addSingleLineEdit(523,40,"LTRIND1","Indicador 1","","LtrInd1","char",0,"px",1,1,"left",null,[],523,"LtrInd1",true,0,false,false);this.Grid1Container.addSingleLineEdit(522,41,"LTRCAMPO1L","CNPJ","","LtrCampo1L","char",0,"px",20,20,"left",null,[],522,"LtrCampo1L",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:"TEXTBLOCKLTRNRO",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:"vCLTRNRO",gxz:"ZV6cLtrNro",gxold:"OV6cLtrNro",gxvar:"AV6cLtrNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cLtrNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cLtrNro=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("vCLTRNRO",gx.O.AV6cLtrNro,0)},c2v:function(){gx.O.AV6cLtrNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCLTRNRO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKLTRNOM",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:"vCLTRNOM",gxz:"ZV7cLtrNom",gxold:"OV7cLtrNom",gxvar:"AV7cLtrNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cLtrNom=a
},v2z:function(a){gx.O.ZV7cLtrNom=a},v2c:function(){gx.fn.setControlValue("vCLTRNOM",gx.O.AV7cLtrNom,0)},c2v:function(){gx.O.AV7cLtrNom=this.val()},val:function(){return gx.fn.getControlValue("vCLTRNOM")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKLTRIND1",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:"vCLTRIND1",gxz:"ZV8cLtrInd1",gxold:"OV8cLtrInd1",gxvar:"AV8cLtrInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cLtrInd1=a
},v2z:function(a){gx.O.ZV8cLtrInd1=a},v2c:function(){gx.fn.setControlValue("vCLTRIND1",gx.O.AV8cLtrInd1,0)},c2v:function(){gx.O.AV8cLtrInd1=this.val()},val:function(){return gx.fn.getControlValue("vCLTRIND1")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKLTRCAMPO1LIVRE",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:"vCLTRCAMPO1LIVRE",gxz:"ZV9cLtrCampo1Livre",gxold:"OV9cLtrCampo1Livre",gxvar:"AV9cLtrCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cLtrCampo1Livre=a
},v2z:function(a){gx.O.ZV9cLtrCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCLTRCAMPO1LIVRE",gx.O.AV9cLtrCampo1Livre,0)},c2v:function(){gx.O.AV9cLtrCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCLTRCAMPO1LIVRE")},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:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:36,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(36),gx.O.A525LtrNro,0)},c2v:function(){gx.O.A525LtrNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("LTRNRO",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"LTRNOM",gxz:"Z524LtrNom",gxold:"O524LtrNom",gxvar:"A524LtrNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A524LtrNom=a
},v2z:function(a){gx.O.Z524LtrNom=a},v2c:function(){gx.fn.setGridControlValue("LTRNOM",gx.fn.currentGridRowImpl(36),gx.O.A524LtrNom,0)},c2v:function(){gx.O.A524LtrNom=this.val()},val:function(){return gx.fn.getGridControlValue("LTRNOM",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"LTRIND1",gxz:"Z523LtrInd1",gxold:"O523LtrInd1",gxvar:"A523LtrInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A523LtrInd1=a
},v2z:function(a){gx.O.Z523LtrInd1=a},v2c:function(){gx.fn.setGridControlValue("LTRIND1",gx.fn.currentGridRowImpl(36),gx.O.A523LtrInd1,0)},c2v:function(){gx.O.A523LtrInd1=this.val()},val:function(){return gx.fn.getGridControlValue("LTRIND1",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"LTRCAMPO1L",gxz:"Z522LtrCampo1L",gxold:"O522LtrCampo1L",gxvar:"A522LtrCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A522LtrCampo1L=a
},v2z:function(a){gx.O.Z522LtrCampo1L=a},v2c:function(){gx.fn.setGridControlValue("LTRCAMPO1L",gx.fn.currentGridRowImpl(36),gx.O.A522LtrCampo1L,0)},c2v:function(){gx.O.A522LtrCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("LTRCAMPO1L",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[44]={fld:"TABLE4",grid:0};this.AV6cLtrNro=0;this.ZV6cLtrNro=0;this.OV6cLtrNro=0;this.AV7cLtrNom="";this.ZV7cLtrNom="";this.OV7cLtrNom="";this.AV8cLtrInd1="";this.ZV8cLtrInd1="";
this.OV8cLtrInd1="";this.AV9cLtrCampo1Livre="";this.ZV9cLtrCampo1Livre="";this.OV9cLtrCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z525LtrNro=0;this.O525LtrNro=0;this.Z524LtrNom="";this.O524LtrNom="";this.Z523LtrInd1="";this.O523LtrInd1="";this.Z522LtrCampo1L="";this.O522LtrCampo1L="";this.AV10pLtrNro=0;this.AV5LinkSelection="";this.A525LtrNro=0;this.A524LtrNom="";this.A523LtrInd1="";this.A522LtrCampo1L="";this.ServerEvents=["e13l52_client","e14l51_client"];this.VarControlMap.AV10pLtrNro={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(this.GXValidFnc[29]);this.SetStandaloneVars()}gx03d0.prototype=new gx.GxObject;gx.setParentObj(new gx03d0());