Skip to content

Browser devtools show a call to a `%HANDLING_SVC` service-wrapper PL/SQL package behind an action, but calling that same wrapper function directly from a custom PL/SQL event action doesn't behave the same way.

Answer

IFS Cloud's REST projections call these %HANDLING_SVC wrapper packages, which in turn call the underlying %_API packages — but the wrapper functions expect to be running in an OData-session context. Set Fnd_Session_API.Set_Property('ODP_SESSION', 'TRUE') before calling the wrapper function from your custom PL/SQL code, and set it back to 'FALSE' afterward, so the wrapper behaves the same way it does when genuinely invoked through the REST/OData layer.

← Browse Developer Studio, deployment, and upgrades questions