custom crystal reports

What is the procedure to write custom crystal reports to calculate commissions.