-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Sprint:2023.R2 New Features Sprint 5
-
SCRUM Team:Brotherhood of Mutants
-
Story Points:2
-
Work Type Classification:Sustaining
Story
As a user, I would like to be able to edit existing sales exclusions.
Details
This functionality allows the user to edit existing sales exclusions. Note: The "Add" feature to this modal must be completed first. (CFAMX-23922)
AC
Edit
- When the user clicks the Edit icon, the "Edit Sales Exclusion" modal opens.
- This modal has the same layout as the Add Sales Exclusion modal but the header is labeled "Edit Sales Exclusion" and the "Add Sales Exclusion" button is labeled "Update Sales Exclusion".
- The data from the corresponding Sales Exclusion pre-populates each field.
- In the case of stores, the stores assigned to the corresponding sales exclusion populate the list.
- The "Update Sales Exclusion" button is disabled until the user edits any of the fields.
- When the user clicks "Update Sales Exclusion" the updated sales exclusion is validated in the same way we validate new sales exclusions in the Add Sales Exclusions modal.
- The combination of Sales Exclusion Type ID and Sales Exclusion Name must be unique.
- If that combination is not unique open the "Sales Exclusion Already Exists" modal when the user clicks "Update Sales Exclusion" until the combination is unique.
- If the updated sales exclusion passes validation, then the existing record is update to reflect the user entered information.
- Clones
-
CFAMX-23931 Settings => Sales Exclusions Types: Delete
- Closed
- is blocked by
-
CFAMX-23922 User Added Sales Exclusions - Add Sales Exclusion Modal (Patchback Clone Linked)
- Closed
There are no Sub-Tasks for this issue.