gx.evt.autoSkip=false;function gx03z2(){this.ServerClass="Gx03Z2";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV11pAssNro=gx.fn.getIntegerValue("vPASSNRO",".");this.AV12pAexNroExercicio=gx.fn.getControlValue("vPAEXNROEXERCICIO");this.AV13pAsfNroSequencia=gx.fn.getIntegerValue("vPASFNROSEQUENCIA",".");this.AV14pAsfTipFasciculo=gx.fn.getControlValue("vPASFTIPFASCICULO")};this.e13ch2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e14ch1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,38,42,43,44,45,46,47,48,49,50,51,54];this.GXLastCtrlId=54;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",41,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx03z2",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",42,0,"px",17,"px",null,"","");
this.Grid1Container.addSingleLineEdit(31,43,"ASFNROSEQU","Sequência","","AsfNroSequ","int",0,"px",3,3,"right",null,[],31,"AsfNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(34,44,"ASFTIPFASC","Tipo de fascículo","","AsfTipFasc","char",0,"px",2,2,"left",null,[],34,"AsfTipFasc",true,0,false,false);this.Grid1Container.addSingleLineEdit(24,45,"ASFDATPREV","Data recebimento previsto","","AsfDatPrev","date",0,"px",10,10,"right",null,[],24,"AsfDatPrev",true,0,false,false);this.Grid1Container.addSingleLineEdit(23,46,"ASFDATEFET","Data recebimento efetivo","","AsfDatEfet","date",0,"px",10,10,"right",null,[],23,"AsfDatEfet",true,0,false,false);
this.Grid1Container.addSingleLineEdit(30,47,"ASFNROEDIC","Número edição","","AsfNroEdic","int",0,"px",5,5,"right",null,[],30,"AsfNroEdic",true,0,false,false);this.Grid1Container.addSingleLineEdit(33,48,"ASFNROVOLU","Número do volume","","AsfNroVolu","char",0,"px",5,5,"left",null,[],33,"AsfNroVolu",true,0,false,false);this.Grid1Container.addSingleLineEdit(28,49,"ASFNROANO","Ano edição","","AsfNroAno","int",0,"px",4,4,"right",null,[],28,"AsfNroAno",true,0,false,false);this.Grid1Container.addSingleLineEdit(57,50,"ASSNRO","Assinatura","","AssNro","int",0,"px",5,5,"right",null,[],57,"AssNro",false,0,false,false);
this.Grid1Container.addSingleLineEdit(11,51,"AEXNROEXER","Exercício","","AexNroExer","char",0,"px",4,4,"left",null,[],11,"AexNroExer",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:"TEXTBLOCKASFNROSEQUENCIA",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:"vCASFNROSEQUENCIA",gxz:"ZV6cAsfNroSequencia",gxold:"OV6cAsfNroSequencia",gxvar:"AV6cAsfNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cAsfNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cAsfNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCASFNROSEQUENCIA",gx.O.AV6cAsfNroSequencia,0)},c2v:function(){gx.O.AV6cAsfNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCASFNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKASFTIPFASCICULO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:2,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCASFTIPFASCICULO",gxz:"ZV7cAsfTipFasciculo",gxold:"OV7cAsfTipFasciculo",gxvar:"AV7cAsfTipFasciculo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cAsfTipFasciculo=a
},v2z:function(a){gx.O.ZV7cAsfTipFasciculo=a},v2c:function(){gx.fn.setControlValue("vCASFTIPFASCICULO",gx.O.AV7cAsfTipFasciculo,0)},c2v:function(){gx.O.AV7cAsfTipFasciculo=this.val()},val:function(){return gx.fn.getControlValue("vCASFTIPFASCICULO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKASFDATPREVRECEBIMENTO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCASFDATPREVRECEBIMENTO",gxz:"ZV8cAsfDatPrevRecebimento",gxold:"OV8cAsfDatPrevRecebimento",gxvar:"AV8cAsfDatPrevRecebimento",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cAsfDatPrevRecebimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV8cAsfDatPrevRecebimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCASFDATPREVRECEBIMENTO",gx.O.AV8cAsfDatPrevRecebimento,0)},c2v:function(){gx.O.AV8cAsfDatPrevRecebimento=this.val()},val:function(){return gx.fn.getControlValue("vCASFDATPREVRECEBIMENTO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKASFDATEFETRECEBIMENTO",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCASFDATEFETRECEBIMENTO",gxz:"ZV9cAsfDatEfetRecebimento",gxold:"OV9cAsfDatEfetRecebimento",gxvar:"AV9cAsfDatEfetRecebimento",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cAsfDatEfetRecebimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV9cAsfDatEfetRecebimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCASFDATEFETRECEBIMENTO",gx.O.AV9cAsfDatEfetRecebimento,0)},c2v:function(){gx.O.AV9cAsfDatEfetRecebimento=this.val()},val:function(){return gx.fn.getControlValue("vCASFDATEFETRECEBIMENTO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKASFNROEDICAO",format:0,grid:0};this.GXValidFnc[34]={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:"vCASFNROEDICAO",gxz:"ZV10cAsfNroEdicao",gxold:"OV10cAsfNroEdicao",gxvar:"AV10cAsfNroEdicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cAsfNroEdicao=gx.num.intval(a)
},v2z:function(a){gx.O.ZV10cAsfNroEdicao=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCASFNROEDICAO",gx.O.AV10cAsfNroEdicao,0)},c2v:function(){gx.O.AV10cAsfNroEdicao=this.val()},val:function(){return gx.fn.getIntegerValue("vCASFNROEDICAO",".")},nac:function(){return false}};this.GXValidFnc[37]={fld:"GROUP2",grid:0};this.GXValidFnc[38]={fld:"TABLE3",grid:0};this.GXValidFnc[42]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:41,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(41))},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:41,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(41),gx.O.A31AsfNroSequ,0)},c2v:function(){gx.O.A31AsfNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASFNROSEQU",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[44]={lvl:2,type:"char",len:2,dec:0,sign:false,ro:1,grid:41,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(41),gx.O.A34AsfTipFasc,0)},c2v:function(){gx.O.A34AsfTipFasc=this.val()},val:function(){return gx.fn.getGridControlValue("ASFTIPFASC",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[45]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ASFDATPREV",gxz:"Z24AsfDatPrev",gxold:"O24AsfDatPrev",gxvar:"A24AsfDatPrev",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A24AsfDatPrev=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z24AsfDatPrev=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("ASFDATPREV",gx.fn.currentGridRowImpl(41),gx.O.A24AsfDatPrev,0)},c2v:function(){gx.O.A24AsfDatPrev=this.val()},val:function(){return gx.fn.getGridControlValue("ASFDATPREV",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[46]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ASFDATEFET",gxz:"Z23AsfDatEfet",gxold:"O23AsfDatEfet",gxvar:"A23AsfDatEfet",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A23AsfDatEfet=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z23AsfDatEfet=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("ASFDATEFET",gx.fn.currentGridRowImpl(41),gx.O.A23AsfDatEfet,0)},c2v:function(){gx.O.A23AsfDatEfet=this.val()},val:function(){return gx.fn.getGridControlValue("ASFDATEFET",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[47]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ASFNROEDIC",gxz:"Z30AsfNroEdic",gxold:"O30AsfNroEdic",gxvar:"A30AsfNroEdic",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A30AsfNroEdic=gx.num.intval(a)
},v2z:function(a){gx.O.Z30AsfNroEdic=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ASFNROEDIC",gx.fn.currentGridRowImpl(41),gx.O.A30AsfNroEdic,0)},c2v:function(){gx.O.A30AsfNroEdic=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASFNROEDIC",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"char",len:5,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ASFNROVOLU",gxz:"Z33AsfNroVolu",gxold:"O33AsfNroVolu",gxvar:"A33AsfNroVolu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A33AsfNroVolu=a
},v2z:function(a){gx.O.Z33AsfNroVolu=a},v2c:function(){gx.fn.setGridControlValue("ASFNROVOLU",gx.fn.currentGridRowImpl(41),gx.O.A33AsfNroVolu,0)},c2v:function(){gx.O.A33AsfNroVolu=this.val()},val:function(){return gx.fn.getGridControlValue("ASFNROVOLU",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ASFNROANO",gxz:"Z28AsfNroAno",gxold:"O28AsfNroAno",gxvar:"A28AsfNroAno",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A28AsfNroAno=gx.num.intval(a)
},v2z:function(a){gx.O.Z28AsfNroAno=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ASFNROANO",gx.fn.currentGridRowImpl(41),gx.O.A28AsfNroAno,0)},c2v:function(){gx.O.A28AsfNroAno=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASFNROANO",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:41,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(41),gx.O.A57AssNro,0)},c2v:function(){gx.O.A57AssNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASSNRO",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[51]={lvl:2,type:"char",len:4,dec:0,sign:false,ro:1,grid:41,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(41),gx.O.A11AexNroExer,0)},c2v:function(){gx.O.A11AexNroExer=this.val()},val:function(){return gx.fn.getGridControlValue("AEXNROEXER",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[54]={fld:"TABLE4",grid:0};this.AV6cAsfNroSequencia=0;this.ZV6cAsfNroSequencia=0;this.OV6cAsfNroSequencia=0;this.AV7cAsfTipFasciculo="";this.ZV7cAsfTipFasciculo="";this.OV7cAsfTipFasciculo="";
this.AV8cAsfDatPrevRecebimento=gx.date.nullDate();this.ZV8cAsfDatPrevRecebimento=gx.date.nullDate();this.OV8cAsfDatPrevRecebimento=gx.date.nullDate();this.AV9cAsfDatEfetRecebimento=gx.date.nullDate();this.ZV9cAsfDatEfetRecebimento=gx.date.nullDate();this.OV9cAsfDatEfetRecebimento=gx.date.nullDate();this.AV10cAsfNroEdicao=0;this.ZV10cAsfNroEdicao=0;this.OV10cAsfNroEdicao=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z31AsfNroSequ=0;this.O31AsfNroSequ=0;this.Z34AsfTipFasc="";this.O34AsfTipFasc="";
this.Z24AsfDatPrev=gx.date.nullDate();this.O24AsfDatPrev=gx.date.nullDate();this.Z23AsfDatEfet=gx.date.nullDate();this.O23AsfDatEfet=gx.date.nullDate();this.Z30AsfNroEdic=0;this.O30AsfNroEdic=0;this.Z33AsfNroVolu="";this.O33AsfNroVolu="";this.Z28AsfNroAno=0;this.O28AsfNroAno=0;this.Z57AssNro=0;this.O57AssNro=0;this.Z11AexNroExer="";this.O11AexNroExer="";this.AV11pAssNro=0;this.AV12pAexNroExercicio="";this.AV13pAsfNroSequencia=0;this.AV14pAsfTipFasciculo="";this.AV5LinkSelection="";this.A31AsfNroSequ=0;
this.A34AsfTipFasc="";this.A24AsfDatPrev=gx.date.nullDate();this.A23AsfDatEfet=gx.date.nullDate();this.A30AsfNroEdic=0;this.A33AsfNroVolu="";this.A28AsfNroAno=0;this.A57AssNro=0;this.A11AexNroExer="";this.ServerEvents=["e13ch2_client","e14ch1_client"];this.VarControlMap.AV11pAssNro={id:"vPASSNRO",grid:0,type:"int"};this.VarControlMap.AV12pAexNroExercicio={id:"vPAEXNROEXERCICIO",grid:0,type:"char"};this.VarControlMap.AV13pAsfNroSequencia={id:"vPASFNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV14pAsfTipFasciculo={id:"vPASFTIPFASCICULO",grid:0,type:"char"};
this.VarControlMap.AV11pAssNro={id:"vPASSNRO",grid:0,type:"int"};this.VarControlMap.AV12pAexNroExercicio={id:"vPAEXNROEXERCICIO",grid:0,type:"char"};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.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);this.Grid1Container.addRefreshingVar({rfrVar:"AV11pAssNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV12pAexNroExercicio"});
this.SetStandaloneVars()}gx03z2.prototype=new gx.GxObject;gx.setParentObj(new gx03z2());