Skip to main content

Commission Rules Applied to Total Invoice Amount

A commission rule tells alameen ERP 10 how to calculate the commission of salesmen, distributors and cost centers from sales invoices. This page describes the rules list, the rule window with its three pages, and the Add Tier dialog. For the steps see Define commission calculation rules. For what commission means see Understanding commissions.

Opening the window​

  • From the ribbon: Systems > Commissions > on Invoice Total > Calculation Rules. The rules list opens.
  • The Commissions group appears in the ribbon if your licence includes the commission on invoice total feature and a file is open. It does not appear in the demo edition.
  • The command appears for users who have the permission Edit commission rules applied to invoice total, in the section Commission on invoice total of the Operations tab of Users Management. See Action permissions.
  • From the rules list: New opens a new rule window, and Modify opens the selected rule.

The rules list​

The window is titled "Commission Rules Applied to Total Invoice Amount". Its grid lists every saved rule. The cells cannot be edited. The right-click menu of the grid is described in Rules grid.

Grid columns​

ColumnWhat it shows
Rule NameThe rule name (always the normal name, never the Latin name).
Calculated based onThe source of the rule: Invoice cost center, Customer cost center, Cost center of customer account, Distributor or Salesman.
Rule statusThe word «فعالة» for an active rule and «غير فعالة» for an inactive one. Both words are in Arabic, also in the English program.

Window buttons​

ButtonWhat it does
NewOpens an empty rule window. When you close it, the program refreshes the grid.
ModifyOpens the rule under the cursor in the grid. Disabled when the grid has no rule, or when the cursor is on an empty line.
DeleteDeletes the rule under the cursor. Disabled in the same two cases. A confirmation appears, "Are you sure you want to delete?", with the buttons Delete and Cancel. After you confirm, the program checks whether a saved commission calculation used the rule. If so it shows "Cannot delete, the rule is used" and keeps the rule. Otherwise it deletes the rule with its tiers, sources and invoice forms.
CloseCloses the window.

The rule window​

The window is titled "Commission on Invoice Total - New Rule", also when you modify an existing rule. At the top are the rule name and status. At its side is a list of three pages: Commission Calculation Parameters, Customize and Source. Click a page name to show it. The window opens on the first page.

Header and buttons​

FieldDescriptionRequiredValues and rules
NameThe rule name.YesNot repeated among the rules. Example: Wholesale sales commission.
Latin NameThe rule name in Latin letters.NoThe program does not check it for repeats. In the English interface the program shows it instead of Name, when it is not empty, in the rule column of Commissions calculation and in the entry description.
ActiveTurns the rule on.NoA new rule starts ticked. An inactive rule stays saved and the program does not calculate it.
ButtonWhat it does
Copy RuleOpens a "Select rule" window with the rule names, then fills this window with the rule you chose: its settings, tiers, sources and invoice forms. Disabled when the open rule is used in a saved calculation.
SaveChecks the fields in the order described in Saving. If they are valid, saves the rule and closes the window.
CloseCloses the window. It reads Cancel after any change. If the window has unsaved changes and the warning option On cancel is on, the program asks "Do you want to ignore the inputs and close the window?" with Close Window and Cancel.

After Copy Rule the copied rule carries the name of the original, so the duplicate check blocks saving until you change Name. Invoice forms and sources are copied with the rest of the settings.

warning

Use Copy Rule only in a new rule. If you copy into a rule opened with Modify and then save, the program writes the window's content over the rule you copied from, and the opened rule stays as it was.

Commission Calculation Parameters​

This page sets the effect of the commission and the way it is calculated. It has three groups: Commission Impact, Calculation Policy and Other Parameters.

FieldDescriptionRequiredValues and rules
Expense PaidThe commission is an expense for the company.—The default. Decides which of the two accounts is debited in the commission entry. See The commission entry.
Revenue ReceivedThe commission is income for the company.—Reverses the two accounts in the entry.
Flat RateThe commission is one percentage of the amount subject to commission.—The default. Enables the percentage box and disables the tier controls. The tiers grid empties on screen, but earlier tiers stay in the rule and are saved with it.
% (the box next to Flat Rate)The percentage.Yes with Flat RateA number greater than 0 and less than 100. Example: 2.5. The program clears it when you choose Tiers.
TiersThe commission uses percentages that change with the amount.—Enables the grid, the two buttons and the two options below it, and disables the percentage box. The program ticks Calculate commission based on highest tier rate for you.
Tiers gridThe tiers added so far.At least one tier with TiersTwo columns, When items value exceeds the amount and A salesman gets a percentage. The cells cannot be edited. The tiers keep the order in which you added them, which is ascending. See Tiers grid.
Calculate commission based on highest tier rateThe percentage of the highest tier the amount reached applies to the whole amount above the first tier.—Enabled with Tiers only.
Calculate commission based on tiered commissionsEach part of the amount gets the percentage of the tier it falls in.—Enabled with Tiers only.
Calculate commission on taxesAdds the invoice tax to the amount subject to commission.NoNot ticked in a new rule.
Calculate commission on additionsAdds the invoice additions to the amount subject to commission.NoTicked in a new rule.

The discount is always subtracted from the amount subject to commission. How the two options work in the calculation, with a worked example, is in Commissions calculation.

