Skip to main content

Materials General Targets

The Materials General Targets window shows the target quantity of each material in one accounting period, with the Sales Qty Average it is based on. The program calculates the average from earlier sales and sets the target equal to it. You then change the target and save it. This is the first window of the targets chain. For the steps see Set material targets.

Opening the window​

On the ribbon click Distribution > Targets > Materials General Targets.

  • Your licence must include the Distribution module.
  • The user needs the Materials General Targets permission in Users Management > Operations.
  • The window opens empty. Click Calculate or Refresh to show the materials.

Header fields​

FieldDescriptionRequiredValues and rules
PeriodThe accounting period the target is calculated and saved for.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 disables Save until you click Calculate or Refresh. It does not clear the grid.
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 disables Save until you click Calculate or Refresh.
BranchThe branch of the target.Yes, when shownIt is shown under the conditions explained in Distribution Unit Targets. Calculate, Refresh and Save check that a branch is chosen.
Show Inactive MaterialsAdds to the result of Calculate the materials that were not sold in the sales period.NoOff when the window opens. These materials appear with an average of zero and a target of zero, so you can type a target by hand.
GroupThe material group the work is limited to.NoEnabled only when Show Inactive Materials is on. Type the code or part of the name and press Enter. If you choose a group, Calculate, Refresh and Save are limited to its materials, and Save deletes only the saved targets of the group's materials. The choice stays in use even if you turn Show Inactive Materials off afterwards.
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. 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 that has a material by 1 + percentage ÷ 100. It does nothing if the percentage is zero. Each click applies the percentage again to the current values. It does not save and does not change the sales average.
Set Target Calculation PeriodsTurns on the list of periods the sales are taken from.NoOff when the window opens. If you turn it on, you must tick at least one period in the list next to it before Calculate.
Periods listThe periods the average is calculated from.—A list of check boxes, disabled until you turn on Set Target Calculation Periods. It holds the sub-periods in order of number, or the main periods if there are none. The program ticks none of them when the window opens.

The grid​

The grid holds five thousand rows. Each row is a material. The rows come from Calculate or Refresh. Rows whose target is zero appear in grey.

ColumnDescriptionRequiredValues and rules
MaterialThe material code and name.—Read only.
Sales ChannelsThe sales channels the target of a material with no earlier sales is spread over.NoThe cell accepts input only in a row whose sales average is zero. Type part of the name, press Enter and choose one or more channels. The channels are shown separated by -. Delete in the cell clears them, and so does setting the Target to zero. See Materials Targets by Customers.
Sales Qty AverageThe average quantity sold of the material per month.—Read only. After Refresh the number is shown as it was saved, that is in the first unit of the material, even if the unit name next to it is another unit.
Unit (after the average)The unit of the average.—Read only.
TargetThe target quantity of the material.NoAfter Calculate it equals the average. Type the quantity you want in the unit next to it.
Unit (after the target)The unit of the target.—Read only.
NotesA free note on the material.NoFree text.

Buttons​

ButtonWhat it does
SaveChecks the period and branch, then asks you to confirm saving the changes for the selected period. When you confirm, it deletes the targets saved for the period and branch, and for the group if you chose one, then writes the grid rows and the chosen sales channels, and shows the success message. The save replaces what is saved with the whole grid, so it removes the saved targets if the grid is empty. Click Refresh before you save.
PreviewOpens the Materials General Targets report on what is in the grid now. You do not have to save first.
RefreshShows the targets saved for the period, branch and group in the chosen unit, and enables Save. It does not ask before it replaces the grid.
CalculateAfter confirmation it calculates the average and the target from earlier sales, replaces the grid, and enables Save.
CloseCloses 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 and saves​

  • Sales period: If you did not turn on Set Target Calculation Periods, it is the six months that end the day before the period starts. If you did, it is the periods ticked in the list.
  • Sales: For each customer and material, the program adds the quantities of sales bills and subtracts the quantities of sales return bills.
  • Average: The program divides each customer's total by the number of months in which the customer moved the material, then adds the results of all customers. This is the Sales Qty Average.
  • Materials: The materials with sales appear. With Show Inactive Materials the other materials of the chosen group appear too.
  • Saving: The quantities are saved in the first unit of the material: the program multiplies them by the factor of the unit shown. They are saved with the unit and with the sales period the average was based on. Materials Targets by Customers reads this sales period.
  • Transaction: The delete and the write run inside one transaction.
  • When you save Materials Targets by Customers, Customers Targets or Distribution Unit Targets, the program replaces the Target here with the total of the customers' targets of the material.

Messages​

MessageWhy it appearsWhat to do
No Accounting PeriodsNo sub-periods are defined, and you clicked Calculate, Refresh or Save.Define the accounting periods in the program options.
Please select branchThe branch is shown and empty, and you clicked Calculate, Refresh or Save.Choose the branch.
One Accounting Period should be selected at least from Target Periods ListYou turned on Set Target Calculation Periods, ticked no period, and clicked Calculate.Tick one period or more, or turn the option off.
This operation is going to recalculate the average and expected targets for the selected period. Are you sure to continue?You clicked Calculate. The buttons are Yes and No.Click Yes to replace the grid.
No results found in this periodNo earlier sales fit the branch and the group.Turn on Show Inactive Materials, or change the calculation periods.
No targets saved in selected periodYou clicked Refresh and no targets are saved.Click Calculate, then Save.
Are you sure to save modifications in Selected period?You clicked Save. The buttons are Yes and No.Click Yes to save.
Saved successfullyThe save 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 the calculation. 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.