And if you set rate, quantity and amount. It will skip validating and calculation on rate.
So if you set
Rate 5, Quantity 2, amount will be 10.
However information will be as you entered if you enter all of them
If you set Rate 3, quantity 2, and amount 10.