Purchase order with delivery challan

Purshare order should have delivary challan like features [from sales order] to record partial payments. For example:- Many time we raise purchase order for 50 items but vendor only send 20 so there should be way to record partial delivary option.