Skip to main content

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.

ButtonWhat it does
OkCloses the window.
NewOpens the card empty. When you click Ok in it, the template is saved and the list is refreshed.
ModifyOpens 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.
DeleteAsks "Are you sure you want to DELETE", then deletes the selected template if it is not in use. Disabled when no row is selected.
CloseCloses 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".

FieldDescriptionRequiredValues and rules
Template NameThe name of the template.YesFor example Beverages. The program does not accept a name that another template has.
Materials GroupThe group of materials the template covers.YesType 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.
ButtonWhat it does
OkChecks the name and the group, then closes the card; the list saves the template right after it closes.
CancelCloses the card without saving.

Messages​

MessageWhy it appearsWhat to do
Please enter template name and group nameYou left Template Name or Materials Group empty.Fill both fields.
Value entered already existsAnother template has the same name.Change the name.
Selected group linked to another template, make sure to select the accurate group before savingThe 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.

This page applies to alameen ERP 10, version 10.1.79.764.