DBA Data[Home] [Help]

APPS.OE_STANDARD_WF dependencies on OE_GLOBALS

Line 231: OE_GLOBALS.G_FLOW_RESTARTED := FALSE;

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;
232:
233: IF G_UPGRADE_MODE THEN -- During Upgrade Mode we always return TRUE;
234:
235: p_result := 'TRUE';

Line 243: OE_GLOBALS.G_FLOW_RESTARTED := TRUE;

239: IF G_RESET_APPS_CONTEXT THEN
240:
241: -- Setting a global varaible to indicate that the process is being run
242: -- as a result of the flow being restarted
243: OE_GLOBALS.G_FLOW_RESTARTED := TRUE;
244:
245: SELECT org_id
246: INTO l_org_id
247: FROM oe_order_headers_all

Line 363: OE_GLOBALS.G_FLOW_RESTARTED := FALSE;

359: -- If test_ctx returns false, then flow is automatically deferred.
360: ELSIF (p_funcmode = 'TEST_CTX') THEN
361:
362: --initialize global so each tested flow must set explicitly
363: OE_GLOBALS.G_FLOW_RESTARTED := FALSE;
364:
365: IF G_UPGRADE_MODE THEN -- During Upgrade Mode we always return TRUE;
366: p_result := 'TRUE';
367: ELSE -- Normal Mode

Line 372: OE_GLOBALS.G_FLOW_RESTARTED := TRUE;

368: IF G_RESET_APPS_CONTEXT THEN
369:
370: -- Setting a global varaible to indicate that the process is
371: -- being run as a result of the flow being restarted
372: OE_GLOBALS.G_FLOW_RESTARTED := TRUE;
373:
374: SELECT org_id
375: INTO l_org_id
376: FROM oe_order_lines_all

Line 500: OE_GLOBALS.G_FLOW_RESTARTED := FALSE;

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;
501:
502: IF G_UPGRADE_MODE THEN -- During Upgrade Mode we always return TRUE;
503:
504: p_result := 'TRUE';

Line 512: OE_GLOBALS.G_FLOW_RESTARTED := TRUE;

508: IF G_RESET_APPS_CONTEXT THEN
509:
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:

Line 637: OE_GLOBALS.G_FLOW_RESTARTED := FALSE;

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;
638:
639:
640: IF G_UPGRADE_MODE THEN -- During Upgrade Mode we always return TRUE;
641:

Line 650: OE_GLOBALS.G_FLOW_RESTARTED := TRUE;

646: IF G_RESET_APPS_CONTEXT THEN
647:
648: -- Setting a global varaible to indicate that the process is
649: -- being run as a result of the flow being restarted
650: OE_GLOBALS.G_FLOW_RESTARTED := TRUE;
651:
652: SELECT org_id
653: INTO l_org_id
654: FROM oe_blanket_headers_all

Line 717: IF l_source_type = OE_GLOBALS.G_SOURCE_EXTERNAL THEN

713: INTO l_source_type
714: FROM oe_order_lines_all
715: WHERE line_id = to_number(p_itemkey);
716:
717: IF l_source_type = OE_GLOBALS.G_SOURCE_EXTERNAL THEN
718: p_result := 'COMPLETE:EXTERNAL';
719: ELSE
720: p_result := 'COMPLETE:INTERNAL';
721: END IF;

Line 764: IF p_itemtype = OE_GLOBALS.G_WFI_LIN THEN

760: -- start data fix project
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

Line 991: oe_globals.g_flow_restarted := FALSE;

987: THEN
988: IF NVL (l_parent_type, p_itemtype) = 'OENH'
989: THEN
990: --initialize global so each tested flow must set explicitly
991: oe_globals.g_flow_restarted := FALSE;
992:
993: IF g_upgrade_mode
994: THEN -- During Upgrade Mode we always return TRUE;
995: p_result := 'TRUE';

Line 1001: oe_globals.g_flow_restarted := TRUE;

997: IF g_reset_apps_context
998: THEN
999: -- Setting a global varaible to indicate that the process
1000: -- is being run as a result of the flow being restarted
1001: oe_globals.g_flow_restarted := TRUE;
1002: l_sales_document_type_code :=
1003: wf_engine.getitemattrtext (p_itemtype,
1004: p_itemkey,
1005: 'SALES_DOCUMENT_TYPE_CODE'

Line 1053: oe_globals.g_flow_restarted := FALSE;

1049: END IF;
1050: END IF; -- End If Upgrade Mode
1051: ELSIF NVL (l_parent_type, p_itemtype) = 'OEOH'
1052: THEN
1053: oe_globals.g_flow_restarted := FALSE;
1054:
1055: IF g_upgrade_mode
1056: THEN -- During Upgrade Mode we always return TRUE;
1057: p_result := 'TRUE';

Line 1063: oe_globals.g_flow_restarted := TRUE;

1059: IF g_reset_apps_context
1060: THEN
1061: -- Setting a global varaible to indicate that the process is being run
1062: -- as a result of the flow being restarted
1063: oe_globals.g_flow_restarted := TRUE;
1064:
1065: SELECT org_id
1066: INTO l_org_id
1067: FROM oe_order_headers_all