gx.evt.autoSkip=false;function gx04n0(){this.ServerClass="Gx04N0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV11pSteNroSequencia=gx.fn.getIntegerValue("vPSTENROSEQUENCIA",".")};this.e11j42_client=function(){this.executeServerEvent("ENTER",true)};this.e14j41_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,10,13,16,18,21,22];this.GXLastCtrlId=22;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",20,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx04n0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit(1101,21,"STENROSEQU","Sequência","","SteNroSequ","int",0,"px",4,4,"right",null,[],1101,"SteNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(1102,22,"STEDSCSITU","Descrição","Selecionar","SteDscSitu","char",0,"px",25,25,"left",null,[],1102,"SteDscSitu",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[10]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[13]={fld:"TABLE2",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCKSTEDSCSITUACAO",format:0,grid:0};
this.GXValidFnc[18]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCSTEDSCSITUACAO",gxz:"ZV7cSteDscSituacao",gxold:"OV7cSteDscSituacao",gxvar:"AV7cSteDscSituacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cSteDscSituacao=a},v2z:function(a){gx.O.ZV7cSteDscSituacao=a},v2c:function(){gx.fn.setControlValue("vCSTEDSCSITUACAO",gx.O.AV7cSteDscSituacao,0)},c2v:function(){gx.O.AV7cSteDscSituacao=this.val()},val:function(){return gx.fn.getControlValue("vCSTEDSCSITUACAO")
},nac:function(){return false}};this.GXValidFnc[21]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:20,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"STENROSEQU",gxz:"Z1101SteNroSequ",gxold:"O1101SteNroSequ",gxvar:"A1101SteNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1101SteNroSequ=gx.num.intval(a)},v2z:function(a){gx.O.Z1101SteNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("STENROSEQU",gx.fn.currentGridRowImpl(20),gx.O.A1101SteNroSequ,0)
},c2v:function(){gx.O.A1101SteNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("STENROSEQU",gx.fn.currentGridRowImpl(20),".")},nac:function(){return false}};this.GXValidFnc[22]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:1,grid:20,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"STEDSCSITU",gxz:"Z1102SteDscSitu",gxold:"O1102SteDscSitu",gxvar:"A1102SteDscSitu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1102SteDscSitu=a},v2z:function(a){gx.O.Z1102SteDscSitu=a
},v2c:function(){gx.fn.setGridControlValue("STEDSCSITU",gx.fn.currentGridRowImpl(20),gx.O.A1102SteDscSitu,0)},c2v:function(){gx.O.A1102SteDscSitu=this.val()},val:function(){return gx.fn.getGridControlValue("STEDSCSITU",gx.fn.currentGridRowImpl(20))},nac:function(){return false}};this.AV7cSteDscSituacao="";this.ZV7cSteDscSituacao="";this.OV7cSteDscSituacao="";this.Z1101SteNroSequ=0;this.O1101SteNroSequ=0;this.Z1102SteDscSitu="";this.O1102SteDscSitu="";this.AV11pSteNroSequencia=0;this.A1103SteInd1="";
this.A1104SteInd2="";this.A1105SteCampo1L="";this.A1101SteNroSequ=0;this.A1102SteDscSitu="";this.ServerEvents=["e11j42_client","e14j41_client"];this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV11pSteNroSequencia={id:"vPSTENROSEQUENCIA",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[18]);this.SetStandaloneVars()}gx04n0.prototype=new gx.GxObject;gx.setParentObj(new gx04n0());