DBA Data[Home] [Help]

APPS.OE_SALES_CAN_UTIL dependencies on WF_ENGINE

Line 583: wf_engine.abortprocess(OE_Globals.G_WFI_LIN

579: OE_STANDARD_WF.Get_LineProcessName(OE_GLOBALS.G_WFI_LIN, p_line_rec.line_id,
580: l_line_process_name);
581:
582: If p_line_rec.ordered_quantity = 0 then
583: wf_engine.abortprocess(OE_Globals.G_WFI_LIN
584: ,to_char(p_line_rec.line_id)
585: ,l_line_process_name);
586: OE_DEBUG_PUB.ADD('Calling Wf Handle Error ');
587: Using Retry option to run close activity

Line 589: wf_engine.handleerror(OE_Globals.G_WFI_LIN

585: ,l_line_process_name);
586: OE_DEBUG_PUB.ADD('Calling Wf Handle Error ');
587: Using Retry option to run close activity
588: OE_GLOBALS.G_RECURSION_MODE := 'Y';
589: wf_engine.handleerror(OE_Globals.G_WFI_LIN
590: ,to_char(p_line_rec.line_id)
591: ,'CLOSE_LINE',
592: 'RETRY','CANCEL');
593: OE_DEBUG_PUB.ADD('After Calling Wf Handle Error ');

Line 1483: wf_engine.handleerror(OE_Globals.G_WFI_HDR

1479: --l_line_process_name);
1480:
1481: -- Moved this post line process
1482: /*IF oe_sales_can_util.g_order_cancel THEN
1483: wf_engine.handleerror(OE_Globals.G_WFI_HDR
1484: ,to_char(p_header_rec.header_id)
1485: ,'CLOSE_HEADER',
1486: 'SKIP','CANCEL');
1487: END IF; */

Line 1794: oe_debug_pub.add('Calling wf_engine.CompleteActivityInternalName for lineID='||l_item_key,2);

1790:
1791: IF l_return_status = FND_API.G_RET_STS_SUCCESS AND
1792: l_activity_status = 'NOTIFIED' THEN
1793: IF l_debug_level > 0 THEN
1794: oe_debug_pub.add('Calling wf_engine.CompleteActivityInternalName for lineID='||l_item_key,2);
1795: END IF;
1796:
1797: Wf_Engine.CompleteActivityInternalName('OEOL', l_item_key, 'FULFILL_LINE', '#NULL');
1798:

Line 1797: Wf_Engine.CompleteActivityInternalName('OEOL', l_item_key, 'FULFILL_LINE', '#NULL');

1793: IF l_debug_level > 0 THEN
1794: oe_debug_pub.add('Calling wf_engine.CompleteActivityInternalName for lineID='||l_item_key,2);
1795: END IF;
1796:
1797: Wf_Engine.CompleteActivityInternalName('OEOL', l_item_key, 'FULFILL_LINE', '#NULL');
1798:
1799: IF l_debug_level > 0 THEN
1800: oe_debug_pub.add('After calling wf_engine.CompleteActivityInternalName for lineID='||l_item_key,2);
1801: END IF;

Line 1800: oe_debug_pub.add('After calling wf_engine.CompleteActivityInternalName for lineID='||l_item_key,2);

1796:
1797: Wf_Engine.CompleteActivityInternalName('OEOL', l_item_key, 'FULFILL_LINE', '#NULL');
1798:
1799: IF l_debug_level > 0 THEN
1800: oe_debug_pub.add('After calling wf_engine.CompleteActivityInternalName for lineID='||l_item_key,2);
1801: END IF;
1802: END IF;
1803: END IF;
1804: END IF; -- l_lines_awaiting = l_lines_in_set check

Line 2112: wf_engine.handleerror(OE_Globals.G_WFI_HDR

2108: if l_debug_level > 0 then
2109: OE_DEBUG_PUB.ADD('Before cancelling header flow ');
2110: end if;
2111:
2112: wf_engine.handleerror(OE_Globals.G_WFI_HDR
2113: ,to_char(x_request_rec.entity_id)
2114: ,'CLOSE_HEADER',
2115: 'RETRY','CANCEL');
2116:

Line 2140: wf_engine.handleerror(OE_Globals.G_WFI_LIN

2136: Update oe_order_lines_all
2137: set cancelled_flag = 'Y' where
2138: line_id = x_request_rec.entity_id;
2139:
2140: wf_engine.handleerror(OE_Globals.G_WFI_LIN
2141: ,to_char(x_request_rec.entity_id)
2142: ,'CLOSE_LINE',
2143: 'RETRY','CANCEL');
2144: End if; -- Ordered quantity