159: );
160:
161: select application_id
162: into x_application_id
163: from fnd_application
164: where application_short_name = x_application_short_name_to;
165:
166: select form_id
167: into x_form_id
183: ( ltrim(rtrim(x_template_name_from)) IS NOT NULL ) THEN
184:
185: select application_id
186: into x_application_id
187: from fnd_application
188: where application_short_name = x_application_short_name_from;
189:
190: select form_id
191: into x_form_id