DBA Data[Home] [Help]

APPS.OE_MASS_CHANGE_PVT dependencies on OE_GLOBALS

Line 5: g_sel_rec_tbl OE_GLOBALS.Selected_Record_Tbl;

1: PACKAGE BODY OE_MASS_CHANGE_PVT AS
2: /* $Header: OEXVMSCB.pls 120.8.12010000.5 2008/11/15 10:58:25 sgoli ship $ */
3:
4: -- 4020312
5: g_sel_rec_tbl OE_GLOBALS.Selected_Record_Tbl;
6:
7: --bug4529937 start
8: G_BLK_NAME VARCHAR2(30);
9: G_NUM_OF_LINES NUMBER;

Line 70: , p_sel_rec_tbl IN Oe_Globals.Selected_Record_Tbl

66:
67: Procedure Process_Order_Scalar
68:
69: ( p_num_of_records IN NUMBER
70: , p_sel_rec_tbl IN Oe_Globals.Selected_Record_Tbl
71: , p_multi_OU IN Boolean
72: --, p_record_ids IN VARCHAR2
73: , p_change_reason IN VARCHAR2
74: , p_change_comments IN VARCHAR2

Line 280: l_control_rec OE_GLOBALS.Control_Rec_Type;

276:
277: ) IS
278: l_header_rec OE_Order_PUB.Header_Rec_Type;
279: l_old_header_rec OE_Order_PUB.Header_Rec_Type;
280: l_control_rec OE_GLOBALS.Control_Rec_Type;
281: l_x_header_rec OE_Order_PUB.Header_Rec_Type;
282: l_mc_err_handling_flag NUMBER := p_mc_err_handling_flag ;
283: l_init_msg_list VARCHAR2(1) := 'F';
284: l_return_status VARCHAR2(30);

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

327: -- initial := nextpos + 1;
328: /* j := j + 1;
329: nextpos := INSTR(p_record_ids,',',1,j);
330: */
331: l_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
332: l_header_rec.header_id := l_header_id;
333: -- l_old_header_rec.header_id := l_header_id;
334:
335: SAVEPOINT Process_Order_Scalar;

Line 908: l_control_rec.process_entity:=OE_GLOBALS.G_ENTITY_ALL;

904:
905:
906: l_control_rec.controlled_operation:=TRUE;
907: l_control_rec.process:=FALSE;
908: l_control_rec.process_entity:=OE_GLOBALS.G_ENTITY_ALL;
909:
910: --added for bug 4882981
911: l_control_rec.check_security := TRUE;
912: l_control_rec.clear_dependents := TRUE;

Line 1020: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_ALL;

1016: /*
1017:
1018: l_control_rec.controlled_operation := TRUE;
1019: l_control_rec.process := TRUE;
1020: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_ALL;
1021:
1022: l_control_rec.check_security := FALSE;
1023: l_control_rec.clear_dependents := FALSE;
1024: l_control_rec.default_attributes := FALSE;

Line 1168: , p_sel_rec_tbl IN Oe_Globals.Selected_Record_Tbl --MOAC PI

1164: -- OE_ORDER_PVT.Lines so that lines belonging together like models and sets go
1165: -- for processing at one go.
1166: Procedure Process_Line_Scalar
1167: ( p_num_of_records IN NUMBER
1168: , p_sel_rec_tbl IN Oe_Globals.Selected_Record_Tbl --MOAC PI
1169: , p_multi_OU IN Boolean --MOAC PI
1170: , p_change_reason IN VARCHAR2
1171: , p_change_comments IN VARCHAR2
1172: , p_msg_count OUT NOCOPY NUMBER

Line 1519: l_control_rec OE_GLOBALS.Control_Rec_Type;

1515: initial Integer;
1516: j Integer;
1517: l_api_name CONSTANT VARCHAR2(30) := 'Process_Line_Scalar';
1518: l_arrival_set_id number;
1519: l_control_rec OE_GLOBALS.Control_Rec_Type;
1520: l_counter Integer := 0;
1521: l_current_org_id Number;
1522: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;
1523: l_error_count NUMBER := 0;

Line 1662: l_line_tbl(l_rec).operation := OE_GLOBALS.G_OPR_UPDATE;

1658: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
1659: RAISE FND_API.G_EXC_ERROR;
1660: END IF;
1661:
1662: l_line_tbl(l_rec).operation := OE_GLOBALS.G_OPR_UPDATE;
1663:
1664: if p_ordered_quantity is NOT NULL then
1665: l_line_tbl(l_rec).ordered_quantity := p_ordered_quantity;
1666: end if;

Line 2792: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_ALL;

2788: END LOOP;
2789:
2790: l_control_rec.controlled_operation := TRUE;
2791: l_control_rec.process := FALSE;
2792: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_ALL;
2793: l_control_rec.Process_Partial := FALSE;
2794: l_control_rec.check_security := TRUE;
2795: l_control_rec.clear_dependents := TRUE;
2796: l_control_rec.default_attributes := TRUE;

Line 2835: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_ALL;

2831: END IF;
2832:
2833: l_control_rec.controlled_operation := TRUE;
2834: l_control_rec.process := TRUE;
2835: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_ALL;
2836:
2837: l_control_rec.check_security := FALSE;
2838: l_control_rec.clear_dependents := FALSE;
2839: l_control_rec.default_attributes := FALSE;

Line 2918: OE_Globals.G_PRICING_RECURSION := 'N';

2914:
2915: ROLLBACK TO SAVEPOINT Process_Line_Scalar;
2916:
2917: --Bug 7566697
2918: OE_Globals.G_PRICING_RECURSION := 'N';
2919: IF OE_MASS_CHANGE_PVT.G_PRICING_ERROR = 'Y'
2920: THEN
2921: oe_debug_pub.add('Pricing error has occured. Rolling back changes done to all lines');
2922: ROLLBACK TO SAVEPOINT Pricing_Header_Savepoint;

Line 2975: OE_Globals.G_PRICING_RECURSION := 'N';

2971:
2972: ROLLBACK TO SAVEPOINT Process_Line_Scalar;
2973:
2974: --Bug 7566697
2975: OE_Globals.G_PRICING_RECURSION := 'N';
2976: IF OE_MASS_CHANGE_PVT.G_PRICING_ERROR = 'Y'
2977: THEN
2978: oe_debug_pub.add('Pricing error has occured. Rolling back changes done to all lines');
2979: ROLLBACK TO SAVEPOINT Pricing_Header_Savepoint;

Line 3037: OE_Globals.G_PRICING_RECURSION := 'N';

3033:
3034: ROLLBACK TO SAVEPOINT Process_Line_Scalar;
3035:
3036: --Bug 7566697
3037: OE_Globals.G_PRICING_RECURSION := 'N';
3038: IF OE_MASS_CHANGE_PVT.G_PRICING_ERROR = 'Y'
3039: THEN
3040: oe_debug_pub.add('Pricing error has occured. Rolling back changes done to all lines');
3041: ROLLBACK TO SAVEPOINT Pricing_Header_Savepoint;

Line 3197: l_row OE_GLOBALS.Selected_Record_Type;

3193: -- 4020312
3194: -- Function to pipeline the table of selected lines for mass change.
3195: FUNCTION get_sel_rec_tbl RETURN Sel_Rec_Tbl
3196: PIPELINED IS
3197: l_row OE_GLOBALS.Selected_Record_Type;
3198: BEGIN
3199: FOR i IN g_sel_rec_tbl.first..g_sel_rec_tbl.last LOOP
3200: l_row.id1 := g_sel_rec_tbl(i).id1;
3201: l_row.id2 := g_sel_rec_tbl(i).id2;