Testcase to check if quality discount is considered when receiving HUs
create a purchase order with bpartner G000X, add product P0001 and TU A
complete it and go to referenced documents and open receipt candidates
select the line with the product and select the green button to receive the HUs
in attributes, add a quality discount % (e.g. 15%) and a quality notice
press on “create material receipt” then done
open your material receipt from notifications