We are selling our Products to a group of customers that listed under/belongs to a certain agent. for each customer invoice , a certain amount/percentage should be paid to the parent agent (not customer itself) .
Please guide me how to implement this on Dynamics 365 finance and Operation.