Oracle Error PLS-00594: the SELF parameter can be declared only as IN or as IN OUT

Oracle Error Message

PLS-00594: the SELF parameter can be declared only as IN or as IN OUT

Reason for the Error

The SELF parameter was declared as an OUT parameter.

Solution

Declare the SELF parameter as either an IN or an IN OUT parameter.