Uploaded image for project: 'mod-circulation'
  1. mod-circulation
  2. CIRC-851

Age to lost: Mark overdue loans as Aged to lost

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      Core: F - Sprint 94, Core: F - Sprint 95
    • Story Points:
      8
    • Development Team:
      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

          1. aged_to_lost-Page-1.png
            49 kB
            Bohdan Suprun
          2. Aged2Lost-Test-Cases.xlsx
            19 kB
            Holly Mistlebauer
          3. Inventory.jpg
            185 kB
            Holly Mistlebauer

            Issue Links

              Activity

                People

                Assignee:
                bohdan-suprun Bohdan Suprun
                Reporter:
                bohdan-suprun Bohdan Suprun
                Tester Assignee:
                Holly Mistlebauer Holly Mistlebauer
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases