Uploaded image for project: 'mod-orders-storage'
  1. mod-orders-storage
  2. MODORDSTOR-79

Remove associated piece records when removing POLine

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 64, ACQ Sprint 65
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Overview:
      Due to foreign key constraints, we're currently unable to remove a POLine if piece records exist which link to that POLine without manual intervention.

      In order to resolve this we need to remove piece records associated to poLines being removed.

      Implemented in a database transaction until DELETE CASCADE functionality has been added to RMB.

      Acceptance Criteria:

      • piece records are removed as described above.
      • 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:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases