KM
06/09/2026, 6:56 PMCeligo AI
06/09/2026, 6:56 PMAI generated answer (using internal Slack threads):To get the total amount of invoice from multiple invoices, you can use SuiteQL. However, the exact SuiteQL query will depend on your specific requirements and the structure of your data. Here is a basic example of how you might construct a SuiteQL query to sum the total amount of multiple invoices:
sql
SELECT SUM(amount)
FROM transaction
WHERE type = 'CustInvc'
This query will sum the 'amount' field from all records in the 'transaction' table where the 'type' field is 'CustInvc', which represents customer invoices.
Please note that this is a simplified example and you may need to adjust the query to suit your specific needs. For example, you might need to add additional WHERE clauses to filter the data by date, customer, or other criteria.
Also, please note that SuiteQL is a powerful tool, but it also requires a good understanding of the NetSuite data model and SQL syntax. If you're not familiar with these topics, you might want to consider using Saved Searches or Reports, which provide a more user-friendly interface for querying your NetSuite data.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
06/09/2026, 6:56 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.800109863
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.797119141
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.794983
Celigo AI
06/09/2026, 6:56 PM