Bypass Peoplecode if called from a component interface
Praj 15 Jun 2014 05:34
When working with component interfaces, you might have a situation where you need to bypass lower level PeopleCode (e.g. Record level) as it either doesn't apply or won't work from the component interface.
You can't use the page/component in this situation, but you can use the component interface name. For example wrap the code with:
If %CompIntfcName <> "CI_NAME" Then
... Code that you don't want to fire ...
End-If;
Alternatively, you can simply terminate PeopleCode execution like this:
If %CompIntfcName = "CQ_PERSONAL_DATA" Then
Exit (1);
End-If;