Skip to main content

Distribution Group Card

In the Distribution Group Card you define a group that holds distribution units, and you put it under a main group to build a tree, for example a region and then a branch. You also modify and delete groups here. For the steps see Add a distribution group.

Opening the window​

  • From the ribbon: Distribution > Settings > Cards > Distribution Group Card. The command appears if your licence includes the Distribution feature and you have the Distribution Group Card permission in Users Management. The permission has four levels: add, browse, modify and delete.
  • From the Distribution Chart: double-click a group, press Enter on it, or right-click it and choose Distribution Group Card.... The card opens on the selected group.
  • From the Daily Indicators report: right-click a row that belongs to a distribution group and choose Distribution Group Card....
  • From the distribution group selection window in Distribution windows, such as the Distribution Unit Card, with the command that adds a new group: the card opens empty.

If you have neither the add level nor the browse level, you get the message "You don't have the appropriate authority to perform this operation" when you open a new card. If you move with the browse buttons to a group whose Security Level is higher than your permission, the text "You do not have permission" replaces the field texts, and Add, Modify and Delete are disabled. Click New to start another group.

Fields​

FieldDescriptionRequiredValues and rules
Browse buttonsMove between saved groups: first, previous, next and last, and the record number box if the option Show card number is on.—The shortcuts are in the record navigator. If you move while the card has unsaved changes, the program asks, when the warning option On cancel is on.
Security LevelThe secrecy level of the group.NoA user opens the group if their permission level is equal to or higher than the security level. A new card starts at level 1, and New sets it back to 1. When you Add a group with a level above the add level you hold, the message "You don't have the authority to save in the specified security level" appears. The field is disabled for users who may not change security levels.
CodeThe group code.YesNot repeated among groups. Example: 10. In a new card and after New, the program puts the highest saved code with the number at its end raised by one, or 1 if there are no groups. The program compares codes as text, not as numbers, so if you have 9 and 10 it suggests 10, which is taken: change it. After you Add a group, the program raises the last number in the code by one if the option Increment material code after save is on, and it is on by default. It also raises Name and Latin Name if the options Increment material name after save and Increment material latin name after save are on. You find them in Program Options.
NameThe group name.YesNot repeated among groups. Example: Eastern Region.
Latin NameThe group name in Latin letters.NoThe program does not check that it is unique. Example: Eastern Region.
Main GroupThe group that this group sits under in the tree.NoType its code or name, or choose from the "Distribution Groups List" with its Code and Name columns. See Lookup boxes and search. The selection window has a command that adds a new group and opens an empty card. Leave it empty for a group at the top of the tree. The program does not accept the group itself or one of its sub groups as its main group. New clears it.
TypeThe level of the group in the tree.NoA drop-down list of the classes you define in the Distribution Structure window, explained in Distribution options. A new card has no type, and the program does not require one. New clears it.
UserThe program user linked to the group.NoChoose from the list of users by User Name. The program does not accept the same user in more than one group, and shows "User is selected in another Distribution Group card". New does not clear this box, so clear it yourself before you add a group that you do not want to link to a user.

The Code, Name and Latin Name boxes have a menu to search for an existing card, explained in Lookup boxes and search.

Buttons​

ButtonWhat it does
AddSaves the typed group as a new group. If a saved group is on the screen, the program first asks "This window contains some information that might be duplicated..." and you confirm with Yes or No. After saving, the values you typed stay in the boxes and Code is raised as the fields table says, so click New before you write another group. See When you add.
NewStarts a new group: it puts the highest saved code, raised, in Code, clears Name, Latin Name, Main Group, Type and the list of branches, sets Security Level back to 1, and puts the cursor in Code. It does not clear User. It disables Modify and Delete. If the card has unsaved changes the program asks before it starts, when the warning option On cancel is on.
ModifySaves the edits of the group shown. It is disabled until a saved group is shown with the browse buttons or by opening it from the chart. See When you modify.
DeleteDeletes the group shown, after confirmation. It is disabled until a saved group is shown. See When you delete.
Branches...Sets the branches where the group appears. It appears only if branches are on in the licence and in the file options and the file has at least two branches. See the branch selection window.
Close (it reads Cancel after any change)Closes the card. If it has unsaved changes and the warning option On cancel is on, the program asks whether to discard them.

You set the warning options in Program Options.

Rules for saving, modifying and deleting​

