Skip to main content

Distribution Unit Targets

The Distribution Unit Targets window shows the target of each distribution unit in one accounting period. The target is a money value, not a quantity. The program adds up, for each unit, the targets of its customers saved in Customers Targets. You then change the General Target Value of the unit and save it. For the steps see Set distribution unit targets.

Opening the window​

On the ribbon click Distribution > Targets > Targets, then choose Distribution Unit Targets from the menu.

  • Your licence must include the Distribution module. Without it the target tools do not appear.
  • The user needs the Distribution Unit Targets permission in Users Management > Reports.
  • The window opens empty. Click Calculate or Refresh to show the targets.

Header fields​

FieldDescriptionRequiredValues and rules
PeriodThe accounting period whose targets are calculated and saved.YesThe list holds the periods that have no sub-periods, ordered by start date. Each shows its code and name, such as M1 - January. The list starts on the first period. A main period that has sub-periods, such as Q1, is not listed. You define periods in the program options, page Accounting Periods. They are explained in Account / Cost Center Budget Card.
Materials PriceThe materials price saved with the targets.YesThe list shows the sales prices in this order: Wholesale, Semi wholesale, Export, Distributor, Retail, Consumer. A price appears only if the user has its permission. The first price of the general list, the cost, is not offered in this window. The price is not used in the calculation of this window. The program saves it with the targets and sets it again on Refresh.
BranchThe branch of the targets.Yes, when shownShown only if your licence includes branches, branches are on in the file options, and the file has more than one branch. It starts on the default branch if there is one. Calculate and Refresh check that a branch is chosen. Save does not. When you choose a branch, the calculation, the refresh and the delete step of the save are limited to it.
CurrencyThe currency of the amounts.YesShown only if your licence has more than one currency. It starts on the program's default currency.
ParityThe exchange rate of the chosen currency.—Read only, unless the user has the Change Currency Exchange Rate permission in Users Management > Operations. It changes with the currency.
Unlabelled box next to Parity—NoThe program shows no value in it and reads nothing from it in this window.
warning

Keep Currency on the main currency, the one with parity 1. Calculate shows the stored amounts in the main currency without conversion, and Save multiplies them by the parity shown when you save. See Amounts and currency.

The grid​

The grid holds 1000 rows. Each row is a distribution unit. You do not add a unit by hand: the rows come from Calculate or Refresh.

ColumnDescriptionRequiredValues and rules
Distribution UnitThe unit that owns the target.—Read only.
Calculated ValueThe total of the Set Target of the unit's customers in the period, as saved in Customers Targets.—Read only.
General Target ValueThe target you decide for the unit.NoAfter Calculate it equals the calculated value. Type the value you want. Press Delete in the cell to set it to zero.
NotesA free note on the unit.NoFree text.

Under the grid, the box Total Value of General Target shows the total of the General Target Value column. It updates whenever you change a value.

Buttons​

ButtonWhat it does
SaveChecks that periods exist, then asks you to confirm saving the changes for the selected period. When you confirm, it saves the rows and adjusts the related targets, as in Saving, then shows the success message.
RefreshShows the targets saved for the period and branch, and sets Materials Price to the price saved with them. It does not ask before it replaces the grid.
CalculateAfter confirmation it clears the grid and shows, for each distribution unit, the total of its customers' targets saved in the period.
PreviewOpens the Distribution Unit Targets report on what is in the grid now. You do not have to save first.
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​

Calculation​

  • A distribution unit appears in the result of Calculate if at least one of its customers has a Set Target saved in the period.
  • With branches on, the unit appears if the chosen branch is among the unit's branches and among the branches of the customer's account.
  • Calculate fills Calculated Value and General Target Value with the same figure, and marks the window as having an unsaved change.
  • Calculate does not use the Materials Price or Currency fields in its calculation.

Saving​

  1. The program deletes the unit targets saved for the period, and for the branch if you chose one.
  2. It writes the grid rows that have a unit, in order, with the period, branch, price, currency and parity shown.
  3. After each row it runs three steps that change other targets:
    • If the General Target Value of a unit differs from the total Set Target of its customers, the program spreads the difference over those customers in proportion to their current targets. Example: a unit whose two customers total 120,000.00, made of 70,000.00 and 50,000.00, with a general target value of 150,000.00. The difference is 30,000.00, so the first target becomes 87,500.00 and the second 62,500.00.
    • It recalculates the Target column of Materials Targets by Customers for the customers that have saved targets in the period, adding each material's share of the difference between the set target and the calculated target.
    • It replaces the quantities of Materials General Targets with the total of the customers' material targets.

The program does not run these rows in one transaction, and it shows Saved successfully after you confirm even if a row did not complete. To be sure, reopen the window and click Refresh.

Amounts and currency​

  • Calculate shows the amounts stored in customers targets as they are, in the main currency.
  • Refresh shows the saved amount divided by the parity saved with it. It does not change the Currency field.
  • Save multiplies each amount by the parity in the Parity field at the moment you click Save.
  • So save in the same currency you saved with the first time, preferably the main currency.

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 or Refresh.Choose the branch.
This operation is going to recalculate distributors' 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 customer has a saved set target in the period and branch.Save the customers targets first.
No targets saved in selected periodYou clicked Refresh and no unit 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 successfullyYou answered Yes to the save question.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.