Materials Targets by Distribution Groups
This window splits the general target quantity of each material over the branches of the distribution hierarchy. It works in two versions. Materials Targets by Distribution Groups spreads the quantity over the groups of one level. Materials Targets by Distribution Units spreads the quantity of one group over the distribution units in it. For the steps see Set material targets.
Opening the window
On the ribbon click Distribution > Targets > Targets, then choose Materials Targets by Distribution Groups or Materials Targets by Distribution Units from the menu. It is one window, and its title follows the tool you chose.
- Your licence must include the Distribution module.
- The user needs the Materials Targets by Distribution Groups or the Materials Targets by Distribution Units permission in Users Management > Operations, depending on the tool.
- The window does not open while the Distribution Unit Card or the Distribution Group Card is open. A message asks you to close it.
- The window does not open if no accounting periods are defined.
- The window opens empty. Click Filter... to choose the level or the group.
How the window works
The hierarchy goes from main groups to sub-groups, and the groups end with distribution units. The window works step by step:
- Level 1: The target of each material is the quantity in Materials General Targets for the period. It is spread over the main groups.
- Later levels: You choose a group of the level. The target of each material is the quantity that was allocated to this group in the previous step. It is spread over the group's sub-groups.
- Units: With Materials Targets by Distribution Units you choose a group that has distribution units. Its quantity is spread over those units.
The window shows only the materials whose quantity is more than zero.
Header fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Period | The accounting period. | Yes | The periods that have no sub-periods, ordered by start date. The list starts on the first one. They are explained in Distribution Unit Targets. When you change it, the program asks if the window has unsaved changes, clears the grid, and shows the targets of the new period if a level or group is already set. |
| Unit | The material unit in which quantities are shown. | Yes | First Unit, Second Unit, Third Unit or Default Unit. It starts on First Unit. It converts the quantities at once and does not change what is saved. A material that does not have the chosen unit stays in its first unit and shows its name. |
| Group Level | The level you chose in the filter window. | — | Materials Targets by Distribution Groups only. Read only. Empty until you click Filter.... |
| Distribution Group | The group you chose in the filter window. | — | Read only. Empty at level 1. |
| Sort by | The order of the grid rows. | Yes | Materials Targets by Distribution Units only. Material by name, ascending; Target, largest first; Unit by its name; or Remainder, largest first. It starts on Material. The rows are sorted again when you change it and when the data is shown. |
| Filter... | Opens the filter window to choose what you work on. | — | If the grid has unsaved changes, the program asks before it opens the window. |
The grid
The grid holds five thousand rows. Each row is a material. The fixed columns are read only. You type in the columns that come after them.
| Column | Description | Required | Values and rules |
|---|---|---|---|
| Material | The material name. | — | Read only. |
| Branch | The branch of the material. | — | Shown only if branches are on in the file. Read only. |
| Target | The material quantity to spread. | — | Read only. |
| Unit | The name of the unit in which quantities are shown. | — | Read only. |
| A column for each group or unit | The quantity allocated to it. The column carries its name. | No | Type a number. A negative value becomes zero. Press Ctrl with the + key in the cell to fill it with what remains of the target. Press Delete to clear the cell. |
| Total | The total of the quantities spread in the row. | — | Read only. |
| Remainder | The target minus the total. | — | Read only. |
A line under the grid reminds you of the Ctrl with + shortcut that fills the remainder. A row whose total differs from its target appears in blue text. The program saves only if Remainder is zero in every row.
Buttons
| Button | What it does |
|---|---|
| Save | Checks that the level or the group is set and that every material is fully spread, then saves the allocation, as in Saving. |
| Preview | If the grid has materials it opens the Materials Targets by Distribution Groups report. Otherwise a message appears. |
| Refresh | Loads the grid again for the level or group that is set. If an allocation was saved for this group in the period, it shows it. Otherwise it starts from the target with nothing spread. If the grid has unsaved changes, it asks before it discards them. |
| Close | Closes the window. |
Saving
- The program saves the quantities in the first unit of the material, and records the unit you were using.
- It replaces the allocation saved for the group in the period with the grid, inside one transaction.
- After it writes each quantity, the program redistributes, in proportion, the quantities saved for the same material at the lower levels under this group, so that they still match the new quantity.
- The success message appears after the save is completed. The grid stays on the unit you chose.
Filter window: distribution groups
It opens when you click Filter... in the Materials Targets by Distribution Groups tool. Its title is Options of Materials allocation amongst Distribution Groups.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Group Level | The level of the group whose quantity you spread. | Yes | A list of numbers. Level 1 spreads the general target over the main groups, so it needs no group. From level 2 you choose a group of that level. The list holds the levels of the hierarchy except the last level, which has no groups under it. |
| Group | The group whose quantity is spread over its sub-groups. | Yes, from level 2 | Disabled at level 1. When you change the level, it is cleared and enabled. Type part of the name and press Enter. The choice window shows the name and the quantity allocated to the group in the period. It lists only the groups of the chosen level that have sub-groups. |
| Button | What it does |
|---|---|
| OK | Checks the group, closes the window, and loads the grid with a column for each sub-group. |
| Close | Closes the window without a change. |
OK refuses a group that has no quantity allocated in the period, or whose total allocation is less than 1.
Filter window: distribution units
It opens when you click Filter... in the Materials Targets by Distribution Units tool. Its title is Options of Materials allocation amongst distribution units.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Group | The group whose quantity is spread over the distribution units in it. | Yes | Type part of the name and press Enter. The choice window lists the groups that have distribution units. |
| Button | What it does |
|---|---|
| OK | Checks the group, closes the window, and loads the grid with a column for each unit of the group. |
| Close | Closes the window without a change. |
OK refuses a group by the same rule: no quantity allocated in the period, or less than 1.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Must define accounting periods before targets display | No periods are defined, and you tried to open the window. | Define the periods in the program options. |
| Please close the distribution unit card to be able to open the window | The distribution unit card is open. | Close it, then open the window. |
| Please close the distribution group card to be able to open the window | The distribution group card is open. | Close it, then open the window. |
| Please click Filter button to define the level | You clicked Save or Refresh in Materials Targets by Distribution Groups with no level set. | Click Filter... and choose the level. |
| Please click Filter button to define the group | You clicked Save or Refresh in Materials Targets by Distribution Units with no group set. | Click Filter... and choose the group. |
| Please select group | You clicked OK in a filter window with no group where one is required. | Choose the group. |
| This group has no target within the specified period, please specify one | In Materials Targets by Distribution Units: no quantity is allocated to the group in the period. | Spread its quantity first in Materials Targets by Distribution Groups. |
| The prior level of this group has no target, please allocate the target on the previous level first | In Materials Targets by Distribution Groups: no quantity is allocated to the group in the period. | Spread the previous level first. |
| The targets have been modified but not saved, the modification will be lost. Are you sure? | The grid has unsaved changes, and you changed the period or clicked Refresh or Filter.... The buttons are OK and Cancel. | Click OK to discard them, or Cancel to keep them. |
| Can’t save! There are materials with targets not fully allocated | You clicked Save and a row has a Remainder other than zero, or the grid has no rows. | Spread the remainder in every row. |
| Saved successfully | The save finished. | Nothing. |
| No materials to preview | You clicked Preview and the grid is empty. | Click Filter... to load the materials. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.