no record can be deleted if other record are referencing it. You have to remove the applying record or transactions first, in this case the item receipt. Note deleting item receipt doesn't affect GL because receipt doesn't have and GL impact and it can be easily recreated without any issues from PO.