gx.evt.autoSkip=false;function himh066(){this.ServerClass="HImh066";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV32TgeCodTabela=gx.fn.getControlValue("vTGECODTABELA")};this.e263a1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh074",[]),[]);this.refreshOutputs([])};this.e223a1_client=function(){this.clearMessages();this.AV32TgeCodTabela="PARAMETRO-GERAL";gx.popup.openUrl(gx.http.formatLink("himh104",[this.AV32TgeCodTabela]),["AV32TgeCodTabela"]);
this.refreshOutputs([{av:"AV32TgeCodTabela",fld:"vTGECODTABELA"}])};this.e213a1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh169",[this.AV8UsuCodUnidDepositaria]),["AV8UsuCodUnidDepositaria"]);this.refreshOutputs([])};this.e233a1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh207",[this.AV8UsuCodUnidDepositaria]),[]);this.refreshOutputs([])};this.e203a1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh240",[]),[]);
this.refreshOutputs([])};this.e243a1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh206",[this.AV8UsuCodUnidDepositaria,this.AV9UsbCod]),["AV9UsbCod"]);this.refreshOutputs([])};this.e253a1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh261",[]),[]);this.refreshOutputs([])};this.e123a2_client=function(){this.executeServerEvent("ENTER",true)};this.e133a2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e143a2_client=function(){this.executeServerEvent("'DEVOLVER'",false)
};this.e153a2_client=function(){this.executeServerEvent("'RENOVAR'",false)};this.e163a2_client=function(){this.executeServerEvent("'DEVOLVER EM LOTE'",false)};this.e173a2_client=function(){this.executeServerEvent("'ENTRE BIBLIOTECAS'",false)};this.e183a2_client=function(){this.executeServerEvent("'UNIDADES DO OPERADOR'",true)};this.e273a2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,24,27,30,32,35,37,40,42,45,47,49,52,54,57,59,61,63,66,68,69,75,86];
this.GXLastCtrlId=86;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[24]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[27]={fld:"TABLE2",grid:0};this.GXValidFnc[30]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[32]={lvl:0,type:"char",len:8,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPACAO",gxz:"ZV11TipAcao",gxold:"OV11TipAcao",gxvar:"AV11TipAcao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV11TipAcao=a},v2z:function(a){gx.O.ZV11TipAcao=a
},v2c:function(){gx.fn.setRadioValue("vTIPACAO",gx.O.AV11TipAcao)},c2v:function(){gx.O.AV11TipAcao=this.val()},val:function(){return gx.fn.getControlValue("vTIPACAO")},nac:function(){return false}};this.GXValidFnc[35]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[37]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDTRATARCODIGO",gxz:"ZV17IndTratarCodigo",gxold:"OV17IndTratarCodigo",gxvar:"AV17IndTratarCodigo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV17IndTratarCodigo=a
},v2z:function(a){gx.O.ZV17IndTratarCodigo=a},v2c:function(){gx.fn.setRadioValue("vINDTRATARCODIGO",gx.O.AV17IndTratarCodigo)},c2v:function(){gx.O.AV17IndTratarCodigo=this.val()},val:function(){return gx.fn.getControlValue("vINDTRATARCODIGO")},nac:function(){return false}};this.GXValidFnc[40]={fld:"OPERADOR",format:0,grid:0};this.GXValidFnc[42]={fld:"TABLE3",grid:0};this.GXValidFnc[45]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSUCODCORR",gxz:"ZV5UsuCodCorr",gxold:"OV5UsuCodCorr",gxvar:"AV5UsuCodCorr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5UsuCodCorr=a
},v2z:function(a){gx.O.ZV5UsuCodCorr=a},v2c:function(){gx.fn.setControlValue("vUSUCODCORR",gx.O.AV5UsuCodCorr,0)},c2v:function(){gx.O.AV5UsuCodCorr=this.val()},val:function(){return gx.fn.getControlValue("vUSUCODCORR")},nac:function(){return false}};this.GXValidFnc[47]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[49]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUSUCODUNIDDEPOSITARIA",gxz:"ZV8UsuCodUnidDepositaria",gxold:"OV8UsuCodUnidDepositaria",gxvar:"AV8UsuCodUnidDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8UsuCodUnidDepositaria=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8UsuCodUnidDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSUCODUNIDDEPOSITARIA",gx.O.AV8UsuCodUnidDepositaria,0)},c2v:function(){gx.O.AV8UsuCodUnidDepositaria=this.val()},val:function(){return gx.fn.getIntegerValue("vUSUCODUNIDDEPOSITARIA",".")},nac:function(){return false}};this.GXValidFnc[52]={fld:"IMAGE1",grid:0};this.GXValidFnc[54]={fld:"TABLE4",grid:0};this.GXValidFnc[57]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[59]={lvl:0,type:"date",len:8,dec:0,sign:true,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTODAY",gxz:"Gx_date",gxold:"Gx_date",gxvar:"Gx_date",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/99",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.Gx_date=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Gx_date=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vTODAY",gx.O.Gx_date,0)},c2v:function(){gx.O.Gx_date=this.val()},val:function(){return gx.fn.getControlValue("vTODAY")},nac:function(){return false}};this.GXValidFnc[61]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[63]={lvl:0,type:"char",len:8,dec:0,sign:true,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIME",gxz:"Gx_time",gxold:"Gx_time",gxvar:"Gx_time",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.Gx_time=a
},v2z:function(a){gx.O.Gx_time=a},v2c:function(){gx.fn.setControlValue("vTIME",gx.O.Gx_time,0)},c2v:function(){gx.O.Gx_time=this.val()},val:function(){return gx.fn.getControlValue("vTIME")},nac:function(){return false}};this.GXValidFnc[66]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[68]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSBCOD",gxz:"ZV9UsbCod",gxold:"OV9UsbCod",gxvar:"AV9UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9UsbCod=a
},v2z:function(a){gx.O.ZV9UsbCod=a},v2c:function(){gx.fn.setControlValue("vUSBCOD",gx.O.AV9UsbCod,0)},c2v:function(){gx.O.AV9UsbCod=this.val()},val:function(){return gx.fn.getControlValue("vUSBCOD")},nac:function(){return false}};this.GXValidFnc[69]={fld:"IMGBIOMETRIA",grid:0};this.GXValidFnc[75]={fld:"TABLE5",grid:0};this.GXValidFnc[86]={fld:"PROMPT_USBCOD",grid:0};this.AV11TipAcao="";this.ZV11TipAcao="";this.OV11TipAcao="";this.AV17IndTratarCodigo="";this.ZV17IndTratarCodigo="";this.OV17IndTratarCodigo="";
this.AV5UsuCodCorr="";this.ZV5UsuCodCorr="";this.OV5UsuCodCorr="";this.AV8UsuCodUnidDepositaria=0;this.ZV8UsuCodUnidDepositaria=0;this.OV8UsuCodUnidDepositaria=0;this.Gx_date=gx.date.nullDate();this.Gx_date=gx.date.nullDate();this.Gx_time="";this.Gx_time="";this.AV9UsbCod="";this.ZV9UsbCod="";this.OV9UsbCod="";this.AV32TgeCodTabela="";this.ServerEvents=["e123a2_client","e133a2_client","e143a2_client","e153a2_client","e163a2_client","e173a2_client","e183a2_client","e273a2_client"];this.setPrompt("PROMPT_USBCOD",[68]);
this.EnterCtrl=["BUTTON4"];this.VarControlMap.AV32TgeCodTabela={id:"vTGECODTABELA",grid:0,type:"char"};this.SetStandaloneVars()}himh066.prototype=new gx.GxObject;gx.setParentObj(new himh066());