I am working on commission in sales and marketing module. I have done all the setups of commission.Then create a new sales order with the defined customer group on the customer and sales group on sales order.
After invoice, I can see the calculated commission in invoice journal.
I want to know the class which is calculating this commission Or how commissionTrans Table is getting data.
I have searched a class commission in AOT which I think has the code to calculate this commission but may be this class is not using as I have commented the code and create a new sales order and it is still calculating.