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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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