Materials Movement by Visits
The Materials Movement by Visits report shows, for one customer, a table of the dates on which the customer bought. For each material on each date it shows the customer's stock that the distributor recorded, the quantity sold to the customer, and the Target accumulated from the earlier dates. The report reads the stock from records that the hand-held devices sent. The visit dates are the dates of the customer's bills in the program, not the visit records themselves.
Opening the report
From the main ribbon: Distribution > Reports > Distribution Reports > Materials Activity by Visits. The ribbon button is called Materials Activity by Visits, and the title of the report in the viewer is Materials Movement by Visits.
Your licence must include the distribution feature, and you need the Materials Activity by Visits permission in the Reports list of Users Management.
The conditions window opens first. Set the conditions, then click Preview, Summaries, 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 or Extended Tabs, the tabs are General and Materials Terms. The conditions are the same. See Report options.
| Parameter | Description and effect | Default and rules |
|---|---|---|
| Customer | The customer whose movement the report shows. It shows in the report header. | Required. If you leave it empty, a message appears and the report does not run. |
| Group | A group of materials. The report keeps its materials and the materials of the groups under it. It shows in the header. | Empty: all materials. |
| Date | The date of the bills: from and to. 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. |
| Materials Terms | Saved conditions on the materials. See the saved conditions field. | Empty: no conditions. |
Option List in the viewer
| Group | What it holds |
|---|---|
| (no heading) | Customer and Group. |
| Period | The date field, from and to. |
| (no heading) | The materials terms field. |
If you leave Customer empty and click Apply, the customer message in Messages appears. See Option List.
Where the data comes from
- Dates (visits): every date between From and To on which the customer has a bill in the program, of any type. A bill that is not tied to a device visit counts too.
- Materials: all the materials of the chosen group that meet Materials Terms, for each date. A material shows on every date even if nothing was recorded for it, and its values are then 0.
- Stock: the customer's stock of the material that the distributor recorded on the device in a visit on the same date. 0 if no stock was recorded on that date.
- Sales: the total quantity of the material on the customer's bills on that date, in the first unit of the material, of any bill type.
- Target: for each material, the total of (stock + sales) of all the dates before this date, that is, what the customer held or bought up to the previous visit. It is 0 on the first date.
Columns
The result is a pivot table: one row for each material, and three columns under each date.
| Column | Meaning | How it is calculated |
|---|---|---|
| Material Name | The name of the material. | One row for each material of the group. |
| Stock | The customer's stock of the material on that date. | The quantity recorded by the distributor. |
| Target | The target accumulated up to the previous visit. | The total of (Stock + Sales) of all earlier dates. 0 on the first date. |
| Sales | The quantity bought on that date. | The total quantity of the material on the customer's bills on the date. |
Summaries
The Summaries button shows the total of Stock, Target and Sales for each date, without the detail of the materials.
Right-click menu
Right-click a row. Double-click runs the last command you used from the menu, or else the first one.
| Command | What it opens | Condition |
|---|---|---|
| View Material Card... | The material's card. | The row has a material. |
There are no automatic commands. The general commands are explained in the report viewer.
Messages
| Message | When it appears | What to do |
|---|---|---|
| Please select customer | You did not choose Customer. It appears with an OK button, and the conditions window stays open. | Choose the customer. |
If the report comes out empty, check that the customer has bills in the period, and Group and Materials Terms.
Example
The customer Alnakheel Est. has bills on 01-03-2026, 11-03-2026 and 21-03-2026, and the material is P01:
| Date | Recorded stock | Quantity bought |
|---|---|---|
| 01-03-2026 | 30 | 10 |
| 11-03-2026 | 20 | 20 |
| 21-03-2026 | 0 | 30 |
- Target on 01-03-2026 is 0 because it is the first date.
- Target on 11-03-2026 is 30 + 10 = 40.
- Target on 21-03-2026 is 40 + (20 + 20) = 80.
Related
This page applies to alameen ERP 10, version 10.1.79.764.