-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: CFA 2019R3
-
Component/s: Allocations
-
Labels:
-
Sprint:CFAMX 2019R3 Sprint 2
-
SCRUM Team:Brotherhood of Mutants
-
SOW (Time Tracking) Project:44918
-
Work Type Classification:Sustaining
As a store manager I want any draft orders that I have in place when an allocation is ended to account for that change so that I can place an order for an appropriate quantity
Notes
There are two scenarios that I can think of:
- Allocation Ended - Draft Order created with allocation, allocation ended
- An order is created, which contains an item that is on allocation
- The order is saved as draft
- The allocation is ended
- The order is submitted
- In this instance, there is no need to restrict the quantity that the user can order, based on the previously ended allocation
- Note - this affect all draft orders when ANY existing allocation is ended. When an allocation ends, there isn't a concept of "this is going to be replaced by another allocation" - the system has no way of knowing if the allocation is going to be replaced or not.
- Allocation Updated - Draft Order created with allocation, allocation ended, new allocation imported delivery date of draft order falls within new allocation period
- An order is created, which contains an item that is on allocation
- The order is saved as draft
- The allocation is ended
- A new allocation, for the same item is added, and the allocation period spans the delivery date of the draft order
- The order is submitted
- In this instance, the validation should be rerun, on order submission, to take into account the new allocation
- Note - this will also affect draft orders when ANY new allocation is imported. When an allocation is created, there isn't a concept of "this is replacing an old allocation" - it's always just a brand new allocation.
Acceptance Criteria
- Confirm when an allocation is ended, that was used by a draft order, that the order can be successfully Placed without any allocation restrictions on the quantity ordered
- Confirm when an allocation is ended, that was used by a draft order, and a new allocation is created for the same item spanning the delivery date, that allocation validation is performed (using the new allocation) when the order is placedÂ
- implements
-
CFAMX-3633 Allocations - Add Support to Delete an allocation
- Closed
- is blocked by
-
CFAMX-3793 Regression around deleting an allocation and checking draft/placed/received orders
- Done
-
CFAMX-3924 Allocations - New Draft Order after allocation is deleted for today allows max allocation amount again
- Done
- Is Clone Of
-
CFAMX-3827 Clone 2019.R2 - Allocations - Draft Order - What to do?
- Closed