gx.evt.autoSkip=false;function himh162(){this.ServerClass="HImh162";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Sginrosequencia=function(){try{var a=gx.util.balloon.getNew("vSGINROSEQUENCIA");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e13di2_client=function(){this.executeServerEvent("ENTER",true)};this.e15di2_client=function(){this.executeServerEvent("'VOLTAR'",false)};
this.e16di2_client=function(){this.executeServerEvent("'MUDAR SITUACAO'",false)};this.e17di2_client=function(){this.executeServerEvent("'CADASTRO'",false)};this.e18di2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,16,19,22,24,27,29,32,34,37,39,42,44,47,49,52,54,57,59,62,64,67,69,72,74];this.GXLastCtrlId=74;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[19]={fld:"TABLE2",grid:0};this.GXValidFnc[22]={fld:"TEXTBLOCK2",format:0,grid:0};
this.GXValidFnc[24]={lvl:0,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Validv_Sginrosequencia,isvalid:null,rgrid:[],fld:"vSGINROSEQUENCIA",gxz:"ZV23SgiNroSequencia",gxold:"OV23SgiNroSequencia",gxvar:"AV23SgiNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23SgiNroSequencia=gx.num.intval(a)},v2z:function(a){gx.O.ZV23SgiNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSGINROSEQUENCIA",gx.O.AV23SgiNroSequencia,0)
},c2v:function(){gx.O.AV23SgiNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vSGINROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[29]={fld:"TABLE3",grid:0};this.GXValidFnc[32]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSGICODLEITOR",gxz:"ZV24SgiCodLeitor",gxold:"OV24SgiCodLeitor",gxvar:"AV24SgiCodLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV24SgiCodLeitor=a
},v2z:function(a){gx.O.ZV24SgiCodLeitor=a},v2c:function(){gx.fn.setControlValue("vSGICODLEITOR",gx.O.AV24SgiCodLeitor,0)},c2v:function(){gx.O.AV24SgiCodLeitor=this.val()},val:function(){return gx.fn.getControlValue("vSGICODLEITOR")},nac:function(){return false}};this.GXValidFnc[34]={lvl:0,type:"char",len:35,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSGINOMLEITOR",gxz:"ZV28SgiNomLeitor",gxold:"OV28SgiNomLeitor",gxvar:"AV28SgiNomLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV28SgiNomLeitor=a
},v2z:function(a){gx.O.ZV28SgiNomLeitor=a},v2c:function(){gx.fn.setControlValue("vSGINOMLEITOR",gx.O.AV28SgiNomLeitor,0)},c2v:function(){gx.O.AV28SgiNomLeitor=this.val()},val:function(){return gx.fn.getControlValue("vSGINOMLEITOR")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSGIDTHINSERCAO",gxz:"ZV29SgiDthInsercao",gxold:"OV29SgiDthInsercao",gxvar:"AV29SgiDthInsercao",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/9999 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV29SgiDthInsercao=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV29SgiDthInsercao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vSGIDTHINSERCAO",gx.O.AV29SgiDthInsercao,0)},c2v:function(){gx.O.AV29SgiDthInsercao=this.val()},val:function(){return gx.fn.getControlValue("vSGIDTHINSERCAO")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[44]={fld:"TABLE4",grid:0};this.GXValidFnc[47]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSGINRODOCUMENTO",gxz:"ZV26SgiNroDocumento",gxold:"OV26SgiNroDocumento",gxvar:"AV26SgiNroDocumento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26SgiNroDocumento=gx.num.intval(a)
},v2z:function(a){gx.O.ZV26SgiNroDocumento=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSGINRODOCUMENTO",gx.O.AV26SgiNroDocumento,0)},c2v:function(){gx.O.AV26SgiNroDocumento=this.val()},val:function(){return gx.fn.getIntegerValue("vSGINRODOCUMENTO",".")},nac:function(){return false}};this.GXValidFnc[49]={lvl:0,type:"char",len:53,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTITULO",gxz:"ZV30Titulo",gxold:"OV30Titulo",gxvar:"AV30Titulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV30Titulo=a
},v2z:function(a){gx.O.ZV30Titulo=a},v2c:function(){gx.fn.setControlValue("vTITULO",gx.O.AV30Titulo,0)},c2v:function(){gx.O.AV30Titulo=this.val()},val:function(){return gx.fn.getControlValue("vTITULO")},nac:function(){return false}};this.GXValidFnc[52]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[54]={fld:"TABLE5",grid:0};this.GXValidFnc[57]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSGINROITEM",gxz:"ZV27SgiNroItem",gxold:"OV27SgiNroItem",gxvar:"AV27SgiNroItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV27SgiNroItem=gx.num.intval(a)
},v2z:function(a){gx.O.ZV27SgiNroItem=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSGINROITEM",gx.O.AV27SgiNroItem,0)},c2v:function(){gx.O.AV27SgiNroItem=this.val()},val:function(){return gx.fn.getIntegerValue("vSGINROITEM",".")},nac:function(){return false}};this.GXValidFnc[59]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSGINROARTIGO",gxz:"ZV25SgiNroArtigo",gxold:"OV25SgiNroArtigo",gxvar:"AV25SgiNroArtigo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV25SgiNroArtigo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV25SgiNroArtigo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSGINROARTIGO",gx.O.AV25SgiNroArtigo,0)},c2v:function(){gx.O.AV25SgiNroArtigo=this.val()},val:function(){return gx.fn.getIntegerValue("vSGINROARTIGO",".")},nac:function(){return false}};this.GXValidFnc[62]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[64]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSGIINDSITUACAO",gxz:"ZV31SgiIndSituacao",gxold:"OV31SgiIndSituacao",gxvar:"AV31SgiIndSituacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV31SgiIndSituacao=a
},v2z:function(a){gx.O.ZV31SgiIndSituacao=a},v2c:function(){gx.fn.setComboBoxValue("vSGIINDSITUACAO",gx.O.AV31SgiIndSituacao)},c2v:function(){gx.O.AV31SgiIndSituacao=this.val()},val:function(){return gx.fn.getControlValue("vSGIINDSITUACAO")},nac:function(){return false}};this.GXValidFnc[67]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[69]={lvl:0,type:"svchar",len:20480,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDSCTEXTOLEITOR",gxz:"ZV32DscTextoLeitor",gxold:"OV32DscTextoLeitor",gxvar:"AV32DscTextoLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV32DscTextoLeitor=a
},v2z:function(a){gx.O.ZV32DscTextoLeitor=a},v2c:function(){gx.fn.setControlValue("vDSCTEXTOLEITOR",gx.O.AV32DscTextoLeitor,0)},c2v:function(){gx.O.AV32DscTextoLeitor=this.val()},val:function(){return gx.fn.getControlValue("vDSCTEXTOLEITOR")},nac:function(){return false}};this.GXValidFnc[72]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[74]={lvl:0,type:"svchar",len:20480,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDSCAVALIACAOBIBLIOTECARIO",gxz:"ZV33DscAvaliacaoBibliotecario",gxold:"OV33DscAvaliacaoBibliotecario",gxvar:"AV33DscAvaliacaoBibliotecario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV33DscAvaliacaoBibliotecario=a
},v2z:function(a){gx.O.ZV33DscAvaliacaoBibliotecario=a},v2c:function(){gx.fn.setControlValue("vDSCAVALIACAOBIBLIOTECARIO",gx.O.AV33DscAvaliacaoBibliotecario,0)},c2v:function(){gx.O.AV33DscAvaliacaoBibliotecario=this.val()},val:function(){return gx.fn.getControlValue("vDSCAVALIACAOBIBLIOTECARIO")},nac:function(){return false}};this.AV23SgiNroSequencia=0;this.ZV23SgiNroSequencia=0;this.OV23SgiNroSequencia=0;this.AV24SgiCodLeitor="";this.ZV24SgiCodLeitor="";this.OV24SgiCodLeitor="";this.AV28SgiNomLeitor="";
this.ZV28SgiNomLeitor="";this.OV28SgiNomLeitor="";this.AV29SgiDthInsercao=gx.date.nullDate();this.ZV29SgiDthInsercao=gx.date.nullDate();this.OV29SgiDthInsercao=gx.date.nullDate();this.AV26SgiNroDocumento=0;this.ZV26SgiNroDocumento=0;this.OV26SgiNroDocumento=0;this.AV30Titulo="";this.ZV30Titulo="";this.OV30Titulo="";this.AV27SgiNroItem=0;this.ZV27SgiNroItem=0;this.OV27SgiNroItem=0;this.AV25SgiNroArtigo=0;this.ZV25SgiNroArtigo=0;this.OV25SgiNroArtigo=0;this.AV31SgiIndSituacao="";this.ZV31SgiIndSituacao="";
this.OV31SgiIndSituacao="";this.AV32DscTextoLeitor="";this.ZV32DscTextoLeitor="";this.OV32DscTextoLeitor="";this.AV33DscAvaliacaoBibliotecario="";this.ZV33DscAvaliacaoBibliotecario="";this.OV33DscAvaliacaoBibliotecario="";this.A791SgiNroSequ=0;this.A783SgiDthInse=gx.date.nullDate();this.A782SgiCodLeit="";this.A789SgiNroDocu=0;this.A788SgiNroArti=0;this.A790SgiNroItem=0;this.A784SgiIndSitu="";this.A785SgiNomLeit="";this.A792SiaDscAnot="";this.A793SiaTipAnot="";this.ServerEvents=["e13di2_client","e15di2_client","e16di2_client","e17di2_client","e18di2_client"];
this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh162.prototype=new gx.GxObject;gx.setParentObj(new himh162());