-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: CFA 2018R4
-
Component/s: Ordering
-
Labels:
-
Sprint:CFAMX 2018R4 Sprint 5, CFAMX 2018R4 Hardening, CFAMX 2019R1 Sprint 1
-
SOW (Time Tracking) Project:44795
As an admin importing order schedules I want the import to respect the configuration setting for max days (CFAMX-340) so that orders with a long lead time cannot be createed
Notes
- Compare the difference between the OrderDate and DeliveryDate when creating an order schedule
- Configuration Setting: Configuration Manager > Mobile > Ordering > Create Order - Max days in the future
- Confluence Page - MX Scheduled Order Import Template
https://hotschedules.atlassian.net/wiki/spaces/RBCD/pages/71991298/CFA+Scheduled+Order+Import+Template?atlOrigin=eyJpIjoiZDkwNGE4M2E5NmY4NGQ2YThjN2MyMmVjM2RhN2MzMjIiLCJwIjoiYyJ9 - Note: This page is a copy of the MX page, which may not reflect the CFA version of the Import
- If the difference between the OrderDate and the DeliveryDate exceeds the configuration setting, reject the record, and write an error in the log file
Acceptance Criteria
- Confirm that if the configuration setting is set, and the difference between the Order Date and the Delivery Date is equal to or less than the configuration setting, an Order Schedule is successfully
- Confirm that if the configuration setting is set, and the difference between the Order Date and the Delivery Date is greater than the configuration setting, an Order Schedule is NOT created
- Confirm that if the import fails to create a schedule, due to exceeding the configuration setting, an error is written to the log file, providing insight into why the record failed
- Confirm that is the import fails to create a schedule, due to exceeding the configuration setting, and an error is written to the log file, the Import Failure Auto Notification contains the relevant details
- Confirm that if the configuration setting is not set, there is no validation on the gap between the OrderDate and DeliveryDate
There are no Sub-Tasks for this issue.