gx.evt.autoSkip=false;function hzfasc(){this.ServerClass="HZFasc";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e16241_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("habw029",[]),[]);this.refreshOutputs([])};this.e12242_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e13242_client=function(){this.executeServerEvent("ENTER",true)};this.e17242_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[3,14,17,23,26,30,32,34,36,38,40,42,44,46,48,50,52,55,57,59,61,63,65,67,69,71,73,75,77,79,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,104,107,109,112,113];this.GXLastCtrlId=113;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",84,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hzfasc",[],false,1,true,true,15,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Subfile1Container.addBitmap("&Imgeditar","vIMGEDITAR",85,0,"px",17,"px",null,"","");
this.Subfile1Container.addSingleLineEdit("Ditdatpublicacao",86,"vDITDATPUBLICACAO","Publicação","","DitDatPublicacao","date",0,"px",10,10,"right",null,[],"Ditdatpublicacao","DitDatPublicacao",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Ditanoedicao",87,"vDITANOEDICAO","Ano","","DitAnoEdicao","char",0,"px",5,5,"left",null,[],"Ditanoedicao","DitAnoEdicao",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Ditnrovolume",88,"vDITNROVOLUME","Volume","","DitNroVolume","char",0,"px",5,5,"left",null,[],"Ditnrovolume","DitNroVolume",true,0,false,false);
this.Subfile1Container.addSingleLineEdit("Ditnroedicao",89,"vDITNROEDICAO","Número","","DitNroEdicao","char",0,"px",12,12,"left",null,[],"Ditnroedicao","DitNroEdicao",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Ditvalextensaoperiodo",90,"vDITVALEXTENSAOPERIODO","Período","","DitValExtensaoPeriodo","char",0,"px",20,20,"left",null,[],"Ditvalextensaoperiodo","DitValExtensaoPeriodo",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Dvonrotomo",91,"vDVONROTOMO","Duplicata","","DvoNroTomo","int",0,"px",2,2,"right",null,[],"Dvonrotomo","DvoNroTomo",true,0,false,false);
this.Subfile1Container.addSingleLineEdit("Dvonrotombo",92,"vDVONROTOMBO","Tombo","","DvoNroTombo","int",0,"px",9,9,"right",null,[],"Dvonrotombo","DvoNroTombo",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Dvodatcadastramento",93,"vDVODATCADASTRAMENTO","Cadastramento","","DvoDatCadastramento","date",0,"px",10,10,"right",null,[],"Dvodatcadastramento","DvoDatCadastramento",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Dvodatefetivorecebimento",94,"vDVODATEFETIVORECEBIMENTO","Recebimento","","DvoDatEfetivoRecebimento","date",0,"px",10,10,"right",null,[],"Dvodatefetivorecebimento","DvoDatEfetivoRecebimento",true,0,false,false);
this.Subfile1Container.addSingleLineEdit("Caenom",95,"vCAENOM","Cat.empréstimo","","CaeNom","char",0,"px",30,30,"left",null,[],"Caenom","CaeNom",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Locnom",96,"vLOCNOM","Localização","","LocNom","char",0,"px",45,45,"left",null,[],"Locnom","LocNom",true,0,false,false);this.Subfile1Container.addComboBox("Dvoindsituacao",97,"vDVOINDSITUACAO","Situação","DvoIndSituacao","int",null,0,true,false,0,"px");this.Subfile1Container.addComboBox("Dittipfasciculo",98,"vDITTIPFASCICULO","Tipo","DitTipFasciculo","char",null,0,true,false,0,"px");
this.Subfile1Container.addSingleLineEdit("Dvonrovolume",99,"vDVONROVOLUME","Item","","DvoNroVolume","int",0,"px",6,6,"right",null,[],"Dvonrovolume","DvoNroVolume",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Artigos",100,"vARTIGOS","","Abrir lista de artigos do fascículo","Artigos","char",0,"px",7,7,"left",null,[],"Artigos","Artigos",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Circulacao",101,"vCIRCULACAO","","","Circulacao","char",0,"px",10,10,"left",null,[],"Circulacao","Circulacao",true,0,false,false);
this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[17]={fld:"TABLE5",grid:0};this.GXValidFnc[23]={fld:"TABLE3",grid:0};this.GXValidFnc[26]={fld:"TABLE4",grid:0};this.GXValidFnc[30]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[32]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[34]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[36]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[38]={fld:"TEXTBLOCK8",format:0,grid:0};
this.GXValidFnc[40]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[42]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[44]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[46]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[48]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[50]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[52]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[55]={lvl:0,type:"char",len:7,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRTIPFUNCAO",gxz:"ZV59ScrTipFuncao",gxold:"OV59ScrTipFuncao",gxvar:"AV59ScrTipFuncao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV59ScrTipFuncao=a
},v2z:function(a){gx.O.ZV59ScrTipFuncao=a},v2c:function(){gx.fn.setRadioValue("vSCRTIPFUNCAO",gx.O.AV59ScrTipFuncao)},c2v:function(){gx.O.AV59ScrTipFuncao=this.val()},val:function(){return gx.fn.getControlValue("vSCRTIPFUNCAO")},nac:function(){return false}};this.GXValidFnc[57]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUSRCODUNIDADEDEPOSITARIA",gxz:"ZV64UsrCodUnidadeDepositaria",gxold:"OV64UsrCodUnidadeDepositaria",gxvar:"AV64UsrCodUnidadeDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV64UsrCodUnidadeDepositaria=gx.num.intval(a)
},v2z:function(a){gx.O.ZV64UsrCodUnidadeDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSRCODUNIDADEDEPOSITARIA",gx.O.AV64UsrCodUnidadeDepositaria,0)},c2v:function(){gx.O.AV64UsrCodUnidadeDepositaria=this.val()},val:function(){return gx.fn.getIntegerValue("vUSRCODUNIDADEDEPOSITARIA",".")},nac:function(){return false}};this.GXValidFnc[59]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRTIPFASCICULO",gxz:"ZV21UsrTipFasciculo",gxold:"OV21UsrTipFasciculo",gxvar:"AV21UsrTipFasciculo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV21UsrTipFasciculo=a
},v2z:function(a){gx.O.ZV21UsrTipFasciculo=a},v2c:function(){gx.fn.setComboBoxValue("vUSRTIPFASCICULO",gx.O.AV21UsrTipFasciculo)},c2v:function(){gx.O.AV21UsrTipFasciculo=this.val()},val:function(){return gx.fn.getControlValue("vUSRTIPFASCICULO")},nac:function(){return false}};this.GXValidFnc[61]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRANOEDICAO",gxz:"ZV22UsrAnoEdicao",gxold:"OV22UsrAnoEdicao",gxvar:"AV22UsrAnoEdicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22UsrAnoEdicao=a
},v2z:function(a){gx.O.ZV22UsrAnoEdicao=a},v2c:function(){gx.fn.setControlValue("vUSRANOEDICAO",gx.O.AV22UsrAnoEdicao,0)},c2v:function(){gx.O.AV22UsrAnoEdicao=this.val()},val:function(){return gx.fn.getControlValue("vUSRANOEDICAO")},nac:function(){return false}};this.GXValidFnc[63]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRNROVOLUME",gxz:"ZV23UsrNroVolume",gxold:"OV23UsrNroVolume",gxvar:"AV23UsrNroVolume",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23UsrNroVolume=a
},v2z:function(a){gx.O.ZV23UsrNroVolume=a},v2c:function(){gx.fn.setControlValue("vUSRNROVOLUME",gx.O.AV23UsrNroVolume,0)},c2v:function(){gx.O.AV23UsrNroVolume=this.val()},val:function(){return gx.fn.getControlValue("vUSRNROVOLUME")},nac:function(){return false}};this.GXValidFnc[65]={lvl:0,type:"char",len:12,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRNROEDICAO",gxz:"ZV24UsrNroEdicao",gxold:"OV24UsrNroEdicao",gxvar:"AV24UsrNroEdicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV24UsrNroEdicao=a
},v2z:function(a){gx.O.ZV24UsrNroEdicao=a},v2c:function(){gx.fn.setControlValue("vUSRNROEDICAO",gx.O.AV24UsrNroEdicao,0)},c2v:function(){gx.O.AV24UsrNroEdicao=this.val()},val:function(){return gx.fn.getControlValue("vUSRNROEDICAO")},nac:function(){return false}};this.GXValidFnc[67]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRDSCPERIODO",gxz:"ZV25UsrDscPeriodo",gxold:"OV25UsrDscPeriodo",gxvar:"AV25UsrDscPeriodo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV25UsrDscPeriodo=a
},v2z:function(a){gx.O.ZV25UsrDscPeriodo=a},v2c:function(){gx.fn.setControlValue("vUSRDSCPERIODO",gx.O.AV25UsrDscPeriodo,0)},c2v:function(){gx.O.AV25UsrDscPeriodo=this.val()},val:function(){return gx.fn.getControlValue("vUSRDSCPERIODO")},nac:function(){return false}};this.GXValidFnc[69]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRDATPUBLICACAO",gxz:"ZV26UsrDatPublicacao",gxold:"OV26UsrDatPublicacao",gxvar:"AV26UsrDatPublicacao",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.AV26UsrDatPublicacao=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV26UsrDatPublicacao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vUSRDATPUBLICACAO",gx.O.AV26UsrDatPublicacao,0)},c2v:function(){gx.O.AV26UsrDatPublicacao=this.val()},val:function(){return gx.fn.getControlValue("vUSRDATPUBLICACAO")},nac:function(){return false}};this.GXValidFnc[71]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vUSRDATRECEBIMENTO",gxz:"ZV27UsrDatRecebimento",gxold:"OV27UsrDatRecebimento",gxvar:"AV27UsrDatRecebimento",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.AV27UsrDatRecebimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV27UsrDatRecebimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vUSRDATRECEBIMENTO",gx.O.AV27UsrDatRecebimento,0)},c2v:function(){gx.O.AV27UsrDatRecebimento=this.val()},val:function(){return gx.fn.getControlValue("vUSRDATRECEBIMENTO")},nac:function(){return false}};this.GXValidFnc[73]={lvl:0,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUSRNROTOMBO",gxz:"ZV29UsrNroTombo",gxold:"OV29UsrNroTombo",gxvar:"AV29UsrNroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV29UsrNroTombo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV29UsrNroTombo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSRNROTOMBO",gx.O.AV29UsrNroTombo,0)},c2v:function(){gx.O.AV29UsrNroTombo=this.val()},val:function(){return gx.fn.getIntegerValue("vUSRNROTOMBO",".")},nac:function(){return false}};this.GXValidFnc[75]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUSRCODLOCALIZACAO",gxz:"ZV62UsrCodLocalizacao",gxold:"OV62UsrCodLocalizacao",gxvar:"AV62UsrCodLocalizacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV62UsrCodLocalizacao=gx.num.intval(a)
},v2z:function(a){gx.O.ZV62UsrCodLocalizacao=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSRCODLOCALIZACAO",gx.O.AV62UsrCodLocalizacao,0)},c2v:function(){gx.O.AV62UsrCodLocalizacao=this.val()},val:function(){return gx.fn.getIntegerValue("vUSRCODLOCALIZACAO",".")},nac:function(){return false}};this.GXValidFnc[77]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUSRCODCATEGORIAEMPRESTIMO",gxz:"ZV28UsrCodCategoriaEmprestimo",gxold:"OV28UsrCodCategoriaEmprestimo",gxvar:"AV28UsrCodCategoriaEmprestimo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV28UsrCodCategoriaEmprestimo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV28UsrCodCategoriaEmprestimo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUSRCODCATEGORIAEMPRESTIMO",gx.O.AV28UsrCodCategoriaEmprestimo,0)},c2v:function(){gx.O.AV28UsrCodCategoriaEmprestimo=this.val()},val:function(){return gx.fn.getIntegerValue("vUSRCODCATEGORIAEMPRESTIMO",".")},nac:function(){return false}};this.GXValidFnc[79]={lvl:0,type:"int",len:1,dec:0,sign:false,pic:"9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUSRINDSITUACAO",gxz:"ZV30UsrIndSituacao",gxold:"OV30UsrIndSituacao",gxvar:"AV30UsrIndSituacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV30UsrIndSituacao=gx.num.intval(a)
},v2z:function(a){gx.O.ZV30UsrIndSituacao=gx.num.intval(a)},v2c:function(){gx.fn.setComboBoxValue("vUSRINDSITUACAO",gx.O.AV30UsrIndSituacao)},c2v:function(){gx.O.AV30UsrIndSituacao=this.val()},val:function(){return gx.fn.getIntegerValue("vUSRINDSITUACAO",".")},nac:function(){return false}};this.GXValidFnc[85]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vIMGEDITAR",gxz:"ZV20ImgEditar",gxold:"OV20ImgEditar",gxvar:"AV20ImgEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20ImgEditar=a
},v2z:function(a){gx.O.ZV20ImgEditar=a},v2c:function(){},c2v:function(){gx.O.AV20ImgEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEDITAR",gx.fn.currentGridRowImpl(84))},nac:function(){return false}};this.GXValidFnc[86]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vDITDATPUBLICACAO",gxz:"ZV47DitDatPublicacao",gxold:"OV47DitDatPublicacao",gxvar:"AV47DitDatPublicacao",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.AV47DitDatPublicacao=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV47DitDatPublicacao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vDITDATPUBLICACAO",gx.fn.currentGridRowImpl(84),gx.O.AV47DitDatPublicacao,0)},c2v:function(){gx.O.AV47DitDatPublicacao=this.val()},val:function(){return gx.fn.getGridControlValue("vDITDATPUBLICACAO",gx.fn.currentGridRowImpl(84))},nac:function(){return false}};this.GXValidFnc[87]={lvl:2,type:"char",len:5,dec:0,sign:false,ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vDITANOEDICAO",gxz:"ZV46DitAnoEdicao",gxold:"OV46DitAnoEdicao",gxvar:"AV46DitAnoEdicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV46DitAnoEdicao=a
},v2z:function(a){gx.O.ZV46DitAnoEdicao=a},v2c:function(){gx.fn.setGridControlValue("vDITANOEDICAO",gx.fn.currentGridRowImpl(84),gx.O.AV46DitAnoEdicao,0)},c2v:function(){gx.O.AV46DitAnoEdicao=this.val()},val:function(){return gx.fn.getGridControlValue("vDITANOEDICAO",gx.fn.currentGridRowImpl(84))},nac:function(){return false}};this.GXValidFnc[88]={lvl:2,type:"char",len:5,dec:0,sign:false,ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vDITNROVOLUME",gxz:"ZV50DitNroVolume",gxold:"OV50DitNroVolume",gxvar:"AV50DitNroVolume",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV50DitNroVolume=a
},v2z:function(a){gx.O.ZV50DitNroVolume=a},v2c:function(){gx.fn.setGridControlValue("vDITNROVOLUME",gx.fn.currentGridRowImpl(84),gx.O.AV50DitNroVolume,0)},c2v:function(){gx.O.AV50DitNroVolume=this.val()},val:function(){return gx.fn.getGridControlValue("vDITNROVOLUME",gx.fn.currentGridRowImpl(84))},nac:function(){return false}};this.GXValidFnc[89]={lvl:2,type:"char",len:12,dec:0,sign:false,ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vDITNROEDICAO",gxz:"ZV48DitNroEdicao",gxold:"OV48DitNroEdicao",gxvar:"AV48DitNroEdicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV48DitNroEdicao=a
},v2z:function(a){gx.O.ZV48DitNroEdicao=a},v2c:function(){gx.fn.setGridControlValue("vDITNROEDICAO",gx.fn.currentGridRowImpl(84),gx.O.AV48DitNroEdicao,0)},c2v:function(){gx.O.AV48DitNroEdicao=this.val()},val:function(){return gx.fn.getGridControlValue("vDITNROEDICAO",gx.fn.currentGridRowImpl(84))},nac:function(){return false}};this.GXValidFnc[90]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vDITVALEXTENSAOPERIODO",gxz:"ZV52DitValExtensaoPeriodo",gxold:"OV52DitValExtensaoPeriodo",gxvar:"AV52DitValExtensaoPeriodo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV52DitValExtensaoPeriodo=a
},v2z:function(a){gx.O.ZV52DitValExtensaoPeriodo=a},v2c:function(){gx.fn.setGridControlValue("vDITVALEXTENSAOPERIODO",gx.fn.currentGridRowImpl(84),gx.O.AV52DitValExtensaoPeriodo,0)},c2v:function(){gx.O.AV52DitValExtensaoPeriodo=this.val()},val:function(){return gx.fn.getGridControlValue("vDITVALEXTENSAOPERIODO",gx.fn.currentGridRowImpl(84))},nac:function(){return false}};this.GXValidFnc[91]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"vDVONROTOMO",gxz:"ZV7DvoNroTomo",gxold:"OV7DvoNroTomo",gxvar:"AV7DvoNroTomo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7DvoNroTomo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7DvoNroTomo=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vDVONROTOMO",gx.fn.currentGridRowImpl(84),gx.O.AV7DvoNroTomo,0)},c2v:function(){gx.O.AV7DvoNroTomo=this.val()},val:function(){return gx.fn.getGridIntegerValue("vDVONROTOMO",gx.fn.currentGridRowImpl(84),".")},nac:function(){return false}};this.GXValidFnc[92]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"vDVONROTOMBO",gxz:"ZV56DvoNroTombo",gxold:"OV56DvoNroTombo",gxvar:"AV56DvoNroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV56DvoNroTombo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV56DvoNroTombo=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vDVONROTOMBO",gx.fn.currentGridRowImpl(84),gx.O.AV56DvoNroTombo,0)},c2v:function(){gx.O.AV56DvoNroTombo=this.val()},val:function(){return gx.fn.getGridIntegerValue("vDVONROTOMBO",gx.fn.currentGridRowImpl(84),".")},nac:function(){return false}};this.GXValidFnc[93]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vDVODATCADASTRAMENTO",gxz:"ZV53DvoDatCadastramento",gxold:"OV53DvoDatCadastramento",gxvar:"AV53DvoDatCadastramento",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.AV53DvoDatCadastramento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV53DvoDatCadastramento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vDVODATCADASTRAMENTO",gx.fn.currentGridRowImpl(84),gx.O.AV53DvoDatCadastramento,0)},c2v:function(){gx.O.AV53DvoDatCadastramento=this.val()},val:function(){return gx.fn.getGridControlValue("vDVODATCADASTRAMENTO",gx.fn.currentGridRowImpl(84))},nac:function(){return false}};this.GXValidFnc[94]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vDVODATEFETIVORECEBIMENTO",gxz:"ZV54DvoDatEfetivoRecebimento",gxold:"OV54DvoDatEfetivoRecebimento",gxvar:"AV54DvoDatEfetivoRecebimento",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.AV54DvoDatEfetivoRecebimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV54DvoDatEfetivoRecebimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("vDVODATEFETIVORECEBIMENTO",gx.fn.currentGridRowImpl(84),gx.O.AV54DvoDatEfetivoRecebimento,0)},c2v:function(){gx.O.AV54DvoDatEfetivoRecebimento=this.val()},val:function(){return gx.fn.getGridControlValue("vDVODATEFETIVORECEBIMENTO",gx.fn.currentGridRowImpl(84))},nac:function(){return false}};this.GXValidFnc[95]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vCAENOM",gxz:"ZV58CaeNom",gxold:"OV58CaeNom",gxvar:"AV58CaeNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV58CaeNom=a
},v2z:function(a){gx.O.ZV58CaeNom=a},v2c:function(){gx.fn.setGridControlValue("vCAENOM",gx.fn.currentGridRowImpl(84),gx.O.AV58CaeNom,0)},c2v:function(){gx.O.AV58CaeNom=this.val()},val:function(){return gx.fn.getGridControlValue("vCAENOM",gx.fn.currentGridRowImpl(84))},nac:function(){return false}};this.GXValidFnc[96]={lvl:2,type:"char",len:45,dec:0,sign:false,ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vLOCNOM",gxz:"ZV63LocNom",gxold:"OV63LocNom",gxvar:"AV63LocNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV63LocNom=a
},v2z:function(a){gx.O.ZV63LocNom=a},v2c:function(){gx.fn.setGridControlValue("vLOCNOM",gx.fn.currentGridRowImpl(84),gx.O.AV63LocNom,0)},c2v:function(){gx.O.AV63LocNom=this.val()},val:function(){return gx.fn.getGridControlValue("vLOCNOM",gx.fn.currentGridRowImpl(84))},nac:function(){return false}};this.GXValidFnc[97]={lvl:2,type:"int",len:1,dec:0,sign:false,pic:"9",ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"vDVOINDSITUACAO",gxz:"ZV55DvoIndSituacao",gxold:"OV55DvoIndSituacao",gxvar:"AV55DvoIndSituacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV55DvoIndSituacao=gx.num.intval(a)
},v2z:function(a){gx.O.ZV55DvoIndSituacao=gx.num.intval(a)},v2c:function(){gx.fn.setGridComboBoxValue("vDVOINDSITUACAO",gx.fn.currentGridRowImpl(84),gx.O.AV55DvoIndSituacao)},c2v:function(){gx.O.AV55DvoIndSituacao=this.val()},val:function(){return gx.fn.getGridIntegerValue("vDVOINDSITUACAO",gx.fn.currentGridRowImpl(84),".")},nac:function(){return false}};this.GXValidFnc[98]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vDITTIPFASCICULO",gxz:"ZV51DitTipFasciculo",gxold:"OV51DitTipFasciculo",gxvar:"AV51DitTipFasciculo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV51DitTipFasciculo=a
},v2z:function(a){gx.O.ZV51DitTipFasciculo=a},v2c:function(){gx.fn.setGridComboBoxValue("vDITTIPFASCICULO",gx.fn.currentGridRowImpl(84),gx.O.AV51DitTipFasciculo)},c2v:function(){gx.O.AV51DitTipFasciculo=this.val()},val:function(){return gx.fn.getGridControlValue("vDITTIPFASCICULO",gx.fn.currentGridRowImpl(84))},nac:function(){return false}};this.GXValidFnc[99]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"vDVONROVOLUME",gxz:"ZV6DvoNroVolume",gxold:"OV6DvoNroVolume",gxvar:"AV6DvoNroVolume",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6DvoNroVolume=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6DvoNroVolume=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vDVONROVOLUME",gx.fn.currentGridRowImpl(84),gx.O.AV6DvoNroVolume,0)},c2v:function(){gx.O.AV6DvoNroVolume=this.val()},val:function(){return gx.fn.getGridIntegerValue("vDVONROVOLUME",gx.fn.currentGridRowImpl(84),".")},nac:function(){return false}};this.GXValidFnc[100]={lvl:2,type:"char",len:7,dec:0,sign:false,ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vARTIGOS",gxz:"ZV19Artigos",gxold:"OV19Artigos",gxvar:"AV19Artigos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19Artigos=a
},v2z:function(a){gx.O.ZV19Artigos=a},v2c:function(){gx.fn.setGridControlValue("vARTIGOS",gx.fn.currentGridRowImpl(84),gx.O.AV19Artigos,0)},c2v:function(){gx.O.AV19Artigos=this.val()},val:function(){return gx.fn.getGridControlValue("vARTIGOS",gx.fn.currentGridRowImpl(84))},nac:function(){return false}};this.GXValidFnc[101]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:84,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vCIRCULACAO",gxz:"ZV13Circulacao",gxold:"OV13Circulacao",gxvar:"AV13Circulacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13Circulacao=a
},v2z:function(a){gx.O.ZV13Circulacao=a},v2c:function(){gx.fn.setGridControlValue("vCIRCULACAO",gx.fn.currentGridRowImpl(84),gx.O.AV13Circulacao,0)},c2v:function(){gx.O.AV13Circulacao=this.val()},val:function(){return gx.fn.getGridControlValue("vCIRCULACAO",gx.fn.currentGridRowImpl(84))},nac:function(){return false}};this.GXValidFnc[104]={fld:"TABLE2",grid:0};this.GXValidFnc[107]={fld:"TOMBOSLIVRES",format:0,grid:0};this.GXValidFnc[109]={fld:"QTDITENS",format:0,grid:0};this.GXValidFnc[112]={fld:"PROMPT_USRCODLOCALIZACAO",grid:0};
this.GXValidFnc[113]={fld:"PROMPT_USRCODCATEGORIAEMPRESTIMO",grid:0};this.AV59ScrTipFuncao="";this.ZV59ScrTipFuncao="";this.OV59ScrTipFuncao="";this.AV64UsrCodUnidadeDepositaria=0;this.ZV64UsrCodUnidadeDepositaria=0;this.OV64UsrCodUnidadeDepositaria=0;this.AV21UsrTipFasciculo="";this.ZV21UsrTipFasciculo="";this.OV21UsrTipFasciculo="";this.AV22UsrAnoEdicao="";this.ZV22UsrAnoEdicao="";this.OV22UsrAnoEdicao="";this.AV23UsrNroVolume="";this.ZV23UsrNroVolume="";this.OV23UsrNroVolume="";this.AV24UsrNroEdicao="";
this.ZV24UsrNroEdicao="";this.OV24UsrNroEdicao="";this.AV25UsrDscPeriodo="";this.ZV25UsrDscPeriodo="";this.OV25UsrDscPeriodo="";this.AV26UsrDatPublicacao=gx.date.nullDate();this.ZV26UsrDatPublicacao=gx.date.nullDate();this.OV26UsrDatPublicacao=gx.date.nullDate();this.AV27UsrDatRecebimento=gx.date.nullDate();this.ZV27UsrDatRecebimento=gx.date.nullDate();this.OV27UsrDatRecebimento=gx.date.nullDate();this.AV29UsrNroTombo=0;this.ZV29UsrNroTombo=0;this.OV29UsrNroTombo=0;this.AV62UsrCodLocalizacao=0;this.ZV62UsrCodLocalizacao=0;
this.OV62UsrCodLocalizacao=0;this.AV28UsrCodCategoriaEmprestimo=0;this.ZV28UsrCodCategoriaEmprestimo=0;this.OV28UsrCodCategoriaEmprestimo=0;this.AV30UsrIndSituacao=0;this.ZV30UsrIndSituacao=0;this.OV30UsrIndSituacao=0;this.ZV20ImgEditar="";this.OV20ImgEditar="";this.ZV47DitDatPublicacao=gx.date.nullDate();this.OV47DitDatPublicacao=gx.date.nullDate();this.ZV46DitAnoEdicao="";this.OV46DitAnoEdicao="";this.ZV50DitNroVolume="";this.OV50DitNroVolume="";this.ZV48DitNroEdicao="";this.OV48DitNroEdicao="";
this.ZV52DitValExtensaoPeriodo="";this.OV52DitValExtensaoPeriodo="";this.ZV7DvoNroTomo=0;this.OV7DvoNroTomo=0;this.ZV56DvoNroTombo=0;this.OV56DvoNroTombo=0;this.ZV53DvoDatCadastramento=gx.date.nullDate();this.OV53DvoDatCadastramento=gx.date.nullDate();this.ZV54DvoDatEfetivoRecebimento=gx.date.nullDate();this.OV54DvoDatEfetivoRecebimento=gx.date.nullDate();this.ZV58CaeNom="";this.OV58CaeNom="";this.ZV63LocNom="";this.OV63LocNom="";this.ZV55DvoIndSituacao=0;this.OV55DvoIndSituacao=0;this.ZV51DitTipFasciculo="";
this.OV51DitTipFasciculo="";this.ZV6DvoNroVolume=0;this.OV6DvoNroVolume=0;this.ZV19Artigos="";this.OV19Artigos="";this.ZV13Circulacao="";this.OV13Circulacao="";this.AV20ImgEditar="";this.AV47DitDatPublicacao=gx.date.nullDate();this.AV46DitAnoEdicao="";this.AV50DitNroVolume="";this.AV48DitNroEdicao="";this.AV52DitValExtensaoPeriodo="";this.AV7DvoNroTomo=0;this.AV56DvoNroTombo=0;this.AV53DvoDatCadastramento=gx.date.nullDate();this.AV54DvoDatEfetivoRecebimento=gx.date.nullDate();this.AV58CaeNom="";this.AV63LocNom="";
this.AV55DvoIndSituacao=0;this.AV51DitTipFasciculo="";this.AV6DvoNroVolume=0;this.AV19Artigos="";this.AV13Circulacao="";this.A223DitNroEdic="";this.A225DitNroVolu="";this.A220DitAnoEdic="";this.A317DvoNroVolu=0;this.A258DocNro=0;this.A224DitNroTomo="";this.A226DitTipFasc="";this.A227DitValExte="";this.A222DitDatPubl=gx.date.nullDate();this.A281DoeNroSequ=0;this.A922UndCod=0;this.A315DvoNroTomb=0;this.A307DvoDatCada=gx.date.nullDate();this.A308DvoDatEfet=gx.date.nullDate();this.A84CaeNom="";this.A512LocNom="";
this.A313DvoIndSitu=0;this.A316DvoNroTomo=0;this.A509LocCod=0;this.A79CaeCod=0;this.ServerEvents=["e12242_client","e13242_client","e17242_client"];this.setPrompt("PROMPT_USRCODLOCALIZACAO",[75]);this.setPrompt("PROMPT_USRCODCATEGORIAEMPRESTIMO",[77]);this.EnterCtrl=["BTN_ENTER1"];this.VarControlMap.AV61DscPeriodicidade={id:"vDSCPERIODICIDADE",grid:0,type:"char"};this.VarControlMap.AV8DoeNroSequencia={id:"vDOENROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV33UndCod={id:"vUNDCOD",grid:0,type:"int"};
this.VarControlMap.AV15DoeNroAssinatura={id:"vDOENROASSINATURA",grid:0,type:"int"};this.VarControlMap.AV12CriarLink={id:"vCRIARLINK",grid:0,type:"char"};this.VarControlMap.AV18DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.A313DvoIndSitu={id:"DVOINDSITU",grid:0,type:"int"};this.VarControlMap.A512LocNom={id:"LOCNOM",grid:0,type:"char"};this.VarControlMap.A84CaeNom={id:"CAENOM",grid:0,type:"char"};this.VarControlMap.A308DvoDatEfet={id:"DVODATEFET",grid:0,type:"date"};this.VarControlMap.A307DvoDatCada={id:"DVODATCADA",grid:0,type:"date"};
this.VarControlMap.A315DvoNroTomb={id:"DVONROTOMB",grid:0,type:"int"};this.VarControlMap.A316DvoNroTomo={id:"DVONROTOMO",grid:0,type:"int"};this.VarControlMap.A317DvoNroVolu={id:"DVONROVOLU",grid:0,type:"int"};this.VarControlMap.A281DoeNroSequ={id:"DOENROSEQU",grid:0,type:"int"};this.VarControlMap.A922UndCod={id:"UNDCOD",grid:0,type:"int"};this.VarControlMap.A227DitValExte={id:"DITVALEXTE",grid:0,type:"char"};this.VarControlMap.A226DitTipFasc={id:"DITTIPFASC",grid:0,type:"char"};this.VarControlMap.A225DitNroVolu={id:"DITNROVOLU",grid:0,type:"char"};
this.VarControlMap.A224DitNroTomo={id:"DITNROTOMO",grid:0,type:"char"};this.VarControlMap.A223DitNroEdic={id:"DITNROEDIC",grid:0,type:"char"};this.VarControlMap.A220DitAnoEdic={id:"DITANOEDIC",grid:0,type:"char"};this.VarControlMap.A222DitDatPubl={id:"DITDATPUBL",grid:0,type:"date"};this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.Subfile1Container.addRefreshingVar({rfrVar:"AV61DscPeriodicidade"});this.Subfile1Container.addRefreshingVar({rfrVar:"AV8DoeNroSequencia"});this.Subfile1Container.addRefreshingVar({rfrVar:"AV33UndCod"});
this.Subfile1Container.addRefreshingVar({rfrVar:"AV15DoeNroAssinatura"});this.Subfile1Container.addRefreshingVar({rfrVar:"AV12CriarLink"});this.Subfile1Container.addRefreshingVar({rfrVar:"AV18DocNro"});this.Subfile1Container.addRefreshingVar({rfrVar:"A313DvoIndSitu"});this.Subfile1Container.addRefreshingVar({rfrVar:"A512LocNom"});this.Subfile1Container.addRefreshingVar({rfrVar:"A84CaeNom"});this.Subfile1Container.addRefreshingVar({rfrVar:"A308DvoDatEfet"});this.Subfile1Container.addRefreshingVar({rfrVar:"A307DvoDatCada"});
this.Subfile1Container.addRefreshingVar({rfrVar:"A315DvoNroTomb"});this.Subfile1Container.addRefreshingVar({rfrVar:"A316DvoNroTomo"});this.Subfile1Container.addRefreshingVar({rfrVar:"A317DvoNroVolu"});this.Subfile1Container.addRefreshingVar({rfrVar:"A281DoeNroSequ"});this.Subfile1Container.addRefreshingVar({rfrVar:"A922UndCod"});this.Subfile1Container.addRefreshingVar({rfrVar:"A227DitValExte"});this.Subfile1Container.addRefreshingVar({rfrVar:"A226DitTipFasc"});this.Subfile1Container.addRefreshingVar({rfrVar:"A225DitNroVolu"});
this.Subfile1Container.addRefreshingVar({rfrVar:"A224DitNroTomo"});this.Subfile1Container.addRefreshingVar({rfrVar:"A223DitNroEdic"});this.Subfile1Container.addRefreshingVar({rfrVar:"A220DitAnoEdic"});this.Subfile1Container.addRefreshingVar({rfrVar:"A222DitDatPubl"});this.Subfile1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.SetStandaloneVars()}hzfasc.prototype=new gx.GxObject;gx.setParentObj(new hzfasc());