If you have ever opened an invoice and the price did not match what was agreed upon with the customer, you already know the problem. In SAP Business One, the special prices They exist precisely to eliminate that risk: they allow setting individual prices per customer and per item, with validity dates and without depending on emails, Excel, or verbal agreements.
However, many companies do not configure them. They work with a single list for all customers, manage exceptions manually, and only discover errors when the customer has already complained. Consequently, commercial control remains outside the system.
In this tutorial you will learn how to configure SAP Business One special prices from scratch: price lists, customer-specific prices, discount groups, and four SQL queries to audit your pricing structure in SQL Server and SAP HANA.
Why special prices are a strategic decision
Pricing logic in SAP B1 is more sophisticated than it seems. The same item can have five different prices depending on the customer, the purchase volume, or the sales channel. However, if it is not configured correctly, that control migrates to external tools without traceability.
Special pricing directly impacts: the contribution margin per customer, the consistency between quotes and invoices, tax audits, and the customer's perception when they receive a price different from the agreed-upon one. Therefore, mastering this configuration is not just technical: it is a business decision.

Prerequisites
Before starting you need: administrator access to SAP Business One (v9.x or higher), access to the Query Manager or database, at least one configured base price list, and items with prices in the item master data.
Pricing structure in SAP B1: The three levels
To correctly configure SAP Business One special prices, you must first understand how the system prioritizes prices. There are three levels that apply in a cascade:
Level 1: Price Lists
They are the basis of the system. Each item can have a different price in each list. They are configured in Inventory → Price Lists. Lists are assigned to customers, customer groups, or set as the default list. A list can be based on another list with a multiplier factor—for example, a list of distributors at 85% from the general list.
Level 2: Business Partner Special Pricing
They are price exceptions for a specific customer, above or below their assigned list. They are configured from the customer card in Payment Terms → Special Prices, or massively from Inventory → Special Prices → Update Special Prices. They allow defining a fixed price or discount with an effective date.
Level 3: Discount Groups
They allow applying percentage discounts by item groups or brands to customer segments. They are the most scalable way to manage commercial discounts when you have many items and customers.
When SAP B1 calculates the price in a sales document, it applies this order: first, it searches for a special price for that customer and item; if none exists, it applies the customer's price list; and if there is a discount group, it applies the percentage over the list price. In this way, the system automatically resolves the correct price.
Step by step: Set up Price Lists
Access Inventory → Price Lists. Create or edit lists with explicit names: «PVP Retail CLP», «National Distributor USD», «Export FOB». Avoid generic names like «List 1» or «List 2», as they cause confusion with staff turnover.
Each list has a currency and can be based on another with a factor. Next, assign the correct list to each customer from Business Partners → Customers → Payment Terms → Price List. This step is critical: if the customer is left with the default list, they could receive incorrect prices without anyone noticing until a complaint is made.
Step by step: Set up special pricing by customer
For a client with specially negotiated conditions, you have two options:
Individual option: Open the customer profile → Payment Terms → button Special Prices. Add item by item with price or discount and, optionally, validity dates from/to.
Bulk option: Go Inventory → Special Prices → Update Special Prices for Business Partners. Allows bulk price uploading for multiple customers and items — ideal for annual contracts or seasonal campaigns.
However, the greatest risk of special pricing lies in its lifecycle: agreements expire, but the system does not alert you automatically. That is why the audit queries you will see below are essential.

