Skip to main content

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.

ColumnDescription
NumberThe number of the process. The program gives it in sequence when you generate.
Process to dateThe last day the process covered.
AmountThe value of the entry it created, which is the total of the driver commissions.
EntryThe number of the entry.
Process DateThe day you clicked Generate.
ButtonWhat it does
NewOpens the process window for a new process. After you close it with Close, the list refreshes.
BrowseOpens the selected process for viewing only. Disabled when the list is empty.
DeleteDeletes the selected process after confirmation. Enabled only when you select the latest process in the list.
CloseCloses 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.

FieldDescriptionRequiredValues and rules
Process numberThe number of the process, in large type at the top of the window.—Shown when you view a saved process only.
From DateThe 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 DateThe last day the process covers.YesIn 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 numberThe number of the entry the process created, next to the Entry button.—Shown when you view a saved process only.
ButtonWhat it does
SearchCalculates the commissions for the period and shows them. Enabled in a new process only.
GenerateCreates the entry and saves the process. Enabled after Search when at least one driver appears. Disabled after generating and when viewing.
EntryOpens the entry that the process created in Journal Entry. Enabled when you view a saved process.
DetailsOpens the commission details of the selected driver. Enabled when the list is not empty.
CloseCloses 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​

ColumnMeaning
DriverThe name of the driver.
Number of ordersThe number of orders the driver delivered in the period.
Delivery feesThe total delivery fees of these orders.
Fixed amountThe fixed commission: Receives a fixed amount on the driver card multiplied by the number of orders.
Variable portionThe percentage on the driver card applied to the total delivery fees.
Driver commissionThe commission of the driver: Fixed amount + Variable portion.
RuleThe 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:

CommandWhat it does
DetailsOpens 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.

FieldDescription
From and ToThe period of the process.
Variable portionThe commission percentage, with the % sign.
Fixed amountThe fixed commission for each order.
Driver Commission AccountThe account that is credited with the commission.
Account BalanceThe balance of this account from the file's opening date to today.
ColumnMeaning
Trip numberThe number of the delivery trip.
Order numberThe order number.
Delivery DateThe date the order was delivered.
CustomerThe customer of the order.
AmountThe net value of the order.
Delivery feesThe delivery fees of the order.
Fixed amountThe fixed amount for this order.
Variable portionThe percentage of this order's fees.
Commission totalThe commission of this order, which is the amount the entry records for it.
Delivery stationThe 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:

CommandWhat it does
Show Order CardOpens the order card.
Show Driver Card...Opens the Driver Card.
Show POS CardOpens 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.

ItemValue
DateThe day you clicked Generate, not To Date.
Notes"Entry for drivers commission process from date 2026-03-01 to date 2026-03-31".
BranchThe first branch by number, if branches exist.
CurrencyThe base currency at rate 1.
For each orderTwo 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:

ColumnValue
Number of orders3
Delivery fees20 + 30 + 25 = 75
Fixed amount2 × 3 = 6
Variable portion75 × 10 ÷ 100 = 7.5
Driver commission6 + 7.5 = 13.5
RuleFixed 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:

AccountDebitCredit
5410 Delivery fees (first order)4
2420 Drivers commission4
5410 Delivery fees (second order)5
2420 Drivers commission5
5410 Delivery fees (third order)4.5
2420 Drivers commission4.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​

MessageWhy it appearsWhat to do
Processing End Date must be prior to todayYou 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 namesYou 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 periodNo 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 completedYou 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.

This page applies to alameen ERP 10, version 10.1.79.764.