Details
-
Story
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
None
-
-
Core: F - Sprint 94, Core: F - Sprint 95
-
8
-
Prokopovych
Description
This is technical story needed to split effort for CIRC-737.
In scope of this story we have to implement Age to lost scheduled job described in the technical design.
Here is the overall algorithm of the job.
1. Scenario
- Given Item Status = 'Claimed returned'
- Then:
- Do no further aged to lost processing for item
2. Scenario
- Given Item Status NOT = 'Aged to lost' and NOT 'Claimed returned'
- When Items aged to lost after overdue interval (see Lost Item Fee policy) = 0 or blank
- Then:
- Do no further aged to lost processing for item
3. Scenario
- Given Item Status NOT = 'Aged to lost' and NOT 'Claimed returned'
- When:
- Items aged to lost after overdue interval > 0;
- System date is NOT Items aged to lost after overdue interval (see Lost Item Fee policy) from item due date
- Then:
- Do no further aged to lost processing for item
4. Scenario
- Given Item Status NOT = 'Aged to lost' and NOT 'Claimed returned'
- When:
- Items aged to lost after overdue interval > 0;
- System date is or more then Items aged to lost after overdue interval from item due date
- Then:
- Set item status and loan.itemStatus = 'Aged to lost'
Acceptance criteria:
- The job is implemented;
- Unit tests are created;
- Make sure all DB indexes in place;
Notes:
- Dev only story;
TestRail: Results
Attachments
Issue Links
- defines
-
CIRC-737 Aged to lost: Automatically age overdue items to lost - SET COST
-
- Closed
-
-
UXPROD-87 Loan: Aged to Lost using SET COST
-
- Closed
-
- has to be done after
-
MODINVSTOR-503 Add 'Aged to lost' status to allowed item statuses list
-
- Closed
-
- has to be done before
-
CIRC-852 Age to lost: Assign lost fees for aged to lost loans - SET COST
-
- Closed
-
-
CIRC-854 Age to lost: Add billing date and time when aging an item to lost - SET COST
-
- Closed
-
- is blocked by
-
UIU-1791 Aged to lost action on loan details
-
- Closed
-
- relates to
-
CIRC-1005 Use separate aged to lost settings for recalled items
-
- Closed
-
- requires
-
CIRCSTORE-228 Add b-tree index needed for age to lost delayed billing
-
- Closed
-
-
CIRCSTORE-230 Add b-tree index for loan.itemStatus
-
- Closed
-