Hi Pedro,
I know that but I'd like to insert a new price as well and then apply the discount to it. Once the unitprice is entered through the DI, no default discount appears when the form is added and that's why I need to find a way to calculate that discount.