gx.evt.autoSkip=false;function gx04i0(){this.ServerClass="Gx04I0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pTtdNroSequencia=gx.fn.getIntegerValue("vPTTDNROSEQUENCIA",".")};this.e13f92_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14f91_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,38];this.GXLastCtrlId=38;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx04i0",[],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(1068,33,"TTDNROSEQU","Nro Sequencia","","TtdNroSequ","int",0,"px",4,4,"right",null,[],1068,"TtdNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(1069,34,"TTDIND1","livre","Selecionar","TtdInd1","char",0,"px",1,1,"left",null,[],1069,"TtdInd1",true,0,false,false);
this.Grid1Container.addSingleLineEdit(1070,35,"STRCOD","Setor","","StrCod","int",0,"px",5,5,"right",null,[],1070,"StrCod",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:"TEXTBLOCKTTDNROSEQUENCIA",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:"vCTTDNROSEQUENCIA",gxz:"ZV6cTtdNroSequencia",gxold:"OV6cTtdNroSequencia",gxvar:"AV6cTtdNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cTtdNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cTtdNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCTTDNROSEQUENCIA",gx.O.AV6cTtdNroSequencia,0)},c2v:function(){gx.O.AV6cTtdNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCTTDNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKTTDIND1",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCTTDIND1",gxz:"ZV7cTtdInd1",gxold:"OV7cTtdInd1",gxvar:"AV7cTtdInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cTtdInd1=a
},v2z:function(a){gx.O.ZV7cTtdInd1=a},v2c:function(){gx.fn.setControlValue("vCTTDIND1",gx.O.AV7cTtdInd1,0)},c2v:function(){gx.O.AV7cTtdInd1=this.val()},val:function(){return gx.fn.getControlValue("vCTTDIND1")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKSTRCOD",format:0,grid:0};this.GXValidFnc[24]={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:"vCSTRCOD",gxz:"ZV8cStrCod",gxold:"OV8cStrCod",gxvar:"AV8cStrCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cStrCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cStrCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCSTRCOD",gx.O.AV8cStrCod,0)},c2v:function(){gx.O.AV8cStrCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCSTRCOD",".")},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:"TTDNROSEQU",gxz:"Z1068TtdNroSequ",gxold:"O1068TtdNroSequ",gxvar:"A1068TtdNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1068TtdNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z1068TtdNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("TTDNROSEQU",gx.fn.currentGridRowImpl(31),gx.O.A1068TtdNroSequ,0)},c2v:function(){gx.O.A1068TtdNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("TTDNROSEQU",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TTDIND1",gxz:"Z1069TtdInd1",gxold:"O1069TtdInd1",gxvar:"A1069TtdInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1069TtdInd1=a
},v2z:function(a){gx.O.Z1069TtdInd1=a},v2c:function(){gx.fn.setGridControlValue("TTDIND1",gx.fn.currentGridRowImpl(31),gx.O.A1069TtdInd1,0)},c2v:function(){gx.O.A1069TtdInd1=this.val()},val:function(){return gx.fn.getGridControlValue("TTDIND1",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={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:"STRCOD",gxz:"Z1070StrCod",gxold:"O1070StrCod",gxvar:"A1070StrCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1070StrCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z1070StrCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("STRCOD",gx.fn.currentGridRowImpl(31),gx.O.A1070StrCod,0)},c2v:function(){gx.O.A1070StrCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("STRCOD",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[38]={fld:"TABLE4",grid:0};this.AV6cTtdNroSequencia=0;this.ZV6cTtdNroSequencia=0;this.OV6cTtdNroSequencia=0;this.AV7cTtdInd1="";this.ZV7cTtdInd1="";this.OV7cTtdInd1="";
this.AV8cStrCod=0;this.ZV8cStrCod=0;this.OV8cStrCod=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z1068TtdNroSequ=0;this.O1068TtdNroSequ=0;this.Z1069TtdInd1="";this.O1069TtdInd1="";this.Z1070StrCod=0;this.O1070StrCod=0;this.AV9pTtdNroSequencia=0;this.AV5LinkSelection="";this.A1068TtdNroSequ=0;this.A1069TtdInd1="";this.A1070StrCod=0;this.ServerEvents=["e13f92_client","e14f91_client"];this.VarControlMap.AV9pTtdNroSequencia={id:"vPTTDNROSEQUENCIA",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.SetStandaloneVars()}gx04i0.prototype=new gx.GxObject;gx.setParentObj(new gx04i0());