gx.evt.autoSkip=false;function himh071(){this.ServerClass="HImh071";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e115d2_client=function(){this.executeServerEvent("ENTER",true)};this.e135d2_client=function(){this.executeServerEvent("'GRAVAR NOVA DATA'",false)};this.e145d2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e165d2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,20,23,25,28,30,33,35,38,40,43,45,48,50,53,55,58,60,62,65,67,70,72,74,76,78,80,82,85,87,90,92,98,100,103,106,111,113,115,116,117,118];
this.GXLastCtrlId=118;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCODPENALIDADE",gxz:"ZV31UndCodPenalidade",gxold:"OV31UndCodPenalidade",gxvar:"AV31UndCodPenalidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV31UndCodPenalidade=gx.num.intval(a)
},v2z:function(a){gx.O.ZV31UndCodPenalidade=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCODPENALIDADE",gx.O.AV31UndCodPenalidade,0)},c2v:function(){gx.O.AV31UndCodPenalidade=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCODPENALIDADE",".")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCODBAIXA",gxz:"ZV39UndCodBaixa",gxold:"OV39UndCodBaixa",gxvar:"AV39UndCodBaixa",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV39UndCodBaixa=gx.num.intval(a)
},v2z:function(a){gx.O.ZV39UndCodBaixa=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCODBAIXA",gx.O.AV39UndCodBaixa,0)},c2v:function(){gx.O.AV39UndCodBaixa=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCODBAIXA",".")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBCOD",gxz:"ZV6UsbCod",gxold:"OV6UsbCod",gxvar:"AV6UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6UsbCod=a
},v2z:function(a){gx.O.ZV6UsbCod=a},v2c:function(){gx.fn.setControlValue("vUSBCOD",gx.O.AV6UsbCod,0)},c2v:function(){gx.O.AV6UsbCod=this.val()},val:function(){return gx.fn.getControlValue("vUSBCOD")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIUCOD",gxz:"ZV26TiuCod",gxold:"OV26TiuCod",gxvar:"AV26TiuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26TiuCod=a
},v2z:function(a){gx.O.ZV26TiuCod=a},v2c:function(){gx.fn.setControlValue("vTIUCOD",gx.O.AV26TiuCod,0)},c2v:function(){gx.O.AV26TiuCod=this.val()},val:function(){return gx.fn.getControlValue("vTIUCOD")},nac:function(){return false}};this.GXValidFnc[38]={fld:"TEXTBLOCK17",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDSOMENTEATIVOS",gxz:"ZV57ScrIndSomenteAtivos",gxold:"OV57ScrIndSomenteAtivos",gxvar:"AV57ScrIndSomenteAtivos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV57ScrIndSomenteAtivos=a
},v2z:function(a){gx.O.ZV57ScrIndSomenteAtivos=a},v2c:function(){gx.fn.setComboBoxValue("vSCRINDSOMENTEATIVOS",gx.O.AV57ScrIndSomenteAtivos)},c2v:function(){gx.O.AV57ScrIndSomenteAtivos=this.val()},val:function(){return gx.fn.getControlValue("vSCRINDSOMENTEATIVOS")},nac:function(){return false}};this.GXValidFnc[43]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[45]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPORDEM",gxz:"ZV27TipOrdem",gxold:"OV27TipOrdem",gxvar:"AV27TipOrdem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV27TipOrdem=a
},v2z:function(a){gx.O.ZV27TipOrdem=a},v2c:function(){gx.fn.setComboBoxValue("vTIPORDEM",gx.O.AV27TipOrdem)},c2v:function(){gx.O.AV27TipOrdem=this.val()},val:function(){return gx.fn.getControlValue("vTIPORDEM")},nac:function(){return false}};this.GXValidFnc[48]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[50]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vTIPRECEITA",gxz:"ZV30TipReceita",gxold:"OV30TipReceita",gxvar:"AV30TipReceita",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV30TipReceita=gx.num.intval(a)
},v2z:function(a){gx.O.ZV30TipReceita=gx.num.intval(a)},v2c:function(){gx.fn.setComboBoxValue("vTIPRECEITA",gx.O.AV30TipReceita)},c2v:function(){gx.O.AV30TipReceita=this.val()},val:function(){return gx.fn.getIntegerValue("vTIPRECEITA",".")},nac:function(){return false}};this.GXValidFnc[53]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[55]={fld:"TABLE3",grid:0};this.GXValidFnc[58]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATPERIODOINICIAL",gxz:"ZV48DatPeriodoInicial",gxold:"OV48DatPeriodoInicial",gxvar:"AV48DatPeriodoInicial",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV48DatPeriodoInicial=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV48DatPeriodoInicial=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATPERIODOINICIAL",gx.O.AV48DatPeriodoInicial,0)},c2v:function(){gx.O.AV48DatPeriodoInicial=this.val()},val:function(){return gx.fn.getControlValue("vDATPERIODOINICIAL")},nac:function(){return false}};this.GXValidFnc[60]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[62]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATPERIODOFINAL",gxz:"ZV49DatPeriodoFinal",gxold:"OV49DatPeriodoFinal",gxvar:"AV49DatPeriodoFinal",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV49DatPeriodoFinal=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV49DatPeriodoFinal=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATPERIODOFINAL",gx.O.AV49DatPeriodoFinal,0)},c2v:function(){gx.O.AV49DatPeriodoFinal=this.val()},val:function(){return gx.fn.getControlValue("vDATPERIODOFINAL")},nac:function(){return false}};this.GXValidFnc[65]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[67]={fld:"TABLE6",grid:0};this.GXValidFnc[70]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vHORINICIALTELA",gxz:"ZV50HorInicialTela",gxold:"OV50HorInicialTela",gxvar:"AV50HorInicialTela",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV50HorInicialTela=gx.num.intval(a)
},v2z:function(a){gx.O.ZV50HorInicialTela=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vHORINICIALTELA",gx.O.AV50HorInicialTela,0)},c2v:function(){gx.O.AV50HorInicialTela=this.val()},val:function(){return gx.fn.getIntegerValue("vHORINICIALTELA",".")},nac:function(){return false}};this.GXValidFnc[72]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[74]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vMININICIAL",gxz:"ZV54MinInicial",gxold:"OV54MinInicial",gxvar:"AV54MinInicial",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV54MinInicial=gx.num.intval(a)
},v2z:function(a){gx.O.ZV54MinInicial=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vMININICIAL",gx.O.AV54MinInicial,0)},c2v:function(){gx.O.AV54MinInicial=this.val()},val:function(){return gx.fn.getIntegerValue("vMININICIAL",".")},nac:function(){return false}};this.GXValidFnc[76]={fld:"TEXTBLOCK15",format:0,grid:0};this.GXValidFnc[78]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vHORFINALTELA",gxz:"ZV51HorFinalTela",gxold:"OV51HorFinalTela",gxvar:"AV51HorFinalTela",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV51HorFinalTela=gx.num.intval(a)
},v2z:function(a){gx.O.ZV51HorFinalTela=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vHORFINALTELA",gx.O.AV51HorFinalTela,0)},c2v:function(){gx.O.AV51HorFinalTela=this.val()},val:function(){return gx.fn.getIntegerValue("vHORFINALTELA",".")},nac:function(){return false}};this.GXValidFnc[80]={fld:"TEXTBLOCK16",format:0,grid:0};this.GXValidFnc[82]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vMINFINAL",gxz:"ZV55MinFinal",gxold:"OV55MinFinal",gxvar:"AV55MinFinal",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV55MinFinal=gx.num.intval(a)
},v2z:function(a){gx.O.ZV55MinFinal=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vMINFINAL",gx.O.AV55MinFinal,0)},c2v:function(){gx.O.AV55MinFinal=this.val()},val:function(){return gx.fn.getIntegerValue("vMINFINAL",".")},nac:function(){return false}};this.GXValidFnc[85]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[87]={lvl:0,type:"int",len:1,dec:0,sign:false,pic:"9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vTIPSELECAOREGS",gxz:"ZV7TipSelecaoRegs",gxold:"OV7TipSelecaoRegs",gxvar:"AV7TipSelecaoRegs",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV7TipSelecaoRegs=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7TipSelecaoRegs=gx.num.intval(a)},v2c:function(){gx.fn.setRadioValue("vTIPSELECAOREGS",gx.O.AV7TipSelecaoRegs)},c2v:function(){gx.O.AV7TipSelecaoRegs=this.val()},val:function(){return gx.fn.getIntegerValue("vTIPSELECAOREGS",".")},nac:function(){return false}};this.GXValidFnc[90]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[92]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRTIPSAIDA",gxz:"ZV58ScrTipSaida",gxold:"OV58ScrTipSaida",gxvar:"AV58ScrTipSaida",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV58ScrTipSaida=a
},v2z:function(a){gx.O.ZV58ScrTipSaida=a},v2c:function(){gx.fn.setRadioValue("vSCRTIPSAIDA",gx.O.AV58ScrTipSaida)},c2v:function(){gx.O.AV58ScrTipSaida=this.val()},val:function(){return gx.fn.getControlValue("vSCRTIPSAIDA")},nac:function(){return false}};this.GXValidFnc[98]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[100]={fld:"TABLE4",grid:0};this.GXValidFnc[103]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDFECHARPERIODO",gxz:"ZV42IndFecharPeriodo",gxold:"OV42IndFecharPeriodo",gxvar:"AV42IndFecharPeriodo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV42IndFecharPeriodo=a
},v2z:function(a){gx.O.ZV42IndFecharPeriodo=a},v2c:function(){gx.fn.setCheckBoxValue("vINDFECHARPERIODO",gx.O.AV42IndFecharPeriodo,"S")},c2v:function(){gx.O.AV42IndFecharPeriodo=this.val()},val:function(){return gx.fn.getCheckBoxValue("vINDFECHARPERIODO","S","N")},nac:function(){return false}};this.GXValidFnc[106]={fld:"TABLE5",grid:0};this.GXValidFnc[111]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCODFECHAR",gxz:"ZV44UndCodFechar",gxold:"OV44UndCodFechar",gxvar:"AV44UndCodFechar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV44UndCodFechar=gx.num.intval(a)
},v2z:function(a){gx.O.ZV44UndCodFechar=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCODFECHAR",gx.O.AV44UndCodFechar,0)},c2v:function(){gx.O.AV44UndCodFechar=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCODFECHAR",".")},nac:function(){return false}};this.GXValidFnc[113]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATFECHAMENTONOVA",gxz:"ZV43DatFechamentoNova",gxold:"OV43DatFechamentoNova",gxvar:"AV43DatFechamentoNova",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV43DatFechamentoNova=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV43DatFechamentoNova=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATFECHAMENTONOVA",gx.O.AV43DatFechamentoNova,0)},c2v:function(){gx.O.AV43DatFechamentoNova=this.val()},val:function(){return gx.fn.getControlValue("vDATFECHAMENTONOVA")},nac:function(){return false}};this.GXValidFnc[115]={fld:"PROMPT_UNDCODPENALIDADE",grid:0};this.GXValidFnc[116]={fld:"PROMPT_UNDCODBAIXA",grid:0};this.GXValidFnc[117]={fld:"PROMPT_USBCOD",grid:0};this.GXValidFnc[118]={fld:"PROMPT_TIUCOD",grid:0};
this.AV31UndCodPenalidade=0;this.ZV31UndCodPenalidade=0;this.OV31UndCodPenalidade=0;this.AV39UndCodBaixa=0;this.ZV39UndCodBaixa=0;this.OV39UndCodBaixa=0;this.AV6UsbCod="";this.ZV6UsbCod="";this.OV6UsbCod="";this.AV26TiuCod="";this.ZV26TiuCod="";this.OV26TiuCod="";this.AV57ScrIndSomenteAtivos="";this.ZV57ScrIndSomenteAtivos="";this.OV57ScrIndSomenteAtivos="";this.AV27TipOrdem="";this.ZV27TipOrdem="";this.OV27TipOrdem="";this.AV30TipReceita=0;this.ZV30TipReceita=0;this.OV30TipReceita=0;this.AV48DatPeriodoInicial=gx.date.nullDate();
this.ZV48DatPeriodoInicial=gx.date.nullDate();this.OV48DatPeriodoInicial=gx.date.nullDate();this.AV49DatPeriodoFinal=gx.date.nullDate();this.ZV49DatPeriodoFinal=gx.date.nullDate();this.OV49DatPeriodoFinal=gx.date.nullDate();this.AV50HorInicialTela=0;this.ZV50HorInicialTela=0;this.OV50HorInicialTela=0;this.AV54MinInicial=0;this.ZV54MinInicial=0;this.OV54MinInicial=0;this.AV51HorFinalTela=0;this.ZV51HorFinalTela=0;this.OV51HorFinalTela=0;this.AV55MinFinal=0;this.ZV55MinFinal=0;this.OV55MinFinal=0;this.AV7TipSelecaoRegs=0;
this.ZV7TipSelecaoRegs=0;this.OV7TipSelecaoRegs=0;this.AV58ScrTipSaida="";this.ZV58ScrTipSaida="";this.OV58ScrTipSaida="";this.AV42IndFecharPeriodo="";this.ZV42IndFecharPeriodo="";this.OV42IndFecharPeriodo="";this.AV44UndCodFechar=0;this.ZV44UndCodFechar=0;this.OV44UndCodFechar=0;this.AV43DatFechamentoNova=gx.date.nullDate();this.ZV43DatFechamentoNova=gx.date.nullDate();this.OV43DatFechamentoNova=gx.date.nullDate();this.ServerEvents=["e115d2_client","e135d2_client","e145d2_client","e165d2_client"];
this.setPrompt("PROMPT_UNDCODPENALIDADE",[20]);this.setPrompt("PROMPT_UNDCODBAIXA",[25]);this.setPrompt("PROMPT_USBCOD",[30]);this.setPrompt("PROMPT_TIUCOD",[35]);this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh071.prototype=new gx.GxObject;gx.setParentObj(new himh071());