Discussions

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!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!

NetSuite Admin Tip | Sales Order in a Day using ODBC Driver NetSuite2.com Data Source

edited Jul 29, 2024 2:22PM in NetSuite Admin Corner

Sales orders and daily sales reports are essential for a business to run smoothly. They're like important paperwork that keeps track of transactions and helps the company stay organized. Additionally, they're useful for managing money matters like tracking income, making budgets, and predicting financial outcomes.

In NetSuite, to retrieve the Sales Orders within the day using SQL format through the ODBC driver and the NetSuite2.com data source, you can employ this query/format.

select TO_CHAR(t.trandate,'YYYY-MM-DD') as 'Transaction Date',t.trandisplayname as 'Order #',c.altname as 'Customer Name',BUILTIN.DF(t.status) as 'Order Status',t.foreigntotal as 'Total Sales'from transaction t,customer cwhere t.recordtype='salesorder' and t.entity=c.idand TO_CHAR(t.trandate,'YYYY-MM-DD')=TO_CHAR(current_date,'YYYY-MM-DD');

Richard James Uri | SuiteCloud and WMS Tech

----

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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

Leaderboard

Community Whiz

Quarter 3 (Jul-Sep 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders