gx.evt.autoSkip=false;function hitw005(){this.ServerClass="HItw005";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e123m2_client=function(){this.executeServerEvent("ENTER",true)};this.e133m2_client=function(){this.executeServerEvent("'IMPORTAR'",false)};this.e143m2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e163m2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,21,23,26,28,31,33,36,38,41,43,45,48,50,53,57,60,62,65,67,70,72,75,77,80,82,84,85,86,87,88];
this.GXLastCtrlId=88;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:"TABLE1",grid:0};this.GXValidFnc[21]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[23]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCODPADR",gxz:"ZV9UndCodPadr",gxold:"OV9UndCodPadr",gxvar:"AV9UndCodPadr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9UndCodPadr=gx.num.intval(a)
},v2z:function(a){gx.O.ZV9UndCodPadr=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCODPADR",gx.O.AV9UndCodPadr,0)},c2v:function(){gx.O.AV9UndCodPadr=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCODPADR",".")},nac:function(){return false}};this.GXValidFnc[26]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[28]={lvl:0,type:"char",len:13,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCFGDOCTO",gxz:"ZV7CfgDocto",gxold:"OV7CfgDocto",gxvar:"AV7CfgDocto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV7CfgDocto=a
},v2z:function(a){gx.O.ZV7CfgDocto=a},v2c:function(){gx.fn.setRadioValue("vCFGDOCTO",gx.O.AV7CfgDocto)},c2v:function(){gx.O.AV7CfgDocto=this.val()},val:function(){return gx.fn.getControlValue("vCFGDOCTO")},nac:function(){return false}};this.GXValidFnc[31]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[33]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCONFIG",gxz:"ZV6Config",gxold:"OV6Config",gxvar:"AV6Config",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV6Config=a
},v2z:function(a){gx.O.ZV6Config=a},v2c:function(){gx.fn.setRadioValue("vCONFIG",gx.O.AV6Config)},c2v:function(){gx.O.AV6Config=this.val()},val:function(){return gx.fn.getControlValue("vCONFIG")},nac:function(){return false}};this.GXValidFnc[36]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[38]={fld:"TABLE5",grid:0};this.GXValidFnc[41]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIDCODPADRAO",gxz:"ZV24TidCodPadrao",gxold:"OV24TidCodPadrao",gxvar:"AV24TidCodPadrao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV24TidCodPadrao=a
},v2z:function(a){gx.O.ZV24TidCodPadrao=a},v2c:function(){gx.fn.setControlValue("vTIDCODPADRAO",gx.O.AV24TidCodPadrao,0)},c2v:function(){gx.O.AV24TidCodPadrao=this.val()},val:function(){return gx.fn.getControlValue("vTIDCODPADRAO")},nac:function(){return false}};this.GXValidFnc[43]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[45]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vVALENCODING",gxz:"ZV28ValEncoding",gxold:"OV28ValEncoding",gxvar:"AV28ValEncoding",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV28ValEncoding=a
},v2z:function(a){gx.O.ZV28ValEncoding=a},v2c:function(){gx.fn.setControlValue("vVALENCODING",gx.O.AV28ValEncoding,0)},c2v:function(){gx.O.AV28ValEncoding=this.val()},val:function(){return gx.fn.getControlValue("vVALENCODING")},nac:function(){return false}};this.GXValidFnc[48]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[50]={lvl:0,type:"char",len:150,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMARQUIVOCOMPATH",gxz:"ZV15NomArquivoComPath",gxold:"OV15NomArquivoComPath",gxvar:"AV15NomArquivoComPath",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15NomArquivoComPath=a
},v2z:function(a){gx.O.ZV15NomArquivoComPath=a},v2c:function(){gx.fn.setControlValue("vNOMARQUIVOCOMPATH",gx.O.AV15NomArquivoComPath,0)},c2v:function(){gx.O.AV15NomArquivoComPath=this.val()},val:function(){return gx.fn.getControlValue("vNOMARQUIVOCOMPATH")},nac:function(){return false}};this.GXValidFnc[53]={fld:"TABLE4",grid:0};this.GXValidFnc[57]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[60]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[62]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDFORCARCRIACAOEXEMPLAR",gxz:"ZV18IndForcarCriacaoExemplar",gxold:"OV18IndForcarCriacaoExemplar",gxvar:"AV18IndForcarCriacaoExemplar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV18IndForcarCriacaoExemplar=a
},v2z:function(a){gx.O.ZV18IndForcarCriacaoExemplar=a},v2c:function(){gx.fn.setRadioValue("vINDFORCARCRIACAOEXEMPLAR",gx.O.AV18IndForcarCriacaoExemplar)},c2v:function(){gx.O.AV18IndForcarCriacaoExemplar=this.val()},val:function(){return gx.fn.getControlValue("vINDFORCARCRIACAOEXEMPLAR")},nac:function(){return false}};this.GXValidFnc[65]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[67]={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:"ZV19LocCod",gxold:"OV19LocCod",gxvar:"AV19LocCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19LocCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV19LocCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLOCCOD",gx.O.AV19LocCod,0)},c2v:function(){gx.O.AV19LocCod=this.val()},val:function(){return gx.fn.getIntegerValue("vLOCCOD",".")},nac:function(){return false}};this.GXValidFnc[70]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[72]={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[75]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[77]={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:"ZV21CaeCod",gxold:"OV21CaeCod",gxvar:"AV21CaeCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21CaeCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV21CaeCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCAECOD",gx.O.AV21CaeCod,0)},c2v:function(){gx.O.AV21CaeCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCAECOD",".")},nac:function(){return false}};this.GXValidFnc[80]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[82]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPACAOTOMBOPARAEXEMPARAUTOMATICO",gxz:"ZV22TipAcaoTomboParaExemparAutomatico",gxold:"OV22TipAcaoTomboParaExemparAutomatico",gxvar:"AV22TipAcaoTomboParaExemparAutomatico",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV22TipAcaoTomboParaExemparAutomatico=a
},v2z:function(a){gx.O.ZV22TipAcaoTomboParaExemparAutomatico=a},v2c:function(){gx.fn.setRadioValue("vTIPACAOTOMBOPARAEXEMPARAUTOMATICO",gx.O.AV22TipAcaoTomboParaExemparAutomatico)},c2v:function(){gx.O.AV22TipAcaoTomboParaExemparAutomatico=this.val()},val:function(){return gx.fn.getControlValue("vTIPACAOTOMBOPARAEXEMPARAUTOMATICO")},nac:function(){return false}};this.GXValidFnc[84]={fld:"PROMPT_UNDCODPADR",grid:0};this.GXValidFnc[85]={fld:"PROMPT_TIDCODPADRAO",grid:0};this.GXValidFnc[86]={fld:"PROMPT_LOCCOD",grid:0};
this.GXValidFnc[87]={fld:"PROMPT_TPACOD",grid:0};this.GXValidFnc[88]={fld:"PROMPT_CAECOD",grid:0};this.AV9UndCodPadr=0;this.ZV9UndCodPadr=0;this.OV9UndCodPadr=0;this.AV7CfgDocto="";this.ZV7CfgDocto="";this.OV7CfgDocto="";this.AV6Config="";this.ZV6Config="";this.OV6Config="";this.AV24TidCodPadrao="";this.ZV24TidCodPadrao="";this.OV24TidCodPadrao="";this.AV28ValEncoding="";this.ZV28ValEncoding="";this.OV28ValEncoding="";this.AV15NomArquivoComPath="";this.ZV15NomArquivoComPath="";this.OV15NomArquivoComPath="";
this.AV18IndForcarCriacaoExemplar="";this.ZV18IndForcarCriacaoExemplar="";this.OV18IndForcarCriacaoExemplar="";this.AV19LocCod=0;this.ZV19LocCod=0;this.OV19LocCod=0;this.AV20TpaCod="";this.ZV20TpaCod="";this.OV20TpaCod="";this.AV21CaeCod=0;this.ZV21CaeCod=0;this.OV21CaeCod=0;this.AV22TipAcaoTomboParaExemparAutomatico="";this.ZV22TipAcaoTomboParaExemparAutomatico="";this.OV22TipAcaoTomboParaExemparAutomatico="";this.ServerEvents=["e123m2_client","e133m2_client","e143m2_client","e163m2_client"];this.setPrompt("PROMPT_UNDCODPADR",[23]);
this.setPrompt("PROMPT_TIDCODPADRAO",[41]);this.setPrompt("PROMPT_LOCCOD",[67]);this.setPrompt("PROMPT_TPACOD",[72]);this.setPrompt("PROMPT_CAECOD",[77]);this.SetStandaloneVars()}hitw005.prototype=new gx.GxObject;gx.setParentObj(new hitw005());