Oracle Error PLS-00678: RETURN statement not allowed inside Compound Triggers

Oracle Error Message

PLS-00678: RETURN statement not allowed inside Compound Triggers

Reason for the Error

A return Statement was seen inside a compound trigger

Solution

Remove Return statement and use other PL/SQL constructs to transfer flow of control.