Why not implement a proper commission sales option

I don’t think it would be difficult

  1. in the employee file specify if they’re paid on commission or not

  2. in the inventory items, specify the commission percentage

  3. You can have two options, specify a salesperson for each customer in the customer setup
    OR
    add the salesperson to each invoice

  4. In payroll, calculate the commission amount payable

Done

It needs more general approach. Not every person earning a commission will be an employee.

Then you have an issue whether commission should be paid on accrual-basis or cash-basis.

Business can pay commission upon selling non-inventory items too (e.g. commission from providing a service).

As you can see, there is a lot of to consider before any code is written at all. Something will be done next year about this though.

1 Like