Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Feature: Order mismatch between iSell and ISOM
- ## Scenarios
- ```gherkin
- Background:
- Given order exists in ISOM
- And BR.1 is not fulfilled
- And feature is enabled [1]
- ```
- ### S.1 Open order as read-only
- ```gherkin
- Given I'm allowed to view order
- But I don't have privilege to handle mismatched orders [2]
- When I open the order in iSell
- Then I see error message
- "Important alert! iSell order doesn't match the external order.
- Please contact user help to handle this order."
- And order is opened as read-only
- And order lines that mismatch is shown according to BR.2
- ```
- ### S.2 Handle a mismatch order ###
- ```gherkin
- Given I have privilege to handle mismatched orders [2]
- When I open the order in iSell
- Then I see error message
- "Important alert! iSell order doesn't match the external order.
- Be aware that any changes you do can be lost.
- Please contact user help for support."
- And order lines that mismatch is shown according to BR.2
- ```
- ## Business Rules
- ### BR.1 Rules for order mismatch detection
- * For each order line (article and product) verify
- - Quantity
- - Item number
- * For each customer delivery verify
- - Delivery date
- * Ignore any checks on cancelled order lines
- * Automatically split order lines by ISOM, due to deviation, needs to be considered
- * Automatically opened products by ISOM needs to be considered
- [1] Dfp Preference: EnableiSellIsomOrderMismatchFeature
- [2] iSell Privilege: AllowedToModifyIsellIsomOrderMismatch
- ### BR.2 Order line mismatch
- * Additional order lines either in iSell or ISOM
- - Show the order line in iSell
- - Possible to see message "This article is missing in the ${System} database"
- * Quantity mismatch
- - Show quantity from the ISOM order
- - Possible to see message "Article quantity mismatch. ${iSellQty} in iSell and ${IsomQty} in ISOM"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement