DBA Data[Home] [Help]

APPS.OE_ORDER_PUB dependencies on OE_GLOBALS

Line 265: OE_GLOBALS.Set_Context();

261: raise FND_API.G_EXC_ERROR;
262: end if;
263: end if;
264: MO_GLOBAL.set_policy_context('S',l_org_id);
265: OE_GLOBALS.Set_Context();
266: end if;
267: end ;
268:
269: -- Header_Adj record type

Line 1699: l_control_rec OE_GLOBALS.Control_Rec_Type;

1695: )
1696: IS
1697: l_api_version_number CONSTANT NUMBER := 1.0;
1698: l_api_name CONSTANT VARCHAR2(30):= 'Process_Order';
1699: l_control_rec OE_GLOBALS.Control_Rec_Type;
1700: l_return_status VARCHAR2(1);
1701: l_header_rec Header_Rec_Type;
1702: l_Header_Adj_tbl Header_Adj_Tbl_Type;
1703: l_Header_price_Att_tbl Header_Price_Att_Tbl_Type ;

Line 2406: l_control_rec OE_GLOBALS.control_rec_type;

2402: , x_msg_count OUT NOCOPY /* file.sql.39 change */ NUMBER
2403: , x_msg_data OUT NOCOPY /* file.sql.39 change */ VARCHAR2
2404: ) IS
2405: l_line_tbl OE_ORDER_PUB.Line_Tbl_Type;
2406: l_control_rec OE_GLOBALS.control_rec_type;
2407: l_api_name CONSTANT VARCHAR2(30) := 'Update Line';
2408: l_header_out_rec OE_ORDER_PUB.Header_Rec_Type;
2409: l_line_adj_out_tbl oe_order_pub.line_Adj_Tbl_Type;
2410: l_header_adj_out_tbl OE_Order_PUB.Header_Adj_Tbl_Type;

Line 2484: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID

2480: -- Set Application Context
2481: -- Since we pass validation, we start to Set Application Context
2482: -- Call MO set_policy_context to set application context by sending
2483: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
2484: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
2485: --
2486: -- MO_GLOBAL.set_policy_context('S',l_org_id);
2487: -- OE_GLOBALS.Set_Context();
2488: --Moved the logic to set context to new procedure set_context

Line 2487: -- OE_GLOBALS.Set_Context();

2483: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
2484: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
2485: --
2486: -- MO_GLOBAL.set_policy_context('S',l_org_id);
2487: -- OE_GLOBALS.Set_Context();
2488: --Moved the logic to set context to new procedure set_context
2489: set_context(p_org_id =>l_org_id);
2490: -- From now on, we are in single access mode.
2491:

Line 2586: l_control_rec OE_GLOBALS.Control_Rec_Type;

2582: , x_return_status OUT NOCOPY /* file.sql.39 change */ VARCHAR2
2583: , x_msg_count OUT NOCOPY /* file.sql.39 change */ NUMBER
2584: , x_msg_data OUT NOCOPY /* file.sql.39 change */ VARCHAR2
2585: )IS
2586: l_control_rec OE_GLOBALS.Control_Rec_Type;
2587: l_api_name CONSTANT VARCHAR2(30) := 'Process_header';
2588: l_line_out_tbl OE_ORDER_PUB.Line_Tbl_Type;
2589: l_line_adj_out_tbl oe_order_pub.line_Adj_Tbl_Type;
2590: l_header_adj_out_tbl OE_Order_PUB.Header_Adj_Tbl_Type;

Line 2664: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID

2660: -- Set Application Context
2661: -- Since we pass validation, we start to Set Application Context
2662: -- Call MO set_policy_context to set application context by sending
2663: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
2664: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
2665: --
2666: --MO_GLOBAL.set_policy_context('S',l_org_id);
2667: --OE_GLOBALS.Set_Context();
2668: --Moved the logic to set context to new procedure set_context

Line 2667: --OE_GLOBALS.Set_Context();

2663: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
2664: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
2665: --
2666: --MO_GLOBAL.set_policy_context('S',l_org_id);
2667: --OE_GLOBALS.Set_Context();
2668: --Moved the logic to set context to new procedure set_context
2669: set_context(p_org_id =>l_org_id);
2670:
2671: -- From now on, we are in single access mode.

Line 2769: l_control_rec OE_GLOBALS.Control_Rec_Type;

