BE | Add 9 new tokens for item data on Loan and Request Emails template

Description

Purpose: Add tokens to support repeatable circulation (aka Reading Room Circulation Functionality)

Item:

  • Accession number

  • Item administrative notes

  • Year of publication (Instance record)

  • Editions (Instance record)

  • Physical descriptions (Instance record)

  • Instance HRID

  • Instance HRID barcode image

Loan:

  • Check-out service point

Request:

  • Request type - new custom token based on settings value and request type (work done in UXPROD-5030)

 

 

Scenarios:

1. Scenario:

  • Log into FOLIO Snapshot as user Diku_admin - or any given FOLIO environment, as test user.

  • Given: I have write up an Patron notification with in one of the categories (Request, Loan, Automated fee/fine charge, Automated fee/fine adjustment (refund or cancel), Manual fee/fine charge or Manual fee/fine action (Pay, waive, refund, transfer or cancel/error) the notice template of which contains a token in the section "Item".

  • When: I look at the text of that token in the slip.

  • Then: I see the property value of the corresponding field as can be seen in the UI of Inventory; e.g.
    Example: On the pick slip, for the token "item.dateOfPublication", I see "1984".

 

Out of scope: BE work on

  • Instance HRID - A text and barcode representation of the Instance HRID - See CIRC-2254

Environment

None

Potential Workaround

None

Attachments

2

Checklist

hide

Activity

Show:

Niels Erik Nielsen February 12, 2025 at 11:09 AM

The tokens Accession number, Item administrative notes, Year of publication (Instance record), Editions (Instance record), Physical descriptions (Instance record), and Instance HRID are added to the item template context from where they are available for insertion into loan email templates for example.

Examples of a check-out notice and overdue notice.

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Sprint

Development Team

Klemming

Release

Sunflower (R1 2025)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created February 8, 2025 at 2:25 PM
Updated March 18, 2025 at 1:05 PM
Resolved February 19, 2025 at 2:48 PM
TestRail: Cases
TestRail: Runs