DBA Data[Home] [Help]

APPS.OTA_OM_UPD_API dependencies on OE_GLOBALS

Line 41: l_control_rec OE_GLOBALS.Control_Rec_Type:=

37: IS
38:
39: l_Line_id oe_order_lines.Line_Id%type;
40: l_header_id oe_order_lines.header_id%type;
41: l_control_rec OE_GLOBALS.Control_Rec_Type:=
42: OE_GLOBALS.G_MISS_CONTROL_REC;
43:
44: --Declare all local variable.
45: l_api_version_number CONSTANT NUMBER := 1.0;

Line 42: OE_GLOBALS.G_MISS_CONTROL_REC;

38:
39: l_Line_id oe_order_lines.Line_Id%type;
40: l_header_id oe_order_lines.header_id%type;
41: l_control_rec OE_GLOBALS.Control_Rec_Type:=
42: OE_GLOBALS.G_MISS_CONTROL_REC;
43:
44: --Declare all local variable.
45: l_api_version_number CONSTANT NUMBER := 1.0;
46: l_return_values varchar2(50);

Line 151: l_line_rec.operation := OE_Globals.G_OPR_UPDATE ;

147: BEGIN
148: MO_GLOBAL.SET_POLICY_CONTEXT ('S', l_org_id); -- For MOAC support
149: l_line_rec := OE_Order_Pub.G_MISS_LINE_REC;
150: --l_header_rec.header_id := l_header_id;
151: l_line_rec.operation := OE_Globals.G_OPR_UPDATE ;
152: --l_line_rec.change_reason := 'NOT PROVIDED';
153: -- Changed the seeded lookup code to mixed case for bug# 3142472
154: l_line_rec.change_reason := 'Not provided';
155: l_line_rec.ordered_quantity := 0;

Line 166: , p_api_service_level => OE_GLOBALS.G_ALL_SERVICE

162: , p_return_values => l_return_values
163: , p_commit => FND_API.G_FALSE
164: , p_validation_level => FND_API.G_VALID_LEVEL_FULL
165: , p_control_rec => l_control_rec
166: , p_api_service_level => OE_GLOBALS.G_ALL_SERVICE
167: , x_return_status => l_return_status
168: , x_msg_count => l_msg_count
169: , x_msg_data => l_msg_data
170: , p_header_rec => l_header_rec

Line 288: l_control_rec OE_GLOBALS.Control_Rec_Type ;

284: l_proc varchar2(72) := g_package||'create_rma';
285:
286: l_Line_id oe_order_lines.Line_Id%type;
287: l_header_id oe_order_lines.header_id%type;
288: l_control_rec OE_GLOBALS.Control_Rec_Type ;
289:
290: --Declare all local variable.
291: l_api_version_number CONSTANT NUMBER := 1.0;
292: l_return_values varchar2(50);

Line 493: l_header_rec.operation := OE_Globals.G_OPR_CREATE ;

489:
490: -- Header Level
491: MO_GLOBAL.SET_POLICY_CONTEXT ('S', l_org_id); -- For MOAC support
492: l_header_rec := OE_Order_Pub.G_MISS_HEADER_REC;
493: l_header_rec.operation := OE_Globals.G_OPR_CREATE ;
494: l_header_rec.sold_to_org_id := l_sold_to_org_id;
495: l_header_rec.order_type_id := l_order_type_id;
496: l_header_rec.price_list_id := l_price_list_id;
497: l_header_rec.accounting_rule_id := l_accounting_rule_id;

Line 522: l_line_rec.operation := OE_Globals.G_OPR_CREATE ;

518:
519: -- Line Level
520: l_line_rec := OE_Order_Pub.G_MISS_LINE_REC;
521: l_line_rec.sold_to_org_id := l_sold_to_org_id;
522: l_line_rec.operation := OE_Globals.G_OPR_CREATE ;
523: l_line_rec.line_category_code := 'RETURN';
524: l_line_rec.ordered_quantity := 1;
525: l_line_rec.order_quantity_uom := l_ordered_quantity_uom;
526: l_line_rec.inventory_item_id := l_inventory_item_id;

