DBA Data[Home] [Help]

APPS.OE_ORDER_PVT dependencies on OE_DELAYED_REQUESTS_PVT

Line 868: OE_Delayed_Requests_Pvt.Clear_Request

864: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
865: IF l_debug_level > 0 THEN
866: oe_debug_pub.add( 'DELETE REQUEST1' , 2 ) ;
867: END IF;
868: OE_Delayed_Requests_Pvt.Clear_Request
869: (x_return_status => l_return_status);
870: END IF;
871: OE_MSG_PUB.reset_msg_context('HEADER');
872:

Line 884: OE_Delayed_Requests_Pvt.Clear_Request

880: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
881: IF l_debug_level > 0 THEN
882: oe_debug_pub.add( 'DELETE REQUEST2' , 2 ) ;
883: END IF;
884: OE_Delayed_Requests_Pvt.Clear_Request
885: (x_return_status => l_return_status);
886: END IF;
887: OE_MSG_PUB.reset_msg_context('HEADER');
888:

Line 908: OE_Delayed_Requests_Pvt.Clear_Request

904: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
905: IF l_debug_level > 0 THEN
906: oe_debug_pub.add( 'DELETE REQUEST3' , 2 ) ;
907: END IF;
908: OE_Delayed_Requests_Pvt.Clear_Request
909: (x_return_status => l_return_status);
910: END IF;
911: OE_MSG_PUB.reset_msg_context('HEADER');
912:

Line 1395: oe_delayed_requests_pvt.Delete_Reqs_for_Deleted_Entity

1391: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
1392: IF l_debug_level > 0 THEN
1393: oe_debug_pub.add( 'DELETE REQUEST4' , 2 ) ;
1394: END IF;
1395: oe_delayed_requests_pvt.Delete_Reqs_for_Deleted_Entity
1396: (p_entity_code =>OE_GLOBALS.G_ENTITY_HEADER_SCREDIT,
1397: p_entity_id => l_header_scredit_rec.sales_credit_id,
1398: x_return_status => l_return_status);
1399: END IF;

Line 1462: OE_Delayed_Requests_Pvt.Clear_Request

1458: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
1459: IF l_debug_level > 0 THEN
1460: oe_debug_pub.add( 'DELETE REQUEST5' , 2 ) ;
1461: END IF;
1462: OE_Delayed_Requests_Pvt.Clear_Request
1463: (x_return_status => l_return_status);
1464: END IF;
1465: OE_MSG_PUB.reset_msg_context('HEADER_SCREDIT');
1466:

Line 1476: OE_Delayed_Requests_Pvt.Clear_Request

1472: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
1473: IF l_debug_level > 0 THEN
1474: oe_debug_pub.add( 'DELETE REQUEST6' , 2 ) ;
1475: END IF;
1476: OE_Delayed_Requests_Pvt.Clear_Request
1477: (x_return_status => l_return_status);
1478: END IF;
1479: OE_MSG_PUB.reset_msg_context('HEADER_SCREDIT');
1480:

Line 1490: OE_Delayed_Requests_Pvt.Clear_Request

1486: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
1487: IF l_debug_level > 0 THEN
1488: oe_debug_pub.add( 'DELETE REQUEST7' , 2 ) ;
1489: END IF;
1490: OE_Delayed_Requests_Pvt.Clear_Request
1491: (x_return_status => l_return_status);
1492: END IF;
1493: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1494: THEN

Line 2057: oe_delayed_requests_pvt.Delete_Reqs_for_Deleted_Entity

2053: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
2054: IF l_debug_level > 0 THEN
2055: oe_debug_pub.add( 'DELETE REQUEST4' , 2 ) ;
2056: END IF;
2057: oe_delayed_requests_pvt.Delete_Reqs_for_Deleted_Entity
2058: (p_entity_code =>OE_GLOBALS.G_ENTITY_HEADER_PAYMENT,
2059: p_entity_id => l_header_payment_rec.header_id,
2060: x_return_status => l_return_status);
2061: END IF;

Line 2114: OE_Delayed_Requests_Pvt.Clear_Request

2110: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
2111: IF l_debug_level > 0 THEN
2112: oe_debug_pub.add( 'DELETE REQUEST5' , 2 ) ;
2113: END IF;
2114: OE_Delayed_Requests_Pvt.Clear_Request
2115: (x_return_status => l_return_status);
2116: END IF;
2117: OE_MSG_PUB.reset_msg_context('HEADER_PAYMENT');
2118:

