gx.evt.autoSkip=false;function hitw004(){this.ServerClass="HItw004";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e15es2_client=function(){this.clearMessages();this.refreshOutputs([])};this.e12es2_client=function(){this.executeServerEvent("ENTER",true)};this.e13es2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e16es2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,22,25,27,30,32,35,37,39,43,46,48,51,53,56,58,61,63,66,68,71,73,75,76,77,78,79];
this.GXLastCtrlId=79;this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE3",grid:0};this.GXValidFnc[18]={fld:"TABLE4",grid:0};this.GXValidFnc[22]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[25]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[27]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vROLTIPODOCUMENTO",gxz:"ZV26RolTipoDocumento",gxold:"OV26RolTipoDocumento",gxvar:"AV26RolTipoDocumento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26RolTipoDocumento=a
},v2z:function(a){gx.O.ZV26RolTipoDocumento=a},v2c:function(){gx.fn.setControlValue("vROLTIPODOCUMENTO",gx.O.AV26RolTipoDocumento,0)},c2v:function(){gx.O.AV26RolTipoDocumento=this.val()},val:function(){return gx.fn.getControlValue("vROLTIPODOCUMENTO")},nac:function(){return false}};this.GXValidFnc[30]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[32]={fld:"TABLE5",grid:0};this.GXValidFnc[35]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vNRODOCUMENTOINICIAL",gxz:"ZV27NroDocumentoInicial",gxold:"OV27NroDocumentoInicial",gxvar:"AV27NroDocumentoInicial",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV27NroDocumentoInicial=gx.num.intval(a)
},v2z:function(a){gx.O.ZV27NroDocumentoInicial=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vNRODOCUMENTOINICIAL",gx.O.AV27NroDocumentoInicial,0)},c2v:function(){gx.O.AV27NroDocumentoInicial=this.val()},val:function(){return gx.fn.getIntegerValue("vNRODOCUMENTOINICIAL",".")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vNRODOCUMENTOFINAL",gxz:"ZV28NroDocumentoFinal",gxold:"OV28NroDocumentoFinal",gxvar:"AV28NroDocumentoFinal",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV28NroDocumentoFinal=gx.num.intval(a)
},v2z:function(a){gx.O.ZV28NroDocumentoFinal=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vNRODOCUMENTOFINAL",gx.O.AV28NroDocumentoFinal,0)},c2v:function(){gx.O.AV28NroDocumentoFinal=this.val()},val:function(){return gx.fn.getIntegerValue("vNRODOCUMENTOFINAL",".")},nac:function(){return false}};this.GXValidFnc[43]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[48]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV22UndCod",gxold:"OV22UndCod",gxvar:"AV22UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV22UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV22UndCod,0)},c2v:function(){gx.O.AV22UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[51]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[53]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vLOCCOD",gxz:"ZV13LocCod",gxold:"OV13LocCod",gxvar:"AV13LocCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13LocCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV13LocCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLOCCOD",gx.O.AV13LocCod,0)},c2v:function(){gx.O.AV13LocCod=this.val()},val:function(){return gx.fn.getIntegerValue("vLOCCOD",".")},nac:function(){return false}};this.GXValidFnc[56]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[58]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTPACOD",gxz:"ZV20TpaCod",gxold:"OV20TpaCod",gxvar:"AV20TpaCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20TpaCod=a
},v2z:function(a){gx.O.ZV20TpaCod=a},v2c:function(){gx.fn.setControlValue("vTPACOD",gx.O.AV20TpaCod,0)},c2v:function(){gx.O.AV20TpaCod=this.val()},val:function(){return gx.fn.getControlValue("vTPACOD")},nac:function(){return false}};this.GXValidFnc[61]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[63]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCAECOD",gxz:"ZV7CaeCod",gxold:"OV7CaeCod",gxvar:"AV7CaeCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7CaeCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7CaeCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCAECOD",gx.O.AV7CaeCod,0)},c2v:function(){gx.O.AV7CaeCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCAECOD",".")},nac:function(){return false}};this.GXValidFnc[66]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[68]={fld:"TABLE1",grid:0};this.GXValidFnc[71]={lvl:0,type:"char",len:10,dec:0,sign:false,isPwd:true,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vVALSENHA",gxz:"ZV37ValSenha",gxold:"OV37ValSenha",gxvar:"AV37ValSenha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV37ValSenha=a
},v2z:function(a){gx.O.ZV37ValSenha=a},v2c:function(){gx.fn.setControlValue("vVALSENHA",gx.O.AV37ValSenha,0)},c2v:function(){gx.O.AV37ValSenha=this.val()},val:function(){return gx.fn.getControlValue("vVALSENHA")},nac:function(){return false}};this.GXValidFnc[73]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[75]={fld:"PROMPT_ROLTIPODOCUMENTO",grid:0};this.GXValidFnc[76]={fld:"PROMPT_UNDCOD",grid:0};this.GXValidFnc[77]={fld:"PROMPT_LOCCOD",grid:0};this.GXValidFnc[78]={fld:"PROMPT_TPACOD",grid:0};
this.GXValidFnc[79]={fld:"PROMPT_CAECOD",grid:0};this.AV26RolTipoDocumento="";this.ZV26RolTipoDocumento="";this.OV26RolTipoDocumento="";this.AV27NroDocumentoInicial=0;this.ZV27NroDocumentoInicial=0;this.OV27NroDocumentoInicial=0;this.AV28NroDocumentoFinal=0;this.ZV28NroDocumentoFinal=0;this.OV28NroDocumentoFinal=0;this.AV22UndCod=0;this.ZV22UndCod=0;this.OV22UndCod=0;this.AV13LocCod=0;this.ZV13LocCod=0;this.OV13LocCod=0;this.AV20TpaCod="";this.ZV20TpaCod="";this.OV20TpaCod="";this.AV7CaeCod=0;this.ZV7CaeCod=0;
this.OV7CaeCod=0;this.AV37ValSenha="";this.ZV37ValSenha="";this.OV37ValSenha="";this.ServerEvents=["e12es2_client","e13es2_client","e16es2_client"];this.setPrompt("PROMPT_ROLTIPODOCUMENTO",[27]);this.setPrompt("PROMPT_UNDCOD",[48]);this.setPrompt("PROMPT_LOCCOD",[53]);this.setPrompt("PROMPT_TPACOD",[58]);this.setPrompt("PROMPT_CAECOD",[63]);this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}hitw004.prototype=new gx.GxObject;gx.setParentObj(new hitw004());