Order management
Sales Orders are the input to the entire transport workflow. One order = one customer + product list + delivery date + address.

Two parallel lifecyclesβ
Each order has two statuses in parallel:
Approval statusβ
PENDING ββ(Planner/Admin approves)ββ> APPROVED ββ(can plan)
β
βββ(rejected)ββ> REJECTED
Delivery statusβ
OPEN ββ(packed)ββ> PICKED_PACKED ββ(vehicle delivering)ββ> SHIPPED
β
βββββββββββββββ΄ββββββββββββββ
βΌ βΌ
DELIVERED FAILED / CANCELLED
Only APPROVED orders can enter planning. PENDING orders do not appear in the "Unassigned" list on the Planning page.
Create a new orderβ
Method 1 β Manual (single order)β
Click "+ Create order":
- Order code (OrderCode): auto-generated or manual
- Customer: pick from Master Data
- Order date + Expected delivery date
- Products: add line items, each =
Product Γ Quantity - Delivery window (optional): early/late, improves routing accuracy
- COD amount (optional): if customer pays cash on delivery
- Notes
After creation, order status is PENDING awaiting approval.
Method 2 β Bulk Excel importβ
Click "Import Excel":
- Download template
- Open Excel, one row = one order (same OrderCode = merged into one multi-line order)
- Upload β system reports created orders & failed rows
Approve / Reject ordersβ
On a PENDING order row:
- β
Click approve β moves to
APPROVED - β Click reject β modal asks for reason, moves to
REJECTED
You can bulk-select with checkboxes and click "Bulk approve".
By default, Planners approve orders. For a 2-tier approval flow (Planner proposes β Admin approves), the Admin can adjust the order.approve permission.
Filtersβ
The top filter bar supports multi-criteria search:
- Customer: search by name/code
- Approval status: PENDING / APPROVED / REJECTED
- Delivery status: OPEN / PICKED_PACKED / SHIPPED / DELIVERED / FAILED
- Order date range / Delivery date range
- Planned yet: yes/no
Share tracking link with customersβ
Each order has a public lookup URL of the form:
https://<domain>/track/<OrderCode>
On the order row, click π β modal shows the URL β click "Copy" β send via Zalo/SMS/email.
The customer opens the link β sees realtime:
- Current order status
- Live vehicle position (if SHIPPED)
- Estimated ETA
- Driver information (name + phone)
See also: Public order tracking.
Excel exportβ
Click "Export Excel" β downloads .xlsx with all orders matching the current filter, including:
- Order + customer + product information
- Approval + delivery status
- Total value, COD
- Trip code (if planned)
Use it to report to customers / accounting.
Nextβ
- Route planning β Assign
APPROVEDorders to vehicles - Transportation reports β Aggregate order metrics by period