Table of Contents 
Order Validation #
Orders are validated to ensure they qualify and respect your business rules, as follows:
- File Structure: Required columns.
- Data format.
 - Item codes.If any fail, the file is rejected.
 
 - Order-Level
- Delivery Details: Confirms the delivery address is valid and accepts deliveries on the requested date.
 - Order Rules: Verifies the order meets any minimum value or quantity requirements.
 - Duplicates: Checks for potential duplicate orders for the same day and location.
 - Order Deadline
 
 - Item-Level
- Availability: Item code exists, is active and delivered on the requested day
 - Quantity Limits: is within minimum/maximum limits.
 
 
If Validation Passes #
- The order is processed and enters fulfilment workflow
 
- You receive a confirmation email with order details
 - The file is moved to the “processed” folder
 
If Validation Fails #
- The order is NOT processed – no partial orders are created
 - The file is moved to a “failed” folder for review
 - You’ll see error messages explaining what needs to be fixed
 
