Rejected Qty at Purchase Receipt is coming back at Purchase Invoice

Hi Everyone,

I tried to reject a part of item quantity at purchase receipt generated from a Purchase order, the result was when we generated a purchase invoice, we had the amount accepted + amount rejected are issued at Qty Table, for example:

P Order:
Qty = 10 units

P Receipt:
Accepted Qty = 8 units
Rejected Qty = 2 units

P Invoice:
Accepted Qty = 10

could anyone explain to me how to reject a quantity from a partially accepted item?

Thank you