Line 2126: OE_Delayed_Requests_Pvt.Clear_Request

2122: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
2123: IF l_debug_level > 0 THEN
2124: oe_debug_pub.add( 'DELETE REQUEST6' , 2 ) ;
2125: END IF;
2126: OE_Delayed_Requests_Pvt.Clear_Request
2127: (x_return_status => l_return_status);
2128: END IF;
2129: OE_MSG_PUB.reset_msg_context('HEADER_PAYMENT');
2130:

Line 2138: OE_Delayed_Requests_Pvt.Clear_Request

2134: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
2135: IF l_debug_level > 0 THEN
2136: oe_debug_pub.add( 'DELETE REQUEST7' , 2 ) ;
2137: END IF;
2138: OE_Delayed_Requests_Pvt.Clear_Request
2139: (x_return_status => l_return_status);
2140: END IF;
2141: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2142: THEN

Line 3627: oe_delayed_requests_pvt.Delete_Reqs_for_Deleted_Entity

3623: IF l_debug_level > 0 THEN
3624: oe_debug_pub.add( 'DELETE REQUEST8' , 2 ) ;
3625: END IF;
3626:
3627: oe_delayed_requests_pvt.Delete_Reqs_for_Deleted_Entity
3628: (p_entity_code => OE_GLOBALS.G_ENTITY_LINE,
3629: p_entity_id => l_line_rec.line_id,
3630: x_return_status => l_return_status);
3631: END IF;

Line 3780: oe_delayed_requests_pvt.Clear_Request

3776: IF NOT (OE_GLOBALS.G_UI_FLAG) AND line_ctr = 1 THEN
3777: IF l_debug_level > 0 THEN
3778: oe_debug_pub.add( 'DELETE REQUEST9' , 2 ) ;
3779: END IF;
3780: oe_delayed_requests_pvt.Clear_Request
3781: (x_return_status => l_return_status);
3782:
3783: IF OE_Config_Pvt.OE_MODIFY_INC_ITEMS_TBL.COUNT > 0 THEN -- for the bug 3726337
3784: OE_Config_Pvt.OE_MODIFY_INC_ITEMS_TBL.DELETE;

Line 3812: oe_delayed_requests_pvt.Clear_Request

3808: IF NOT (OE_GLOBALS.G_UI_FLAG) and line_ctr = 1 THEN
3809: IF l_debug_level > 0 THEN
3810: oe_debug_pub.add( 'DELETE REQUEST10' , 2 ) ;
3811: END IF;
3812: oe_delayed_requests_pvt.Clear_Request
3813: (x_return_status => l_return_status);
3814:
3815: IF OE_Config_Pvt.OE_MODIFY_INC_ITEMS_TBL.COUNT > 0 THEN -- for the bug 3726337
3816: OE_Config_Pvt.OE_MODIFY_INC_ITEMS_TBL.DELETE;

Line 3838: oe_delayed_requests_pvt.Clear_Request

3834: IF NOT (OE_GLOBALS.G_UI_FLAG) and line_ctr = 1 THEN
3835: IF l_debug_level > 0 THEN
3836: oe_debug_pub.add( 'DELETE REQUEST11' , 2 ) ;
3837: END IF;
3838: oe_delayed_requests_pvt.Clear_Request
3839: (x_return_status => l_return_status);
3840:
3841: IF OE_Config_Pvt.OE_MODIFY_INC_ITEMS_TBL.COUNT > 0 THEN -- for the bug 3726337
3842: OE_Config_Pvt.OE_MODIFY_INC_ITEMS_TBL.DELETE;

Line 4343: oe_delayed_requests_pvt.Delete_Reqs_for_Deleted_Entity

4339: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
4340: IF l_debug_level > 0 THEN
4341: oe_debug_pub.add( 'DELETE REQUEST12' , 2 ) ;
4342: END IF;
4343: oe_delayed_requests_pvt.Delete_Reqs_for_Deleted_Entity
4344: (p_entity_code =>OE_GLOBALS.G_ENTITY_LINE_SCREDIT,
4345: p_entity_id => l_line_scredit_rec.sales_credit_id,
4346: x_return_status => l_return_status);
4347: END IF;

Line 4403: OE_Delayed_Requests_Pvt.Clear_Request

