Materials Targets by Customers
The Materials Targets by Customers window shows the quantity each customer is expected to buy of each material in one accounting period. The program uses it to spread the general target of each material over the customers, according to their earlier purchases. You then change the Target and save it. For the steps see Set material targets.
Opening the window
On the ribbon click Distribution > Targets > Materials Targets by Customers.
- Your licence must include the Distribution module.
- The user needs the Materials Targets by Customers permission in Users Management > Operations.
- The window opens empty. Click Refresh to show what is saved, or Calculate to calculate again.
- Before Calculate, save the Materials General Targets for the same period and branch. Otherwise the calculated targets are zero.
Header fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Period | The accounting period whose targets are calculated and saved. | 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 clears the grid without asking. |
| Unit | The material unit in which quantities are shown. | Yes | First Unit, Second Unit, Third Unit or Default Unit. It starts on First Unit. When you change it, the program shows the saved targets in the new unit, so unsaved changes are lost. If nothing is saved, a message appears and the grid stays as it is. |
| Sort By | The order of the rows on Refresh and in the preview. | Yes | Material or Customer. It starts on Material. Calculate does not change the order: its result is ordered by material code, then customer account code. |
| Branch | The branch of the targets. | Yes, when shown | It is shown under the conditions explained in Distribution Unit Targets. Calculate and Refresh check that a branch is chosen. Save does not. When you choose a branch, the calculation, the refresh, the delete step of Save, and Delete are limited to it. |
| Target Increase percentage | Turns on the percentage field and the Modify button. | No | Off when the window opens. |
| Percentage field | The percentage by which the targets increase. | No | Disabled until you turn on Target Increase percentage. The program formats the number when you leave the field. Type a negative number to decrease the targets. |
| Modify | Applies the percentage to the grid targets. | — | Disabled until you turn on Target Increase percentage. It multiplies the Target of every row by 1 + percentage ÷ 100. It does nothing if the percentage is zero. Each click applies the percentage again to the current values, so two clicks with 10 give an increase of 21%. It does not save and does not change Calculated Target. |
The grid
The grid holds ten thousand rows. If the result is larger, a message appears and the extra rows are not shown. Each row is a material and a customer. The rows come from Calculate or Refresh, and the only cell you can edit is Target.
| Column | Description | Required | Values and rules |
|---|---|---|---|
| Material | The material code and name. | — | Read only. |
| Customer | The customer account code and name. | — | Read only. |
| Customer Percentage to Total | The customer's share of the purchases of the material, shown with %. | — | Read only. It is the customer's monthly average purchases of the material divided by the monthly average of all customers. |
| Calculated Target | The quantity the program calculated for this customer. | — | Read only. |
| Target | The quantity you decide for the customer. | No | After Calculate it equals the calculated target. Type the quantity in the unit shown in the last column. |
| Unit | The name of the material unit in which the quantity is shown. | — | Read only. It follows the Unit field. |
Row menu
Right-click the row number:
| Item | What it does |
|---|---|
| Show Material Card | Opens the card of the row's material. See Material card. It does nothing on an empty row. |
| Show Customer Card | Opens the card of the row's customer. See Customer card. It does nothing on an empty row. |
Buttons
| Button | What it does |
|---|---|
| Save | Asks you to confirm saving the changes. When you confirm, it deletes the targets saved for the period, and for the branch if you chose one, writes the grid rows, and replaces the quantities of Materials General Targets with the total of the customers' targets of each material. It runs in one transaction, then shows the success message. |
| Delete | Asks you to confirm, then at once deletes all the customers' targets saved for the period, and for the branch if you chose one, and clears the grid. It does not change the general target. |
| Refresh | Shows the targets saved for the period and branch in the chosen unit and order. It does not ask before it replaces the grid. |
| Calculate | After confirmation it calculates the customers' targets again and replaces the grid. |
| Preview | Opens the Materials Targets by Customers report with the chosen period, unit, branch and sort. The report reads the saved targets, so unsaved changes do not appear in it. |
| Cancel | Closes the window. If you changed something, the program asks before discarding, when the warning option On cancel is on. See Confirmation messages. |
How the program calculates
- Sales period: Calculate takes the customers' sales in the periods saved with the general target of the material, or in the six months before the start of the period if no periods were saved.
- Customer percentage: The customer's monthly average purchases of the material divided by the monthly average of the material at all customers.
- Calculated target: If the material has a sales average saved in the general target, it is the percentage multiplied by the general target quantity. If it has none, the general target quantity is divided between the customers whose sales channels were chosen for the material in Materials General Targets, or between all customers if no channels were chosen.
- Rows: A customer appears if he bought the material in the sales period, or if his sales channel is chosen for a material with no sales.
- Saving: The quantities are saved in the first unit of the material: the program multiplies the grid quantity by the factor of the row's unit. Refresh divides them by the factor to show them in the chosen unit.
This grid affects Customers Targets only after you save it. When you save the customers targets, the program recalculates the Target column here for the customers concerned.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| No Accounting Periods | No sub-periods are defined, and you clicked Calculate or Refresh. | Define the accounting periods in the program options. |
| Please select branch | The branch is shown and empty, and you clicked Calculate or Refresh. | Choose the branch. |
| This operation will result in recalculating Targets in Selected Period. Are you sure to continue? | You clicked Calculate. The buttons are Yes and No. | Click Yes to replace the grid. |
| No targets are saved for materials in selected period. Cannot calculate materials targets by customer | The calculation has no result: no earlier sales fit the branch. The program clears the grid. | Check that there are sales in the sales period, and check the branch. |
| No targets saved in selected period | You clicked Refresh, or changed Unit, and nothing is saved. | Click Calculate, then Save. |
| Cannot view more targets.Table has no capacity | The result has more rows than the grid can hold. | Limit the calculation to one branch. |
| Are you sure to save modifications on Customer Targets in Selected Period | You clicked Save. The buttons are Yes and No. | Click Yes to save. |
| Customers targets within selected period have been saved successfully | The save finished. | Nothing. |
| Customers targets saved within selected period will be deleted. Are you sure to delete targets? | You clicked Delete. The buttons are Yes and No. | Click Yes to delete. |
| Customers targets within Selected Period have been deleted | The delete finished. | Nothing. |
| Press Update button then try again | You clicked Preview and the grid is empty. | Click Calculate or Refresh, then Preview. |
| Error In Stored Proc: … | The database refused one of the calculations. The text that follows is the call, in English. | Give the full text to your system administrator. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.