https://netsuiteprofessionals.com logo
s

Simon

04/23/2022, 2:37 PM
I need to access inventory detail using SuiteQL. What is the file name ?
t

tdietrich

04/24/2022, 6:13 AM
@Simon I think you're looking for the InventoryItemLocations table. Here's a query that might help:
Copy code
SELECT
	Location,
	BUILTIN.DF( Location ) AS LocationName,
	QuantityOnHand,
	QuantityAvailable
FROM
	InventoryItemLocations 
WHERE
	Item = 35277
s

Simon

04/24/2022, 10:59 PM
It's getting closer but not there yet. Mine is by Serial Number. It looks like this
message has been deleted
I guess it's another "table/file/custom Record"
t

tdietrich

04/25/2022, 12:46 AM
Ah, ok. I think you want the InventoryNumber and InventoryNumberLocation tables. Take a look at this post - https://timdietrich.me/blog/netsuite-suiteql-serialized-lot-number-expiring-items/ - and specifically at the "Multi-Location Inventory" query. I think that's what you need.
a

Alan Fitch

04/26/2022, 3:45 PM
Won't give you a breakdown by bin.
Copy code
Select * from inventorybalance
alert Breaking News!!! Don't know when they added it but this is revolutionary.
c

Clay Roper

04/27/2022, 8:58 PM
@Alan Fitch 💥 💥 💥 💥 I've got 100s of lines of SuiteQL queries I can trash now... thank you kind sir
n

NickSuite

04/27/2022, 10:19 PM
How did you find out @Alan Fitch?
a

Alan Fitch

04/27/2022, 10:20 PM
Credit to @battk
🤖 2
🔥 1