Line 545: l_request_tbl(1).request_type := OE_GLOBALS.G_BOOK_ORDER;

541: l_line_rec.reference_Line_id := p_line_id;
542: l_line_rec.reference_header_id := l_header_id;
543: -- l_line_rec.request_date := sysdate;
544:
545: l_request_tbl(1).request_type := OE_GLOBALS.G_BOOK_ORDER;
546: l_request_tbl(1).entity_code := OE_GLOBALS.G_ENTITY_HEADER;
547:
548: l_line_tbl(1) := l_line_rec;
549:

Line 546: l_request_tbl(1).entity_code := OE_GLOBALS.G_ENTITY_HEADER;

542: l_line_rec.reference_header_id := l_header_id;
543: -- l_line_rec.request_date := sysdate;
544:
545: l_request_tbl(1).request_type := OE_GLOBALS.G_BOOK_ORDER;
546: l_request_tbl(1).entity_code := OE_GLOBALS.G_ENTITY_HEADER;
547:
548: l_line_tbl(1) := l_line_rec;
549:
550:

Line 558: , p_api_service_level => OE_GLOBALS.G_ALL_SERVICE

554: , p_return_values => l_return_values
555: , p_commit => FND_API.G_FALSE
556: , p_validation_level => FND_API.G_VALID_LEVEL_FULL
557: , p_control_rec => l_control_rec
558: , p_api_service_level => OE_GLOBALS.G_ALL_SERVICE
559: , x_return_status => l_return_status
560: , x_msg_count => l_msg_count
561: , x_msg_data => l_msg_data
562: , p_header_rec => l_header_rec

Line 709: l_control_rec OE_GLOBALS.Control_Rec_Type ;

705: l_proc varchar2(72) := g_package||'create_order';
706:
707: l_Line_id oe_order_lines.Line_Id%type;
708: l_header_id oe_order_lines.header_id%type;
709: l_control_rec OE_GLOBALS.Control_Rec_Type ;
710:
711: --Declare all local variable.
712: l_api_version_number CONSTANT NUMBER := 1.0;
713: l_return_values varchar2(50);

Line 804: l_header_rec.operation := OE_Globals.G_OPR_CREATE ;

800: MO_GLOBAL.INIT('ONT');
801: l_org_id := MO_UTILS.Get_Default_Org_Id;
802: MO_GLOBAL.SET_POLICY_CONTEXT ('S', l_org_id); -- For MOAC support
803: l_header_rec := OE_Order_Pub.G_MISS_HEADER_REC;
804: l_header_rec.operation := OE_Globals.G_OPR_CREATE ;
805:
806: l_line_rec := OE_Order_Pub.G_MISS_LINE_REC;
807: l_line_rec.operation := OE_Globals.G_OPR_CREATE ;
808: l_line_rec.line_category_code := 'ORDER';

Line 807: l_line_rec.operation := OE_Globals.G_OPR_CREATE ;

803: l_header_rec := OE_Order_Pub.G_MISS_HEADER_REC;
804: l_header_rec.operation := OE_Globals.G_OPR_CREATE ;
805:
806: l_line_rec := OE_Order_Pub.G_MISS_LINE_REC;
807: l_line_rec.operation := OE_Globals.G_OPR_CREATE ;
808: l_line_rec.line_category_code := 'ORDER';
809: l_line_rec.ordered_quantity := 1;
810: l_line_rec.order_quantity_uom := 'ENR';
811: l_line_rec.inventory_item_id := p_inventory_item_id;

Line 824: , p_api_service_level => OE_GLOBALS.G_ALL_SERVICE

820: , p_return_values => l_return_values
821: , p_commit => FND_API.G_FALSE
822: , p_validation_level => FND_API.G_VALID_LEVEL_FULL
823: , p_control_rec => l_control_rec
824: , p_api_service_level => OE_GLOBALS.G_ALL_SERVICE
825: , x_return_status => l_return_status
826: , x_msg_count => l_msg_count
827: , x_msg_data => l_msg_data
828: , p_header_rec => l_header_rec