4399: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
4400: IF l_debug_level > 0 THEN
4401: oe_debug_pub.add( 'DELETE REQUEST13' , 2 ) ;
4402: END IF;
4403: OE_Delayed_Requests_Pvt.Clear_Request
4404: (x_return_status => l_return_status);
4405: END IF;
4406: OE_MSG_PUB.reset_msg_context('LINE_SCREDIT');
4407:

Line 4417: OE_Delayed_Requests_Pvt.Clear_Request

4413: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
4414: IF l_debug_level > 0 THEN
4415: oe_debug_pub.add( 'DELETE REQUEST14' , 2 ) ;
4416: END IF;
4417: OE_Delayed_Requests_Pvt.Clear_Request
4418: (x_return_status => l_return_status);
4419: END IF;
4420: OE_MSG_PUB.reset_msg_context('LINE_SCREDIT');
4421:

Line 4431: OE_Delayed_Requests_Pvt.Clear_Request

4427: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
4428: IF l_debug_level > 0 THEN
4429: oe_debug_pub.add( 'DELETE REQUEST15' , 2 ) ;
4430: END IF;
4431: OE_Delayed_Requests_Pvt.Clear_Request
4432: (x_return_status => l_return_status);
4433: END IF;
4434: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4435: THEN

Line 5011: oe_delayed_requests_pvt.Delete_Reqs_for_Deleted_Entity

5007: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
5008: IF l_debug_level > 0 THEN
5009: oe_debug_pub.add( 'DELETE REQUEST12' , 2 ) ;
5010: END IF;
5011: oe_delayed_requests_pvt.Delete_Reqs_for_Deleted_Entity
5012: (p_entity_code =>OE_GLOBALS.G_ENTITY_LINE_PAYMENT,
5013: p_entity_id => l_line_payment_rec.line_id,
5014: x_return_status => l_return_status);
5015: END IF;

Line 5067: OE_Delayed_Requests_Pvt.Clear_Request

5063: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
5064: IF l_debug_level > 0 THEN
5065: oe_debug_pub.add( 'DELETE REQUEST13' , 2 ) ;
5066: END IF;
5067: OE_Delayed_Requests_Pvt.Clear_Request
5068: (x_return_status => l_return_status);
5069: END IF;
5070: OE_MSG_PUB.reset_msg_context('LINE_PAYMENT');
5071:

Line 5079: OE_Delayed_Requests_Pvt.Clear_Request

5075: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
5076: IF l_debug_level > 0 THEN
5077: oe_debug_pub.add( 'DELETE REQUEST14' , 2 ) ;
5078: END IF;
5079: OE_Delayed_Requests_Pvt.Clear_Request
5080: (x_return_status => l_return_status);
5081: END IF;
5082: OE_MSG_PUB.reset_msg_context('LINE_PAYMENT');
5083:

Line 5091: OE_Delayed_Requests_Pvt.Clear_Request

5087: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
5088: IF l_debug_level > 0 THEN
5089: oe_debug_pub.add( 'DELETE REQUEST15' , 2 ) ;
5090: END IF;
5091: OE_Delayed_Requests_Pvt.Clear_Request
5092: (x_return_status => l_return_status);
5093: END IF;
5094: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5095: THEN

Line 5386: OE_Delayed_Requests_Pvt.Clear_Request

5382: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
5383: IF l_debug_level > 0 THEN
5384: oe_debug_pub.add( 'DELETE REQUEST17' , 2 ) ;
5385: END IF;
5386: OE_Delayed_Requests_Pvt.Clear_Request
5387: (x_return_status => l_return_status);
5388: END IF;
5389:
5390: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 5397: OE_Delayed_Requests_Pvt.Clear_Request

5393: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
5394: IF l_debug_level > 0 THEN
5395: oe_debug_pub.add( 'DELETE REQUEST18' , 2 ) ;
5396: END IF;
5397: OE_Delayed_Requests_Pvt.Clear_Request
5398: (x_return_status => l_return_status);
5399: END IF;
5400:
5401: WHEN OTHERS THEN

Line 5408: OE_Delayed_Requests_Pvt.Clear_Request

5404: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
5405: IF l_debug_level > 0 THEN
5406: oe_debug_pub.add( 'DELETE REQUEST19' , 2 ) ;
5407: END IF;
5408: OE_Delayed_Requests_Pvt.Clear_Request
5409: (x_return_status => l_return_status);
5410: END IF;
5411: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)
5412: THEN