2765: , x_msg_data OUT NOCOPY /* file.sql.39 change */ VARCHAR2
2766: )IS
2767: l_header_rec OE_ORDER_PUB.Header_Rec_Type;
2768: l_old_header_rec OE_ORDER_PUB.Header_Rec_Type;
2769: l_control_rec OE_GLOBALS.Control_Rec_Type;
2770: l_api_name CONSTANT VARCHAR2(30) := 'Delete Order';
2771: l_header_out_rec OE_ORDER_PUB.Header_Rec_Type;
2772: l_line_out_tbl OE_ORDER_PUB.Line_Tbl_Type;
2773: l_line_adj_out_tbl oe_order_pub.line_Adj_Tbl_Type;

Line 2847: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID

2843: -- Set Application Context
2844: -- Since we pass validation, we start to Set Application Context
2845: -- Call MO set_policy_context to set application context by sending
2846: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
2847: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
2848: --
2849: --MO_GLOBAL.set_policy_context('S',l_org_id);
2850: --OE_GLOBALS.Set_Context();
2851: --Moved the logic to set context to new procedure set_context

Line 2850: --OE_GLOBALS.Set_Context();

2846: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
2847: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
2848: --
2849: --MO_GLOBAL.set_policy_context('S',l_org_id);
2850: --OE_GLOBALS.Set_Context();
2851: --Moved the logic to set context to new procedure set_context
2852: set_context(p_org_id =>l_org_id);
2853:
2854: -- From now on, we are in single access mode.

Line 2862: l_header_rec.operation := OE_GLOBALS.G_OPR_DELETE;

2858:
2859: l_header_rec := OE_Order_PUB.G_MISS_HEADER_REC;
2860: l_header_rec.header_id := p_header_id;
2861: -- Set Operation. Bug #1198949
2862: l_header_rec.operation := OE_GLOBALS.G_OPR_DELETE;
2863:
2864:
2865:
2866: OE_ORDER_PVT.Process_order

Line 2956: l_control_rec OE_GLOBALS.control_rec_type;

2952: , x_msg_count OUT NOCOPY /* file.sql.39 change */ NUMBER
2953: , x_msg_data OUT NOCOPY /* file.sql.39 change */ VARCHAR2
2954: )IS
2955: l_line_tbl OE_ORDER_PUB.Line_tbl_Type;
2956: l_control_rec OE_GLOBALS.control_rec_type;
2957: l_api_name CONSTANT VARCHAR2(30) := 'Update Line';
2958: l_header_out_rec OE_ORDER_PUB.Header_Rec_Type;
2959: l_line_out_tbl OE_ORDER_PUB.Line_Tbl_Type;
2960: l_line_adj_out_tbl oe_order_pub.line_Adj_Tbl_Type;

Line 3034: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID

3030: -- Set Application Context
3031: -- Since we pass validation, we start to Set Application Context
3032: -- Call MO set_policy_context to set application context by sending
3033: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3034: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3035: --
3036: --MO_GLOBAL.set_policy_context('S',l_org_id);
3037: --OE_GLOBALS.Set_Context();
3038: --Moved the logic to set context to new procedure set_context

Line 3037: --OE_GLOBALS.Set_Context();

3033: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3034: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3035: --
3036: --MO_GLOBAL.set_policy_context('S',l_org_id);
3037: --OE_GLOBALS.Set_Context();
3038: --Moved the logic to set context to new procedure set_context
3039: set_context(p_org_id =>l_org_id);
3040:
3041:

Line 3052: l_line_tbl(1).operation := OE_GLOBALS.G_OPR_DELETE;

3048: l_line_tbl(1).line_id := p_line_id;
3049:
3050: -- Set Operation.
3051:
3052: l_line_tbl(1).operation := OE_GLOBALS.G_OPR_DELETE;
3053:
3054: OE_Order_PVT.Process_order
3055: ( p_api_version_number => 1.0
3056: , p_init_msg_list => FND_API.G_TRUE

Line 3148: l_control_rec OE_GLOBALS.Control_Rec_Type;

3144: , x_msg_data OUT NOCOPY /* file.sql.39 change */ VARCHAR2
3145: )IS
3146: l_header_rec OE_ORDER_PUB.Header_Rec_Type;
3147: l_old_header_rec OE_ORDER_PUB.Header_Rec_Type;
3148: l_control_rec OE_GLOBALS.Control_Rec_Type;
3149: l_api_name CONSTANT VARCHAR2(30) := 'Process_header';
3150: l_header_out_rec OE_ORDER_PUB.Header_Rec_Type;
3151: l_line_out_tbl OE_ORDER_PUB.Line_Tbl_Type;
3152: l_line_adj_out_tbl oe_order_pub.line_Adj_Tbl_Type;

