gx.evt.autoSkip=false;function himh108(){this.ServerClass="HImh108";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Dataabert=function(){try{var a=gx.util.balloon.getNew("vDATAABERT");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e155w2_client=function(){this.clearMessages();this.refreshOutputs([])};this.e125w2_client=function(){this.executeServerEvent("ENTER",true)};this.e135w2_client=function(){this.executeServerEvent("'VOLTAR'",false)
};this.e165w2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[4,13,16,19,21,24,26,29,31,34,38,40,43,45];this.GXLastCtrlId=45;this.GXValidFnc[4]={fld:"TABLE1",grid:0};this.GXValidFnc[13]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[16]={fld:"TABLE2",grid:0};this.GXValidFnc[19]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[21]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Dataabert,isvalid:null,fld:"vDATAABERT",gxz:"ZV5DataAbert",gxold:"OV5DataAbert",gxvar:"AV5DataAbert",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5DataAbert=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV5DataAbert=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATAABERT",gx.O.AV5DataAbert,0)},c2v:function(){gx.O.AV5DataAbert=this.val()},val:function(){return gx.fn.getControlValue("vDATAABERT")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDIMPRIMEEMPRESTIMORECENTE",gxz:"ZV29IndImprimeEmprestimoRecente",gxold:"OV29IndImprimeEmprestimoRecente",gxvar:"AV29IndImprimeEmprestimoRecente",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV29IndImprimeEmprestimoRecente=a
},v2z:function(a){gx.O.ZV29IndImprimeEmprestimoRecente=a},v2c:function(){gx.fn.setRadioValue("vINDIMPRIMEEMPRESTIMORECENTE",gx.O.AV29IndImprimeEmprestimoRecente)},c2v:function(){gx.O.AV29IndImprimeEmprestimoRecente=this.val()},val:function(){return gx.fn.getControlValue("vINDIMPRIMEEMPRESTIMORECENTE")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDSALVATOMBOSNAOLIDOS",gxz:"ZV30ScrIndSalvaTombosNaoLidos",gxold:"OV30ScrIndSalvaTombosNaoLidos",gxvar:"AV30ScrIndSalvaTombosNaoLidos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV30ScrIndSalvaTombosNaoLidos=a
},v2z:function(a){gx.O.ZV30ScrIndSalvaTombosNaoLidos=a},v2c:function(){gx.fn.setRadioValue("vSCRINDSALVATOMBOSNAOLIDOS",gx.O.AV30ScrIndSalvaTombosNaoLidos)},c2v:function(){gx.O.AV30ScrIndSalvaTombosNaoLidos=this.val()},val:function(){return gx.fn.getControlValue("vSCRINDSALVATOMBOSNAOLIDOS")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[38]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV11UndCod",gxold:"OV11UndCod",gxvar:"AV11UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV11UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV11UndCod,0)},c2v:function(){gx.O.AV11UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[43]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[45]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCODLOCAL",gxz:"ZV10CodLocal",gxold:"OV10CodLocal",gxvar:"AV10CodLocal",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10CodLocal=gx.num.intval(a)
},v2z:function(a){gx.O.ZV10CodLocal=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCODLOCAL",gx.O.AV10CodLocal,0)},c2v:function(){gx.O.AV10CodLocal=this.val()},val:function(){return gx.fn.getIntegerValue("vCODLOCAL",".")},nac:function(){return false}};this.AV5DataAbert=gx.date.nullDate();this.ZV5DataAbert=gx.date.nullDate();this.OV5DataAbert=gx.date.nullDate();this.AV29IndImprimeEmprestimoRecente="";this.ZV29IndImprimeEmprestimoRecente="";this.OV29IndImprimeEmprestimoRecente="";this.AV30ScrIndSalvaTombosNaoLidos="";
this.ZV30ScrIndSalvaTombosNaoLidos="";this.OV30ScrIndSalvaTombosNaoLidos="";this.AV11UndCod=0;this.ZV11UndCod=0;this.OV11UndCod=0;this.AV10CodLocal=0;this.ZV10CodLocal=0;this.OV10CodLocal=0;this.A492InvDat=gx.date.nullDate();this.ServerEvents=["e125w2_client","e135w2_client","e165w2_client"];this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh108.prototype=new gx.GxObject;gx.setParentObj(new himh108());