Sales commission structure for new sales person taking over a client

Hi guys just wanted to ask if this scenario is possible in erpnext, let’s say a certain sales person A is assigned to a certain customer A, and for the average sales of this sales person A with this customer is $10 monthly, suddenly this customer A was assigned to a new sales person B and his assignment is to grow this customer business. My question is can track in the system a 3% commission on the $10 monthly for sales person A and a 3% commission for sales person B in excess of $10?

Your use case very likely could handled by this means https://erpnext.org/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples

Thank you.

Regards,

James