Materials Template
A materials template is a name given to a group of materials in the tree, so that all the materials of the group and its sub-groups are treated as one template. You classify your customers by template in the Customers Classification window, targets are set by template, and the program sends to the representative's device the materials of the templates assigned to his distribution unit. This page explains the list and the card. For the practical steps see Set up the Distribution options.
Opening the window
- Open Distribution options and click Materials Template. The list opens.
- In the list, click New or Modify to open the card.
- The card also opens from the template search window: its add command shows a new card with the name you typed in the field. When you click Ok in it, the template is saved.
The Distribution page appears under the conditions listed in Distribution options.
The list
The window title is "Materials Template". The list shows a row for each template with two columns: the template name and the materials group it covers. Rows follow the template numbers, and the program gives a new template a number automatically. A template whose group was deleted from the materials tree does not appear.
| Button | What it does |
|---|---|
| Ok | Closes the window. |
| New | Opens the card empty. When you click Ok in it, the template is saved and the list is refreshed. |
| Modify | Opens the card with the selected template. When you click Ok, the change is saved and the list is refreshed. Disabled when no row is selected. |
| Delete | Asks "Are you sure you want to DELETE", then deletes the selected template if it is not in use. Disabled when no row is selected. |
| Close | Closes the window. |
Insert, F2 and Delete work like the New, Modify and Delete buttons when the button is enabled.
- A template used in a customer classification record or in a customers classification target is not deleted: the message "Cannot delete material template because it is used!" appears.
The card
The title of the card is "Template".
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Template Name | The name of the template. | Yes | For example Beverages. The program does not accept a name that another template has. |
| Materials Group | The group of materials the template covers. | Yes | Type the group code or name and press Enter to open the search window. The group, or a group above it or below it, cannot be linked to another template. |
| Button | What it does |
|---|---|
| Ok | Checks the name and the group, then closes the card; the list saves the template right after it closes. |
| Cancel | Closes the card without saving. |
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Please enter template name and group name | You left Template Name or Materials Group empty. | Fill both fields. |
| Value entered already exists | Another template has the same name. | Change the name. |
| Selected group linked to another template, make sure to select the accurate group before saving | The group, or a group above it or below it, is linked to another template. | Choose another group. |
| Cannot delete material template because it is used! | You tried to delete a template that has classification records or targets. | Change the template in Customers Classification, or delete the targets, then try again. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.