Rule Definition
In Oracle Application/eBusiness it is recommended not to use directly the call_form buit_in but "FND_FUNCTION.Execute" instead.
The reason for that is to have a correct behaviour of the application.
This rule also apply to other built-in like Open_form, clear_form etc.
Outside of Oracle Applications/eBusiness context, encapsulating built-ins allow having a centralized control and ease upgrade of the application (for example when such a built-in is not supported anymore).
Remediation
Encapsulate the built-in and use the new function instead.
Violation Code Sample
WHEN-BUTTON-PRESSED
CALL_FORM('MODULE_B.FMX');
Fixed Code Sample
WHEN-BUTTON-PRESSED
MY_CALL_FORM('MODULE_B.FMX');
...
PROCEDURE MY_CALL_FORM( FORM_NAME VARCHAR2) IS
BEGIN
-- Do Something
CALL_FORM( FORM_NAME);
END;
Reference
Oracle Applications recommendation on customization.
Related Technologies
Forms
Technical Criterion
Architecture - Multi-Layers and Data Access
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.