/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:23:29.82
*/
gx.evt.autoSkip=!1;gx.define("tabt076",!1,function(){this.ServerClass="tabt076";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.Valid_Usucod=function(){return this.validSrvEvt("valid_Usucod",0).then(function(n){return n}.closure(this))};this.Valid_Loccod=function(){return this.validSrvEvt("valid_Loccod",0).then(function(n){return n}.closure(this))};this.e121n56_client=function(){return this.clearMessages(),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e131n56_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e141n56_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];var n=this.GXValidFnc;this.GXCtrlIds=[2,5,6,7,8,9,16,20,21,24,25,26,27,28,29];this.GXLastCtrlId=29;n[2]={id:2,fld:"TABLE1",grid:0};n[5]={id:5,fld:"BTN_FIRST",grid:0,evt:"e151n56_client",std:"FIRST"};n[6]={id:6,fld:"BTN_PREVIOUS",grid:0,evt:"e161n56_client",std:"PREVIOUS"};n[7]={id:7,fld:"BTN_NEXT",grid:0,evt:"e171n56_client",std:"NEXT"};n[8]={id:8,fld:"BTN_LAST",grid:0,evt:"e181n56_client",std:"LAST"};n[9]={id:9,fld:"BTN_SELECT",grid:0,evt:"e191n56_client",std:"SELECT"};n[16]={id:16,lvl:0,type:"char",len:6,dec:0,sign:!1,pic:"@!",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Usucod,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"USUCOD",gxz:"Z124UsuCod",gxold:"O124UsuCod",gxvar:"A124UsuCod",ucs:[],op:[],ip:[16],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A124UsuCod=n)},v2z:function(n){n!==undefined&&(gx.O.Z124UsuCod=n)},v2c:function(){gx.fn.setControlValue("USUCOD",gx.O.A124UsuCod,0)},c2v:function(){this.val()!==undefined&&(gx.O.A124UsuCod=this.val())},val:function(){return gx.fn.getControlValue("USUCOD")},nac:gx.falseFn};n[20]={id:20,lvl:0,type:"int",len:3,dec:0,sign:!1,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Loccod,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"LOCCOD",gxz:"Z25LocCod",gxold:"O25LocCod",gxvar:"A25LocCod",ucs:[],op:[],ip:[20,16],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A25LocCod=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.Z25LocCod=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("LOCCOD",gx.O.A25LocCod,0)},c2v:function(){this.val()!==undefined&&(gx.O.A25LocCod=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("LOCCOD",".")},nac:gx.falseFn};n[21]={id:21,fld:"BTN_GET",grid:0,evt:"e201n56_client",std:"GET"};n[24]={id:24,fld:"BTN_ENTER",grid:0,evt:"e131n56_client",std:"ENTER"};n[25]={id:25,fld:"BTN_CHECK",grid:0,evt:"e211n56_client",std:"CHECK"};n[26]={id:26,fld:"BTN_CANCEL",grid:0,evt:"e141n56_client"};n[27]={id:27,fld:"BTN_DELETE",grid:0,evt:"e221n56_client",std:"DELETE"};n[28]={id:28,fld:"BTN_HELP",grid:0,evt:"e231n56_client"};n[29]={id:29,fld:"PROMPT_124",grid:56};this.A124UsuCod="";this.Z124UsuCod="";this.O124UsuCod="";this.A25LocCod=0;this.Z25LocCod=0;this.O25LocCod=0;this.AV14UsuCodCorr="";this.AV25UsuCodUnidDepositaria=0;this.AV26UsuTipAcesso="";this.AV15IndLiber="";this.A124UsuCod="";this.A25LocCod=0;this.Events={e131n56_client:["ENTER",!0],e141n56_client:["CANCEL",!0],e121n56_client:["'ZOOM'",!1]};this.EvtParms.ENTER=[[{postForm:!0}],[]];this.EvtParms.REFRESH=[[],[]];this.EvtParms.START=[[{av:"AV14UsuCodCorr",fld:"vUSUCODCORR",pic:"@!"},{av:"AV25UsuCodUnidDepositaria",fld:"vUSUCODUNIDDEPOSITARIA",pic:"ZZ9"},{av:"AV26UsuTipAcesso",fld:"vUSUTIPACESSO",pic:""},{av:"AV15IndLiber",fld:"vINDLIBER",pic:""}],[{av:"AV26UsuTipAcesso",fld:"vUSUTIPACESSO",pic:""},{av:"AV25UsuCodUnidDepositaria",fld:"vUSUCODUNIDDEPOSITARIA",pic:"ZZ9"},{av:"AV14UsuCodCorr",fld:"vUSUCODCORR",pic:"@!"},{av:"AV15IndLiber",fld:"vINDLIBER",pic:""}]];this.EvtParms["'ZOOM'"]=[[],[]];this.EvtParms.VALID_USUCOD=[[{av:"A124UsuCod",fld:"USUCOD",pic:"@!"}],[]];this.EvtParms.VALID_LOCCOD=[[{av:"A124UsuCod",fld:"USUCOD",pic:"@!"},{av:"A25LocCod",fld:"LOCCOD",pic:"ZZ9"},{av:"Gx_mode",fld:"vMODE",pic:"@!"}],[{av:"Gx_mode",fld:"vMODE",pic:"@!"},{av:"Z124UsuCod"},{av:"Z25LocCod"},{ctrl:"BTN_GET",prop:"Enabled"},{ctrl:"BTN_DELETE",prop:"Enabled"},{ctrl:"BTN_ENTER",prop:"Enabled"},{ctrl:"BTN_CHECK",prop:"Enabled"}]];this.setPrompt("PROMPT_124",[16]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.Initialize()});gx.setParentObj(new tabt076)