Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
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' )"