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

ensure receiptStatus consistency between piece and poLine

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 7.0.0
    • None
    • ACQ Sprint 66, ACQ Sprint 67
    • 3
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases