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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
NSC | Retrieve Active Items Using SuiteQL
Scenario
A user wants to get a list of active items in NetSuite.
This can be helpful when reviewing item records or creating a simple item report using SuiteQL.
Return active items with the following information:
Information Needed | Description |
|---|---|
Item Internal ID | The internal ID of the item |
Item Name / Number | The item name or number |
Display Name | The display name of the item |
Inactive Status | Shows whether the item is inactive |
Solution
Use the item table and filter out inactive items.
SELECT
item.id AS item_id,
item.itemid AS item_name,
item.displayname,
item.isinactive
FROM
item
WHERE
0
