List of items with status nn checked out since yyyy-mm-dd
- Article Type: General
- Product: Aleph
- Product Version: 20
Desired Outcome Goal:
How to produce a list of items with z30_item_status nn which were checked out after date yyyy-mm-dd (and are still on loan), with barcode and title included.
Procedure:
Use the following SQL:
> s+ xxx50
SQL-xxx50> select /*+ DYNAMIC_SAMPLING(2) ALL_ROWS */ z36_rec_key, z30_barcode, z36_loan_date, z13_title from z36, z30, z103, fda01.z13 where z36_item_status = '05' and z36_loan_date like '2014%' and z30_rec_key = z36_rec_key and Z13_REC_KEY = substr (Z103_REC_KEY_1,6,9) and substr (Z103_REC_KEY_1,1,5) = 'FDA01' and substr (Z103_REC_KEY,6,9) = substr (Z30_REC_KEY,1,9) order by z36_loan_date;
Additional Information
Though ret-adm-01 will retrieve items with a particular item status and cir-04, items which are on loan, there is no report which combines these. The above SQL does that.
Category: Circulation (500)
- Article last edited: 1/27/2015