/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:31:10.51
*/
gx.evt.autoSkip=!1;gx.define("himh181",!1,function(){this.ServerClass="himh181";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.AV5DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV13UndCod=gx.fn.getIntegerValue("vUNDCOD",".");this.AV6DoeNroSequencia=gx.fn.getIntegerValue("vDOENROSEQUENCIA",".");this.AV6DoeNroSequencia=gx.fn.getIntegerValue("vDOENROSEQUENCIA",".");this.AV13UndCod=gx.fn.getIntegerValue("vUNDCOD",".");this.AV5DocNro=gx.fn.getIntegerValue("vDOCNRO",".")};this.e15371_client=function(){return this.clearMessages(),this.call("timt059",[this.AV5DocNro,this.AV13UndCod,this.AV6DoeNroSequencia]),this.refreshOutputs([{av:"AV6DoeNroSequencia",fld:"vDOENROSEQUENCIA",pic:"ZZZ9"},{av:"AV13UndCod",fld:"vUNDCOD",pic:"ZZ9"},{av:"AV5DocNro",fld:"vDOCNRO",pic:"ZZZZZ9"}]),gx.$.Deferred().resolve()};this.e13372_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e16372_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];this.GXLastCtrlId=32;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:"e15371_client"};n[14]={id:14,fld:"CABECALHOAPLICACAO_HELP",grid:0,evt:"e17371_client"};n[16]={id:16,fld:"CABECALHOAPLICACAO_REFRESH",grid:0,evt:"e12372_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:"e13372_client",std:"ENTER"};n[26]={id:26,fld:"",grid:0};n[27]={id:27,fld:"",grid:0};n[28]={id:28,fld:"TABLE2",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,lvl:0,type:"svchar",len:20480,dec:400,sign:!1,ro:0,multiline:!0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vDSCCOLECAOCCN",gxz:"ZV7DscColecaoCCN",gxold:"OV7DscColecaoCCN",gxvar:"AV7DscColecaoCCN",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV7DscColecaoCCN=n)},v2z:function(n){n!==undefined&&(gx.O.ZV7DscColecaoCCN=n)},v2c:function(){gx.fn.setControlValue("vDSCCOLECAOCCN",gx.O.AV7DscColecaoCCN,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV7DscColecaoCCN=this.val())},val:function(){return gx.fn.getControlValue("vDSCCOLECAOCCN")},nac:gx.falseFn};this.AV7DscColecaoCCN="";this.AV5DocNro=0;this.AV13UndCod=0;this.AV6DoeNroSequencia=0;this.Events={e13372_client:["ENTER",!0],e16372_client:["CANCEL",!0],e15371_client:["'VOLTAR'",!1]};this.EvtParms.REFRESH=[[],[]];this.EvtParms.START=[[{av:"AV5DocNro",fld:"vDOCNRO",pic:"ZZZZZ9"},{av:"AV13UndCod",fld:"vUNDCOD",pic:"ZZ9"},{av:"AV6DoeNroSequencia",fld:"vDOENROSEQUENCIA",pic:"ZZZ9"},{av:"AV17CodCcn",fld:"vCODCCN",pic:""}],[{av:"AV17CodCcn",fld:"vCODCCN",pic:""},{av:"AV6DoeNroSequencia",fld:"vDOENROSEQUENCIA",pic:"ZZZ9"},{av:"AV13UndCod",fld:"vUNDCOD",pic:"ZZ9"},{av:"AV5DocNro",fld:"vDOCNRO",pic:"ZZZZZ9"},{av:"AV7DscColecaoCCN",fld:"vDSCCOLECAOCCN",pic:""}]];this.EvtParms["'VOLTAR'"]=[[{av:"AV5DocNro",fld:"vDOCNRO",pic:"ZZZZZ9"},{av:"AV13UndCod",fld:"vUNDCOD",pic:"ZZ9"},{av:"AV6DoeNroSequencia",fld:"vDOENROSEQUENCIA",pic:"ZZZ9"}],[{av:"AV6DoeNroSequencia",fld:"vDOENROSEQUENCIA",pic:"ZZZ9"},{av:"AV13UndCod",fld:"vUNDCOD",pic:"ZZ9"},{av:"AV5DocNro",fld:"vDOCNRO",pic:"ZZZZZ9"}]];this.EvtParms.ENTER=[[],[]];this.EnterCtrl=["BUTTON1"];this.setVCMap("AV5DocNro","vDOCNRO",0,"int",6,0);this.setVCMap("AV13UndCod","vUNDCOD",0,"int",3,0);this.setVCMap("AV6DoeNroSequencia","vDOENROSEQUENCIA",0,"int",4,0);this.setVCMap("AV6DoeNroSequencia","vDOENROSEQUENCIA",0,"int",4,0);this.setVCMap("AV13UndCod","vUNDCOD",0,"int",3,0);this.setVCMap("AV5DocNro","vDOCNRO",0,"int",6,0);this.Initialize()});gx.setParentObj(new himh181)