Uploaded image for project: 'Development'
  1. Development
  2. DEV-6798

Cannot delete work centre from shift

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Backlog
    • Resolution: Done
    • Affects Version/s: 07.01.00.00, 07.01.10.00
    • Fix Version/s: 07.02.02.00
    • Component/s: Bill of Materials
    • Labels:
      None

      Description

      When trying to save a Shift after deleting a work centre, the following error occurs:

      Cannot insert duplicate key row in object 'dbo.BM_WarehouseWorkCentreShiftWeekdayCapacity' with unique index 'IX_BM_WarehouseWorkCentreShiftWeekdayCapacity_BM_ShiftWeekday_RecID_ItemNo'. The duplicate key value is (08f55cbd-72de-4cb6-b7be-0f830aa71c1f, 5).

      Steps to reproduce (In demo data):

      1. Create a new shift
      2. Save
      3. Remove the first work centre (Cutting)
      4. Save
      5. The error occurs.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mikes@jiwa.com.au Mike Sheen
                Reporter:
                mikes@jiwa.com.au Mike Sheen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: