gx.evt.autoSkip=false;function gx0464(){this.ServerClass="Gx0464";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pAssNro=gx.fn.getIntegerValue("vPASSNRO",".");this.AV9pAexNroExercicio=gx.fn.getControlValue("vPAEXNROEXERCICIO");this.AV10pAsfNroSequencia=gx.fn.getIntegerValue("vPASFNROSEQUENCIA",".");this.AV11pAsfTipFasciculo=gx.fn.getControlValue("vPASFTIPFASCICULO");this.AV12pDsfNroSequencia=gx.fn.getIntegerValue("vPDSFNROSEQUENCIA",".")
};this.e13cg2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14cg1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,23,27,28,29,30,31,32,33,36];this.GXLastCtrlId=36;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",26,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0464",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",27,0,"px",17,"px",null,"","");
this.Grid1Container.addSingleLineEdit(294,28,"DSFNROSEQU","Nro sequência","","DsfNroSequ","int",0,"px",3,3,"right",null,[],294,"DsfNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(293,29,"DSFDESFASC","Descrição","Selecionar","DsfDesFasc","char",0,"px",80,80,"left",null,[],293,"DsfDesFasc",true,0,false,false);this.Grid1Container.addSingleLineEdit(57,30,"ASSNRO","Assinatura","","AssNro","int",0,"px",5,5,"right",null,[],57,"AssNro",false,0,false,false);this.Grid1Container.addSingleLineEdit(11,31,"AEXNROEXER","Exercício","","AexNroExer","char",0,"px",4,4,"left",null,[],11,"AexNroExer",false,0,false,false);
this.Grid1Container.addSingleLineEdit(31,32,"ASFNROSEQU","Sequência","","AsfNroSequ","int",0,"px",3,3,"right",null,[],31,"AsfNroSequ",false,0,false,false);this.Grid1Container.addSingleLineEdit(34,33,"ASFTIPFASC","Tipo de fascículo","","AsfTipFasc","char",0,"px",2,2,"left",null,[],34,"AsfTipFasc",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:"TEXTBLOCKDSFNROSEQUENCIA",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCDSFNROSEQUENCIA",gxz:"ZV6cDsfNroSequencia",gxold:"OV6cDsfNroSequencia",gxvar:"AV6cDsfNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDsfNroSequencia=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cDsfNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDSFNROSEQUENCIA",gx.O.AV6cDsfNroSequencia,0)},c2v:function(){gx.O.AV6cDsfNroSequencia=this.val()
},val:function(){return gx.fn.getIntegerValue("vCDSFNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKDSFDESFASCICULO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:80,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDSFDESFASCICULO",gxz:"ZV7cDsfDesFasciculo",gxold:"OV7cDsfDesFasciculo",gxvar:"AV7cDsfDesFasciculo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cDsfDesFasciculo=a},v2z:function(a){gx.O.ZV7cDsfDesFasciculo=a
},v2c:function(){gx.fn.setControlValue("vCDSFDESFASCICULO",gx.O.AV7cDsfDesFasciculo,0)},c2v:function(){gx.O.AV7cDsfDesFasciculo=this.val()},val:function(){return gx.fn.getControlValue("vCDSFDESFASCICULO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"GROUP2",grid:0};this.GXValidFnc[23]={fld:"TABLE3",grid:0};this.GXValidFnc[27]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:26,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(26))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DSFNROSEQU",gxz:"Z294DsfNroSequ",gxold:"O294DsfNroSequ",gxvar:"A294DsfNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A294DsfNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z294DsfNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DSFNROSEQU",gx.fn.currentGridRowImpl(26),gx.O.A294DsfNroSequ,0)},c2v:function(){gx.O.A294DsfNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DSFNROSEQU",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:80,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DSFDESFASC",gxz:"Z293DsfDesFasc",gxold:"O293DsfDesFasc",gxvar:"A293DsfDesFasc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A293DsfDesFasc=a
},v2z:function(a){gx.O.Z293DsfDesFasc=a},v2c:function(){gx.fn.setGridControlValue("DSFDESFASC",gx.fn.currentGridRowImpl(26),gx.O.A293DsfDesFasc,0)},c2v:function(){gx.O.A293DsfDesFasc=this.val()},val:function(){return gx.fn.getGridControlValue("DSFDESFASC",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ASSNRO",gxz:"Z57AssNro",gxold:"O57AssNro",gxvar:"A57AssNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A57AssNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z57AssNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ASSNRO",gx.fn.currentGridRowImpl(26),gx.O.A57AssNro,0)},c2v:function(){gx.O.A57AssNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASSNRO",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"char",len:4,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"AEXNROEXER",gxz:"Z11AexNroExer",gxold:"O11AexNroExer",gxvar:"A11AexNroExer",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A11AexNroExer=a
},v2z:function(a){gx.O.Z11AexNroExer=a},v2c:function(){gx.fn.setGridControlValue("AEXNROEXER",gx.fn.currentGridRowImpl(26),gx.O.A11AexNroExer,0)},c2v:function(){gx.O.A11AexNroExer=this.val()},val:function(){return gx.fn.getGridControlValue("AEXNROEXER",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ASFNROSEQU",gxz:"Z31AsfNroSequ",gxold:"O31AsfNroSequ",gxvar:"A31AsfNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A31AsfNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z31AsfNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ASFNROSEQU",gx.fn.currentGridRowImpl(26),gx.O.A31AsfNroSequ,0)},c2v:function(){gx.O.A31AsfNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASFNROSEQU",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"char",len:2,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ASFTIPFASC",gxz:"Z34AsfTipFasc",gxold:"O34AsfTipFasc",gxvar:"A34AsfTipFasc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A34AsfTipFasc=a
},v2z:function(a){gx.O.Z34AsfTipFasc=a},v2c:function(){gx.fn.setGridControlValue("ASFTIPFASC",gx.fn.currentGridRowImpl(26),gx.O.A34AsfTipFasc,0)},c2v:function(){gx.O.A34AsfTipFasc=this.val()},val:function(){return gx.fn.getGridControlValue("ASFTIPFASC",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[36]={fld:"TABLE4",grid:0};this.AV6cDsfNroSequencia=0;this.ZV6cDsfNroSequencia=0;this.OV6cDsfNroSequencia=0;this.AV7cDsfDesFasciculo="";this.ZV7cDsfDesFasciculo="";this.OV7cDsfDesFasciculo="";
this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z294DsfNroSequ=0;this.O294DsfNroSequ=0;this.Z293DsfDesFasc="";this.O293DsfDesFasc="";this.Z57AssNro=0;this.O57AssNro=0;this.Z11AexNroExer="";this.O11AexNroExer="";this.Z31AsfNroSequ=0;this.O31AsfNroSequ=0;this.Z34AsfTipFasc="";this.O34AsfTipFasc="";this.AV8pAssNro=0;this.AV9pAexNroExercicio="";this.AV10pAsfNroSequencia=0;this.AV11pAsfTipFasciculo="";this.AV12pDsfNroSequencia=0;this.AV5LinkSelection="";this.A294DsfNroSequ=0;this.A293DsfDesFasc="";
this.A57AssNro=0;this.A11AexNroExer="";this.A31AsfNroSequ=0;this.A34AsfTipFasc="";this.ServerEvents=["e13cg2_client","e14cg1_client"];this.VarControlMap.AV8pAssNro={id:"vPASSNRO",grid:0,type:"int"};this.VarControlMap.AV9pAexNroExercicio={id:"vPAEXNROEXERCICIO",grid:0,type:"char"};this.VarControlMap.AV10pAsfNroSequencia={id:"vPASFNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV11pAsfTipFasciculo={id:"vPASFTIPFASCICULO",grid:0,type:"char"};this.VarControlMap.AV12pDsfNroSequencia={id:"vPDSFNROSEQUENCIA",grid:0,type:"int"};
this.VarControlMap.AV8pAssNro={id:"vPASSNRO",grid:0,type:"int"};this.VarControlMap.AV9pAexNroExercicio={id:"vPAEXNROEXERCICIO",grid:0,type:"char"};this.VarControlMap.AV10pAsfNroSequencia={id:"vPASFNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV11pAsfTipFasciculo={id:"vPASFTIPFASCICULO",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar({rfrVar:"AV8pAssNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV9pAexNroExercicio"});
this.Grid1Container.addRefreshingVar({rfrVar:"AV10pAsfNroSequencia"});this.Grid1Container.addRefreshingVar({rfrVar:"AV11pAsfTipFasciculo"});this.SetStandaloneVars()}gx0464.prototype=new gx.GxObject;gx.setParentObj(new gx0464());