Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
How to query the Inventory Valuation via SuiteAnalytics ODBC?
I have the query below. What else I need to consider to match the result in the Standard Report?
SELECT A.item AS "ITEM NAME", SUM(A.amount) AS "INV. VALUE", SUM(A.item_count) AS "ON HAND" FROM (
SELECT Transactions.trandate, Subsidiaries.name AS "subsidiary", Items.item_id, Items.name AS "item", Transaction_lines.amount, Transaction_lines.item_count FROM Transaction_lines
INNER JOIN Subsidiaries ON Subsidiaries.subsidiary_id = Transaction_lines.subsidiary_id
INNER JOIN Transactions ON Transactions.transaction_id = Transaction_lines.transaction_id
INNER JOIN Items ON Items.item_id = Transaction_lines.item_id
INNER JOIN Accounts ON Accounts.account_id = Transaction_lines.account_id
0