Skip to main content

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​

ParameterDescription and effectDefault and rules
DateThe 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.
AccountA 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 GroupsA 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 UnitA distribution unit. It shows in the report header.Empty. As for Distribution Groups.
GroupA group of materials. The report keeps its materials and the materials of the groups under it.Empty: all groups.
MaterialOne material.Empty: all materials.
Use UnitThe 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.

ParameterDescription and effectDefault and rules
GroupAdds, for each customer, a row for the group of the material above its materials, and totals their values.Off.
MaterialShows 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.

ListWhat it restrictsRules
Customers TypesCustomers by the type set in their distribution card.It has a None item for customers with no type.
Customer Sales ChannelsCustomers 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​

GroupWhat it holds
GeneralAccount, Distribution Groups, Distribution Unit and Material.
PeriodThe date field, from and to.
ShowThe 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:

  1. 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.
  2. Consumption between two consecutive records = (stock of the earlier record + its sales) − stock of the later record.
  3. 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​

ColumnMeaningHow it is calculated
CustomerThe customer's name.Shown on the first row of each customer, or on the root row with Group.
Material NameThe name of the material or the group.
Last Stock DateThe date of the last record in the period.Empty on a group row.
Last InventoryThe 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.
UnitThe name of the unit used.Empty on a group row.
Day AverageThe 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 forThe days the last stock lasts.Last Inventory ÷ Day Average. 0 if Day Average is 0.
Expected StockThe 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 forThe days the expected stock lasts.Expected Stock ÷ Day Average. 0 if Day Average or Last Inventory is 0.
NotesThe distributor's note on the record.

The totals on group rows follow each column as the table shows.

This report has no commands of its own and no automatic commands. The general commands stay in the report viewer.

Messages​

MessageWhen it appearsWhat 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 dateStockSold in the visit
01-03-20263010
11-03-20262020
21-03-2026030
  1. Consumption of the first interval: (30 + 10) − 20 = 20 in 10 days, so the average is 2.
  2. Consumption of the second interval: (20 + 20) − 0 = 40 in 10 days, so the average is 4.
  3. Day Average = (0 + 2 + 4) ÷ (3 − 1) = 3.
  4. Last Stock Date = 21-03-2026 and Last Inventory = 0 + 30 = 30.
  5. Last Inventory for = 30 ÷ 3 = 10 days.
  6. Between 21-03-2026 and 25-03-2026 there are four days, so Expected Stock = 30 − (4 × 3) = 18.
  7. Expected Stock is Sufficient for = 18 ÷ 3 = 6 days.

This page applies to alameen ERP 10, version 10.1.79.764.