ButtonWhat it does
Add TierOpens the Add Tier dialog. Disabled with Flat Rate.
Delete TierDeletes only the last tier of the grid, after the confirmation "Are you sure you want to delete?". It cannot delete a tier from the middle. Disabled with Flat Rate.

The Add Tier dialog​

The dialog is titled "Add Tier". It adds a tier at the end of the grid.

FieldDescriptionRequiredValues and rules
Tier AmountThe amount where the tier starts.YesGreater than the previous tier amount. Example: the first tier 10000 and the second 20000. The dialog accepts zero for the first tier.
Tier Commission RateThe percentage of the tier.YesGreater than 0 and not more than 100, and greater than the previous tier rate. Example: 2 then 3.
ButtonWhat it does
AddChecks the two fields. If they are valid, adds the tier and closes the dialog.
CloseCloses the dialog without adding.

The checks run in this order: Tier Amount filled, Tier Commission Rate filled, the rate range, the amount above the previous one, then the rate above the previous one. Tiers cannot be edited after you add them: delete the last tier and add it again.

Customize​

This page sets which sources the rule applies to, and the two accounts of the commission entry of each source.

FieldDescriptionRequiredValues and rules
Calculated based onThe kind of source whose invoices are added up.YesList: Invoice cost center (the default), Customer cost center, Cost center of customer account, Distributor and Salesman. Changing the choice clears the sources grid. The list is disabled if the rule is used.
Sources gridThe sources the rule applies to.At least one lineThree columns. The name of the first column follows Calculated based on. The same source cannot appear twice in one rule. Up to one hundred lines. See Sources grid.

Columns of the sources grid:

ColumnWhat it holdsRules
SourceThe column is named Invoice cost center, Customer cost center, Cost center of customer account, Distributor or Salesman.Type part of the name and press Enter to open the selection window. The window lets you select several sources at once, and they fill the next lines. The lookup boxes are described in Lookup boxes.
Commission AccountThe account affected by the commission.The program fills it from the commission account in the card of the source when you choose the source. You can change it by searching for another account.
Commission Contra AccountThe opposite account.Like the previous column.

The commission account and the contra account of each source are set in its card: Salesman Card, Distributor Card and the cost center card. The customer cost center comes from the customer card, and the cost center of the customer account from the account card.

The same source may appear in more than one active rule. The program calculates each rule separately.

Source​

This page sets which invoice forms enter the calculation.

FieldDescriptionRequiredValues and rules
Group of formsThe list of invoice forms of the types Sale and Sales Returns, with a box for each form.Yes, at least one formA new rule starts with every box unticked. Only invoices of ticked forms are calculated. Invoices of a Sale form increase the amount subject to commission, and invoices of a Sales Returns form decrease it. The program shows the normal form name.

Saving the rule​

Save checks in this order and stops at the first error, showing the page that has it:

  1. Name is filled.
  2. Name is not used by another rule.
  3. The Commission Calculation Parameters page: the flat percentage is a number, or at least one tier exists, then the range of the percentage.
  4. The Customize page: every source line has both accounts, then at least one source exists.
  5. The Source page: at least one form is ticked.

When you modify a rule, the program updates the rule and then replaces its forms, tiers and sources in one operation.

A rule used in a calculation​

A rule becomes "used" when it enters a saved commission calculation. When you open it, the program disables what would change the results of earlier calculations:

  • On Commission Calculation Parameters: every button, option and box. You cannot change the effect, the percentage, the tiers or the two other options.
  • On Customize: the Calculated based on list. Sources that entered a saved calculation cannot be edited or deleted. You can add new sources and edit the others.
  • On Source: the whole list of forms.
  • Name, Latin Name and Active stay editable. Copy Rule does not work.

To stop a used rule from new calculations, clear Active.

Messages​

MessageWhy it appearsWhat to do
Cannot delete, the rule is usedYou clicked Delete and confirmed, and the rule is in a saved commission calculation.Clear Active instead of deleting, or delete the calculations that used the rule.
Must fill "Name" fieldYou clicked Save and Name is empty.Type the name.
Name is used in other card!Name equals the name of another rule.Change the name. The message appears after Copy Rule until you change the name.
A fixed share of percentage must be entered in Commission Percentage tabFlat Rate is ticked and the percentage box has no number.Type a number, or choose Tiers.
Please enter one tier at leastTiers is ticked and the grid has no tiers.Click Add Tier.
Percentage must be greater than zero and less than 100A flat percentage or a tier rate is outside the range.Type a percentage in the range.
Amount value of the tier is a required fieldTier Amount is empty in the Add Tier dialog.Type the amount.
Percentage value of the tier is a required fieldTier Commission Rate is empty.Type the rate.
The Tier Amount must be greater than the previous tier amountThe amount is not above the last tier amount.Type a larger amount.
The Tier Commission Rate must be greater than the previous tier rateThe rate is not above the last tier rate.Type a larger rate.
Commission Account is missingA source line on Customize has no Commission Account.Choose the account.
Commission Contra Account is missingA source line has no Commission Contra Account.Choose the account.
Please enter one cost center at leastCalculated based on is one of the three cost center kinds and the grid has no source.Add a cost center.
Please enter one distributor at leastCalculated based on is Distributor and the grid has no source.Add a distributor.
Please enter one salesman at leastCalculated based on is Salesman and the grid has no source.Add a salesman.
Please select one source at leastNo form is ticked on Source.Tick a form.

This page applies to alameen ERP 10, version 10.1.79.764.