Commissions work quite well in standard system.
You have Salespersons/Purchaser list - where You list all Your sales persons, and for each You can define Commission % for sales.
On each Sales document, the Salesperson code has to be provided.
Then at end of each month, You can run a report - "Salesperson - Commission" and see what commission each salesperson has earned.