127: close get_from_role ;
128:
129:
130: IF P_FUNCMODE='RUN' THEN
131: /* Get application_id from FND_APPLICATION */
132: select application_id into l_application_id
133: from fnd_application where application_short_name='GMD';
134:
135: /* Check which event has been raised */
129:
130: IF P_FUNCMODE='RUN' THEN
131: /* Get application_id from FND_APPLICATION */
132: select application_id into l_application_id
133: from fnd_application where application_short_name='GMD';
134:
135: /* Check which event has been raised */
136: wf_log_pkg.string(6, 'Dummy','Entered Stability Study Timepoint Testing '||l_event_key);
137:
350: l_form varchar2(240);
351: BEGIN
352:
353: /* Get Next Approver */
354: /* Get application_id from FND_APPLICATION */
355: select application_id into l_application_id
356: from fnd_application where application_short_name='GMD';
357:
358: ame_api.getNextApprover(applicationIdIn => l_application_id,
352:
353: /* Get Next Approver */
354: /* Get application_id from FND_APPLICATION */
355: select application_id into l_application_id
356: from fnd_application where application_short_name='GMD';
357:
358: ame_api.getNextApprover(applicationIdIn => l_application_id,
359: transactionIdIn => l_event_key,
360: transactionTypeIn => l_transaction_type,