Purpose: When an item has aged to lost, reflect this on the loan details & action history for the loan.
Scenario
Given a loan for an item that has aged to lost
When viewing loan details
Then show the aged to lost action in the loan action history
Action date: use date and time item aged to lost
Action: Aged to lost
Due date: same due date as previous row in action history
Item status: Aged to lost
Source: -
Comments: -
Scenario
Given a loan for an item that has aged to lost
When viewing the loan details
Then populate the Lost field with the date and time the item aged to lost CB: , in grooming we decided this scenario should be moved to another story. Thanks!
Dev notes
New loan action will be introduced on backend - itemAgedToLost.
Lost date time is specified in loan.agedToLostDate property (draft).
Please also note that the process is executed anonymously by okapi- it means that the aged to lost loan action will have metadata.updatedByUserIdundefined.
Tested on folio-snapshot. As indicated in story comments and discussion, source and comments are not populated for this action.
Emma BoettcherAugust 7, 2020 at 6:26 PM
Yes, it should be consistent. I didn't realize there was already a term for that, and I'll file a separate story.
Cate BoeremaAugust 4, 2020 at 3:53 PM
Hi . Per grooming, we think we can probably display "System" in the Source column, but it would require a separate story and it may have to be a system-wide feature. Also, we noticed that if you look at the record last updated component, you sometimes see "Automated process". Do we want to be consistent?
Cate BoeremaAugust 4, 2020 at 3:47 PM
Estimating just mapping the backend so the action displays in loan action history.
Need to create separate stories for: 1. Populating the Lost field 2. Displaying System or Automated process in Source
Marc JohnsonAugust 4, 2020 at 11:27 AM
Does that mean we are establishing a convention in the reference UI that in the absence of a createdByUserId or updatedByUserId it is assumed that this operation was done by an automated process in the system outside of the context of a user?
Purpose: When an item has aged to lost, reflect this on the loan details & action history for the loan.
Scenario
Given a loan for an item that has aged to lost
When viewing loan details
Then show the aged to lost action in the loan action history
Action date: use date and time item aged to lost
Action: Aged to lost
Due date: same due date as previous row in action history
Item status: Aged to lost
Source: -
Comments: -
Scenario
Given a loan for an item that has aged to lost
When viewing the loan details
Then populate the Lost field with the date and time the item aged to lost
CB: , in grooming we decided this scenario should be moved to another story. Thanks!
Dev notes
New loan action will be introduced on backend -
itemAgedToLost
.Lost date time is specified in
loan.agedToLostDate
property (draft).Please also note that the process is executed anonymously by okapi- it means that the aged to lost loan action will have
metadata.updatedByUserId
undefined.