Line 3226: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID

3222: -- Set Application Context
3223: -- Since we pass validation, we start to Set Application Context
3224: -- Call MO set_policy_context to set application context by sending
3225: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3226: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3227: --
3228: --MO_GLOBAL.set_policy_context('S',l_org_id);
3229: --OE_GLOBALS.Set_Context();
3230: --Moved the logic to set context to new procedure set_context

Line 3229: --OE_GLOBALS.Set_Context();

3225: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3226: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3227: --
3228: --MO_GLOBAL.set_policy_context('S',l_org_id);
3229: --OE_GLOBALS.Set_Context();
3230: --Moved the logic to set context to new procedure set_context
3231: set_context(p_org_id =>l_org_id);
3232:
3233: -- From now on, we are in single access mode.

Line 3254: l_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;

3250: RAISE FND_API.G_EXC_ERROR;
3251: END IF;
3252:
3253:
3254: l_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
3255:
3256: OE_Order_PVT.Process_order
3257: ( p_api_version_number => 1.0
3258: , p_init_msg_list => FND_API.G_TRUE

Line 3348: l_control_rec OE_GLOBALS.control_rec_type;

3344: , x_msg_data OUT NOCOPY /* file.sql.39 change */ VARCHAR2
3345: )IS
3346: l_line_rec OE_ORDER_PUB.Line_rec_Type;
3347: l_line_tbl OE_ORDER_PUB.Line_tbl_Type;
3348: l_control_rec OE_GLOBALS.control_rec_type;
3349: l_api_name CONSTANT VARCHAR2(30) := 'Update Line';
3350: l_header_out_rec OE_ORDER_PUB.Header_Rec_Type;
3351: l_line_out_tbl OE_ORDER_PUB.Line_Tbl_Type;
3352: l_line_adj_out_tbl oe_order_pub.line_Adj_Tbl_Type;

Line 3426: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID

3422: -- Set Application Context
3423: -- Since we pass validation, we start to Set Application Context
3424: -- Call MO set_policy_context to set application context by sending
3425: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3426: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3427: --
3428: --MO_GLOBAL.set_policy_context('S',l_org_id);
3429: --OE_GLOBALS.Set_Context();
3430: --Moved the logic to set context to new procedure set_context

Line 3429: --OE_GLOBALS.Set_Context();

3425: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3426: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3427: --
3428: --MO_GLOBAL.set_policy_context('S',l_org_id);
3429: --OE_GLOBALS.Set_Context();
3430: --Moved the logic to set context to new procedure set_context
3431: set_context(p_org_id =>l_org_id);
3432:
3433: -- From now on, we are in single access mode.

Line 3451: l_line_rec.operation := OE_GLOBALS.G_OPR_UPDATE;

3447: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
3448: RAISE FND_API.G_EXC_ERROR;
3449: END IF;
3450:
3451: l_line_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
3452: l_line_tbl(1) := l_line_rec;
3453:
3454:
3455: OE_Order_PVT.Process_order

Line 3680: l_control_rec OE_GLOBALS.Control_Rec_Type;

3676: l_operating_unit VARCHAR2(240);
3677:
3678: l_api_version_number CONSTANT NUMBER := 1.0;
3679: l_api_name CONSTANT VARCHAR2(30):= 'Process_Order';
3680: l_control_rec OE_GLOBALS.Control_Rec_Type;
3681: l_return_status VARCHAR2(1);
3682: l_header_rec Header_Rec_Type;
3683: l_Header_Adj_tbl Header_Adj_Tbl_Type;
3684: l_Header_price_Att_tbl Header_Price_Att_Tbl_Type ;

Line 3788: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID

3784: -- Set Application Context
3785: -- Since we pass validation, we start to Set Application Context
3786: -- Call MO set_policy_context to set application context by sending
3787: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3788: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3789: --
3790: --MO_GLOBAL.set_policy_context('S',l_org_id);
3791: --OE_GLOBALS.Set_Context();
3792: --Moved the logic to set context to new procedure set_context

Line 3791: --OE_GLOBALS.Set_Context();

