/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:33:16.45
*/
gx.evt.autoSkip=!1;gx.define("himh237",!1,function(){this.ServerClass="himh237";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.e156g1_client=function(){return this.clearMessages(),this.call("himh180",[this.AV9ParmNroDocumento]),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e126g2_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e136g2_client=function(){return this.executeServerEvent("'GET'",!1,null,!1,!1)};this.e166g2_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,34,35,36,37,38];this.GXLastCtrlId=38;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:"e156g1_client"};n[14]={id:14,fld:"CABECALHOAPLICACAO_HELP",grid:0,evt:"e176g1_client"};n[16]={id:16,fld:"CABECALHOAPLICACAO_REFRESH",grid:0,evt:"e136g2_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:"e126g2_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:"",grid:0};n[32]={id:32,fld:"",grid:0};n[33]={id:33,lvl:0,type:"int",len:6,dec:0,sign:!1,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vPARMNRODOCUMENTO",gxz:"ZV9ParmNroDocumento",gxold:"OV9ParmNroDocumento",gxvar:"AV9ParmNroDocumento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV9ParmNroDocumento=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.ZV9ParmNroDocumento=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("vPARMNRODOCUMENTO",gx.O.AV9ParmNroDocumento,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV9ParmNroDocumento=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("vPARMNRODOCUMENTO",".")},nac:gx.falseFn};n[34]={id:34,fld:"",grid:0};n[35]={id:35,fld:"",grid:0};n[36]={id:36,fld:"",grid:0};n[37]={id:37,fld:"",grid:0};n[38]={id:38,lvl:0,type:"char",len:150,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vSCRDSCMENSAGEM",gxz:"ZV10ScrDscMensagem",gxold:"OV10ScrDscMensagem",gxvar:"AV10ScrDscMensagem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV10ScrDscMensagem=n)},v2z:function(n){n!==undefined&&(gx.O.ZV10ScrDscMensagem=n)},v2c:function(){gx.fn.setControlValue("vSCRDSCMENSAGEM",gx.O.AV10ScrDscMensagem,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV10ScrDscMensagem=this.val())},val:function(){return gx.fn.getControlValue("vSCRDSCMENSAGEM")},nac:gx.falseFn};this.AV9ParmNroDocumento=0;this.ZV9ParmNroDocumento=0;this.OV9ParmNroDocumento=0;this.AV10ScrDscMensagem="";this.ZV10ScrDscMensagem="";this.OV10ScrDscMensagem="";this.AV9ParmNroDocumento=0;this.AV10ScrDscMensagem="";this.Events={e126g2_client:["ENTER",!0],e136g2_client:["'GET'",!0],e166g2_client:["CANCEL",!0],e156g1_client:["'VOLTAR'",!1]};this.EvtParms.REFRESH=[[{av:"AV9ParmNroDocumento",fld:"vPARMNRODOCUMENTO",pic:"ZZZZZ9"}],[]];this.EvtParms.START=[[{av:"AV9ParmNroDocumento",fld:"vPARMNRODOCUMENTO",pic:"ZZZZZ9"}],[{av:"AV10ScrDscMensagem",fld:"vSCRDSCMENSAGEM",pic:""}]];this.EvtParms.ENTER=[[{av:"AV9ParmNroDocumento",fld:"vPARMNRODOCUMENTO",pic:"ZZZZZ9"},{av:"AV10ScrDscMensagem",fld:"vSCRDSCMENSAGEM",pic:""},{av:"Gx_msg",fld:"vMSG",pic:""}],[]];this.EvtParms["'GET'"]=[[{av:"AV9ParmNroDocumento",fld:"vPARMNRODOCUMENTO",pic:"ZZZZZ9"}],[{av:"AV10ScrDscMensagem",fld:"vSCRDSCMENSAGEM",pic:""}]];this.EvtParms["'VOLTAR'"]=[[{av:"AV9ParmNroDocumento",fld:"vPARMNRODOCUMENTO",pic:"ZZZZZ9"}],[]];this.EnterCtrl=["BUTTON1"];this.Initialize()});gx.setParentObj(new himh237)