Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-173

ensure receiptStatus consistency between piece and poLine

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 66, ACQ Sprint 67
    • Story Points:
      3
    • Development Team:
      Thunderjet

      Description

      Overview:
      Since piece and poLine records are stored separate from one another, and are managed via their own APIs, there's the possibility that inconsistencies may arise. The receiptStatus fields could get out of sync. So solve this problem, whenever a piece record's receivingStatus changes, we should emit an event which triggers the "calculation" of the corresponding poLine's receptStatus...

      This builds upon the vertx eventBus work done in MODORDERS-218.

      Also relevant for additional context/background: MODORDERS-106 and this wiki page

      Acceptance Criteria:

      • poLine.receiptStatus is "calculated" whenever a related piece record's receivingStatus is changed. This happens asynchronously via the vertx event bus.
      • Unit tests are updated
      • API tests are updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                cmcnally Craig McNally
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases