DBA Data[Home] [Help]

APPS.OE_SALES_CAN_UTIL dependencies on WF_ENGINE

Line 587: wf_engine.abortprocess(OE_Globals.G_WFI_LIN

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

Line 593: wf_engine.handleerror(OE_Globals.G_WFI_LIN

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

Line 1546: wf_engine.handleerror(OE_Globals.G_WFI_HDR

1542: --l_line_process_name);
1543:
1544: -- Moved this post line process
1545: /*IF oe_sales_can_util.g_order_cancel THEN
1546: wf_engine.handleerror(OE_Globals.G_WFI_HDR
1547: ,to_char(p_header_rec.header_id)
1548: ,'CLOSE_HEADER',
1549: 'SKIP','CANCEL');
1550: END IF; */

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

1853:
1854: IF l_return_status = FND_API.G_RET_STS_SUCCESS AND
1855: l_activity_status = 'NOTIFIED' THEN
1856: IF l_debug_level > 0 THEN
1857: oe_debug_pub.add('Calling wf_engine.CompleteActivityInternalName for lineID='||l_item_key,2);
1858: END IF;
1859:
1860: Wf_Engine.CompleteActivityInternalName('OEOL', l_item_key, 'FULFILL_LINE', '#NULL',TRUE ); --15870313
1861:

Line 1860: Wf_Engine.CompleteActivityInternalName('OEOL', l_item_key, 'FULFILL_LINE', '#NULL',TRUE ); --15870313

1856: IF l_debug_level > 0 THEN
1857: oe_debug_pub.add('Calling wf_engine.CompleteActivityInternalName for lineID='||l_item_key,2);
1858: END IF;
1859:
1860: Wf_Engine.CompleteActivityInternalName('OEOL', l_item_key, 'FULFILL_LINE', '#NULL',TRUE ); --15870313
1861:
1862: IF l_debug_level > 0 THEN
1863: oe_debug_pub.add('After calling wf_engine.CompleteActivityInternalName for lineID='||l_item_key,2);
1864: END IF;

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

1859:
1860: Wf_Engine.CompleteActivityInternalName('OEOL', l_item_key, 'FULFILL_LINE', '#NULL',TRUE ); --15870313
1861:
1862: IF l_debug_level > 0 THEN
1863: oe_debug_pub.add('After calling wf_engine.CompleteActivityInternalName for lineID='||l_item_key,2);
1864: END IF;
1865: END IF;
1866: END IF;
1867: END IF; -- l_lines_awaiting = l_lines_in_set check

Line 2176: wf_engine.handleerror(OE_Globals.G_WFI_HDR

2172: if l_debug_level > 0 then
2173: OE_DEBUG_PUB.ADD('Before cancelling header flow ');
2174: end if;
2175:
2176: wf_engine.handleerror(OE_Globals.G_WFI_HDR
2177: ,to_char(x_request_rec.entity_id)
2178: ,'CLOSE_HEADER',
2179: 'RETRY','CANCEL');
2180:

Line 2204: wf_engine.handleerror(OE_Globals.G_WFI_LIN

2200: Update oe_order_lines_all
2201: set cancelled_flag = 'Y' where
2202: line_id = x_request_rec.entity_id;
2203:
2204: wf_engine.handleerror(OE_Globals.G_WFI_LIN
2205: ,to_char(x_request_rec.entity_id)
2206: ,'CLOSE_LINE',
2207: 'RETRY','CANCEL');
2208: End if; -- Ordered quantity