3787: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3788: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3789: --
3790: --MO_GLOBAL.set_policy_context('S',l_org_id);
3791: --OE_GLOBALS.Set_Context();
3792: --Moved the logic to set context to new procedure set_context
3793: set_context(p_org_id =>l_org_id);
3794:
3795:

Line 3933: OE_GLOBALS.g_validate_desc_flex :=p_validate_desc_flex; --bug 4343612

3929: , p_x_line_tbl => l_line_tbl
3930: , x_return_status =>x_return_status);
3931: END IF;
3932:
3933: OE_GLOBALS.g_validate_desc_flex :=p_validate_desc_flex; --bug 4343612
3934: -- Call OE_Order_PVT.Process_Order
3935:
3936: OE_Order_PVT.Process_Order
3937: ( p_api_version_number => 1.0

Line 4240: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID

4236: -- Set Application Context
4237: -- Since we pass validation, we start to Set Application Context
4238: -- Call MO set_policy_context to set application context by sending
4239: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4240: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4241: --
4242: --MO_GLOBAL.set_policy_context('S',l_org_id);
4243: --OE_GLOBALS.Set_Context();
4244: --Moved the logic to set context to new procedure set_context

Line 4243: --OE_GLOBALS.Set_Context();

4239: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4240: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4241: --
4242: --MO_GLOBAL.set_policy_context('S',l_org_id);
4243: --OE_GLOBALS.Set_Context();
4244: --Moved the logic to set context to new procedure set_context
4245: set_context(p_org_id =>l_org_id);
4246:
4247: -- From now on, we are in single access mode.

Line 4519: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID

4515: -- Set Application Context
4516: -- Since we pass validation, we start to Set Application Context
4517: -- Call MO set_policy_context to set application context by sending
4518: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4519: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4520: --
4521: --MO_GLOBAL.set_policy_context('S',l_org_id);
4522: --OE_GLOBALS.Set_Context();
4523: --Moved the logic to set context to new procedure set_context

Line 4522: --OE_GLOBALS.Set_Context();

4518: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4519: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4520: --
4521: --MO_GLOBAL.set_policy_context('S',l_org_id);
4522: --OE_GLOBALS.Set_Context();
4523: --Moved the logic to set context to new procedure set_context
4524: set_context(p_org_id =>l_org_id);
4525:
4526:

Line 4774: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID

4770: -- Set Application Context
4771: -- Since we pass validation, we start to Set Application Context
4772: -- Call MO set_policy_context to set application context by sending
4773: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4774: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4775: --
4776: --MO_GLOBAL.set_policy_context('S',l_org_id);
4777: --OE_GLOBALS.Set_Context();
4778: --Moved the logic to set context to new procedure set_context

Line 4777: --OE_GLOBALS.Set_Context();

4773: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4774: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4775: --
4776: --MO_GLOBAL.set_policy_context('S',l_org_id);
4777: --OE_GLOBALS.Set_Context();
4778: --Moved the logic to set context to new procedure set_context
4779: set_context(p_org_id =>l_org_id);
4780:
4781:

Line 4922: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID

4918: -- Set Application Context
4919: -- Since we pass validation, we start to Set Application Context
4920: -- Call MO set_policy_context to set application context by sending
4921: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4922: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4923: --
4924: --MO_GLOBAL.set_policy_context('S',l_org_id);
4925: --OE_GLOBALS.Set_Context();
4926: --Moved the logic to set context to new procedure set_context

Line 4925: --OE_GLOBALS.Set_Context();

4921: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4922: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4923: --
4924: --MO_GLOBAL.set_policy_context('S',l_org_id);
4925: --OE_GLOBALS.Set_Context();
4926: --Moved the logic to set context to new procedure set_context
4927: set_context(p_org_id =>l_org_id);
4928:
4929:

Line 5066: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID

5062: -- Set Application Context
5063: -- Since we pass validation, we start to Set Application Context
5064: -- Call MO set_policy_context to set application context by sending
5065: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
5066: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
5067: --
5068: --MO_GLOBAL.set_policy_context('S',l_org_id);
5069: --OE_GLOBALS.Set_Context();
5070: --Moved the logic to set context to new procedure set_context

Line 5069: --OE_GLOBALS.Set_Context();

5065: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
5066: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
5067: --
5068: --MO_GLOBAL.set_policy_context('S',l_org_id);
5069: --OE_GLOBALS.Set_Context();
5070: --Moved the logic to set context to new procedure set_context
5071: set_context(p_org_id =>l_org_id);
5072:
5073: