/*!   GeneXus Java 16_0_9-140712 on April 26, 2022 15:28:4.79
*/
gx.evt.autoSkip=!1;gx.define("baca007",!1,function(){this.ServerClass="baca007";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!1;this.skipOnEnter=!1;this.autoRefresh=!0;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.e11e42_client=function(){return this.executeServerEvent("'GRAVASESSAO'",!1,null,!1,!1)};this.e12e42_client=function(){return this.executeServerEvent("'LESESSAO'",!1,null,!1,!1)};this.e13e42_client=function(){return this.executeServerEvent("'ANALISATOMBO'",!1,null,!1,!1)};this.e15e42_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e16e42_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];var n=this.GXValidFnc;this.GXCtrlIds=[2,5,7,11,14,16];this.GXLastCtrlId=16;n[2]={id:2,fld:"TABLE1",grid:0};n[5]={id:5,fld:"BUTTON1",grid:0,evt:"e11e42_client"};n[7]={id:7,lvl:0,type:"int",len:3,dec:0,sign:!1,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV5UndCod",gxold:"OV5UndCod",gxvar:"AV5UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV5UndCod=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.ZV5UndCod=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV5UndCod,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV5UndCod=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:gx.falseFn};n[11]={id:11,fld:"BUTTON2",grid:0,evt:"e12e42_client"};n[14]={id:14,lvl:0,type:"int",len:9,dec:0,sign:!1,pic:"ZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vNROTOMBO",gxz:"ZV7NroTombo",gxold:"OV7NroTombo",gxvar:"AV7NroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV7NroTombo=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.ZV7NroTombo=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("vNROTOMBO",gx.O.AV7NroTombo,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV7NroTombo=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("vNROTOMBO",".")},nac:gx.falseFn};n[16]={id:16,fld:"BUTTON3",grid:0,evt:"e13e42_client"};this.AV5UndCod=0;this.ZV5UndCod=0;this.OV5UndCod=0;this.AV7NroTombo=0;this.ZV7NroTombo=0;this.OV7NroTombo=0;this.AV5UndCod=0;this.AV7NroTombo=0;this.Events={e11e42_client:["'GRAVASESSAO'",!0],e12e42_client:["'LESESSAO'",!0],e13e42_client:["'ANALISATOMBO'",!0],e15e42_client:["ENTER",!0],e16e42_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[],[]];this.EvtParms["'GRAVASESSAO'"]=[[{av:"AV5UndCod",fld:"vUNDCOD",pic:"ZZ9"}],[{av:"AV5UndCod",fld:"vUNDCOD",pic:"ZZ9"}]];this.EvtParms["'LESESSAO'"]=[[],[]];this.EvtParms["'ANALISATOMBO'"]=[[{av:"AV7NroTombo",fld:"vNROTOMBO",pic:"ZZZZZZZZ9"},{av:"AV8NroTombChr",fld:"vNROTOMBCHR",pic:""}],[{av:"AV8NroTombChr",fld:"vNROTOMBCHR",pic:""},{av:"AV7NroTombo",fld:"vNROTOMBO",pic:"ZZZZZZZZ9"}]];this.Initialize()});gx.setParentObj(new baca007)