Distribution Routes
The Distribution Routes report shows, for each distribution unit, the number of its customers on each route of the coverage cycle, and a last column for the customers of the unit that have no route. On request it shows under each unit the names of its customers in the route columns. The report reads the saved routes. It does not include changes in the Select Distribution Routes window that you have not saved. To preview those changes use the Distribution Routes preview.
Opening the report
From the main ribbon: Distribution > Coverage > Distribution Routes Report.
Your licence must include the distribution feature, and you need the Distribution Routes Report permission on the Reports page of Users Management.
The conditions window appears first. Set the conditions, then click Preview, Print or Export. The page Report parameter forms explains these buttons.
Parameters
The window has one shape in every window layout: a column with the two main fields, then the list Options.
| Condition | Description and effect | Default and rules |
|---|---|---|
| Distribution Groups | A distribution group. The report takes all the units of the group and of the groups under it. See Distribution group card. | Empty. Disabled when you choose a Distribution Unit. |
| Distribution Unit | One distribution unit. See Distribution unit card. | Empty. Disabled when you choose Distribution Groups. If both are empty, all units are included. |
The Options list
| Condition | Description and effect | Default and rules |
|---|---|---|
| Distribution Groups | Under the header Show. Shows the rows of the distribution groups, which total the rows of their units. If you clear it, the rows that have no group above them are removed: the top-level groups and the units that belong to no group. | Not ticked. |
| Contracted customers only | Under Show. Leaves out the customers that are not contracted from the routes of the units. The customers of the account of the unit that have no route still show in the column None. | Not ticked. |
| Details | Under Show. Shows under each unit the names of its customers in the route columns. | Ticked. If you clear it, the next three options are disabled. |
| Customer address | Under Details. Adds to the name of the customer his region and street in brackets. | Not ticked. |
| Coverage Occurrence Count | Under Details. Adds to the name of the customer, in brackets, the number of routes set for him in the unit, and 0 for a customer that has no route line in the unit. | Not ticked. |
| Contracted Customer Status | Under Details. Adds to the name of the customer, in brackets, "متعاقد" (contracted) or "غير متعاقد" (not contracted), always in Arabic. | Not ticked. |
| Sort Results by Date | Under the header Different. If ticked, the route columns are ordered by the dates of their days instead of by route number. | Not ticked. |
| The date field with no heading under Sort Results by Date | The date of the first day shown of the cycle. The field is enabled when you tick Sort Results by Date. | Today's date. |
Option List in the viewer
The Option List in the viewer shows two groups. The group General is open and has Distribution Groups and Distribution Unit. The group Show has the options Distribution Groups, Contracted customers only, Details, Customer address, Coverage Occurrence Count, Contracted Customer Status and Sort Results by Date, and the date field. Click Apply to rebuild the report. See Option List.
How the report decides the columns
The number of routes is the Coverage Days Count in the coverage options. The program takes that number of days starting from the start date, skips the days marked as holidays in the distribution calendar, and works out the route number of each day.
Columns
| Column | Meaning |
|---|---|
| Name | The name of the group or unit. Under a unit, with Details, there are rows with no name for the names of the customers. |
| The route columns | One column for each route number in the cycle. In the row of a unit or group it is the number of customers that have this route. In the detail rows it is the names of the customers. |
| None | The first column when the routes are ordered by number, and the last when ordered by date. The customers of the unit that have no route, and the customers of the account of the unit that have no route line in it. |
- A customer is counted on each of his ten saved routes, so he shows in more than one column if he has more than one route.
- The row of a group totals the rows of the units under it.
- In the detail rows each column has the names of the customers of its route in consecutive rows, ordered by name. The first row has the first customer in each column, the second row the second, and so on.
- A customer that has a route line with no route shows in None with a coverage occurrence count of
1.
A route column heading has a number that is the position of the column (it starts at 0), and under it the date of the day in the same position of the cycle that starts on the start date. The data of the column belongs to the real route number. So do not rely on the number and the date in the heading to know the route, and check the route numbers in Select Distribution Routes. With the routes ordered by number, the heading of the last route column has no date.
Right-click menu
The report has no commands of its own and no automatic commands. The general commands stay in Report viewer.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| This report has no messages of its own. | — | — |
If the report is empty, check that the chosen units have customers and saved routes, and that Coverage Days Count in the distribution options is not zero.
Example
The coverage cycle is three days. The unit North has three customers: Ahmad has routes 1 and 2, Basel has route 2, and Jamil has no route. The options are Details and Coverage Occurrence Count.
| Row | None | Route 1 | Route 2 | Route 3 |
|---|---|---|---|---|
| North | 1 | 1 | 2 | |
| Under it, first row | Jamil(1) | Ahmad(2) | Ahmad(2) | |
| Under it, second row | Basel(1) |
In the row of the unit: one customer in None, one in route 1, two in route 2, and none in route 3.
Related
This page applies to alameen ERP 10, version 10.1.79.764.