Skip to main content

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.

ParameterDescription and effectDefault and rules
CustomerThe 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.
GroupA group of materials. The report keeps its materials and the materials of the groups under it. It shows in the header.Empty: all materials.
DateThe 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 TermsSaved conditions on the materials. See the saved conditions field.Empty: no conditions.

Option List in the viewer​

GroupWhat it holds
(no heading)Customer and Group.
PeriodThe 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​

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

ColumnMeaningHow it is calculated
Material NameThe name of the material.One row for each material of the group.
StockThe customer's stock of the material on that date.The quantity recorded by the distributor.
TargetThe target accumulated up to the previous visit.The total of (Stock + Sales) of all earlier dates. 0 on the first date.
SalesThe 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 a row. Double-click runs the last command you used from the menu, or else the first one.

CommandWhat it opensCondition
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​

MessageWhen it appearsWhat to do
Please select customerYou 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:

DateRecorded stockQuantity bought
01-03-20263010
11-03-20262020
21-03-2026030
  1. Target on 01-03-2026 is 0 because it is the first date.
  2. Target on 11-03-2026 is 30 + 10 = 40.
  3. Target on 21-03-2026 is 40 + (20 + 20) = 80.

This page applies to alameen ERP 10, version 10.1.79.764.