gx.evt.autoSkip=false;function himh194(){this.ServerClass="HImh194";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){};this.Validv_Ttdnrosequencia=function(){try{var a=gx.util.balloon.getNew("vTTDNROSEQUENCIA");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e12f72_client=function(){this.executeServerEvent("ENTER",true)};this.e14f72_client=function(){this.executeServerEvent("'NOVA'",false)
};this.e15f72_client=function(){this.executeServerEvent("'ELIMINAR'",false)};this.e16f72_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e18f72_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,5,18,24,27,29,31,34,36,39,41,45,47,51,53,57,59,63,65,68,70,72,74,78,80,83,85,87,89,93,95,99,101,105,107,111,113,117,119,121];this.GXLastCtrlId=121;this.GXValidFnc[2]={fld:"TABLE3",grid:0};this.GXValidFnc[5]={fld:"TABLE4",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK1",format:0,grid:0};
this.GXValidFnc[24]={fld:"TABLE1",grid:0};this.GXValidFnc[27]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Validv_Ttdnrosequencia,isvalid:null,rgrid:[],fld:"vTTDNROSEQUENCIA",gxz:"ZV25TtdNroSequencia",gxold:"OV25TtdNroSequencia",gxvar:"AV25TtdNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV25TtdNroSequencia=gx.num.intval(a)},v2z:function(a){gx.O.ZV25TtdNroSequencia=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("vTTDNROSEQUENCIA",gx.O.AV25TtdNroSequencia,0)},c2v:function(){gx.O.AV25TtdNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vTTDNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[31]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDCONFIRMAELIMINACAO",gxz:"ZV45ScrIndConfirmaEliminacao",gxold:"OV45ScrIndConfirmaEliminacao",gxvar:"AV45ScrIndConfirmaEliminacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV45ScrIndConfirmaEliminacao=a
},v2z:function(a){gx.O.ZV45ScrIndConfirmaEliminacao=a},v2c:function(){gx.fn.setCheckBoxValue("vSCRINDCONFIRMAELIMINACAO",gx.O.AV45ScrIndConfirmaEliminacao,"S")},c2v:function(){gx.O.AV45ScrIndConfirmaEliminacao=this.val()},val:function(){return gx.fn.getCheckBoxValue("vSCRINDCONFIRMAELIMINACAO","S","N")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[36]={fld:"TABLE2",grid:0};this.GXValidFnc[39]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSTRCOD",gxz:"ZV27StrCod",gxold:"OV27StrCod",gxvar:"AV27StrCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV27StrCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV27StrCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSTRCOD",gx.O.AV27StrCod,0)},c2v:function(){gx.O.AV27StrCod=this.val()},val:function(){return gx.fn.getIntegerValue("vSTRCOD",".")},nac:function(){return false}};this.GXValidFnc[41]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSTRNOM",gxz:"ZV29StrNom",gxold:"OV29StrNom",gxvar:"AV29StrNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV29StrNom=a
},v2z:function(a){gx.O.ZV29StrNom=a},v2c:function(){gx.fn.setControlValue("vSTRNOM",gx.O.AV29StrNom,0)},c2v:function(){gx.O.AV29StrNom=this.val()},val:function(){return gx.fn.getControlValue("vSTRNOM")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[47]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRCODCLASSIFICACAO",gxz:"ZV46ScrCodClassificacao",gxold:"OV46ScrCodClassificacao",gxvar:"AV46ScrCodClassificacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV46ScrCodClassificacao=a
},v2z:function(a){gx.O.ZV46ScrCodClassificacao=a},v2c:function(){gx.fn.setControlValue("vSCRCODCLASSIFICACAO",gx.O.AV46ScrCodClassificacao,0)},c2v:function(){gx.O.AV46ScrCodClassificacao=this.val()},val:function(){return gx.fn.getControlValue("vSCRCODCLASSIFICACAO")},nac:function(){return false}};this.GXValidFnc[51]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[53]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRTIPENTRADA",gxz:"ZV47ScrTipEntrada",gxold:"OV47ScrTipEntrada",gxvar:"AV47ScrTipEntrada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV47ScrTipEntrada=a
},v2z:function(a){gx.O.ZV47ScrTipEntrada=a},v2c:function(){gx.fn.setRadioValue("vSCRTIPENTRADA",gx.O.AV47ScrTipEntrada)},c2v:function(){gx.O.AV47ScrTipEntrada=this.val()},val:function(){return gx.fn.getControlValue("vSCRTIPENTRADA")},nac:function(){return false}};this.GXValidFnc[57]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[59]={lvl:0,type:"svchar",len:200,dec:100,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDSCESPECIEDOCUMENTAL",gxz:"ZV30ScrDscEspecieDocumental",gxold:"OV30ScrDscEspecieDocumental",gxvar:"AV30ScrDscEspecieDocumental",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV30ScrDscEspecieDocumental=a
},v2z:function(a){gx.O.ZV30ScrDscEspecieDocumental=a},v2c:function(){gx.fn.setControlValue("vSCRDSCESPECIEDOCUMENTAL",gx.O.AV30ScrDscEspecieDocumental,0)},c2v:function(){gx.O.AV30ScrDscEspecieDocumental=this.val()},val:function(){return gx.fn.getControlValue("vSCRDSCESPECIEDOCUMENTAL")},nac:function(){return false}};this.GXValidFnc[63]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[65]={fld:"TABLE5",grid:0};this.GXValidFnc[68]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[70]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRQTDANOSGUARDAAC",gxz:"ZV48ScrQtdAnosGuardaAC",gxold:"OV48ScrQtdAnosGuardaAC",gxvar:"AV48ScrQtdAnosGuardaAC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV48ScrQtdAnosGuardaAC=gx.num.intval(a)
},v2z:function(a){gx.O.ZV48ScrQtdAnosGuardaAC=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRQTDANOSGUARDAAC",gx.O.AV48ScrQtdAnosGuardaAC,0)},c2v:function(){gx.O.AV48ScrQtdAnosGuardaAC=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRQTDANOSGUARDAAC",".")},nac:function(){return false}};this.GXValidFnc[72]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[74]={lvl:0,type:"svchar",len:100,dec:100,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDSCTEMPOGUARDAAC",gxz:"ZV33ScrDscTempoGuardaAC",gxold:"OV33ScrDscTempoGuardaAC",gxvar:"AV33ScrDscTempoGuardaAC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV33ScrDscTempoGuardaAC=a
},v2z:function(a){gx.O.ZV33ScrDscTempoGuardaAC=a},v2c:function(){gx.fn.setControlValue("vSCRDSCTEMPOGUARDAAC",gx.O.AV33ScrDscTempoGuardaAC,0)},c2v:function(){gx.O.AV33ScrDscTempoGuardaAC=this.val()},val:function(){return gx.fn.getControlValue("vSCRDSCTEMPOGUARDAAC")},nac:function(){return false}};this.GXValidFnc[78]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[80]={fld:"TABLE6",grid:0};this.GXValidFnc[83]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[85]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRQTDANOSGUARDAAI",gxz:"ZV49ScrQtdAnosGuardaAI",gxold:"OV49ScrQtdAnosGuardaAI",gxvar:"AV49ScrQtdAnosGuardaAI",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV49ScrQtdAnosGuardaAI=gx.num.intval(a)
},v2z:function(a){gx.O.ZV49ScrQtdAnosGuardaAI=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRQTDANOSGUARDAAI",gx.O.AV49ScrQtdAnosGuardaAI,0)},c2v:function(){gx.O.AV49ScrQtdAnosGuardaAI=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRQTDANOSGUARDAAI",".")},nac:function(){return false}};this.GXValidFnc[87]={fld:"TEXTBLOCK15",format:0,grid:0};this.GXValidFnc[89]={lvl:0,type:"svchar",len:100,dec:100,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDSCTEMPOGUARDAAI",gxz:"ZV34ScrDscTempoGuardaAI",gxold:"OV34ScrDscTempoGuardaAI",gxvar:"AV34ScrDscTempoGuardaAI",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV34ScrDscTempoGuardaAI=a
},v2z:function(a){gx.O.ZV34ScrDscTempoGuardaAI=a},v2c:function(){gx.fn.setControlValue("vSCRDSCTEMPOGUARDAAI",gx.O.AV34ScrDscTempoGuardaAI,0)},c2v:function(){gx.O.AV34ScrDscTempoGuardaAI=this.val()},val:function(){return gx.fn.getControlValue("vSCRDSCTEMPOGUARDAAI")},nac:function(){return false}};this.GXValidFnc[93]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[95]={lvl:0,type:"svchar",len:200,dec:100,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDSCDESTINO",gxz:"ZV32ScrDscDestino",gxold:"OV32ScrDscDestino",gxvar:"AV32ScrDscDestino",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV32ScrDscDestino=a
},v2z:function(a){gx.O.ZV32ScrDscDestino=a},v2c:function(){gx.fn.setControlValue("vSCRDSCDESTINO",gx.O.AV32ScrDscDestino,0)},c2v:function(){gx.O.AV32ScrDscDestino=this.val()},val:function(){return gx.fn.getControlValue("vSCRDSCDESTINO")},nac:function(){return false}};this.GXValidFnc[99]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[101]={lvl:0,type:"svchar",len:200,dec:100,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDSCBASELEGAL",gxz:"ZV35ScrDscBaseLegal",gxold:"OV35ScrDscBaseLegal",gxvar:"AV35ScrDscBaseLegal",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV35ScrDscBaseLegal=a
},v2z:function(a){gx.O.ZV35ScrDscBaseLegal=a},v2c:function(){gx.fn.setControlValue("vSCRDSCBASELEGAL",gx.O.AV35ScrDscBaseLegal,0)},c2v:function(){gx.O.AV35ScrDscBaseLegal=this.val()},val:function(){return gx.fn.getControlValue("vSCRDSCBASELEGAL")},nac:function(){return false}};this.GXValidFnc[105]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[107]={lvl:0,type:"svchar",len:200,dec:100,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRDSCANOTACOES",gxz:"ZV36ScrDscAnotacoes",gxold:"OV36ScrDscAnotacoes",gxvar:"AV36ScrDscAnotacoes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV36ScrDscAnotacoes=a
},v2z:function(a){gx.O.ZV36ScrDscAnotacoes=a},v2c:function(){gx.fn.setControlValue("vSCRDSCANOTACOES",gx.O.AV36ScrDscAnotacoes,0)},c2v:function(){gx.O.AV36ScrDscAnotacoes=this.val()},val:function(){return gx.fn.getControlValue("vSCRDSCANOTACOES")},nac:function(){return false}};this.GXValidFnc[111]={fld:"TEXTBLOCK16",format:0,grid:0};this.GXValidFnc[113]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRNROENTRADAPAI",gxz:"ZV50ScrNroEntradaPai",gxold:"OV50ScrNroEntradaPai",gxvar:"AV50ScrNroEntradaPai",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV50ScrNroEntradaPai=gx.num.intval(a)
},v2z:function(a){gx.O.ZV50ScrNroEntradaPai=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRNROENTRADAPAI",gx.O.AV50ScrNroEntradaPai,0)},c2v:function(){gx.O.AV50ScrNroEntradaPai=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRNROENTRADAPAI",".")},nac:function(){return false}};this.GXValidFnc[117]={fld:"TEXTBLOCK17",format:0,grid:0};this.GXValidFnc[119]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDATIVA",gxz:"ZV51ScrIndAtiva",gxold:"OV51ScrIndAtiva",gxvar:"AV51ScrIndAtiva",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV51ScrIndAtiva=a
},v2z:function(a){gx.O.ZV51ScrIndAtiva=a},v2c:function(){gx.fn.setRadioValue("vSCRINDATIVA",gx.O.AV51ScrIndAtiva)},c2v:function(){gx.O.AV51ScrIndAtiva=this.val()},val:function(){return gx.fn.getControlValue("vSCRINDATIVA")},nac:function(){return false}};this.GXValidFnc[121]={fld:"PROMPT_STRCOD",grid:0};this.AV25TtdNroSequencia=0;this.ZV25TtdNroSequencia=0;this.OV25TtdNroSequencia=0;this.AV45ScrIndConfirmaEliminacao="";this.ZV45ScrIndConfirmaEliminacao="";this.OV45ScrIndConfirmaEliminacao="";this.AV27StrCod=0;
this.ZV27StrCod=0;this.OV27StrCod=0;this.AV29StrNom="";this.ZV29StrNom="";this.OV29StrNom="";this.AV46ScrCodClassificacao="";this.ZV46ScrCodClassificacao="";this.OV46ScrCodClassificacao="";this.AV47ScrTipEntrada="";this.ZV47ScrTipEntrada="";this.OV47ScrTipEntrada="";this.AV30ScrDscEspecieDocumental="";this.ZV30ScrDscEspecieDocumental="";this.OV30ScrDscEspecieDocumental="";this.AV48ScrQtdAnosGuardaAC=0;this.ZV48ScrQtdAnosGuardaAC=0;this.OV48ScrQtdAnosGuardaAC=0;this.AV33ScrDscTempoGuardaAC="";this.ZV33ScrDscTempoGuardaAC="";
this.OV33ScrDscTempoGuardaAC="";this.AV49ScrQtdAnosGuardaAI=0;this.ZV49ScrQtdAnosGuardaAI=0;this.OV49ScrQtdAnosGuardaAI=0;this.AV34ScrDscTempoGuardaAI="";this.ZV34ScrDscTempoGuardaAI="";this.OV34ScrDscTempoGuardaAI="";this.AV32ScrDscDestino="";this.ZV32ScrDscDestino="";this.OV32ScrDscDestino="";this.AV35ScrDscBaseLegal="";this.ZV35ScrDscBaseLegal="";this.OV35ScrDscBaseLegal="";this.AV36ScrDscAnotacoes="";this.ZV36ScrDscAnotacoes="";this.OV36ScrDscAnotacoes="";this.AV50ScrNroEntradaPai=0;this.ZV50ScrNroEntradaPai=0;
this.OV50ScrNroEntradaPai=0;this.AV51ScrIndAtiva="";this.ZV51ScrIndAtiva="";this.OV51ScrIndAtiva="";this.A1068TtdNroSequ=0;this.A1069TtdInd1="";this.ServerEvents=["e12f72_client","e14f72_client","e15f72_client","e16f72_client","e18f72_client"];this.setPrompt("PROMPT_STRCOD",[39]);this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh194.prototype=new gx.GxObject;gx.setParentObj(new himh194());