Line 5554: AND OE_DELAYED_REQUESTS_PVT.Requests_Count > 0 )

5550: -- IF p_process_requests, then process all delayed requests
5551:
5552: IF ( OE_GLOBALS.G_RECURSION_MODE = 'N'
5553: AND p_process_requests
5554: AND OE_DELAYED_REQUESTS_PVT.Requests_Count > 0 )
5555: /* --commented for bug 10088102. This condition being worked out with bug 10064449
5556: OR --4241385
5557: (OE_DELAYED_REQUESTS_PVT.Requests_Count > 0
5558: AND p_process_requests

Line 5557: (OE_DELAYED_REQUESTS_PVT.Requests_Count > 0

5553: AND p_process_requests
5554: AND OE_DELAYED_REQUESTS_PVT.Requests_Count > 0 )
5555: /* --commented for bug 10088102. This condition being worked out with bug 10064449
5556: OR --4241385
5557: (OE_DELAYED_REQUESTS_PVT.Requests_Count > 0
5558: AND p_process_requests
5559: AND l_auto_sch_flag='N'
5560: AND p_line_tbl.count>0)
5561: */

Line 5571: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

5567: executed for group_schedule delayed reuqest, as it is coming in recurision mode, in the
5568: same session. checking for the p_line_tbl.count>0 to ensure that line table is passed.
5569: This is to avoid processing when the API is called for someother entity only*/
5570:
5571: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
5572: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER_ADJ
5573: ,p_delete => FND_API.G_TRUE
5574: ,x_return_status => l_return_status
5575: );

Line 5582: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

5578: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
5579: RAISE FND_API.G_EXC_ERROR;
5580: END IF;
5581:
5582: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
5583: (p_entity_code => OE_GLOBALS.G_ENTITY_Header_Price_Att
5584: ,p_delete => FND_API.G_TRUE
5585: ,x_return_status => l_return_status
5586: );

Line 5593: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

5589: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
5590: RAISE FND_API.G_EXC_ERROR;
5591: END IF;
5592:
5593: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
5594: (p_entity_code => OE_GLOBALS.G_ENTITY_Header_Adj_Att
5595: ,p_delete => FND_API.G_TRUE
5596: ,x_return_status => l_return_status
5597: );

Line 5604: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

5600: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
5601: RAISE FND_API.G_EXC_ERROR;
5602: END IF;
5603:
5604: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
5605: (p_entity_code => OE_GLOBALS.G_ENTITY_Header_Adj_Assoc
5606: ,p_delete => FND_API.G_TRUE
5607: ,x_return_status => l_return_status
5608: );

Line 5615: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

5611: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
5612: RAISE FND_API.G_EXC_ERROR;
5613: END IF;
5614:
5615: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
5616: (p_entity_code => OE_GLOBALS.G_ENTITY_Header_Scredit
5617: ,p_delete => FND_API.G_TRUE
5618: ,x_return_status => l_return_status
5619: );

Line 5626: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

5622: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
5623: RAISE FND_API.G_EXC_ERROR;
5624: END IF;
5625:
5626: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
5627: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER_PAYMENT
5628: ,p_delete => FND_API.G_TRUE
5629: ,x_return_status => l_return_status
5630: );

Line 5637: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

5633: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
5634: RAISE FND_API.G_EXC_ERROR;
5635: END IF;
5636:
5637: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
5638: (p_entity_code => OE_GLOBALS.G_ENTITY_LINE
5639: ,p_delete => FND_API.G_TRUE
5640: ,x_return_status => l_return_status
5641: );

Line 5648: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

5644: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
5645: RAISE FND_API.G_EXC_ERROR;
5646: END IF;
5647:
5648: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
5649: (p_entity_code => OE_GLOBALS.G_ENTITY_LINE_ADJ
5650: ,p_delete => FND_API.G_TRUE
5651: ,x_return_status => l_return_status
5652: );

Line 5659: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

5655: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
5656: RAISE FND_API.G_EXC_ERROR;
5657: END IF;
5658:
5659: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
5660: (p_entity_code => OE_GLOBALS.G_ENTITY_Line_Scredit
5661: ,p_delete => FND_API.G_TRUE
5662: ,x_return_status => l_return_status
5663: );

Line 5670: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

5666: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
5667: RAISE FND_API.G_EXC_ERROR;
5668: END IF;
5669:
5670: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
5671: (p_entity_code => OE_GLOBALS.G_ENTITY_LINE_PAYMENT
5672: ,p_delete => FND_API.G_TRUE
5673: ,x_return_status => l_return_status
5674: );

Line 5681: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

5677: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
5678: RAISE FND_API.G_EXC_ERROR;
5679: END IF;
5680:
5681: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
5682: (p_entity_code => OE_GLOBALS.G_ENTITY_Line_Price_Att
5683: ,p_delete => FND_API.G_TRUE
5684: ,x_return_status => l_return_status
5685: );

Line 5692: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

5688: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
5689: RAISE FND_API.G_EXC_ERROR;
5690: END IF;
5691:
5692: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
5693: (p_entity_code => OE_GLOBALS.G_ENTITY_Line_Adj_Att
5694: ,p_delete => FND_API.G_TRUE
5695: ,x_return_status => l_return_status
5696: );

Line 5703: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

5699: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
5700: RAISE FND_API.G_EXC_ERROR;
5701: END IF;
5702:
5703: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
5704: (p_entity_code => OE_GLOBALS.G_ENTITY_Line_Adj_Assoc
5705: ,p_delete => FND_API.G_TRUE
5706: ,x_return_status => l_return_status
5707: );

Line 5717: OE_DELAYED_REQUESTS_PVT.Process_Delayed_Requests(

5713:
5714: -- Execute all remaining delayed requests. This would execute
5715: -- requests logged against entity G_ENTITY_HEADER and G_ENTITY_ALL
5716:
5717: OE_DELAYED_REQUESTS_PVT.Process_Delayed_Requests(
5718: x_return_status => l_return_status
5719: );
5720:
5721: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 6253: oe_debug_pub.add( 'GLOBAL REQUEST TABLE COUNT- PRN'|| OE_DELAYED_REQUESTS_PVT.G_DELAYED_REQUESTS.COUNT , 1 ) ;

6249: END IF;
6250: set_recursion_mode(p_Entity_Code => 8,
6251: p_In_out => 0);
6252: IF l_debug_level > 0 THEN
6253: oe_debug_pub.add( 'GLOBAL REQUEST TABLE COUNT- PRN'|| OE_DELAYED_REQUESTS_PVT.G_DELAYED_REQUESTS.COUNT , 1 ) ;
6254: END IF;
6255:
6256:
6257: EXCEPTION

Line 6265: OE_DELAYED_REQUESTS_PVT.Clear_Request(l_return_status);

6261: set_recursion_mode(p_Entity_Code => 8,
6262: p_In_out => 0);
6263: x_return_status := FND_API.G_RET_STS_ERROR;
6264: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
6265: OE_DELAYED_REQUESTS_PVT.Clear_Request(l_return_status);
6266: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN
6267: OE_ORDER_UTIL.Clear_Global_Picture(l_return_status);
6268: END IF;
6269: END IF;

Line 6277: OE_DELAYED_REQUESTS_PVT.Clear_Request(l_return_status);

6273: set_recursion_mode(p_Entity_Code => 8,
6274: p_In_out => 0);
6275: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
6276: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
6277: OE_DELAYED_REQUESTS_PVT.Clear_Request(l_return_status);
6278: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN
6279: OE_ORDER_UTIL.Clear_Global_Picture(l_return_status);
6280: END IF;
6281: END IF;

Line 6292: OE_DELAYED_REQUESTS_PVT.Clear_Request(l_return_status);

6288: oe_debug_pub.add( 'PO: EXITING PROCESS_REQUESTS_AND_NOTIFY WITH OTHERS ERROR' , 2 ) ;
6289: END IF;
6290: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
6291: IF NOT (OE_GLOBALS.G_UI_FLAG) THEN
6292: OE_DELAYED_REQUESTS_PVT.Clear_Request(l_return_status);
6293: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN
6294: OE_ORDER_UTIL.Clear_Global_Picture(l_return_status);
6295: END IF;
6296: END IF;

Line 6568: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

6564: (p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_ALL OR
6565: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_HEADER_ADJ)
6566: THEN
6567:
6568: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
6569: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER_ADJ
6570: ,p_delete => FND_API.G_TRUE
6571: ,x_return_status => l_return_status
6572: );

Line 6642: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

6638: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_Header_Price_Att
6639: )
6640: THEN
6641:
6642: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
6643: (p_entity_code => OE_GLOBALS.G_ENTITY_Header_Price_Att
6644: ,p_delete => FND_API.G_TRUE
6645: ,x_return_status => l_return_status
6646: );

Line 6866: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

6862: (p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_ALL OR
6863: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_HEADER_SCREDIT)
6864: THEN
6865:
6866: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
6867: (p_entity_code => OE_GLOBALS.G_ENTITY_Header_Scredit
6868: ,p_delete => FND_API.G_TRUE
6869: ,x_return_status => l_return_status
6870: );

Line 6977: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

6973: (p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_ALL OR
6974: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_HEADER_PAYMENT)
6975: THEN
6976:
6977: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
6978: (p_entity_code => OE_GLOBALS.G_ENTITY_Header_Payment
6979: ,p_delete => FND_API.G_TRUE
6980: ,x_return_status => l_return_status
6981: );

Line 7297: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

7293: IF l_debug_level > 0 THEN
7294: oe_debug_pub.add( 'PROCESS LINE REQUESTS' ) ;
7295: END IF;
7296:
7297: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
7298: (p_entity_code => OE_GLOBALS.G_ENTITY_LINE
7299: ,p_delete => FND_API.G_TRUE
7300: ,x_return_status => l_return_status
7301: );

Line 7336: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

7332: (p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_ALL OR
7333: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_LINE_ADJ)
7334: THEN
7335:
7336: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
7337: (p_entity_code => OE_GLOBALS.G_ENTITY_LINE_ADJ
7338: ,p_delete => FND_API.G_TRUE
7339: ,x_return_status => l_return_status
7340: );

Line 7388: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

7384: IF l_debug_level > 0 THEN
7385: oe_debug_pub.add( 'PROCESSING DELAYED REQUESTS FOR LINES' , 2 ) ;
7386: END IF;
7387:
7388: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
7389: (p_entity_code => OE_GLOBALS.G_ENTITY_Line_Scredit
7390: ,p_delete => FND_API.G_TRUE
7391: ,x_return_status => l_return_status
7392: );

Line 7447: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

7443: IF l_debug_level > 0 THEN
7444: oe_debug_pub.add( 'PROCESSING DELAYED REQUESTS FOR LINES' , 2 ) ;
7445: END IF;
7446:
7447: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
7448: (p_entity_code => OE_GLOBALS.G_ENTITY_LINE_PAYMENT
7449: ,p_delete => FND_API.G_TRUE
7450: ,x_return_status => l_return_status
7451: );

Line 7611: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

7607: (p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_ALL OR
7608: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_Line_Price_Att)
7609: THEN
7610:
7611: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
7612: (p_entity_code => OE_GLOBALS.G_ENTITY_Line_Price_Att
7613: ,p_delete => FND_API.G_TRUE
7614: ,x_return_status => l_return_status
7615: );

Line 7874: OE_DELAYED_REQUESTS_PVT.Process_Delayed_Requests(

7870: OE_GLOBALS.G_RECURSION_MODE <> 'Y') AND
7871: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_ALL
7872: THEN
7873:
7874: OE_DELAYED_REQUESTS_PVT.Process_Delayed_Requests(
7875: x_return_status => l_return_status
7876: );
7877: IF l_debug_level > 0 THEN
7878: oe_debug_pub.add( 'OEXVORDB: COMPLETED PROCESS_DELAYED_REQUESTS ' || ' WITH RETURN STATUS' || L_RETURN_STATUS , 2 ) ;

Line 7892: OE_Delayed_Requests_PVT.Process_Order_Actions

7888: -- Only do non-WF requests.
7889: IF p_x_action_request_tbl.COUNT > 0 THEN
7890:
7891: -- Perform NON-WF Action Requests
7892: OE_Delayed_Requests_PVT.Process_Order_Actions
7893: (p_validation_level => p_validation_level,
7894: p_x_request_tbl => p_x_action_request_tbl,
7895: p_process_WF_Requests => FALSE);
7896:

Line 7901: oe_debug_pub.add('after OE_Delayed_Requests_PVT.Process_Order_Actions cvv2');

