dERP
by Dream On Me
Dashboard
Orders
Inventory
Products
Warehouse
Shipping
Purchasing
EDI
Customers
Vendors
Accounting
Reports
Settings
Search orders, products, customers…
3
SB
Reports
·
Custom SQL Query
Save Query
Run Query
SELECT o.order_number, c.name AS customer, o.channel, COUNT(ol.id) AS line_items, SUM(ol.quantity) AS total_units, SUM(ol.quantity * ol.unit_price) AS revenue FROM orders o JOIN customers c ON o.customer_id = c.id JOIN order_lines ol ON o.id = ol.order_id WHERE o.created_at >= '2026-04-01' GROUP BY o.order_number, c.name, o.channel ORDER BY revenue DESC LIMIT 20
✓
Ready — click
Run Query
to execute
orders
,
customers
,
order_lines
referenced
No results yet.
Run the query above to see live order data from the dERP database.