Remove a line item that was part of a purchase order upload

At any point of time if you have received any line item for a PO it wont allow you to delete. Ledger is now there for it and thats the reason,