Skip to main content

Select distribution routes

Use these steps to set the customers of a distribution unit, the day of the coverage cycle on which each one is visited, and the time of each visit. The example uses a unit with a six-day cycle: the first customer is visited on days 1 and 4, the second on day 2, and the third is not visited yet.

Before you begin​

  • Your licence must include the distribution feature, and you need the Select Distribution Routes permission in Users Management, on the Reports page.
  • The distribution unit has a customers account in its card, and that account holds the cards of the customers you will schedule. A customer who is not under the account appears in the grid only if you add the customer by typing (step 7).
  • Set the Coverage Days Count in the coverage options. In the example it is 6. The program does not accept a visit number larger than it.
  • Save any unsaved grid changes before you change Table fields or the distribution unit, because the program drops them without asking.

Steps​

  1. Open Distribution > Coverage > Coverage > Select Distribution Routes. The window opens empty.
  2. In Distribution Unit, choose your unit. The program loads its customers at once. Account customers shows the name of the unit's customers account, and the rows that have no route yet are gray.
  3. Add the columns you need. Right-click the corner cell at the top of the grid and choose Table fields. The example needs the second visit, so tick Visit 2 and Visit 2 Time in Visits Fields, then click Save and Close. The program rebuilds the grid with the new columns.
  4. In the Visit 1 column of the first customer's row, type the day of the cycle on which the customer is visited, 1. Then type the time 09:00 in Visit 1 Time. The program shows it as 09:00:00.
  5. In the same row type 4 in Visit 2 and 09:00 in Visit 2 Time. For the second customer, type 2 in Visit 1 and 10:00 in Visit 1 Time. Leave the third customer empty.
  6. Optional: to give every customer the same visit, for example a weekly visit on day 6 for all the unit's customers, click Visit Number, choose Visit 3, type 6 in Value, and click OK. The program puts the value in Visit 3 of every row in the grid, even the third customer's row, then saves and refreshes the grid. After this step the third customer also gets a route, and every customer has visit 3. Skip it if you do not need it.
  7. To add a customer who is not in the grid, right-click a row number and choose Insert New Line. Then type part of the code or name in Code or Customer of the new row, and pick the customer from the search results. Type the visits afterwards. The row stays gray until you save.
  8. Click Save. If the message "Customer should not be duplicated" appears, delete the repeated row that the message names, then save again.
  9. Click Refresh to check what was saved. The rows you saved show in the normal color, and the rows whose visits are all 0 are gray again.

Result​

The program saves one route for each customer that has at least one visit other than 0. In the example it saves two routes: the first customer has two visits (day 1 at 09:00:00 and day 4 at 09:00:00), and the second has one (day 2 at 10:00:00). The third customer has no route, and comes back after Refresh as a gray row.

Saving deletes all the saved routes of this unit before it writes them again, so anything that is not in the grid does not stay. If you added or deleted customers, saving also makes the sub-accounts of the unit's customers account match the customers in the grid.

If something goes wrong​

Message or situationWhy it appearsWhat to do
"Distribution unit must be selected and date updated"You typed a customer in the grid before choosing the unit.Choose the unit first.
"No Account Customers for Distribution Unit.No modification should be applied on Distribution Routs of Distribution Unit"The distribution unit has no customers account.Link it to a customers account in its card.
"Customer should not be duplicated"The same customer is in two rows.Delete one of the rows and save.
The visit number became 0 after you typed a numberThe number is larger than the Coverage Days Count.Type a number within the days of the cycle, or raise the Coverage Days Count.
Your changes disappeared after you changed the distribution unit or the table fieldsThe program drops unsaved grid changes when you change the unit or the fields.Save before you change them.
"Invalid value"The value in the Select Visit Number window is empty or larger than the Coverage Days Count.Type a number from 0 to the Coverage Days Count.

For the other messages see Messages.

This page applies to alameen ERP 10, version 10.1.79.764.