Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Report of patron's overdue notices / activity for particular item

    • Article Type: General
    • Product: Aleph
    • Product Version: 21

    Desired Outcome Goal:
    How to produce a report of an individual patron's overdue notices or the activities for a particular item.

    Procedure:
    The following SQL shows all of a particular patron's overdue notices (where "ID1234" is the patron ID):

    > s+ xxx50
    SQL> set heading off
    SQL> set pause off
    SQL> select z309_date_x, Z309_REC_KEY_3, Z309_DATA from z309 where Z309_REC_KEY like 'ID1234%' and z309_action = '16' order by z309_date_x;

    And this, all of the activity -- including overdue notices -- for a particular patron/item where "ID1234" is the patron ID and "000654321000010" is the z30_rec_key / z36_rec_key:

    > s+ xxx50
    SQL> set heading off
    SQL> set pause off
    SQL> select z309_date_x, Z309_action, Z309_DATA from z309 where Z309_REC_KEY_3 = '000654321000010' and Z309_REC_KEY like 'ID1234%' order by z309_date_x;

    Additional Information

    The GUI "Circulation Log" function has transactions for all circ activities for all items a particular patron has (or had) on loan.
    The cir-21 ("Circulation Logger Report") can be limited to a particular activity (such as "Overdue Notices") -- but that's for *all* patrons.

    Category: Circulation (500)

    Subject: Patrons


    • Article last edited: 10/8/2013