Warehouse Sales
This report answers the question: how much of each material did the sales warehouse sell, and how much is in the stock warehouse that supplies it? It is the printed or previewed result of the Warehouse Sales window. You do not set conditions in the report: you set them in the window, and the report shows what the window found.
Opening the report
You open the report from the Warehouse Sales window, not from a command of its own. See Warehouse Sales.
- Click Invoices in the top ribbon and open the bill tools list. Choose Warehouse Sales. The command does not show in a file that works with several files.
- In the window, choose Sales Warehouse and Stock Warehouse, the period, the sources and the options.
- Click Update to see the table in the window, then Preview, Print or Export to get the report.
The window refuses to continue if you did not choose a sales warehouse ("Must select sales warehouse"), a stock warehouse ("Must select stock warehouse") or a report source ("Please select report sources").
Parameters
The report has no conditions window and the Option List panel of the viewer is empty. The header of the report only repeats four values from the window, as text:
| Header value | Meaning |
|---|---|
| Group | The group you chose in the window. |
| Sales Warehouse | The sales warehouse. |
| Warehouse | The stock warehouse. |
| Cost Center | The cost center, if you chose one. |
The conditions that decide the rows are in the window:
| Window field | Effect on the report |
|---|---|
| Sales Warehouse | The warehouse, with its sub-warehouses, whose sales are counted. |
| Stock Warehouse | The warehouse, with its sub-warehouses, whose stock is shown. |
| Material, Group and Materials Terms | The materials in the report. |
| Cost Center | Counts only the sales lines of this cost center. |
| From and To | The period of the sales. The stock is not limited by it. |
| Use Unit | The unit of the quantities. |
| The list of types | The bill types that count as sales: sales bills, sales returns and input transpositions. |
| Show Posted Bills and Show Unposted Bills | Which bills count. Posted bills only, by default. |
| Show Balanced Materials in Sales Warehouse | Also shows the materials that have stock but whose sold quantity is zero, for example a material that only has returns in the period. |
| Show Balanced Materials in Stock Warehouse | Also shows the materials that have sales but no stock. |
Columns
There is one row for each material. The rows follow the order chosen in Sort By in the window.
| Column | Meaning | How it is calculated |
|---|---|---|
| Material Name | The material. | |
| Unit | The unit of the quantities. | The unit chosen in Use Unit, or the default unit of the material. |
| The Sales | The quantity sold in the period. | The sum of (quantity + gifts) of the lines of the output bills among the chosen sources, in the sales warehouse, divided by the factor of the unit. Input bills, such as sales returns, add nothing. |
| Stock | The quantity in the stock warehouse. | The balance of all bills of all types in the stock warehouse, to this day, without a date limit: inputs minus outputs, counting gifts. |
| Sales Warehouse Quantity | A column for the balance of the sales warehouse. | It shows 0 in every row. |
| Type | The type of the material. |
With no option ticked in the window, the report keeps a material only if it has sales (not zero) and the stock is more than zero. The two options Show Balanced Materials... widen the list as shown in the table above. A material with no bill of the chosen sources in the period never appears.
There is no total row.
Example
Sales warehouse "Sales WHS", stock warehouse "Main WHS", period 01-12-2026 to 31-12-2026. In "Sales WHS", two sales bills of "Rice": 25 and 15 units. The balance of "Rice" in "Main WHS" over all bills is 300.
| Material Name | Unit | The Sales | Stock | Sales Warehouse Quantity |
|---|---|---|---|---|
| Rice | Kg | 40 | 300 | 0 |
A material "Tea" sold 10 but with no stock in "Main WHS" shows only if you tick Show Balanced Materials in Stock Warehouse.
Right-click menu
Right-click a row. The program shows the display commands it adds for a row that has a material:
| Command | When it appears | What it does |
|---|---|---|
| Display Material Movement... | You have the permission Material Movement. | Opens the conditions window of the material movement report with the material. |
| Display Daily Movement... | You have the permission Daily Movement. | Opens the conditions window of the daily movement report for the material. |
| Display Material Card... | Always. | Opens the material card. |
The report has no commands of its own. Double-clicking a row runs the last command you used from the menu, or else the first one. The general table tools are in Report grid tools.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| No results found in this period | The window found no row for the conditions. | Widen the period, tick the Show Balanced Materials... options or change the sources. |
| Must select sales warehouse | Preview, Print, Export or Update with Sales Warehouse empty. | Choose the warehouse. |
| Must select stock warehouse | The same with Stock Warehouse empty. | Choose the warehouse. |
| Please select report sources | No type is selected in the list of types. | Select at least one type. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.