Oracle Error ORA-26565: Call to _arg made before calling dbms_defer.call

Oracle Error Message

ORA-26565: Call to _arg made before calling dbms_defer.call

Reason for the Error

User invoked _arg procedure before starting a deferred call

Solution

Invoke various procedures in the correct order.