Customers Stock
The Customers Stock report shows what each customer holds of each material at the last visit in which the distributor recorded the customer's stock, how much the customer uses per day according to the visits of the period, how many days the stock lasts, and how much is expected to remain on the last date of the period. The report reads customer stocks that the distributors recorded on their hand-held devices during visits and sent to the program.
Opening the report
From the main ribbon: Distribution > Reports > Distribution Reports > Customers Stock.
Your licence must include the distribution feature, and you need the Customers Stock permission in the Reports list of Users Management.
The conditions window opens first. Set the conditions, then click Preview, Print or Export. The page Report parameter forms explains these buttons.
Parameters
The order below is the order of the window in the standard layout. If you set Dialogs Form Layout to Tabs, the tabs are General (with the fields and the advanced options), Customers Types and Customer Sales Channels. In Extended Tabs they are General, Advanced Options, Customers Types and Customer Sales Channels. The conditions are the same. See Report options.
Main conditions
| Parameter | Description and effect | Default and rules |
|---|---|---|
| Date | The date the stock was recorded: from and to. The report calculates from the records inside it only. See the date range field. | Starts at the opening date of the accounting period, or at the first day of the current month if you turned off the option "Start Date" is beginning date in Program Options. Ends today. The To date is the date for which the expected stock is calculated. |
| Account | A main account or a customer account. The report keeps the customers whose account is this account or one of its sub-accounts. | Empty: all customers. |
| Distribution Groups | A distribution group. It shows in the report header. | Empty. This condition and Distribution Unit do not change the result: the report reads the recorded customer stock without tying it to a unit. In the standard layout one of them is disabled when you fill the other. |
| Distribution Unit | A distribution unit. It shows in the report header. | Empty. As for Distribution Groups. |
| Group | A group of materials. The report keeps its materials and the materials of the groups under it. | Empty: all groups. |
| Material | One material. | Empty: all materials. |
| Use Unit | The unit in which the last stock and the expected stock are shown: First Unit, Second Unit, Third Unit or Default Unit. | Default Unit. A unit that the material does not define falls back to the first unit. This condition does not change the daily average. |
Account is not disabled when another field has a value.
Advanced Options
Two options that decide the rows of the report.
| Parameter | Description and effect | Default and rules |
|---|---|---|
| Group | Adds, for each customer, a row for the group of the material above its materials, and totals their values. | Off. |
| Material | Shows the row of each material. | On. |
If you turn both off, the report shows no rows.
Report Sources
Two lists with check boxes that open with every item ticked. See the report sources list.
| List | What it restricts | Rules |
|---|---|---|
| Customers Types | Customers by the type set in their distribution card. | It has a None item for customers with no type. |
| Customer Sales Channels | Customers by their sales channel. | It has a None item for customers with no channel. |
If a list has no ticked item, the conditions window shows a message and the report does not run.
Option List in the viewer
| Group | What it holds |
|---|---|
| General | Account, Distribution Groups, Distribution Unit and Material. |
| Period | The date field, from and to. |
| Show | The options Group and Material. |
The list does not hold Group (the materials group), Use Unit or the two lists of types and channels. See Option List.
Where the data comes from
The report reads the customer stock records that the distributor enters on the device at each visit: the quantity of stock at the customer and the quantity the distributor sold in the same visit. A material whose stock was not recorded for the customer in the period does not appear.
For each customer and material the program orders the records of the period by date and calculates:
- Last stock: the record of the last date in the period. Its value is the customer's stock plus the quantity sold in that visit, that is, what the customer holds after the delivery.
- Consumption between two consecutive records = (stock of the earlier record + its sales) − stock of the later record.
- Daily average of each interval = the consumption ÷ the number of days between the two records (the consumption itself if both are on the same day).
Columns
| Column | Meaning | How it is calculated |
|---|---|---|
| Customer | The customer's name. | Shown on the first row of each customer, or on the root row with Group. |
| Material Name | The name of the material or the group. | |
| Last Stock Date | The date of the last record in the period. | Empty on a group row. |
| Last Inventory | The quantity the customer holds after the last visit. | (Stock + sold) in the last record, in the Use Unit unit. On a group row: the total of its children. |
| Unit | The name of the unit used. | Empty on a group row. |
| Day Average | The customer's daily consumption of the material. | The total of the interval averages ÷ (number of records − 1). 0 if the period has only one record. In the unit the distributor recorded. On a group row: the average of its children. |
| Last Inventory for | The days the last stock lasts. | Last Inventory ÷ Day Average. 0 if Day Average is 0. |
| Expected Stock | The expected stock on the To date. | Last Inventory − (days from Last Stock Date to To × Day Average). 0 if Last Inventory is 0. It can be negative. |
| Expected Stock is Sufficient for | The days the expected stock lasts. | Expected Stock ÷ Day Average. 0 if Day Average or Last Inventory is 0. |
| Notes | The distributor's note on the record. |
The totals on group rows follow each column as the table shows.
Right-click menu
This report has no commands of its own and no automatic commands. The general commands stay in the report viewer.
Messages
| Message | When it appears | What to do |
|---|---|---|
| This report has no messages of its own. | — | — |
If the report comes out empty, check that the customers are in the chosen account, that the distributor recorded their stock in the period, and that Group or Material is on.
Example
Three records for the customer Alnakheel Est. and the material P01 (in the first unit), for the period from 01-03-2026 to 25-03-2026:
| Record date | Stock | Sold in the visit |
|---|---|---|
| 01-03-2026 | 30 | 10 |
| 11-03-2026 | 20 | 20 |
| 21-03-2026 | 0 | 30 |
- Consumption of the first interval: (30 + 10) − 20 = 20 in 10 days, so the average is 2.
- Consumption of the second interval: (20 + 20) − 0 = 40 in 10 days, so the average is 4.
- Day Average = (0 + 2 + 4) ÷ (3 − 1) = 3.
- Last Stock Date = 21-03-2026 and Last Inventory = 0 + 30 = 30.
- Last Inventory for = 30 ÷ 3 = 10 days.
- Between 21-03-2026 and 25-03-2026 there are four days, so Expected Stock = 30 − (4 × 3) = 18.
- Expected Stock is Sufficient for = 18 ÷ 3 = 6 days.
Related
This page applies to alameen ERP 10, version 10.1.79.764.