gx.evt.autoSkip=false;function habw190(){this.ServerClass="HAbw190";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Undcodde=function(){try{var a=gx.util.balloon.getNew("vUNDCODDE");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Loccodde=function(){try{var a=gx.util.balloon.getNew("vLOCCODDE");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true
};this.Validv_Undcodpara=function(){try{var a=gx.util.balloon.getNew("vUNDCODPARA");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Loccodpara=function(){try{var a=gx.util.balloon.getNew("vLOCCODPARA");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e152o1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh085",[]),[]);this.refreshOutputs([])};this.e112o2_client=function(){this.executeServerEvent("ENTER",true)
};this.e132o2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e162o2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,14,17,20,22,24,28,30,34,36,40,42,46,48,51,53,55,59,61,64,66,68,72,74,77,79,81,85,87,91,93,97,99,102,104,108,112,114,115,116,117,118,119];this.GXLastCtrlId=119;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[17]={fld:"TABLE2",grid:0};this.GXValidFnc[20]={fld:"TEXTBLOCK2",format:0,grid:0};
this.GXValidFnc[22]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Undcodde,isvalid:null,rgrid:[],fld:"vUNDCODDE",gxz:"ZV10UndCodDe",gxold:"OV10UndCodDe",gxvar:"AV10UndCodDe",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10UndCodDe=gx.num.intval(a)},v2z:function(a){gx.O.ZV10UndCodDe=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCODDE",gx.O.AV10UndCodDe,0)},c2v:function(){gx.O.AV10UndCodDe=this.val()
},val:function(){return gx.fn.getIntegerValue("vUNDCODDE",".")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Loccodde,isvalid:null,rgrid:[],fld:"vLOCCODDE",gxz:"ZV8LocCodDe",gxold:"OV8LocCodDe",gxvar:"AV8LocCodDe",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8LocCodDe=gx.num.intval(a)},v2z:function(a){gx.O.ZV8LocCodDe=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("vLOCCODDE",gx.O.AV8LocCodDe,0)},c2v:function(){gx.O.AV8LocCodDe=this.val()},val:function(){return gx.fn.getIntegerValue("vLOCCODDE",".")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDOECODPROPRIETARIO",gxz:"ZV11DoeCodProprietario",gxold:"OV11DoeCodProprietario",gxvar:"AV11DoeCodProprietario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11DoeCodProprietario=a
},v2z:function(a){gx.O.ZV11DoeCodProprietario=a},v2c:function(){gx.fn.setControlValue("vDOECODPROPRIETARIO",gx.O.AV11DoeCodProprietario,0)},c2v:function(){gx.O.AV11DoeCodProprietario=this.val()},val:function(){return gx.fn.getControlValue("vDOECODPROPRIETARIO")},nac:function(){return false}};this.GXValidFnc[40]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIDCOD",gxz:"ZV12TidCod",gxold:"OV12TidCod",gxvar:"AV12TidCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12TidCod=a
},v2z:function(a){gx.O.ZV12TidCod=a},v2c:function(){gx.fn.setControlValue("vTIDCOD",gx.O.AV12TidCod,0)},c2v:function(){gx.O.AV12TidCod=this.val()},val:function(){return gx.fn.getControlValue("vTIDCOD")},nac:function(){return false}};this.GXValidFnc[46]={fld:"TEXTBLOCK18",format:0,grid:0};this.GXValidFnc[48]={fld:"TABLE3",grid:0};this.GXValidFnc[51]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDOCCODASSUNTOINI",gxz:"ZV29DocCodAssuntoIni",gxold:"OV29DocCodAssuntoIni",gxvar:"AV29DocCodAssuntoIni",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV29DocCodAssuntoIni=a
},v2z:function(a){gx.O.ZV29DocCodAssuntoIni=a},v2c:function(){gx.fn.setControlValue("vDOCCODASSUNTOINI",gx.O.AV29DocCodAssuntoIni,0)},c2v:function(){gx.O.AV29DocCodAssuntoIni=this.val()},val:function(){return gx.fn.getControlValue("vDOCCODASSUNTOINI")},nac:function(){return false}};this.GXValidFnc[53]={fld:"TEXTBLOCK19",format:0,grid:0};this.GXValidFnc[55]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDOCCODASSUNTOFIM",gxz:"ZV30DocCodAssuntoFim",gxold:"OV30DocCodAssuntoFim",gxvar:"AV30DocCodAssuntoFim",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV30DocCodAssuntoFim=a
},v2z:function(a){gx.O.ZV30DocCodAssuntoFim=a},v2c:function(){gx.fn.setControlValue("vDOCCODASSUNTOFIM",gx.O.AV30DocCodAssuntoFim,0)},c2v:function(){gx.O.AV30DocCodAssuntoFim=this.val()},val:function(){return gx.fn.getControlValue("vDOCCODASSUNTOFIM")},nac:function(){return false}};this.GXValidFnc[59]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[61]={fld:"TABLE4",grid:0};this.GXValidFnc[64]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOCNROINI",gxz:"ZV13DocNroIni",gxold:"OV13DocNroIni",gxvar:"AV13DocNroIni",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13DocNroIni=gx.num.intval(a)
},v2z:function(a){gx.O.ZV13DocNroIni=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOCNROINI",gx.O.AV13DocNroIni,0)},c2v:function(){gx.O.AV13DocNroIni=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCNROINI",".")},nac:function(){return false}};this.GXValidFnc[66]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[68]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOCNROFIM",gxz:"ZV20DocNroFim",gxold:"OV20DocNroFim",gxvar:"AV20DocNroFim",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20DocNroFim=gx.num.intval(a)
},v2z:function(a){gx.O.ZV20DocNroFim=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOCNROFIM",gx.O.AV20DocNroFim,0)},c2v:function(){gx.O.AV20DocNroFim=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCNROFIM",".")},nac:function(){return false}};this.GXValidFnc[72]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[74]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOENROSEQUENCIA",gxz:"ZV14DoeNroSequencia",gxold:"OV14DoeNroSequencia",gxvar:"AV14DoeNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14DoeNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV14DoeNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOENROSEQUENCIA",gx.O.AV14DoeNroSequencia,0)},c2v:function(){gx.O.AV14DoeNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vDOENROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[77]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[79]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[81]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Undcodpara,isvalid:null,rgrid:[],fld:"vUNDCODPARA",gxz:"ZV15UndCodPara",gxold:"OV15UndCodPara",gxvar:"AV15UndCodPara",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15UndCodPara=gx.num.intval(a)
},v2z:function(a){gx.O.ZV15UndCodPara=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCODPARA",gx.O.AV15UndCodPara,0)},c2v:function(){gx.O.AV15UndCodPara=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCODPARA",".")},nac:function(){return false}};this.GXValidFnc[85]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[87]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Loccodpara,isvalid:null,rgrid:[],fld:"vLOCCODPARA",gxz:"ZV9LocCodPara",gxold:"OV9LocCodPara",gxvar:"AV9LocCodPara",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9LocCodPara=gx.num.intval(a)
},v2z:function(a){gx.O.ZV9LocCodPara=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLOCCODPARA",gx.O.AV9LocCodPara,0)},c2v:function(){gx.O.AV9LocCodPara=this.val()},val:function(){return gx.fn.getIntegerValue("vLOCCODPARA",".")},nac:function(){return false}};this.GXValidFnc[91]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[93]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOCNROPARA",gxz:"ZV26DocNroPara",gxold:"OV26DocNroPara",gxvar:"AV26DocNroPara",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26DocNroPara=gx.num.intval(a)
},v2z:function(a){gx.O.ZV26DocNroPara=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOCNROPARA",gx.O.AV26DocNroPara,0)},c2v:function(){gx.O.AV26DocNroPara=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCNROPARA",".")},nac:function(){return false}};this.GXValidFnc[97]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[99]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOENROSEQUENCIAPARA",gxz:"ZV27DoeNroSequenciaPara",gxold:"OV27DoeNroSequenciaPara",gxvar:"AV27DoeNroSequenciaPara",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV27DoeNroSequenciaPara=gx.num.intval(a)
},v2z:function(a){gx.O.ZV27DoeNroSequenciaPara=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOENROSEQUENCIAPARA",gx.O.AV27DoeNroSequenciaPara,0)},c2v:function(){gx.O.AV27DoeNroSequenciaPara=this.val()},val:function(){return gx.fn.getIntegerValue("vDOENROSEQUENCIAPARA",".")},nac:function(){return false}};this.GXValidFnc[102]={fld:"TEXTBLOCK15",format:0,grid:0};this.GXValidFnc[104]={fld:"TEXTBLOCK20",format:0,grid:0};this.GXValidFnc[108]={fld:"TEXTBLOCK16",format:0,grid:0};this.GXValidFnc[112]={fld:"TEXTBLOCK17",format:0,grid:0};
this.GXValidFnc[114]={fld:"PROMPT_UNDCODDE",grid:0};this.GXValidFnc[115]={fld:"PROMPT_LOCCODDE",grid:0};this.GXValidFnc[116]={fld:"PROMPT_DOECODPROPRIETARIO",grid:0};this.GXValidFnc[117]={fld:"PROMPT_TIDCOD",grid:0};this.GXValidFnc[118]={fld:"PROMPT_UNDCODPARA",grid:0};this.GXValidFnc[119]={fld:"PROMPT_LOCCODPARA",grid:0};this.AV10UndCodDe=0;this.ZV10UndCodDe=0;this.OV10UndCodDe=0;this.AV8LocCodDe=0;this.ZV8LocCodDe=0;this.OV8LocCodDe=0;this.AV11DoeCodProprietario="";this.ZV11DoeCodProprietario="";
this.OV11DoeCodProprietario="";this.AV12TidCod="";this.ZV12TidCod="";this.OV12TidCod="";this.AV29DocCodAssuntoIni="";this.ZV29DocCodAssuntoIni="";this.OV29DocCodAssuntoIni="";this.AV30DocCodAssuntoFim="";this.ZV30DocCodAssuntoFim="";this.OV30DocCodAssuntoFim="";this.AV13DocNroIni=0;this.ZV13DocNroIni=0;this.OV13DocNroIni=0;this.AV20DocNroFim=0;this.ZV20DocNroFim=0;this.OV20DocNroFim=0;this.AV14DoeNroSequencia=0;this.ZV14DoeNroSequencia=0;this.OV14DoeNroSequencia=0;this.AV15UndCodPara=0;this.ZV15UndCodPara=0;
this.OV15UndCodPara=0;this.AV9LocCodPara=0;this.ZV9LocCodPara=0;this.OV9LocCodPara=0;this.AV26DocNroPara=0;this.ZV26DocNroPara=0;this.OV26DocNroPara=0;this.AV27DoeNroSequenciaPara=0;this.ZV27DoeNroSequenciaPara=0;this.OV27DoeNroSequenciaPara=0;this.A509LocCod=0;this.A922UndCod=0;this.A512LocNom="";this.ServerEvents=["e112o2_client","e132o2_client","e162o2_client"];this.setPrompt("PROMPT_UNDCODDE",[24]);this.setPrompt("PROMPT_LOCCODDE",[30]);this.setPrompt("PROMPT_DOECODPROPRIETARIO",[36]);this.setPrompt("PROMPT_TIDCOD",[42]);
this.setPrompt("PROMPT_UNDCODPARA",[81]);this.setPrompt("PROMPT_LOCCODPARA",[87]);this.EnterCtrl=["BTCONFIRMA"];this.SetStandaloneVars()}habw190.prototype=new gx.GxObject;gx.setParentObj(new habw190());