Calculation of trade discount amount