/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:35:43.28
*/
gx.evt.autoSkip=!1;gx.define("himh138",!1,function(){this.ServerClass="himh138";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.e14bq1_client=function(){return this.clearMessages(),this.call("himh001",["AQUIS"]),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e11bq2_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e15bq2_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];var n=this.GXValidFnc;this.GXCtrlIds=[2,3,4,5,6,9,12,14,16,18,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,39,41,42,43,44,45,46,47,48];this.GXLastCtrlId=48;n[2]={id:2,fld:"",grid:0};n[3]={id:3,fld:"MAINTABLE",grid:0};n[4]={id:4,fld:"",grid:0};n[5]={id:5,fld:"",grid:0};n[6]={id:6,fld:"CABECALHOAPLICACAO",grid:0};n[9]={id:9,fld:"CABECALHOAPLICACAO_TABLE1",grid:0};n[12]={id:12,fld:"CABECALHOAPLICACAO_VOLTAR",grid:0,evt:"e14bq1_client"};n[14]={id:14,fld:"CABECALHOAPLICACAO_HELP",grid:0,evt:"e16bq1_client"};n[16]={id:16,fld:"CABECALHOAPLICACAO_REFRESH",grid:0,evt:"e17bq1_client"};n[18]={id:18,fld:"CABECALHOAPLICACAO_TEXTBLOCK1",format:0,grid:0};n[21]={id:21,fld:"",grid:0};n[22]={id:22,fld:"",grid:0};n[23]={id:23,fld:"",grid:0};n[24]={id:24,fld:"",grid:0};n[25]={id:25,fld:"BUTTON1",grid:0,evt:"e11bq2_client",std:"ENTER"};n[26]={id:26,fld:"",grid:0};n[27]={id:27,fld:"",grid:0};n[28]={id:28,fld:"TABLE1",grid:0};n[29]={id:29,fld:"",grid:0};n[30]={id:30,fld:"",grid:0};n[31]={id:31,fld:"TEXTBLOCK1",format:0,grid:0};n[32]={id:32,fld:"",grid:0};n[33]={id:33,fld:"TABLE2",grid:0};n[36]={id:36,fld:"",grid:0};n[37]={id:37,lvl:0,type:"date",len:10,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vDATINI",gxz:"ZV8DatIni",gxold:"OV8DatIni",gxvar:"AV8DatIni",dp:{f:0,st:!1,wn:!1,mf:!1,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV8DatIni=gx.fn.toDatetimeValue(n))},v2z:function(n){n!==undefined&&(gx.O.ZV8DatIni=gx.fn.toDatetimeValue(n))},v2c:function(){gx.fn.setControlValue("vDATINI",gx.O.AV8DatIni,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV8DatIni=gx.fn.toDatetimeValue(this.val()))},val:function(){return gx.fn.getControlValue("vDATINI")},nac:gx.falseFn};n[39]={id:39,fld:"TEXTBLOCK2",format:0,grid:0};n[41]={id:41,fld:"",grid:0};n[42]={id:42,lvl:0,type:"date",len:10,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vDATFIM",gxz:"ZV7DatFim",gxold:"OV7DatFim",gxvar:"AV7DatFim",dp:{f:0,st:!1,wn:!1,mf:!1,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV7DatFim=gx.fn.toDatetimeValue(n))},v2z:function(n){n!==undefined&&(gx.O.ZV7DatFim=gx.fn.toDatetimeValue(n))},v2c:function(){gx.fn.setControlValue("vDATFIM",gx.O.AV7DatFim,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV7DatFim=gx.fn.toDatetimeValue(this.val()))},val:function(){return gx.fn.getControlValue("vDATFIM")},nac:gx.falseFn};n[43]={id:43,fld:"",grid:0};n[44]={id:44,fld:"",grid:0};n[45]={id:45,fld:"",grid:0};n[46]={id:46,fld:"",grid:0};n[47]={id:47,lvl:0,type:"char",len:8,dec:0,sign:!1,pic:"@!",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vCCTCOD",gxz:"ZV5CctCod",gxold:"OV5CctCod",gxvar:"AV5CctCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV5CctCod=n)},v2z:function(n){n!==undefined&&(gx.O.ZV5CctCod=n)},v2c:function(){gx.fn.setControlValue("vCCTCOD",gx.O.AV5CctCod,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV5CctCod=this.val())},val:function(){return gx.fn.getControlValue("vCCTCOD")},nac:gx.falseFn};n[48]={id:48,fld:"PROMPT_CCTCOD",grid:0};this.AV8DatIni=gx.date.nullDate();this.ZV8DatIni=gx.date.nullDate();this.OV8DatIni=gx.date.nullDate();this.AV7DatFim=gx.date.nullDate();this.ZV7DatFim=gx.date.nullDate();this.OV7DatFim=gx.date.nullDate();this.AV5CctCod="";this.ZV5CctCod="";this.OV5CctCod="";this.AV8DatIni=gx.date.nullDate();this.AV7DatFim=gx.date.nullDate();this.AV5CctCod="";this.Events={e11bq2_client:["ENTER",!0],e15bq2_client:["CANCEL",!0],e14bq1_client:["'VOLTAR'",!1]};this.EvtParms.REFRESH=[[],[]];this.EvtParms.ENTER=[[{av:"AV7DatFim",fld:"vDATFIM",pic:""},{av:"AV5CctCod",fld:"vCCTCOD",pic:"@!"},{av:"AV8DatIni",fld:"vDATINI",pic:""},{av:"Gx_msg",fld:"vMSG",pic:""}],[{av:"Gx_msg",fld:"vMSG",pic:""},{av:"AV7DatFim",fld:"vDATFIM",pic:""},{av:"AV8DatIni",fld:"vDATINI",pic:""},{av:"AV5CctCod",fld:"vCCTCOD",pic:"@!"}]];this.EvtParms["'VOLTAR'"]=[[],[]];this.EvtParms.START=[[{av:"Gx_date",fld:"vTODAY",pic:""}],[{av:"AV8DatIni",fld:"vDATINI",pic:""},{av:"AV7DatFim",fld:"vDATFIM",pic:""}]];this.setPrompt("PROMPT_CCTCOD",[47]);this.EnterCtrl=["BUTTON1"];this.Initialize()});gx.setParentObj(new himh138)