Order Processing Flow with QR Code Integration - ajay3003/doc GitHub Wiki
📌 Order Creation
- Order received from Shopify
- Shopify order is fetched via API.
- System generates unique QR code
- The QR code contains complete order details (order ID, customer info, items, etc.).
- QR code is printed and attached to package
- The QR code is physically attached to the order package for tracking.
- Creates sales order in Odoo
- Order data is synced to Odoo using API integration.
- Updates Odoo inventory
- Stock levels are adjusted in Odoo based on ordered items.
📌 Package Preparation
- Staff prepares order items
- The fulfillment team gathers the order items.
- Attaches printed QR code
- The QR code label is placed on the package.
- Package ready for dispatch scanning
- The package is set aside for the dispatch process.
📌 Dispatch Process
- Staff scans package QR code
- Using a scanner, the QR code is read to retrieve order data.
- System processes order data
- The order ID is validated and matched with existing records in Odoo.
- Updates Odoo status
- The order status is updated to "Dispatched" in Odoo.
- Records dispatch time
- The dispatch timestamp is logged for tracking.
- Confirms delivery status in Odoo
- Once delivered, the status is updated to "Delivered."
- Updates final inventory counts
- Odoo inventory levels are recalculated to reflect the shipment.
📌 QR Code Management
- Moves scanned QR code to processed folder
- Processed QR codes are archived for record-keeping.
- Maintains clean working directory
- Prevents duplicate processing of QR codes.
- Creates audit trail of processed orders
- A log is maintained for compliance and tracking.
- Enables order history tracking
- Order data can be retrieved for customer service and reporting.
🛠️ Technology Stack
- C# & .NET 8 – Backend development
- Shopify API – Fetch and manage orders
- Odoo API (XML-RPC/JSON-RPC) – Sync orders and inventory
- ZXing.Net (QR Code Processing) – Generate and scan QR codes
- System.Drawing.Common – Handle QR code images
🔗 Related Pages