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

Age to lost: Mark overdue loans as Aged to lost

    XMLWordPrintable

Details

    • 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

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

          Issue Links

            Activity

              People

                bohdan-suprun Bohdan Suprun
                bohdan-suprun Bohdan Suprun
                Holly Mistlebauer Holly Mistlebauer
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases