Materials Targets by Customers (preview report)
This report shows the material targets saved for each customer in an accounting period: for each material and customer the share of the customer in the purchases of the material and his target, with the distribution units that serve the customer. It differs from the other preview reports of the targets because it reads what is saved in the database, not what is in the grid of the window.
Opening the report
The report opens only from the Materials Targets by Customers window. It has no ribbon command and is not in the reports list:
- On the ribbon click Distribution > Targets > Materials Targets by Customers.
- Choose the Period, the Unit and Sort by, and click Refresh or Calculate to fill the grid.
- Click Preview (window buttons).
The report takes only the period, unit, branch and sort order from the window, then reads the targets saved for the period. So it does not show your unsaved changes or targets you calculated and did not save: save, then click Preview. If the grid is empty the message Press Update button then try again appears and the report does not open. To open the window you need what its page lists: the Distribution feature in your licence and the Materials Targets by Customers permission in Users Management > Operations. The report asks for no other permission.
Parameters
One parameter can be changed in the viewer. The others are set by the window and are not in the Option List.
| Parameter | Meaning and effect | Default and rules |
|---|---|---|
| Period | The accounting period whose saved targets are read. Its name is in the header. | The period chosen in the window. It cannot be changed in the viewer. |
| Branch | The branch whose targets are read. Its name is in the header. | The branch chosen in the window. When the branch field is empty the report reads the targets of all branches. It cannot be changed in the viewer. |
| Unit | The material unit used for the unit name and for dividing the quantities. Values: First Unit, Second Unit, Third Unit, Default Unit. | The unit of the window when you click Preview. A material that does not have the chosen unit shows its first unit. |
The order of the rows is the Sort by chosen in the window: Material (by material code, then customer account code) or Customer (by customer account code, then material code). It is not in the viewer.
Option List
The Option List has one group, General, and it holds only Unit. Change the unit and click Apply to rebuild the report. See Option List. To change the period, branch or sort order go back to the window.
Columns
One row for each material and customer that has a target saved in the period (and in the branch if one is set). Each row comes from the targets saved by the same window.
| Column | Meaning | How it is calculated |
|---|---|---|
| Distribution Units | The distribution units that serve the customer. | The names of the units whose customers account contains the customer account, in alphabetical order, separated by - with no spaces. Empty when no unit serves him. |
| Material | The material code and name. | The code, then -, then the name. |
| Customer | The customer account code and name. | The code, then -, then the customer name. |
| Customer Percentage to Total | The share of the customer in the purchases of the material. | The value saved with the target: the monthly average purchases of the customer for the material divided by the monthly average of all customers. Shown as a percentage. |
| Calculated Target | The saved target of the customer divided by the factor of the chosen unit. | The report divides the saved target of the customer, which is in the first unit of the material, by the factor of the chosen unit. The factor of the first unit is 1. A zero factor is treated as 1. |
| Target | The saved target of the customer. | The saved quantity in the first unit of the material as it is, not divided by the factor of the chosen unit. |
| Unit | The name of the chosen unit. | The unit name of the material for the chosen Unit, or its first unit when it does not have that one. |
The report defines no totals, because the quantities are in different units. To add a total use the viewer grid tools.
Right-click menu
Right-click a row. The commands of this report come first, then the general viewer commands. Double-click runs the last command you used from the menu, or else the first one. The row has a material and a customer, so the material commands come first, then the customer commands. The report has no commands of its own after them.
| Command | What it does | When it shows |
|---|---|---|
| Display Material Movement... | Opens the conditions window of the material movement report with the material of the row. | You have the Material Movement permission. |
| Display Daily Movement... | Opens the conditions window of the daily movement of the material. | You have the Daily Movement permission. |
| Display Material Card... | Opens the material card. | No extra permission is needed. |
| Display Account Statement... | Opens the conditions window of the customer statement with the customer of the row. | You have the Customer Statement permission. |
| Display Customer card... | Opens the customer card. | No extra permission is needed. |
The general commands are in Report viewer.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Press Update button then try again | You clicked Preview in the window while its grid is empty. | Click Calculate or Refresh in the window, then Preview. |
If the report opens empty, no targets are saved for the period and branch: save the targets in the window first.
Example
Period January, Sort by: Material, Unit: Second Unit. The material White Sugar 50 kg has a second unit Carton with a factor of 10. Two targets are saved in the period in the first unit of the material: 720 for Alnakheel Est. with a share of 60%, and 480 for Alwaha Est. with 40%. Riyadh Unit serves both customers.
| Distribution Units | Material | Customer | Customer Percentage to Total | Calculated Target | Target | Unit |
|---|---|---|---|---|---|---|
| Riyadh Unit | 101 - White Sugar 50 kg | 1212 - Alnakheel Est. | 60% | 72 | 720 | Carton |
| Riyadh Unit | 101 - White Sugar 50 kg | 1213 - Alwaha Est. | 40% | 48 | 480 | Carton |
The calculated target 72 is 720 ÷ 10, while Target stays 720 in the first unit of the material. With First Unit the two columns are equal.
Related
This page applies to alameen ERP 10, version 10.1.79.764.