How can I keep record of agent Commission based on inventory sales?

You could read here