When you add​

  1. If a saved group is on the screen, the program asks whether you really want to add. Click Yes to continue.
  2. It checks the add permission on Distribution Group Card and the Security Level.
  3. If the warning option On save is on, the program asks "Are you sure you want to complete saving?". Click Save.
  4. It checks the fields in this order: Name and then Code are not empty, then Code is not used by another group, then Name, then User is not set in another group. This check runs even if you clicked Cancel in the question of the previous step, so a message about a missing field can appear although you cancelled.
  5. It saves the group and its list of branches in one operation, and records the operation in the operations log. If one part fails, nothing is saved.
  6. The values stay in the boxes, and Code is raised by the option described in Fields.

When you modify​

  1. It checks the modify permission on Distribution Group Card for the Security Level of the group shown. If you do not have it, the message "You don't have the appropriate authority to perform this operation" appears.
  2. If the warning option On modify is on, the program asks "Are you sure you want to save changes ?". Click Save.
  3. It checks the fields as in adding, without counting the group itself as a repeat. This check runs even if you cancelled the question of the previous step.
  4. If you changed Main Group, and the old main group has targets recorded, the program asks about deleting the targets of the distribution groups and distribution units under the old main group, and moving the group without targets. If you click Yes, the program deletes these targets at once, before it checks the new main group. If the save is then refused, for example because the new main group is one of its sub groups, the targets stay deleted. See Materials Targets by Distribution Groups.
  5. It checks that Main Group is not the group itself nor one of its sub groups.
  6. It saves the edits and the list of branches in one operation, and records the operation in the operations log. The card stays on the same group.

When you delete​

  1. It checks the delete permission on Distribution Group Card for the Security Level of the group shown.
  2. If the group has sub groups, the message "Group is used by group No." appears with the name of a sub group, and nothing is deleted.
  3. If the group has distribution units, the message "Distribution Group is linked to Units, so you can not delete" appears, and nothing is deleted.
  4. It always asks "Are you sure you want to DELETE". Click Yes.
  5. The program records the operation in the operations log and deletes the group. Then it deletes the targets of the distribution groups and distribution units under the main group of the deleted group, as in step 4 of modifying.
  6. The values stay shown in the card, and Modify and Delete are disabled. Click New to start another group.

Messages​

MessageWhy it appearsWhat to do
This window contains some information that might be duplicated... Are you sure you want to add?You clicked Add and a saved group is on the screen.Click Yes to add it as a new group, or No, and use Modify to change the group shown.
Are you sure you want to complete saving?You clicked Add and the warning option On save is on.Click Save to continue, or Cancel to go back.
Are you sure you want to save changes ?You clicked Modify and the warning option On modify is on.Click Save to continue, or Cancel to go back.
Are you sure you want to ignore information entered here and move into a new record?You used a browse button or New while the card has unsaved changes, and the warning option On cancel is on.Click Move to lose the changes, or Don't Move to stay.
You must enter the name (alert title: Empty Field)Name is empty.Type the name. The cursor goes back to the box.
Code Missing (alert title: Empty Field)Code is empty.Type the code.
The code is used in another cardThe code exists in another group.Change the code. If Increment material code after save is off, change it after every add.
Name is already used in another cardThe name exists in another group.Change the name.
User is selected in another Distribution Group cardThe chosen user is linked to another group.Choose another user or clear the box. After New, the previous user stays in the box.
Selected main group is sub to this group. Main group is not acceptedMain Group is the group itself or one of its sub groups.Choose another group or clear the box.
Error in saving...The program could not check Main Group before saving. The text is in English in every interface language.Try again.
All distribution groups targets and the distribution units related to the (…) group will be deleted, the(…) group will also be transferred without any target to(…), do you want to continue?You changed Main Group and the old main group has targets. The text gives the name of the old main group, then this group, then the new main group.Click Yes to delete the targets and continue saving, or No to stop saving.
You don't have the authority to save in the specified security levelSecurity Level is higher than the add level you hold.Choose a lower level, or ask for the permission.
You don't have the appropriate authority to perform this operationYou do not have the modify or delete level for the security level of the group shown, or you have neither the add nor the browse level when you open a new card.Ask the administrator for the permission.
Group is used by group No. Group name: …The group you want to delete has sub groups.Move the sub groups to another main group or delete them first.
Distribution Group is linked to Units, so you can not deleteAt least one distribution unit belongs to the group.Move the units to another group in the Distribution Unit Card, then delete.
Are you sure you want to DELETEYou clicked Delete and nothing prevents the deletion.Click Yes to delete, or No to go back.

This page applies to alameen ERP 10, version 10.1.79.764.