Discussions
NetSuite Admin Tip | Sales Order in a Day using ODBC Driver NetSuite2.com Data Source
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 | 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!
