gx.evt.autoSkip=false;function hztabelatemporalidade(){this.ServerClass="HZTabelaTemporalidade";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV17ParmNroTabela=gx.fn.getIntegerValue("vPARMNROTABELA",".")};this.Valid_Strnom=function(){try{if(gx.fn.currentGridRowImpl(24)===0){return true}var a=gx.util.balloon.getNew("STRNOM",gx.fn.currentGridRowImpl(24));this.AnyError=0}catch(b){}try{if(a==null){return true
}return a.show()}catch(b){}return true};this.e13fx2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14fx1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,10,13,16,18,21,25,26,27,28,29,30,31,32];this.GXLastCtrlId=32;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",24,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hztabelatemporalidade",[],false,1,false,true,15,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid1Container.addBitmap("&Grdlinkeditar","vGRDLINKEDITAR",25,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(1068,26,"TTDNROSEQU","Nro","","TtdNroSequ","int",0,"px",4,4,"right",null,[],1068,"TtdNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(1071,27,"STRNOM","Setor","","StrNom","char",0,"px",50,50,"left",null,[],1071,"StrNom",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdcodclassificacao",28,"vGRDCODCLASSIFICACAO","Classificação","","GrdCodClassificacao","char",0,"px",20,20,"left",null,[],"Grdcodclassificacao","GrdCodClassificacao",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grdtipentrada",29,"vGRDTIPENTRADA","Tipo","","GrdTipEntrada","char",0,"px",1,1,"left",null,[],"Grdtipentrada","GrdTipEntrada",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddscespeciedocumental",30,"vGRDDSCESPECIEDOCUMENTAL","Espécie documental","","GrdDscEspecieDocumental","char",0,"px",90,90,"left",null,[],"Grddscespeciedocumental","GrdDscEspecieDocumental",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddsctempoguardaac",31,"vGRDDSCTEMPOGUARDAAC","Tempo guarda AC","","GrdDscTempoGuardaAC","char",0,"px",50,50,"left",null,[],"Grddsctempoguardaac","GrdDscTempoGuardaAC",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grddsctempoguardaai",32,"vGRDDSCTEMPOGUARDAAI","Tempo guarda AI","","GrdDscTempoGuardaAI","char",0,"px",50,50,"left",null,[],"Grddsctempoguardaai","GrdDscTempoGuardaAI",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[10]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[13]={fld:"TABLE3",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[18]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMSETOR",gxz:"ZV10ScrNomSetor",gxold:"OV10ScrNomSetor",gxvar:"AV10ScrNomSetor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10ScrNomSetor=a
},v2z:function(a){gx.O.ZV10ScrNomSetor=a},v2c:function(){gx.fn.setControlValue("vSCRNOMSETOR",gx.O.AV10ScrNomSetor,0)},c2v:function(){gx.O.AV10ScrNomSetor=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMSETOR")},nac:function(){return false}};this.GXValidFnc[21]={fld:"TABLE1",grid:0};this.GXValidFnc[25]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDLINKEDITAR",gxz:"ZV8GrdLinkEditar",gxold:"OV8GrdLinkEditar",gxvar:"AV8GrdLinkEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8GrdLinkEditar=a
},v2z:function(a){gx.O.ZV8GrdLinkEditar=a},v2c:function(){},c2v:function(){gx.O.AV8GrdLinkEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDLINKEDITAR",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:24,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(24),gx.O.A1068TtdNroSequ,0)},c2v:function(){gx.O.A1068TtdNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("TTDNROSEQU",gx.fn.currentGridRowImpl(24),".")},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Grid1Container,fnc:this.Valid_Strnom,isvalid:null,fld:"STRNOM",gxz:"Z1071StrNom",gxold:"O1071StrNom",gxvar:"A1071StrNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1071StrNom=a
},v2z:function(a){gx.O.Z1071StrNom=a},v2c:function(){gx.fn.setGridControlValue("STRNOM",gx.fn.currentGridRowImpl(24),gx.O.A1071StrNom,0)},c2v:function(){gx.O.A1071StrNom=this.val()},val:function(){return gx.fn.getGridControlValue("STRNOM",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDCODCLASSIFICACAO",gxz:"ZV15GrdCodClassificacao",gxold:"OV15GrdCodClassificacao",gxvar:"AV15GrdCodClassificacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15GrdCodClassificacao=a
},v2z:function(a){gx.O.ZV15GrdCodClassificacao=a},v2c:function(){gx.fn.setGridControlValue("vGRDCODCLASSIFICACAO",gx.fn.currentGridRowImpl(24),gx.O.AV15GrdCodClassificacao,0)},c2v:function(){gx.O.AV15GrdCodClassificacao=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDCODCLASSIFICACAO",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDTIPENTRADA",gxz:"ZV16GrdTipEntrada",gxold:"OV16GrdTipEntrada",gxvar:"AV16GrdTipEntrada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16GrdTipEntrada=a
},v2z:function(a){gx.O.ZV16GrdTipEntrada=a},v2c:function(){gx.fn.setGridControlValue("vGRDTIPENTRADA",gx.fn.currentGridRowImpl(24),gx.O.AV16GrdTipEntrada,0)},c2v:function(){gx.O.AV16GrdTipEntrada=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDTIPENTRADA",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:90,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCESPECIEDOCUMENTAL",gxz:"ZV5GrdDscEspecieDocumental",gxold:"OV5GrdDscEspecieDocumental",gxvar:"AV5GrdDscEspecieDocumental",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5GrdDscEspecieDocumental=a
},v2z:function(a){gx.O.ZV5GrdDscEspecieDocumental=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCESPECIEDOCUMENTAL",gx.fn.currentGridRowImpl(24),gx.O.AV5GrdDscEspecieDocumental,0)},c2v:function(){gx.O.AV5GrdDscEspecieDocumental=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCESPECIEDOCUMENTAL",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCTEMPOGUARDAAC",gxz:"ZV6GrdDscTempoGuardaAC",gxold:"OV6GrdDscTempoGuardaAC",gxvar:"AV6GrdDscTempoGuardaAC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6GrdDscTempoGuardaAC=a
},v2z:function(a){gx.O.ZV6GrdDscTempoGuardaAC=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCTEMPOGUARDAAC",gx.fn.currentGridRowImpl(24),gx.O.AV6GrdDscTempoGuardaAC,0)},c2v:function(){gx.O.AV6GrdDscTempoGuardaAC=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCTEMPOGUARDAAC",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCTEMPOGUARDAAI",gxz:"ZV7GrdDscTempoGuardaAI",gxold:"OV7GrdDscTempoGuardaAI",gxvar:"AV7GrdDscTempoGuardaAI",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7GrdDscTempoGuardaAI=a
},v2z:function(a){gx.O.ZV7GrdDscTempoGuardaAI=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCTEMPOGUARDAAI",gx.fn.currentGridRowImpl(24),gx.O.AV7GrdDscTempoGuardaAI,0)},c2v:function(){gx.O.AV7GrdDscTempoGuardaAI=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCTEMPOGUARDAAI",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.AV10ScrNomSetor="";this.ZV10ScrNomSetor="";this.OV10ScrNomSetor="";this.ZV8GrdLinkEditar="";this.OV8GrdLinkEditar="";this.Z1068TtdNroSequ=0;
this.O1068TtdNroSequ=0;this.Z1071StrNom="";this.O1071StrNom="";this.ZV15GrdCodClassificacao="";this.OV15GrdCodClassificacao="";this.ZV16GrdTipEntrada="";this.OV16GrdTipEntrada="";this.ZV5GrdDscEspecieDocumental="";this.OV5GrdDscEspecieDocumental="";this.ZV6GrdDscTempoGuardaAC="";this.OV6GrdDscTempoGuardaAC="";this.ZV7GrdDscTempoGuardaAI="";this.OV7GrdDscTempoGuardaAI="";this.AV17ParmNroTabela=0;this.A1070StrCod=0;this.AV8GrdLinkEditar="";this.A1068TtdNroSequ=0;this.A1071StrNom="";this.AV15GrdCodClassificacao="";
this.AV16GrdTipEntrada="";this.AV5GrdDscEspecieDocumental="";this.AV6GrdDscTempoGuardaAC="";this.AV7GrdDscTempoGuardaAI="";this.ServerEvents=["e13fx2_client","e14fx1_client"];this.VarControlMap.AV17ParmNroTabela={id:"vPARMNROTABELA",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[18]);this.SetStandaloneVars()}hztabelatemporalidade.prototype=new gx.GxObject;gx.setParentObj(new hztabelatemporalidade());