Oracle Error PLS-00424: RPC defaults cannot include Package State

Oracle Error Message

PLS-00424: RPC defaults cannot include Package State

Reason for the Error

An attempt was made to call a remote subprogram whose defaulted parameters depend on package state, which is not allowed. When calling remote subprograms, the actual parameters must be passed explicitly if the corresponding formal parameters depend on package state.

Solution

Call the remote subprogram by passing each actual parameter explicitly.