Check out Oracle NetSuite upcoming events and conferences here
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!
Attention: Customers with NetSuite Electronic Bank Payment (EBP) SuiteApp, version 2020.2 QA (ID 315896) must UPDATE (do NOT uninstall) their bundle to the Production version 2022.1 (ID 416781) by December 31, 2022. Note: If users fail to manually update the Electronic Bank Payments SuiteApp within the given time window, this version of the SuiteApp (ID: 315896) will be deprecated and the account will not be updated to Leading version (2022.1) of the Electronic Bank Payments SuiteApp. Please refer to the campaign email sent to impacted customers for more information.
Update your Profile with your Support type to get your Support Type badge.

Sales Order Total in Rest Query ( SuiteQL )

Hi Guru ,

Happy to connect with you again.

I'm developing a query to get list of sales orders for a customer using REST query services. I'm able to get all required details from the sales order but not Amount.

I tried with different names/ids but not able to get the total of sales order.

Could you please help me over this ? Below is the body used in the request.


"q": "SELECT BUILTIN.DF( Transaction.TranID ) AS OrderNumber, Transaction.Entity, BUILTIN.DF( Transaction.Entity ) AS CustomerName,Transaction.BillingAddress, BUILTIN.DF( Transaction.BillingAddress ) AS BillingAddress,Transaction.ShippingAddress, BUILTIN.DF( Transaction.ShippingAddress ) AS ShippingAddress,Transaction.ShippingAddress, BUILTIN.DF( Transaction.ShippingAddress ) AS ShippingAddress, BUILTIN.DF(Transaction.custbody_total_quantity) AS ItemsCount,Transaction.Total,Transaction.TranDate,BUILTIN.DF( Transaction.StartDate ) AS StartDate,BUILTIN.DF( Transaction.custbody_xwarehouse ) AS CancelDate, BUILTIN.DF( Transaction.Status ) AS OrderStatus, Customer.LastName, Customer.FirstName, Customer.Email, Customer.ID, FROM Customer INNER JOIN Transaction ON ( Customer.ID = Transaction.Entity ) WHERE ( Customer.ID = '123678' ) AND ( Transaction .Type = 'SalesOrd' )"


Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!


This Week's Leaders

This Month's Leaders

All Time Leaders