gx.evt.autoSkip=false;function gx02t0(){this.ServerClass="Gx02T0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV7pRegNroSeq=gx.fn.getIntegerValue("vPREGNROSEQ",".")};this.e13bx2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14bx1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,18,22,23,26];this.GXLastCtrlId=26;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",21,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx02t0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",22,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(720,23,"REGNROSEQ","Registro","Selecionar","RegNroSeq","int",0,"px",7,7,"right",null,[],720,"RegNroSeq",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:"TEXTBLOCKREGNROSEQ",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCREGNROSEQ",gxz:"ZV6cRegNroSeq",gxold:"OV6cRegNroSeq",gxvar:"AV6cRegNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cRegNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cRegNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCREGNROSEQ",gx.O.AV6cRegNroSeq,0)},c2v:function(){gx.O.AV6cRegNroSeq=this.val()},val:function(){return gx.fn.getIntegerValue("vCREGNROSEQ",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"GROUP2",grid:0};this.GXValidFnc[18]={fld:"TABLE3",grid:0};this.GXValidFnc[22]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:21,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(21))},nac:function(){return false}};this.GXValidFnc[23]={lvl:2,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"REGNROSEQ",gxz:"Z720RegNroSeq",gxold:"O720RegNroSeq",gxvar:"A720RegNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A720RegNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z720RegNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("REGNROSEQ",gx.fn.currentGridRowImpl(21),gx.O.A720RegNroSeq,0)},c2v:function(){gx.O.A720RegNroSeq=this.val()},val:function(){return gx.fn.getGridIntegerValue("REGNROSEQ",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[26]={fld:"TABLE4",grid:0};this.AV6cRegNroSeq=0;this.ZV6cRegNroSeq=0;this.OV6cRegNroSeq=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z720RegNroSeq=0;
this.O720RegNroSeq=0;this.AV7pRegNroSeq=0;this.AV5LinkSelection="";this.A720RegNroSeq=0;this.ServerEvents=["e13bx2_client","e14bx1_client"];this.VarControlMap.AV7pRegNroSeq={id:"vPREGNROSEQ",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.SetStandaloneVars()}gx02t0.prototype=new gx.GxObject;gx.setParentObj(new gx02t0());