Order Processing Flow with QR Code Integration - ajay3003/doc GitHub Wiki

📌 Order Creation

  1. Order received from Shopify
    • Shopify order is fetched via API.
  2. System generates unique QR code
    • The QR code contains complete order details (order ID, customer info, items, etc.).
  3. QR code is printed and attached to package
    • The QR code is physically attached to the order package for tracking.
  4. Creates sales order in Odoo
    • Order data is synced to Odoo using API integration.
  5. Updates Odoo inventory
    • Stock levels are adjusted in Odoo based on ordered items.

📌 Package Preparation

  1. Staff prepares order items
    • The fulfillment team gathers the order items.
  2. Attaches printed QR code
    • The QR code label is placed on the package.
  3. Package ready for dispatch scanning
    • The package is set aside for the dispatch process.

📌 Dispatch Process

  1. Staff scans package QR code
    • Using a scanner, the QR code is read to retrieve order data.
  2. System processes order data
    • The order ID is validated and matched with existing records in Odoo.
  3. Updates Odoo status
    • The order status is updated to "Dispatched" in Odoo.
  4. Records dispatch time
    • The dispatch timestamp is logged for tracking.
  5. Confirms delivery status in Odoo
    • Once delivered, the status is updated to "Delivered."
  6. Updates final inventory counts
    • Odoo inventory levels are recalculated to reflect the shipment.

📌 QR Code Management

  1. Moves scanned QR code to processed folder
    • Processed QR codes are archived for record-keeping.
  2. Maintains clean working directory
    • Prevents duplicate processing of QR codes.
  3. Creates audit trail of processed orders
    • A log is maintained for compliance and tracking.
  4. 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