7897: END IF;
7898: /* comm rej
7899: --R12 CVV2
7900: IF l_debug_level > 0 THEN
7901: oe_debug_pub.add('after OE_Delayed_Requests_PVT.Process_Order_Actions cvv2');
7902: END IF;
7903: i := p_x_action_request_tbl.first;
7904: while i is not null loop
7905: IF l_debug_level > 0 THEN

Line 7928: OE_Delayed_Requests_PVT.Process_Order_Actions

7924: OE_ORDER_WF_UTIL.START_ALL_FLOWS;
7925: -- Process WF Action requests.
7926: IF p_x_action_request_tbl.COUNT > 0 THEN
7927:
7928: OE_Delayed_Requests_PVT.Process_Order_Actions
7929:
7930: (p_validation_level => p_validation_level,
7931: p_x_request_tbl => p_x_action_request_tbl,
7932: p_process_WF_Requests => TRUE);

Line 8792: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

8788: (p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_ALL OR
8789: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_HEADER_ADJ)
8790: THEN
8791:
8792: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
8793: (p_entity_code => OE_GLOBALS.G_ENTITY_HEADER_ADJ
8794: ,p_delete => FND_API.G_TRUE
8795: ,x_return_status => l_return_status
8796: );

Line 8868: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

8864: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_Header_Price_Att
8865: )
8866: THEN
8867:
8868: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
8869: (p_entity_code => OE_GLOBALS.G_ENTITY_Header_Price_Att
8870: ,p_delete => FND_API.G_TRUE
8871: ,x_return_status => l_return_status
8872: );

Line 8958: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

8954: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_Header_Adj_Att
8955: )
8956: THEN
8957:
8958: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
8959: (p_entity_code => OE_GLOBALS.G_ENTITY_Header_Adj_Att
8960: ,p_delete => FND_API.G_TRUE
8961: ,x_return_status => l_return_status
8962: );

Line 9062: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

9058: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_Header_Adj_Assoc
9059: )
9060: THEN
9061:
9062: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
9063: (p_entity_code => OE_GLOBALS.G_ENTITY_Header_Adj_Assoc
9064: ,p_delete => FND_API.G_TRUE
9065: ,x_return_status => l_return_status
9066: );

Line 9153: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

9149: (p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_ALL OR
9150: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_HEADER_SCREDIT)
9151: THEN
9152:
9153: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
9154: (p_entity_code => OE_GLOBALS.G_ENTITY_Header_Scredit
9155: ,p_delete => FND_API.G_TRUE
9156: ,x_return_status => l_return_status
9157: );

Line 9539: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

9535: IF l_debug_level > 0 THEN
9536: oe_debug_pub.add( 'PROCESS LINE REQUESTS' ) ;
9537: END IF;
9538:
9539: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
9540: (p_entity_code => OE_GLOBALS.G_ENTITY_LINE
9541: ,p_delete => FND_API.G_TRUE
9542: ,x_return_status => l_return_status
9543: );

Line 9578: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

9574: (p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_ALL OR
9575: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_LINE_ADJ)
9576: THEN
9577:
9578: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
9579: (p_entity_code => OE_GLOBALS.G_ENTITY_LINE_ADJ
9580: ,p_delete => FND_API.G_TRUE
9581: ,x_return_status => l_return_status
9582: );

Line 9630: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

9626: IF l_debug_level > 0 THEN
9627: oe_debug_pub.add( 'PROCESSING DELAYED REQUESTS FOR LINES' , 2 ) ;
9628: END IF;
9629:
9630: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
9631: (p_entity_code => OE_GLOBALS.G_ENTITY_Line_Scredit
9632: ,p_delete => FND_API.G_TRUE
9633: ,x_return_status => l_return_status
9634: );

Line 9800: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

9796: (p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_ALL OR
9797: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_Line_Price_Att)
9798: THEN
9799:
9800: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
9801: (p_entity_code => OE_GLOBALS.G_ENTITY_Line_Price_Att
9802: ,p_delete => FND_API.G_TRUE
9803: ,x_return_status => l_return_status
9804: );

Line 9887: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

9883: (p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_ALL OR
9884: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_Line_Adj_Att)
9885: THEN
9886:
9887: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
9888: (p_entity_code => OE_GLOBALS.G_ENTITY_Line_Adj_Att
9889: ,p_delete => FND_API.G_TRUE
9890: ,x_return_status => l_return_status
9891: );

Line 10006: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity

10002: (p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_ALL OR
10003: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_Line_Adj_Assoc)
10004: THEN
10005:
10006: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Entity
10007: (p_entity_code => OE_GLOBALS.G_ENTITY_Line_Adj_Assoc
10008: ,p_delete => FND_API.G_TRUE
10009: ,x_return_status => l_return_status
10010: );

Line 10148: OE_DELAYED_REQUESTS_PVT.Process_Delayed_Requests(

10144: OE_GLOBALS.G_RECURSION_MODE <> 'Y') AND
10145: p_control_rec.process_entity = OE_GLOBALS.G_ENTITY_ALL
10146: THEN
10147:
10148: OE_DELAYED_REQUESTS_PVT.Process_Delayed_Requests(
10149: x_return_status => l_return_status
10150: );
10151: IF l_debug_level > 0 THEN
10152: oe_debug_pub.add( 'OEXVORDB: COMPLETED PROCESS_DELAYED_REQUESTS ' || ' WITH RETURN STATUS' || L_RETURN_STATUS , 2 ) ;

Line 10166: OE_Delayed_Requests_PVT.Process_Order_Actions

10162: -- Only do non-WF requests.
10163: IF p_x_action_request_tbl.COUNT > 0 THEN
10164:
10165: -- Perform NON-WF Action Requests
10166: OE_Delayed_Requests_PVT.Process_Order_Actions
10167: (p_validation_level => p_validation_level,
10168: p_x_request_tbl => l_request_tbl,
10169: p_process_WF_Requests => FALSE);
10170:

Line 10183: OE_Delayed_Requests_PVT.Process_Order_Actions

10179: OE_ORDER_WF_UTIL.START_ALL_FLOWS;
10180: -- Process WF Action requests.
10181: IF p_x_action_request_tbl.COUNT > 0 THEN
10182:
10183: OE_Delayed_Requests_PVT.Process_Order_Actions
10184:
10185: (p_validation_level => p_validation_level,
10186: p_x_request_tbl => l_request_tbl,
10187: p_process_WF_Requests => TRUE);

Line 10500: oe_debug_pub.add( 'GLOBAL REQUEST TABLE COUNT- PO'|| OE_DELAYED_REQUESTS_PVT.G_DELAYED_REQUESTS.COUNT , 1 ) ;

10496: set_recursion_mode(p_Entity_Code => 1,
10497: p_In_out => 0);
10498:
10499: IF l_debug_level > 0 THEN
10500: oe_debug_pub.add( 'GLOBAL REQUEST TABLE COUNT- PO'|| OE_DELAYED_REQUESTS_PVT.G_DELAYED_REQUESTS.COUNT , 1 ) ;
10501: oe_debug_pub.add( 'EXITING OE_ORDER_PUB.PROCESS_ORDER' , 1 ) ;
10502: END IF;
10503:
10504: EXCEPTION

Line 10522: OE_DELAYED_REQUESTS_PVT.Clear_Request(l_return_status);

10518: IF l_debug_level > 0 THEN
10519: oe_debug_pub.add( 'DELETE REQUEST11' , 2 ) ;
10520: END IF;
10521:
10522: OE_DELAYED_REQUESTS_PVT.Clear_Request(l_return_status);
10523: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN
10524: OE_ORDER_UTIL.Clear_Global_Picture(l_return_status);
10525: END IF;
10526: OE_ORDER_WF_UTIL.CLEAR_FLOWSTART_GLOBALS;

Line 10554: OE_DELAYED_REQUESTS_PVT.Clear_Request(l_return_status);

10550: IF l_debug_level > 0 THEN
10551: oe_debug_pub.add( 'DELETE REQUEST12' , 2 ) ;
10552: END IF;
10553:
10554: OE_DELAYED_REQUESTS_PVT.Clear_Request(l_return_status);
10555: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN
10556: OE_ORDER_UTIL.Clear_Global_Picture(l_return_status);
10557: END IF;
10558: OE_ORDER_WF_UTIL.CLEAR_FLOWSTART_GLOBALS;

Line 10587: OE_DELAYED_REQUESTS_PVT.Clear_Request(l_return_status);

10583: IF l_debug_level > 0 THEN
10584: oe_debug_pub.add( 'DELETE REQUEST13' , 2 ) ;
10585: END IF;
10586:
10587: OE_DELAYED_REQUESTS_PVT.Clear_Request(l_return_status);
10588: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN
10589: OE_ORDER_UTIL.Clear_Global_Picture(l_return_status);
10590: END IF;
10591: OE_ORDER_WF_UTIL.CLEAR_FLOWSTART_GLOBALS;