DBA Data[Home] [Help]

APPS.OKC_OUTCOME_INIT_PVT dependencies on WF_ENGINE

Line 667: WF_ENGINE.CREATEPROCESS(l_item_type, l_item_key, l_process);

663: --Select the sequence number into l_item_key
664: select okc_wf_outcome_s1.nextval into l_item_key from dual;
665:
666: --Launch the Workflow process
667: WF_ENGINE.CREATEPROCESS(l_item_type, l_item_key, l_process);
668:
669: IF (p_outcome_tbl.COUNT > 0) THEN
670: i := p_outcome_tbl.FIRST;
671: LOOP

Line 674: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,

670: i := p_outcome_tbl.FIRST;
671: LOOP
672: --Set the item attributes
673: if p_outcome_tbl(i).data_type = 'CHAR' then
674: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
675: itemkey => l_item_key,
676: aname => p_outcome_tbl(i).name,
677: avalue => p_outcome_tbl(i).value);
678: end if;

Line 681: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,

677: avalue => p_outcome_tbl(i).value);
678: end if;
679:
680: if p_outcome_tbl(i).data_type = 'NUMBER' then
681: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,
682: itemkey => l_item_key,
683: aname => p_outcome_tbl(i).name,
684: avalue => p_outcome_tbl(i).value);
685: end if;

Line 688: WF_ENGINE.Setitemattrdate(itemtype => l_item_type,

684: avalue => p_outcome_tbl(i).value);
685: end if;
686:
687: if p_outcome_tbl(i).data_type = 'DATE' then
688: WF_ENGINE.Setitemattrdate(itemtype => l_item_type,
689: itemkey => l_item_key,
690: aname => p_outcome_tbl(i).name,
691: avalue => p_outcome_tbl(i).value);
692: end if;

Line 698: l_wf_proc := 'begin WF_ENGINE.STARTPROCESS('||''''||l_item_type||''''||','||''''||l_item_key||''''||'); end;';

694: i := p_outcome_tbl.NEXT(i);
695: END LOOP;
696: END IF;
697: commit;
698: l_wf_proc := 'begin WF_ENGINE.STARTPROCESS('||''''||l_item_type||''''||','||''''||l_item_key||''''||'); end;';
699: x_proc := l_wf_proc;
700: OKC_API.END_ACTIVITY(x_msg_count, x_msg_data);
701:
702: IF (l_debug = 'Y') THEN