DBA Data[Home] [Help]

APPS.OKC_OUTCOME_INIT_PVT dependencies on WF_ENGINE

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

687: --Select the sequence number into l_item_key
688: select okc_wf_outcome_s1.nextval into l_item_key from dual;
689:
690: --Launch the Workflow process
691: WF_ENGINE.CREATEPROCESS(l_item_type, l_item_key, l_process);
692:
693: IF (p_outcome_tbl.COUNT > 0) THEN
694: i := p_outcome_tbl.FIRST;
695: LOOP

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

694: i := p_outcome_tbl.FIRST;
695: LOOP
696: --Set the item attributes
697: if p_outcome_tbl(i).data_type = 'CHAR' then
698: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
699: itemkey => l_item_key,
700: aname => p_outcome_tbl(i).name,
701: avalue => p_outcome_tbl(i).value);
702: end if;

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

701: avalue => p_outcome_tbl(i).value);
702: end if;
703:
704: if p_outcome_tbl(i).data_type = 'NUMBER' then
705: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,
706: itemkey => l_item_key,
707: aname => p_outcome_tbl(i).name,
708: avalue => p_outcome_tbl(i).value);
709: end if;

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

708: avalue => p_outcome_tbl(i).value);
709: end if;
710:
711: if p_outcome_tbl(i).data_type = 'DATE' then
712: WF_ENGINE.Setitemattrdate(itemtype => l_item_type,
713: itemkey => l_item_key,
714: aname => p_outcome_tbl(i).name,
715: avalue => p_outcome_tbl(i).value);
716: end if;

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

718: i := p_outcome_tbl.NEXT(i);
719: END LOOP;
720: END IF;
721: commit;
722: l_wf_proc := 'begin WF_ENGINE.STARTPROCESS('||''''||l_item_type||''''||','||''''||l_item_key||''''||'); end;';
723: x_proc := l_wf_proc;
724: OKC_API.END_ACTIVITY(x_msg_count, x_msg_data);
725:
726: IF (l_debug = 'Y') THEN