DBA Data[Home] [Help]

APPS.OE_STANDARD_WF dependencies on WF_ENGINE

Line 106: block function should be used instead of the wf_engine standard

102:
103: /*--------------------------------------------------------------------
104: New BLOCK activity defined so that the activity cannot be
105: completed by the end-user through 'Progress Order'. This
106: block function should be used instead of the wf_engine standard
107: block function if the activity should be blocked for completion
108: from the Progress Order form
109: ----------------------------------------------------------------------*/
110: procedure STANDARD_BLOCK(itemtype in varchar2,

Line 126: if (funcmode <> wf_engine.eng_run) then

122: OE_STANDARD_WF.Set_Msg_Context(actid);
123: -- end data fix project
124:
125: -- Do nothing in cancel or timeout mode
126: if (funcmode <> wf_engine.eng_run) then
127: resultout := wf_engine.eng_null;
128: return;
129: end if;
130:

Line 127: resultout := wf_engine.eng_null;

123: -- end data fix project
124:
125: -- Do nothing in cancel or timeout mode
126: if (funcmode <> wf_engine.eng_run) then
127: resultout := wf_engine.eng_null;
128: return;
129: end if;
130:
131: resultout := wf_engine.eng_notified||':'||wf_engine.eng_null||

Line 131: resultout := wf_engine.eng_notified||':'||wf_engine.eng_null||

127: resultout := wf_engine.eng_null;
128: return;
129: end if;
130:
131: resultout := wf_engine.eng_notified||':'||wf_engine.eng_null||
132: ':'||wf_engine.eng_null;
133: exception
134: when others then
135: Wf_Core.Context('OE_STANDARD_WF', 'STANDARD_BLOCK', itemtype,

Line 132: ':'||wf_engine.eng_null;

128: return;
129: end if;
130:
131: resultout := wf_engine.eng_notified||':'||wf_engine.eng_null||
132: ':'||wf_engine.eng_null;
133: exception
134: when others then
135: Wf_Core.Context('OE_STANDARD_WF', 'STANDARD_BLOCK', itemtype,
136: itemkey, to_char(actid), funcmode);

Line 206: -- Any caller that calls the WF_ENGINE can set this to FALSE in which case

202:
203: ELSIF(p_funcmode = 'SET_CTX') THEN
204:
205:
206: -- Any caller that calls the WF_ENGINE can set this to FALSE in which case
207: -- we will not reset apps context to that of the user who created the line
208: -- wf item.
209:
210: IF G_RESET_APPS_CONTEXT THEN

Line 227: -- WF Engine calls TEST_CTX, if this returns FALSE then flow is deferred.

223:
224: p_result := 'COMPLETE';
225:
226: -- Notification Viewer form calls the TEST_CTX just before launching the form
227: -- WF Engine calls TEST_CTX, if this returns FALSE then flow is deferred.
228: ELSIF (p_funcmode = 'TEST_CTX') THEN
229:
230: --initialize global so each tested flow must set explicitly
231: OE_GLOBALS.G_FLOW_RESTARTED := FALSE;

Line 344: -- Any caller that calls the WF_ENGINE can set this to FALSE in which case

340: -- The workflow engine calls the selector function
341: -- in the SET_CTX mode to set the database context
342: -- correctly for executing a function activity.
343: ELSIF(p_funcmode = 'SET_CTX') THEN
344: -- Any caller that calls the WF_ENGINE can set this to FALSE in which case
345: -- we will not reset apps context to that of the user who created the line
346: -- wf item.
347: IF G_RESET_APPS_CONTEXT THEN
348: SELECT org_id

Line 464: -- Any caller that calls the WF_ENGINE can set this to FALSE in which case

460: p_result := 'COMPLETE';
461:
462: ELSIF(p_funcmode = 'SET_CTX') THEN
463:
464: -- Any caller that calls the WF_ENGINE can set this to FALSE in which case
465: -- we will not reset apps context to that of the user who created the line
466: -- wf item.
467:
468: IF G_RESET_APPS_CONTEXT THEN

Line 470: l_sales_document_type_code := WF_ENGINE.GetItemAttrText(p_itemtype,

466: -- wf item.
467:
468: IF G_RESET_APPS_CONTEXT THEN
469:
470: l_sales_document_type_code := WF_ENGINE.GetItemAttrText(p_itemtype,
471: p_itemkey, 'SALES_DOCUMENT_TYPE_CODE');
472:
473: IF l_sales_document_type_code = 'O' THEN
474: SELECT org_id

Line 496: -- WF Engine calls TEST_CTX, if this returns FALSE then flow is deferred.

492:
493: p_result := 'COMPLETE';
494:
495: -- Notification Viewer form calls the TEST_CTX just before launching the form
496: -- WF Engine calls TEST_CTX, if this returns FALSE then flow is deferred.
497: ELSIF (p_funcmode = 'TEST_CTX') THEN
498:
499: --initialize global so each tested flow must set explicitly
500: OE_GLOBALS.G_FLOW_RESTARTED := FALSE;

Line 514: l_sales_document_type_code := WF_ENGINE.GetItemAttrText(p_itemtype,

510: -- Setting a global varaible to indicate that the process
511: -- is being run as a result of the flow being restarted
512: OE_GLOBALS.G_FLOW_RESTARTED := TRUE;
513:
514: l_sales_document_type_code := WF_ENGINE.GetItemAttrText(p_itemtype,
515: p_itemkey, 'SALES_DOCUMENT_TYPE_CODE');
516:
517: IF l_sales_document_type_code = 'O' THEN
518: SELECT org_id

Line 616: -- Any caller that calls the WF_ENGINE can set this to FALSE in which case

612: p_result := 'COMPLETE';
613:
614: ELSIF(p_funcmode = 'SET_CTX') THEN
615:
616: -- Any caller that calls the WF_ENGINE can set this to FALSE in which case
617: -- we will not reset apps context to that of the user who created the line
618: -- wf item.
619:
620: IF G_RESET_APPS_CONTEXT THEN

Line 633: -- WF Engine calls TEST_CTX, if this returns FALSE then flow is deferred.

629:
630: p_result := 'COMPLETE';
631:
632: -- Notification Viewer form calls the TEST_CTX just before launching the form
633: -- WF Engine calls TEST_CTX, if this returns FALSE then flow is deferred.
634: ELSIF (p_funcmode = 'TEST_CTX') THEN
635:
636: --initialize global so each tested flow must set explicitly
637: OE_GLOBALS.G_FLOW_RESTARTED := FALSE;

Line 765: l_category_code := wf_engine.GetItemAttrText(p_itemtype, p_itemkey, 'LINE_CATEGORY');

761: OE_STANDARD_WF.Set_Msg_Context(p_actid);
762: -- end data fix project
763: IF (p_funcmode = 'RUN') THEN
764: IF p_itemtype = OE_GLOBALS.G_WFI_LIN THEN
765: l_category_code := wf_engine.GetItemAttrText(p_itemtype, p_itemkey, 'LINE_CATEGORY');
766: p_result := 'COMPLETE:'||l_category_code;
767: ELSE
768: RAISE FND_API.G_EXC_UNEXPECTED_ERROR; -- item type is not a line
769: END IF;