SAP Business One query library
32 ready-made reports for sales, finance, purchasing and stock. Every query in SQL Server and HANA versions, free to copy into Query Manager. Moving the whole database? See our SQL Server to HANA migration service. Want ChatGPT or Claude to run these reports for you? Use a SAP Business One MCP server.
Tool
Sales by customer for a date range
Net sales per customer (invoices minus credit notes) between two dates, highest first.
OINVORINTop 20 selling items
Best-selling items by sales value, with quantity sold, for a date range.
OINVINV1Sales by sales employee
Invoice count and net sales per sales employee for a period.
OINVOSLPMonthly sales trend
Net invoiced sales per month for the last 12 months.
OINVOpen sales orders with open quantity
Every open sales order line that still has quantity to deliver.
ORDRRDR1Customer aging report (AR aging)
Open invoice balance per customer in 0–30, 31–60, 61–90 and 90+ day buckets by due date.
OINVOverdue customer invoices
Open invoices past their due date, with days overdue and the customer phone number.
OINVOCRDCustomer balances
All customers with a non-zero account balance, with credit limit and phone.
OCRDIncoming payments by date
Customer payments received in a period, split into cash, transfer, check and card.
ORCTOutgoing payments by date
Vendor payments made in a period, split into cash, transfer, check and card.
OVPMG/L account transactions
Journal lines for one G/L account in a period, with debit, credit and reference.
OJDTJDT1OACTG/L account balances
Current balance of every postable G/L account, grouped by account level.
OACTOpen purchase orders by vendor
Open purchase order lines with quantity still to receive, grouped by vendor.
OPORPOR1Last purchase price per item
The most recent A/P invoice price, vendor and date for every item.
OPCHPCH1Vendor aging report (AP aging)
Open A/P invoice balance per vendor in due-date buckets.
OPCHStock by warehouse
On hand, committed, ordered and available quantity per item and warehouse.
OITWOITMItems below minimum stock
Inventory items whose on-hand quantity is below the minimum level set on the item.
OITMInventory value by warehouse
Stock quantity multiplied by the item average cost, totalled per warehouse.
OITWOITMSlow-moving items (no sales in 90 days)
Items with stock on hand that have not been invoiced in the last 90 days.
OITMINV1OINVBatches expiring in the next 60 days
Batch numbers with stock that expire within 60 days, per warehouse.
OBTNOBTQItems with no price in a price list
Sales items that have a zero price in the chosen price list.
OITMITM1OPLNBusiness partners missing a tax ID
Active customers and vendors with no federal tax ID (VAT / RUC / NIT / NTN).
OCRDInvoices created per user today
How many A/R invoices each SAP B1 user created today, with the total value.
OINVOUSRDocuments waiting for approval
Approval requests still pending, with the document type, originator and age in days.
OWDDOUSRSales by item group
Net sales and quantity per item group (invoices minus credit memos, after header discount) for a date range.
OINVINV1ORINRIN1OITMOITBItem sales by warehouse
Quantity and net sales per item and warehouse from A/R invoices in a date range.
OINVINV1Gross profit by invoice
Sales, gross profit and margin % per A/R invoice for a date range, from the gross profit stored on each row.
OINVINV1Open A/R invoices by due date
Every open customer invoice ordered by due date, with the open amount and days until (or past) the due date.
OINVCash flow by month (incoming vs outgoing)
Incoming payments, outgoing payments and the net cash movement per month for a date range.
ORCTOVPMGoods receipts not yet invoiced (GRPO to A/P)
Open goods receipt PO rows that no A/P invoice has closed yet, with open quantity and open value per vendor.
OPDNPDN1Serial numbers in stock by warehouse
Every serial number that is currently in stock, with item, warehouse, manufacturer serial and admission date.
OSRNOSRQOITMProduction orders by status
Planned and released production orders with planned, completed and rejected quantity, due date and days late.
OWORNo query found. Ask us for it →
What this tool checks, and what it does not
It checks: gives ready-to-run queries for the standard SAP Business One tables, in a SQL Server and an SAP HANA version.
It does not: know your localisation or your user-defined fields. Test each query on a copy of your company first; see the SAP B1 table reference for the fields.
Official sources: SAP Business One documentation (help.sap.com)
Three steps, no signup
Find the report
Search by name or table, or filter by Sales, Finance, Purchasing, Inventory and Admin.
Pick SQL or HANA
Every query comes in both versions, tested against the standard SAP Business One schema.
Paste into Query Manager
Tools → Queries → Query Generator → Execute, then save it in your query category.
Questions about this tool
Are these SAP Business One queries free to use?
Yes. Copy them into your SAP B1 Query Manager, change them and share them with your team.
Do the queries work on SAP B1 for HANA?
Yes. Each query page has a SQL Server tab and a HANA tab. The HANA version uses quoted column names and HANA functions such as ADD_DAYS and DAYS_BETWEEN.
What do [%0] and [%1] mean in a query?
They are SAP Business One parameters. When you run the query, B1 opens a selection window and asks for the value, such as a date range or an account code.
Can you add our custom fields (UDFs) to a query?
Yes. We extend queries with your user-defined fields and tables, or turn them into Crystal reports, dashboards or alerts.
Built for SAP Business One teams
Need this inside SAP Business One?
We build add-ons, reports and integrations for SAP B1 on SQL Server and HANA. Tell us what you need and get a fixed price, usually within 24 hours.
