Create endpoint: DELETE /holdings-storage/holdings/ {holdingsRecordId}

Description

Create endpoint : DELETE /holdings-storage/holdings/{holdingsRecordId} to support the following scenarios

Scenarios

Given I open Actions menu and select Delete option

When Inventory Holdings record's Source = MARC
AND an item record is attached
THEN do not allow user to delete holdings record

Given I open Actions menu and select Delete option
When Inventory Holdings record's Source = MARC
AND no item record is attached
THEN allow user to delete Inventory and MARC holdings records

Given Inventory Holdings record's Source = MARC
When I hit Delete
Then delete Inventory and MARC holdings records

Given I open Actions menu and select Delete option
When Inventory Holdings record's Source = FOLIO
AND an item record is attached
THEN do not allow user to delete holdings record

Given I open Actions menu and select Delete option
When Inventory Holdings record's Source = FOLIO
AND no item record is attached
THEN allow user to delete Inventory holdings record

Given Inventory Holdings record's Source = FOLIO
When I hit Delete
Then delete Inventory holdings record

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Duplicate

Details

Assignee

Reporter

Priority

Development Team

Spitfire

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created September 10, 2021 at 2:20 PM
Updated September 10, 2021 at 3:15 PM
Resolved September 10, 2021 at 3:15 PM
TestRail: Cases
TestRail: Runs

Flag notifications