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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
NetSuite Admin Tip | Top Customers with Highest Invoice Totals Using SuiteQL
Understanding who your top Customers are is essential for strategic planning, sales prioritization, and financial analysis. With SuiteQL, NetSuite Administrators can quickly identify Customers generating the highest Invoice totals and gain deeper insight into billing trends.
This article demonstrates how to retrieve the Top 10 Customers with the highest total Invoice amounts, including Invoice count and average Invoice value.
Sample SuiteQL Query
SELECT TOP 10
c.entityid AS customer_name, -- Customer display name
COUNT(t.id) AS invoice_count, -- Number of invoices per customer
SUM(t.foreigntotal) AS total, -- Total invoiced amount (in transaction/foreign currency)
AVG(t.foreigntotal) AS avg_total -- Average total amount per invoice 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
