Hi,
If you want to block the invoice creation for the PO item after return delivery, maintain the message M8 088 as Error message in OMRM.
If you want to block the 122 movement after IR, remove the check box against 122 movement in OMBZ transaction.
Test the scenario and revert back.
Regards,
AKPT