SQL queries to audit your pricing structure
With access to Query Manager, you can build reports that the standard interface does not offer. The key tables are: OPLN price lists, ITM1 (prices per item and list), SPP1 (special prices per customer) and OCRD (business partners).
All prices of an item in all lists
It allows you to see at a glance how much an item is worth in each list in the system. It is essential for detecting outdated lists or items without an assigned price.
SQL Server
-- Prices for an item in all price lists
SELECT
T2.ListNum AS [List No.],
T2.ListName AS [List Name],
T1.ItemCode AS [Item],
T0.ItemName AS [Description],
T1.Price AS [Price],
T2.Currency AS [Currency],
CASE WHEN T1.Price = 0 OR T1.Price IS NULL
THEN 'NO PRICE' ELSE 'OK'
END AS [Status]
FROM OITM T0
INNER JOIN ITM1 T1 ON T0.ItemCode = T1.ItemCode
INNER JOIN OPLN T2 ON T1.PriceList = T2.ListNum
WHERE T1.ItemCode = '[%0]'
ORDER BY T2.ListNumSAP HANA
-- Prices for an item in all price lists (SAP HANA)
SELECT
T2."ListNum" AS "List No.",
T2."ListName" AS "List Name",
T1."ItemCode" AS "Item",
T0."ItemName" AS "Description",
T1."Price" AS "Price",
T2."Currency" AS "Currency",
CASE WHEN T1."Price" = 0 OR T1."Price" IS NULL
THEN 'NO PRICE' ELSE 'OK'
END AS "Status"
FROM OITM T0
INNER JOIN ITM1 T1 ON T0."ItemCode" = T1."ItemCode"
INNER JOIN OPLN T2 ON T1."PriceList" = T2."ListNum"
WHERE T1."ItemCode" = '[%0]'
ORDER BY T2."ListNum""Query 2: Customers with special pricing and validity status
Show all special prices in the system along with their validity status. First, it allows you to identify expired agreements that are still being applied without anyone having noticed.
SQL Server
-- Special prices by customer with validity status
SELECT
T0.CardCode AS [Customer Code],
T0.CardName AS [Customer Name],
T1.ItemCode AS [Item],
T2.ItemName AS [Description],
T1.Price AS [Special Price],
T3.Price AS [Base List Price],
CASE WHEN T3.Price > 0
THEN CAST(((T3.Price - T1.Price) / T3.Price * 100) AS DECIMAL(10,2))
ELSE 0
END AS [Discount Pct],
T1.DateFrom AS [Valid From],
T1.DateTo AS [Valid To],
CASE WHEN T1.DateTo IS NULL THEN 'Permanent'
WHEN T1.DateTo < GETDATE() THEN 'EXPIRED'
ELSE 'Active'
END AS [Status]
FROM OCRD T0
INNER JOIN SPP1 T1 ON T0.CardCode = T1.CardCode
INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode
LEFT JOIN ITM1 T3 ON T1.ItemCode = T3.ItemCode AND T3.PriceList = 1
ORDER BY T0.CardName, T1.ItemCodeSAP HANA
-- Special prices by customer with validity status (SAP HANA)
SELECT
T0."CardCode" AS "Customer Code",
T0."CardName" AS "Customer Name",
T1."ItemCode" AS "Item",
T2."ItemName" AS "Description",
T1."Price" AS "Special Price",
T3."Price" AS "Base Price List",
CASE WHEN T3."Price" > 0
THEN CAST(((T3."Price" - T1."Price") / T3."Price" * 100) AS DECIMAL(10,2))
ELSE 0
END AS "Discount Pct",
T1."DateFrom" AS "Valid From",
T1."DateTo" AS "Valid To",
CASE WHEN T1."DateTo" IS NULL THEN 'Permanent'
WHEN T1."DateTo" < CURRENT_DATE THEN 'EXPIRED'
ELSE 'Active'
END AS "Status"
FROM OCRD T0
INNER JOIN SPP1 T1 ON T0."CardCode" = T1."CardCode"
INNER JOIN OITM T2 ON T1."ItemCode" = T2."ItemCode"
LEFT JOIN ITM1 T3 ON T1."ItemCode" = T3."ItemCode" AND T3."PriceList" = 1
ORDER BY T0."CardName", T1."ItemCode"Query 3: Items for sale without a price in a specific list
Frequent error: a new item is activated, the price is loaded only in the main list, and it remains without a price in distributor or export lists. As a result, invoices may go out with a zero price without anyone noticing until a complaint is made.
SQL Server
-- Active items without a price or with a zero price in a list
-- Change T1.PriceList = 1 to the price list number you want to audit
SELECT
T0.ItemCode AS [Code],
T0.ItemName AS [Description],
T0.ItmsGrpCod AS [Group],
ISNULL(T1.Price,0) AS [List Price],
CASE WHEN T1.Price IS NULL THEN 'NO PRICE - does not exist in list'
WHEN T1.Price = 0 THEN 'ZERO PRICE'
END AS [Issue]
FROM OITM T0
LEFT JOIN ITM1 T1 ON T0.ItemCode = T1.ItemCode AND T1.PriceList = 1
WHERE T0.SellItem = 'Y'
AND T0.Canceled = 'N'
AND (T1.Price IS NULL OR T1.Price = 0)
ORDER BY T0.ItmsGrpCod, T0.ItemCodeSAP HANA
-- Active items with no price or a price of zero in a list (SAP HANA)
SELECT
T0."ItemCode" AS "Code",
T0."ItemName" AS "Description",
T0."ItmsGrpCod" AS "Group",
IFNULL(T1."Price", 0) AS "List Price",
CASE WHEN T1."Price" IS NULL THEN 'NO PRICE - not in list'
WHEN T1."Price" = 0 THEN 'PRICE ZERO'
END AS "Issue"
FROM OITM T0
LEFT JOIN ITM1 T1 ON T0."ItemCode" = T1."ItemCode" AND T1."PriceList" = 1
WHERE T0."SellItem" = 'Y'
AND T0."Canceled" = 'N'
AND (T1."Price" IS NULL OR T1."Price" = 0)
ORDER BY T0."ItmsGrpCod", T0."ItemCode""Query 4: Billed Price vs. List Price Audit
The most strategic query. It shows recent invoices where the applied price differs from the price on the list assigned to the customer. However, the differences are not always errors — they can be legitimate special prices — but all must have a documented explanation.
SQL Server
-- Audit: billed price vs customer price list (last month)
SELECT
T0.DocDate AS [Date],
T0.DocNum AS [Invoice Number],
T0.CardCode AS [Customer],
T0.CardName AS [Name],
T1.ItemCode AS [Item],
T1.Quantity AS [Quantity],
T1.Price AS [Billed Price],
T2.Price AS [List Price],
T1.DiscPrcnt AS [Disc Pct],
CASE WHEN T2.Price > 0
THEN CAST(((T2.Price - T1.Price) / T2.Price * 100) AS DECIMAL(10,2))
ELSE 0
END AS [Diff Pct],
CASE WHEN T1.Price > T2.Price * 1.10 THEN 'REVIEW: more than 10pct over list'
ELSE 'Normal'
END AS [Status]
FROM OINV T0
INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN OCRD T3 ON T0.CardCode = T3.CardCode
LEFT JOIN ITM1 T2 ON T1.ItemCode = T2.ItemCode AND T2.PriceList = T3.ListNum
WHERE T0.DocDate >= DATEADD(MONTH, -1, GETDATE())
AND T0.CANCELED = 'N'
AND T2.Price > 0
AND ABS(T1.Price - T2.Price) > 0.01
ORDER BY T0.DocDate DESCSAP HANA
-- Audit: Invoiced price vs customer price list (SAP HANA)
SELECT
T0."DocDate" AS "Date",
T0."DocNum" AS "Invoice No",
T0."CardCode" AS "Customer",
T0."CardName" AS "Name",
T1."ItemCode" AS "Item",
T1."Quantity" AS "Quantity",
T1."Price" AS "Invoiced Price",
T2."Price" AS "List Price",
T1."DiscPrcnt" AS "Disc Pct",
CASE WHEN T2."Price" > 0
THEN CAST(((T2."Price" - T1."Price") / T2."Price" * 100) AS DECIMAL(10,2))
ELSE 0
END AS "Difference Pct",
CASE WHEN T1."Price" T2."Price" * 1.10 THEN 'REVIEW: more than 10pct over list'
ELSE 'Normal'
END AS "Status"
FROM OINV T0
INNER JOIN INV1 T1 ON T0."DocEntry" = T1."DocEntry"
INNER JOIN OCRD T3 ON T0."CardCode" = T3."CardCode"
LEFT JOIN ITM1 T2 ON T1."ItemCode" = T2."ItemCode" AND T2."PriceList" = T3."ListNum"
WHERE T0."DocDate" >= ADD_MONTHS(CURRENT_DATE, -1)
AND T0."CANCELED" = 'N'
AND T2."Price" > 0
AND ABS(T1."Price" - T2."Price") > 0.01
ORDER BY T0."DocDate" DESC
Advanced variations and use cases
In addition to the basic configuration, SAP B1 offers important variations:
Prices effective as of: When setting up a special price, you can define a date range. It is ideal for temporary agreements or campaigns. However, SAP does not alert when a price expires — hence the importance of Query 2 with the EXPIRED filter.
Prices in a different currency: Each list has its own currency. If you sell in multiple currencies, you can create specific lists or let SAP convert based on the daily exchange rate. However, the second option can generate discrepancies if the currency fluctuates significantly.
Prices by unit of measure: If you use multiple UoMs (box, unit, pallet), you can define different prices for each one in the same list, which avoids manual conversions and quoting errors.
Bulk price update: For CPI adjustments or list increases, use Inventory → Update Item Prices. You can apply an increase percentage to an entire list or to groups of items, without editing them one by one.
Best practices and common mistakes
After multiple implementations, these are the most frequent errors:
Error 1 — Price list not assigned to the customer. The customer remains with the default list even though they should have the wholesale one. As a result, they receive incorrect prices without anyone noticing until the complaint.
Error 2 — Expired special prices still active. Agreements with an expiration date from 6 months ago, but that are still in effect because SAP does not notify of their expiration. Run Query 2 filtered by EXPIRED status at least once a month.
Error 3 — New items without a price in all lists. The item is created, the price is loaded into the main price list, and it remains without a price in the secondary price lists. Execute Query 3 before activating any item as a mandatory step in the onboarding process.
Error 4 — Unclear nomenclature in lists. Names like «List 1» or «Special» communicate nothing. With staff turnover, no one knows which list corresponds to which channel. Use descriptive names from the start.
Best practice — Monthly audit: Run Query 4 during the first few days of the month for the previous period. Any invoice with a variance greater than 10% must be supported by documented justification. This way, you turn price control into a systematic process.
Official SAP resources
For more details, see the SAP Business One Help Center in the «Price Lists» section of the Inventory module. SAP Note 1138824, which documents the behavior of special prices in sales documents when multiple simultaneous conditions exist, is also useful.
Conclusion
SAP Business One special prices are not a configuration detail: they are the backbone of commercial control. When properly configured, the system applies the correct price to every customer, in every document, without manual exceptions.
As a result of implementing these four queries in your monthly routine, you will have real visibility into your pricing structure: which customers have special conditions, whether those conditions are current, which items have missing prices, and whether the invoiced prices match what was agreed upon.
That level of control is what separates companies that trust their ERP from those that use it merely as a record. If you want to go further — with automatic alerts for out-of-range prices and customer margin control dashboards — that content is available to members of the Strategic Circle at hectorpincheira.com.




