Close form that has opened from another form
Hi,
I have used custom.pll so that when a specific action is performed on Form0 instead of opening Form1 to open Form2 instead.
if (event_name = 'WHEN-CREATE-RECORD') THEN
if (form_name = 'ARXCUDCI' AND BLOCK_NAME = 'ORG_NS_FIND_FOLDER') then
call_form(fnd_navigate.formpath('XXE', 'FORM2'),NO_HIDE,DO_REPLACE);
END IF;
END IF;
The problem is that when Form2 is closed, Form1 is displayed.
Are there any suggestions on how to prevent Form1 to be diplayed using custom code on custom.pll or on Form2 but not Form0 or Form1?