use BigDecimal to calculate TotalRecord amount