Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
NetSuite Admin Tip | Identify Top Customers by Unbilled Sales Using SuiteQL
Tracking Unbilled Sales helps Administrators understand pending revenue and manage billing workloads more effectively. Using SuiteQL, you can quickly analyze which Customers have the highest Unbilled Amounts by leveraging the amountunbilled field in the transaction record.
The query below summarizes total Unbilled Sales per Customer and ranks them from highest to lowest, giving you a clear view of outstanding revenue opportunities.
SELECT c.entityid AS customer_name, SUM(t.amountunbilled) AS total_sales FROM transaction t JOIN customer c ON t.entity = c.id WHERE t.type = 'SalesOrd' GROUP BY c.entityid ORDER BY total_sales DESC
- SELECT c.entityid AS customer_name
Richard James Uri - SuiteCloud | WMS Tech | SuiteCommerce Advanced
----
- NetSuite Admin Corner | New to NetSuite
- Explore the NSC Webinars Category
- Join our poll and share your ideas! We want to know what you think. Don't forget to comment and make your voice heard!
- Expand your NetSuite knowledge by joining this month's Ask A Guru Live about Advanced Accounting. RSVP on this event now!
Tagged:
0
