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

    z305_expiry_date not filled as expected in OPAC self registration

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

    Problem Symptoms:
    * Patron self registration (OPAC): expiration date is 00.00.0000

    Example
    ./xxx50/tab/tab31:
    ##### 53 N N N N N Y N N C A 20991231 0000004000 Y N N 30 N N

    $alephe_root/www_f_lng/bor-new:
    <input type="hidden" name="M_Z305_BOR_STATUS" value="53">

    Expected result:
    z305_expiry_date= 20991231

    Actual result:
    z305_expiry_date is 0000.00.00 or empty

    Add M_ADD_TO_EXPIRATION in $alephe_root/www_f_lng/bor-new
    <input type="hidden" name="M_ADD_TO_EXPIRATION" value="090">

    z305_expiry_date = today + 90 days

    Cause:
    M_ADD_TO_EXPIRATION adds xxx days to the current date to fill z305_expiry_date

    Resolution:
    Z305_EXPIRY_DATE can only be assigned by the ADD_TO_EXPIRATION variable adding an amount of days to the current date.
    It is not possible to
    * calculate it from tab31
    or
    * add a constant value (such as 20991231)

    Category: Web OPAC (500)


    • Article last edited: 10/8/2013