Skip to main content

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​

FieldDescriptionRequiredValues and rules
PeriodThe accounting period whose targets are calculated and saved.YesThe 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.
UnitThe material unit in which quantities are shown.YesFirst 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 ByThe order of the rows on Refresh and in the preview.YesMaterial or Customer. It starts on Material. Calculate does not change the order: its result is ordered by material code, then customer account code.
BranchThe branch of the targets.Yes, when shownIt 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 percentageTurns on the percentage field and the Modify button.NoOff when the window opens.
Percentage fieldThe percentage by which the targets increase.NoDisabled 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.
ModifyApplies 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.

ColumnDescriptionRequiredValues and rules
MaterialThe material code and name.—Read only.
CustomerThe customer account code and name.—Read only.
Customer Percentage to TotalThe 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 TargetThe quantity the program calculated for this customer.—Read only.
TargetThe quantity you decide for the customer.NoAfter Calculate it equals the calculated target. Type the quantity in the unit shown in the last column.
UnitThe name of the material unit in which the quantity is shown.—Read only. It follows the Unit field.

Right-click the row number:

ItemWhat it does
Show Material CardOpens the card of the row's material. See Material card. It does nothing on an empty row.
Show Customer CardOpens the card of the row's customer. See Customer card. It does nothing on an empty row.

Buttons​

ButtonWhat it does
SaveAsks 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.
DeleteAsks 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.
RefreshShows the targets saved for the period and branch in the chosen unit and order. It does not ask before it replaces the grid.
CalculateAfter confirmation it calculates the customers' targets again and replaces the grid.
PreviewOpens 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.
CancelCloses 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​

MessageWhy it appearsWhat to do
No Accounting PeriodsNo sub-periods are defined, and you clicked Calculate or Refresh.Define the accounting periods in the program options.
Please select branchThe 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 customerThe 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 periodYou clicked Refresh, or changed Unit, and nothing is saved.Click Calculate, then Save.
Cannot view more targets.Table has no capacityThe 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 PeriodYou clicked Save. The buttons are Yes and No.Click Yes to save.
Customers targets within selected period have been saved successfullyThe 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 deletedThe delete finished.Nothing.
Press Update button then try againYou 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.

This page applies to alameen ERP 10, version 10.1.79.764.