Process Drivers Commission in Delivery Fees
These windows calculate the commission of each driver for the delivery orders the driver delivered in a period, and create an entry that charges the commission against the delivery fees. The commission is set in the Driver Card. For the practical steps see Process drivers commission.
Opening the window
From the ribbon: POS Pro > Tools > Process Commission. The button opens the list of processes.
- The POS Pro tab appears when your licence includes point of sale on smart devices, and after you open a file.
- You need the Process Commission permission in Users Management > the Operations page (one check box).
- From the entry that an earlier process created: open it in Journal Entry and click Origin. The process window opens to show that process.
List of processes
Each earlier process is one row, ordered by its number. Click a column header to sort the list.
| Column | Description |
|---|---|
| Number | The number of the process. The program gives it in sequence when you generate. |
| Process to date | The last day the process covered. |
| Amount | The value of the entry it created, which is the total of the driver commissions. |
| Entry | The number of the entry. |
| Process Date | The day you clicked Generate. |
| Button | What it does |
|---|---|
| New | Opens the process window for a new process. After you close it with Close, the list refreshes. |
| Browse | Opens the selected process for viewing only. Disabled when the list is empty. |
| Delete | Deletes the selected process after confirmation. Enabled only when you select the latest process in the list. |
| Close | Closes the window. |
On Delete the program asks "Are you sure you want to delete?". Then it unposts and deletes the entry, and deletes the process with its drivers and details. After that, the next process starts on the day after the end of the process before it. If the entry was created in another database (a replica), the message "Cannot perform an operation that has a source code not belong to the current database." appears and nothing is deleted. If the deletion does not finish in the database, the row stays in the list and no message appears.
Right-click a row to open its row menu. It has Display Entry..., which opens the journal entry. See legacy lists.
Process Drivers Commission in Delivery Fees window
Its title is "Process Drivers Commission in Delivery Fees To Date". New or Browse opens it.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Process number | The number of the process, in large type at the top of the window. | — | Shown when you view a saved process only. |
| From Date | The first day the process covers. | — | Display only. In a new process it is the day after the end of the last saved process, or the file's opening date if there is no earlier process. |
| To Date | The last day the process covers. | Yes | In a new process the default is yesterday. You change it by typing or with the calendar, see Date fields. It must not be before From Date and must be before today. It can equal From Date for a one-day process. Disabled when you view a saved process. |
| Entry number | The number of the entry the process created, next to the Entry button. | — | Shown when you view a saved process only. |
| Button | What it does |
|---|---|
| Search | Calculates the commissions for the period and shows them. Enabled in a new process only. |
| Generate | Creates the entry and saves the process. Enabled after Search when at least one driver appears. Disabled after generating and when viewing. |
| Entry | Opens the entry that the process created in Journal Entry. Enabled when you view a saved process. |
| Details | Opens the commission details of the selected driver. Enabled when the list is not empty. |
| Close | Closes the window. |
If at least one driver appears after Search, the red text "Program will not save commission processing before the entry is generated" appears: the process is saved only when you click Generate. The window now counts as having unsaved changes, so if you close it before Generate and the warning option On cancel is on, the program asks whether to discard them. Generate uses the dates that were in the window at the last click on Search, even if the program rejected that search because of the date. If you change To Date, click Search and make sure the list refreshed without a message before you click Generate.
List of drivers
| Column | Meaning |
|---|---|
| Driver | The name of the driver. |
| Number of orders | The number of orders the driver delivered in the period. |
| Delivery fees | The total delivery fees of these orders. |
| Fixed amount | The fixed commission: Receives a fixed amount on the driver card multiplied by the number of orders. |
| Variable portion | The percentage on the driver card applied to the total delivery fees. |
| Driver commission | The commission of the driver: Fixed amount + Variable portion. |
| Rule | The commission rule as on the driver card: the fixed amount, a vertical bar, then the % sign and the percentage. |
Under the list, five boxes show the totals of the columns: Driver commission, Variable portion, Fixed amount, Delivery fees and Number of orders. Click a column header to sort the list.
When you view a saved process, the list shows the rule that applied on the day you generated, not the current rule on the driver card.
Row menu
Right-click a driver in the list. The program adds two commands:
| Command | What it does |
|---|---|
| Details | Opens the commission details. |
| Show Driver Card... | Opens the Driver Card. |
Commission Details for Driver window
Its title is "Driver Commission Details - " followed by the driver's name. It lists the orders of the driver that entered the commission. All its fields are display only.
| Field | Description |
|---|---|
| From and To | The period of the process. |
| Variable portion | The commission percentage, with the % sign. |
| Fixed amount | The fixed commission for each order. |
| Driver Commission Account | The account that is credited with the commission. |
| Account Balance | The balance of this account from the file's opening date to today. |
| Column | Meaning |
|---|---|
| Trip number | The number of the delivery trip. |
| Order number | The order number. |
| Delivery Date | The date the order was delivered. |
| Customer | The customer of the order. |
| Amount | The net value of the order. |
| Delivery fees | The delivery fees of the order. |
| Fixed amount | The fixed amount for this order. |
| Variable portion | The percentage of this order's fees. |
| Commission total | The commission of this order, which is the amount the entry records for it. |
| Delivery station | The point of sale where the delivery was recorded. |
| Delivery Fees Account (Debit) | The delivery fees account set for the point of sale where the order was created. It is the account that is debited. |
Click Close to go back to the process window.
Right-click an order. The program adds:
| Command | What it does |
|---|---|
| Show Order Card | Opens the order card. |
| Show Driver Card... | Opens the Driver Card. |
| Show POS Card | Opens the POS card. |
| Driver Commission Account Ledger... | Opens the ledger of the driver commission account. |
| Delivery Fees Account Ledger... | Opens the ledger of the delivery fees account of this order. |
How the program calculates the commission
- Orders: the orders whose delivery was recorded in the period (the date of the delivery event is between From Date and To Date, both included), for drivers who have Driver Commission Calculation on in the Driver Commission tab of the driver card. The date the order was created does not matter.
- Driver commission = (the fixed amount × Number of orders) + (Delivery fees × the percentage ÷
100). - A driver whose card has no fixed amount and no percentage appears with a commission of zero. A transient driver's fees are recorded when delivery starts; the processing calculates nothing for that driver.
- Before calculating, the program checks the trips of drivers who are not transient. If one of them has an order that started delivery in the period and is still on the way, the program calculates nothing and shows the names of these drivers. Finish their trips, then click Search again.
- Before generating, the program checks that every point of sale where commission drivers' orders were created in the period has a delivery fees account. If not, it shows their names and does not generate.
The entry the program creates
On Generate the program creates an entry and posts it at once, then saves the process with its drivers and the details of their orders.
| Item | Value |
|---|---|
| Date | The day you clicked Generate, not To Date. |
| Notes | "Entry for drivers commission process from date 2026-03-01 to date 2026-03-31". |
| Branch | The first branch by number, if branches exist. |
| Currency | The base currency at rate 1. |
| For each order | Two lines: debit to the delivery fees account and credit to the driver commission account, with the Commission total of the order. |
| Line notes | "Driver commission … for order: … trip number: … for customer: … POS: …". |
The entry has two lines for every order, even if its commission is zero.
Example
On the card of the driver Ahmad Alsalem the fixed amount is 2, the percentage is 10, and the commission account is 2420. In March 2026 he delivered three orders with delivery fees of 20, 30 and 25. The delivery fees account is 5410. Click Search for 01-03-2026 to 31-03-2026:
| Column | Value |
|---|---|
| Number of orders | 3 |
| Delivery fees | 20 + 30 + 25 = 75 |
| Fixed amount | 2 × 3 = 6 |
| Variable portion | 75 × 10 ÷ 100 = 7.5 |
| Driver commission | 6 + 7.5 = 13.5 |
| Rule | Fixed amount 2 and percentage %10 |
The commission of each order is 2 + 20 × 10% = 4, then 5, then 4.5. The program creates an entry for 13.5:
| Account | Debit | Credit |
|---|---|---|
| 5410 Delivery fees (first order) | 4 | |
| 2420 Drivers commission | 4 | |
| 5410 Delivery fees (second order) | 5 | |
| 2420 Drivers commission | 5 | |
| 5410 Delivery fees (third order) | 4.5 | |
| 2420 Drivers commission | 4.5 |
The list of processes shows a row with the amount 13.5. To see the commissions that were recorded afterwards, see the Drivers Commission from Delivery Fees report.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Processing End Date must be prior to today | You clicked Search and To Date is before From Date, or is today or later. | Choose To Date between From Date and yesterday. If you processed up to yesterday, there is no new process before tomorrow. |
| There should be no driver trips en route during processing period, followed by driver names | You clicked Search and one or more drivers have an order that started delivery in the period and has not finished. | Finish the trips, then click Search again. |
| No data found in the selected period | No orders were delivered in the period by drivers who have a commission. | Change To Date or leave the process. |
| Unknown delivery fees account! (with the detail: Undefined delivery fees account in one or more POS card, then the names of the points of sale, at most five) | You clicked Generate and one or more points of sale of the period's orders have no delivery fees account. | Set the account in the POS card, then try again. |
| Operation successfully completed | You clicked Generate and the process was saved. | Open the entry with Entry. |
| Are you sure you want to delete? | You clicked Delete in the list of processes. | Confirm or go back. |
| Cannot perform an operation that has a source code not belong to the current database. | You clicked Delete for a process whose entry came from another database. | Delete it in the database that created it. |
If no success message appears after Generate, the entry may have been created and posted anyway, and the process may be missing from the list or incomplete. Before you click Generate again, look in the journal entries for an entry with the notes "Entry for drivers commission process from date …" for the same period, and contact your administrator if you find one. See also Messages and callouts.
Related
This page applies to alameen ERP 10, version 10.1.79.764.