NetSuite: Use SuiteQL to Get An Item's Price Information

Published on February 10, 2025.

To get pricing information for a given item, you can query the Pricing table.

For example:

SELECT
	BUILTIN.DF( Pricing.PriceLevel ) AS PriceLevelName,
	Pricing.PriceQty,
	Pricing.UnitPrice	
FROM
	Pricing
WHERE
	 ( Pricing.Item = 1223 )
ORDER BY
	PriceLevelName,
	Pricing.PriceQty

That query will return all price levels for which the item has a set price. It does not include price levels for which the item doesn't have a price specified.

If you'd like the result to include information for all price levels, you can restructure the query so that it is based on the PriceLevel table, with a LEFT OUTER JOIN on the Pricing table.

For example:

SELECT
	PriceLevel.Name,
	Pricing.PriceQty,
	Pricing.UnitPrice	
FROM
	PriceLevel
	LEFT OUTER JOIN Pricing ON
		( Pricing.PriceLevel = PriceLevel.ID )
		AND ( Pricing.Item = 1223 )
WHERE
	( PriceLevel.IsInactive = 'F' )
ORDER BY
	PriceLevel.Name,
	Pricing.PriceQty

And finally, if you'd like to see an item's price level history, you can query the InvtItemPriceHistory table.

For example:

SELECT
	BUILTIN.DF( PriceType ) AS PriceType,
	Version,
	Quantity,	
	Price,
	Discount
FROM
	InvtItemPriceHistory
WHERE
	( Item = 1223 )
ORDER BY
	PriceType,
	Quantity,
	Version

As always, I hope you find the queries that I've shared in this post to be helpful.

About Me

Hello, I’m Tim Dietrich. I design and build custom software for businesses running on NetSuite — from mobile apps and Web portals to Web APIs and integrations.

I’ve created several widely used open-source solutions for the NetSuite community, including the SuiteQL Query Tool and SuiteAPI, which help developers and businesses get more out of their systems.

I’m also the founder of SuiteStep, a NetSuite development studio focused on pushing the boundaries of what’s possible on the platform. Through SuiteStep, I deliver custom software and AI-driven solutions that make NetSuite more powerful, accessible, and future-ready.

Copyright © 2025 Tim Dietrich.