When creating invoice, wrong error message "discount total exceed line total"

Order To Cash: Sales Order Version 10.42

Previously, when creating an invoice - based on a sales order with document discounts and currency is separate from base currency - you receive an error “Discount total can not be bigger than line total”. This issue has now been fixed