How to edit purchase order as per invoice

Hi, Please help me to edit the purchase order as per invoice.

purchase order quantity =200
received quantity=205

I want edit the quantity and price as per vendor invoice.

@vasanth where are you stuck?