Delivery Commission Calculation
This window calculates the commission of a delivery company on its customer's sales in a period, saves the result in a card, and generates an entry for the commission. For the practical steps see Calculate a delivery company commission. The company and the terms of its commission are defined in the Delivery Company Card.
Opening the window
From the ribbon: POS > Tools > Tools > Delivery Company Commission Calculation. The icon appears if your licence includes restaurants or points of sale, and you have the Delivery Company Commission Calculation permission in Users Management (the Cards page). The permission has four levels: add, browse, modify and delete.
Fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Browse buttons | Move between the saved commission cards. | — | See Record navigator. |
| Security Level | The security level of the card. | No | A user whose level equals or exceeds it can open the card. |
| Delivery Company | The company whose commission you calculate. | Yes | Type the company name or pick it from the list, see Search and select. When you choose it, the calculation method, the condition value and the rate appear from its card, and anything already calculated is cleared. |
| Commission Account | The account the commission amount is debited to. | Yes | The program fills it from the company card if the card has a commission account. You can change it. |
| Calculation Method | Monthly or Annual, from the company card. | — | Display only. |
| Period | The month the commission is calculated on. | Yes, with Monthly | The twelve Gregorian months. Disabled with Annual. The program takes the month in the current year, by the computer date; you cannot choose another year. The program always uses the month of the current year, also when you recalculate a saved card. If you modify a monthly card of an earlier year, the card and its entry move to the same month of the current year. |
| To date | The last day of the period. | Yes, with Annual | Disabled with Monthly. See Calculation method. |
| Currency | The main currency of the file. | — | Display only. The entry is generated in it. |
| Note | Text placed in the entry's description. | No | Free text, up to 500 characters. |
| Branch | The branch of the entry. | No | If you choose one, the sales and the commission already granted are limited to this branch, and the entry is in this branch. If it is empty the calculation covers all branches. |
| Condition Value | The sales limit from the company card. | — | Display only. It is not saved in the commission card: on a saved card it shows the current value in the company card, not the value used for the calculation. |
| Commission Rate | The commission rate from the company card. | — | Display only. It is not saved in the commission card: on a saved card it shows the current value in the company card, not the value used for the calculation. |
| Sales Value | The customer's net sales in the period. | — | Filled by Calculate Commission. Display only. |
| Commission Due | The commission of the whole period. | — | Filled by Calculate Commission. Display only. |
| Previously Granted | What the program has already recorded for the period from other cards. | — | Filled by Calculate Commission. Display only. |
| Difference | The amount the entry records. | — | Filled by Calculate Commission. Display only. |
Calculation method
- Monthly: the period runs from the first day of the month chosen in Period to its last day. The program works out the last date; you do not type it.
- Annual: the period runs from the opening date of the file to the date you type in To date. So the calculation is cumulative from the start of the file, and the program subtracts what earlier cards recorded.
The program does not accept an annual period that ends before the latest end date saved for this company (see Messages).
Buttons
| Button | What it does |
|---|---|
| Calculate Commission | Calculates Sales Value, Commission Due, Previously Granted and Difference for the period shown, as in the formula, and displays them. It saves nothing. |
| Add | Saves the commission card and generates its entry, then clears the window. Disabled while a saved card is displayed. To make a new card for the same period, click New first. |
| New | Clears the window for a new calculation: the company, the commission account, the note, the branch and all amounts, and sets Period back to the first month. It enables Add. If the window has unsaved changes and the warning option On cancel is on, the program first asks whether to discard them and move to a new record. |
| Modify | Saves the changes and replaces the entry with a new one that has the same entry number as the old one. Disabled until a saved card is displayed. Before you Modify a saved card, click Calculate Commission: the program recalculates on today's data. Otherwise "Please press Calculate Commission button" appears, even if you changed only the note or the account. |
| Entry | Opens the generated entry of the displayed card in the Journal Entry window. Disabled until a saved card that has an entry is displayed. |
| Delete | Deletes the entry and the card after confirmation. Disabled until a saved card is displayed. After the deletion the card's data stays on screen; click New to start a new calculation. |
| Cancel | Closes the window. If it has unsaved changes and the warning option On cancel is on, the program asks whether to discard them. |
You can set the warning options in Program options.
The formula
Calculate Commission works in this order:
- Sales Value: the sum, for every bill of the customer linked to the company dated from the first to the last day of the period (both included), of the bill total minus its discount. Sales bills count as positive and sales return bills as negative; other bill types are not counted. If you chose a Branch, only the bills of that branch count. Extras and taxes are not part of the amount. The program does not filter the bills by posting state.
- Commission Due = Sales Value × Commission Rate ÷
100, if Sales Value equals or exceeds Condition Value; otherwise0. The commission is on all sales, not only on the excess. - Previously Granted = the sum of the Difference saved in other cards of the same company. With Monthly: the cards that have exactly the same period. With Annual: the cards whose end date is the To date or earlier. If you chose a Branch, only the cards of this branch are summed. The card on screen is not counted when you modify it.
- Difference = Commission Due − Previously Granted.
The entry the program generates
On Add or Modify the program generates an entry and posts it. Its amount is the Difference:
| Item | Value |
|---|---|
| Date | The last day of the period. |
| Description | The text of Note. |
| Branch | The chosen Branch. |
| Currency | The main currency, at rate 1. |
| First line | The company's account from its card, with the company's customer. Credit of the difference if it is positive, debit if it is negative. |
| Second line | Commission Account. Debit of the difference if it is positive, credit if it is negative. |
Each account is the contra account of the other. The entry number is the last entry number in the branch plus one. On Modify the new entry takes the number of the deleted one if it is free.
Example
Example (not yet verified in the program): the company Speedy Delivery has the method Monthly, Condition Value 10000 and Commission Rate 2. In March its customer has two sales bills with net 12000 and 5000, and a sales return bill with net 1000.
- Choose Period March and click Calculate Commission.
- Sales Value =
12000+5000−1000=16000. It is above10000. - Commission Due =
16000×2÷100=320. Previously Granted0. Difference320. - Click Add. The program generates an entry dated
31-03-2026: debit the commission account320, credit the company account320.
Later 4000 more of net sales appear in March. A new card for the same March gives: Sales Value 20000, Commission Due 400, Previously Granted 320, Difference 80, so the entry is 80. If you modify the first card instead of making a second one, by clicking Calculate Commission then Modify, the card itself is not counted as previous, so the Difference is 400 and the program replaces its entry with one of 400.
If the March sales were only 9000, Commission Due would be 0 and Difference 0, and the program would refuse to save. If sales fall below 10000 after a commission was granted, the Difference becomes negative and the program generates the reverse entry: debit the company account, credit the commission account.
Save, modify and delete rules
On Add and Modify the program checks, in this order:
- Delivery Company is filled, then Commission Account is filled.
- You clicked Calculate Commission after the last change of the company, Period or To date. Otherwise the message "Please press Calculate Commission button" appears.
- The Difference is not zero.
After the checks the program asks, if the warning option On save (for Add) or On modify (for Modify) is on.
Changing Branch after the calculation does not ask for a new calculation, so click Calculate Commission again after you change it.
On Delete the program always asks "Are you sure you want to delete?", then unposts the entry, deletes it and deletes the card.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Please select an account (callout title: Empty Field) | Delivery Company or Commission Account is empty. The same message appears for both fields. | Choose the company or the account. |
| Please press Calculate Commission button | You have not calculated the commission, or you changed the company, Period or To date after calculating. | Click Calculate Commission. |
| The commission is equal to zero for selected period, cannot continue! (callout title: Invalid value) | Difference is zero. | Change the period, or review the company's terms. |
| The commission has been already calculated for later period, cannot continue! | The method is Annual and a saved card of this company ends after To date. It appears when you click Calculate Commission. | Choose a To date equal to or after the latest saved end date. The amounts stay at zero; change To date, then click Calculate Commission again. |
| Are you sure you want to complete saving? | You clicked Add and the warning option On save is on. | Confirm or go back. |
| Are you sure you want to save changes ? | You clicked Modify and the warning option On modify is on. | Confirm or go back. |
| Are you sure you want to delete? | You clicked Delete. | Confirm or go back. |
| Do you want to ignore the inputs and close the window? | You closed the window, or moved to another card, with unsaved changes and the warning option On cancel is on. | Close Window discards the changes, Cancel goes back to the window. |
| Are you sure you want to ignore information entered here and move into a new record? | You clicked New with unsaved changes and the warning option On cancel is on. | Move discards the changes, Don't Move goes back to the window. |
If generating or deleting the entry fails and the window shows no message of its own, read the database message if one appears, check the two accounts and the entry date, then try again.
For the message forms see Messages and callouts.
Related
This page applies to alameen ERP 10, version 10.1.79.764.