604: PROCEDURE CreateRSOHeader(x_Sched_rec IN RLM_INTERFACE_HEADERS%ROWTYPE,
605: x_Group_rec IN RLM_DP_SV.t_Group_rec,
606: x_rso_hdr_id OUT NOCOPY NUMBER) IS
607: --
608: l_oe_header_rec oe_order_pub.header_rec_type;
609: l_oe_header_val_rec oe_order_pub.header_val_rec_type;
610: l_oe_header_adj_tbl oe_order_pub.header_adj_tbl_type;
611: l_oe_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type;
612: l_oe_header_scredit_tbl oe_order_pub.header_scredit_tbl_type;
605: x_Group_rec IN RLM_DP_SV.t_Group_rec,
606: x_rso_hdr_id OUT NOCOPY NUMBER) IS
607: --
608: l_oe_header_rec oe_order_pub.header_rec_type;
609: l_oe_header_val_rec oe_order_pub.header_val_rec_type;
610: l_oe_header_adj_tbl oe_order_pub.header_adj_tbl_type;
611: l_oe_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type;
612: l_oe_header_scredit_tbl oe_order_pub.header_scredit_tbl_type;
613: l_oe_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type;
606: x_rso_hdr_id OUT NOCOPY NUMBER) IS
607: --
608: l_oe_header_rec oe_order_pub.header_rec_type;
609: l_oe_header_val_rec oe_order_pub.header_val_rec_type;
610: l_oe_header_adj_tbl oe_order_pub.header_adj_tbl_type;
611: l_oe_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type;
612: l_oe_header_scredit_tbl oe_order_pub.header_scredit_tbl_type;
613: l_oe_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type;
614: l_oe_line_tbl oe_order_pub.line_tbl_type;
607: --
608: l_oe_header_rec oe_order_pub.header_rec_type;
609: l_oe_header_val_rec oe_order_pub.header_val_rec_type;
610: l_oe_header_adj_tbl oe_order_pub.header_adj_tbl_type;
611: l_oe_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type;
612: l_oe_header_scredit_tbl oe_order_pub.header_scredit_tbl_type;
613: l_oe_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type;
614: l_oe_line_tbl oe_order_pub.line_tbl_type;
615: l_oe_line_val_tbl oe_order_pub.line_val_tbl_type;
608: l_oe_header_rec oe_order_pub.header_rec_type;
609: l_oe_header_val_rec oe_order_pub.header_val_rec_type;
610: l_oe_header_adj_tbl oe_order_pub.header_adj_tbl_type;
611: l_oe_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type;
612: l_oe_header_scredit_tbl oe_order_pub.header_scredit_tbl_type;
613: l_oe_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type;
614: l_oe_line_tbl oe_order_pub.line_tbl_type;
615: l_oe_line_val_tbl oe_order_pub.line_val_tbl_type;
616: l_oe_header_out_rec oe_order_pub.header_rec_type;
609: l_oe_header_val_rec oe_order_pub.header_val_rec_type;
610: l_oe_header_adj_tbl oe_order_pub.header_adj_tbl_type;
611: l_oe_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type;
612: l_oe_header_scredit_tbl oe_order_pub.header_scredit_tbl_type;
613: l_oe_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type;
614: l_oe_line_tbl oe_order_pub.line_tbl_type;
615: l_oe_line_val_tbl oe_order_pub.line_val_tbl_type;
616: l_oe_header_out_rec oe_order_pub.header_rec_type;
617: l_oe_header_val_out_rec oe_order_pub.header_val_rec_type;
610: l_oe_header_adj_tbl oe_order_pub.header_adj_tbl_type;
611: l_oe_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type;
612: l_oe_header_scredit_tbl oe_order_pub.header_scredit_tbl_type;
613: l_oe_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type;
614: l_oe_line_tbl oe_order_pub.line_tbl_type;
615: l_oe_line_val_tbl oe_order_pub.line_val_tbl_type;
616: l_oe_header_out_rec oe_order_pub.header_rec_type;
617: l_oe_header_val_out_rec oe_order_pub.header_val_rec_type;
618: l_oe_header_adj_out_tbl oe_order_pub.header_adj_tbl_type;
611: l_oe_header_adj_val_tbl oe_order_pub.header_adj_val_tbl_type;
612: l_oe_header_scredit_tbl oe_order_pub.header_scredit_tbl_type;
613: l_oe_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type;
614: l_oe_line_tbl oe_order_pub.line_tbl_type;
615: l_oe_line_val_tbl oe_order_pub.line_val_tbl_type;
616: l_oe_header_out_rec oe_order_pub.header_rec_type;
617: l_oe_header_val_out_rec oe_order_pub.header_val_rec_type;
618: l_oe_header_adj_out_tbl oe_order_pub.header_adj_tbl_type;
619: l_oe_header_adj_val_out_tbl oe_order_pub.header_adj_val_tbl_type;
612: l_oe_header_scredit_tbl oe_order_pub.header_scredit_tbl_type;
613: l_oe_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type;
614: l_oe_line_tbl oe_order_pub.line_tbl_type;
615: l_oe_line_val_tbl oe_order_pub.line_val_tbl_type;
616: l_oe_header_out_rec oe_order_pub.header_rec_type;
617: l_oe_header_val_out_rec oe_order_pub.header_val_rec_type;
618: l_oe_header_adj_out_tbl oe_order_pub.header_adj_tbl_type;
619: l_oe_header_adj_val_out_tbl oe_order_pub.header_adj_val_tbl_type;
620: l_oe_Header_price_Att_out_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
613: l_oe_header_scredit_val_tbl oe_order_pub.header_scredit_val_tbl_type;
614: l_oe_line_tbl oe_order_pub.line_tbl_type;
615: l_oe_line_val_tbl oe_order_pub.line_val_tbl_type;
616: l_oe_header_out_rec oe_order_pub.header_rec_type;
617: l_oe_header_val_out_rec oe_order_pub.header_val_rec_type;
618: l_oe_header_adj_out_tbl oe_order_pub.header_adj_tbl_type;
619: l_oe_header_adj_val_out_tbl oe_order_pub.header_adj_val_tbl_type;
620: l_oe_Header_price_Att_out_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
621: l_oe_Header_Adj_Att_out_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
614: l_oe_line_tbl oe_order_pub.line_tbl_type;
615: l_oe_line_val_tbl oe_order_pub.line_val_tbl_type;
616: l_oe_header_out_rec oe_order_pub.header_rec_type;
617: l_oe_header_val_out_rec oe_order_pub.header_val_rec_type;
618: l_oe_header_adj_out_tbl oe_order_pub.header_adj_tbl_type;
619: l_oe_header_adj_val_out_tbl oe_order_pub.header_adj_val_tbl_type;
620: l_oe_Header_price_Att_out_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
621: l_oe_Header_Adj_Att_out_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
622: l_oe_Header_Adj_Assoc_out_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
615: l_oe_line_val_tbl oe_order_pub.line_val_tbl_type;
616: l_oe_header_out_rec oe_order_pub.header_rec_type;
617: l_oe_header_val_out_rec oe_order_pub.header_val_rec_type;
618: l_oe_header_adj_out_tbl oe_order_pub.header_adj_tbl_type;
619: l_oe_header_adj_val_out_tbl oe_order_pub.header_adj_val_tbl_type;
620: l_oe_Header_price_Att_out_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
621: l_oe_Header_Adj_Att_out_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
622: l_oe_Header_Adj_Assoc_out_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
623: l_oe_header_scredit_out_tbl oe_order_pub.header_scredit_tbl_type;
616: l_oe_header_out_rec oe_order_pub.header_rec_type;
617: l_oe_header_val_out_rec oe_order_pub.header_val_rec_type;
618: l_oe_header_adj_out_tbl oe_order_pub.header_adj_tbl_type;
619: l_oe_header_adj_val_out_tbl oe_order_pub.header_adj_val_tbl_type;
620: l_oe_Header_price_Att_out_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
621: l_oe_Header_Adj_Att_out_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
622: l_oe_Header_Adj_Assoc_out_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
623: l_oe_header_scredit_out_tbl oe_order_pub.header_scredit_tbl_type;
624: l_oe_hdr_scdt_val_out_tbl oe_order_pub.header_scredit_val_tbl_type;
617: l_oe_header_val_out_rec oe_order_pub.header_val_rec_type;
618: l_oe_header_adj_out_tbl oe_order_pub.header_adj_tbl_type;
619: l_oe_header_adj_val_out_tbl oe_order_pub.header_adj_val_tbl_type;
620: l_oe_Header_price_Att_out_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
621: l_oe_Header_Adj_Att_out_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
622: l_oe_Header_Adj_Assoc_out_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
623: l_oe_header_scredit_out_tbl oe_order_pub.header_scredit_tbl_type;
624: l_oe_hdr_scdt_val_out_tbl oe_order_pub.header_scredit_val_tbl_type;
625: l_oe_line_out_tbl oe_order_pub.line_tbl_type;
618: l_oe_header_adj_out_tbl oe_order_pub.header_adj_tbl_type;
619: l_oe_header_adj_val_out_tbl oe_order_pub.header_adj_val_tbl_type;
620: l_oe_Header_price_Att_out_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
621: l_oe_Header_Adj_Att_out_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
622: l_oe_Header_Adj_Assoc_out_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
623: l_oe_header_scredit_out_tbl oe_order_pub.header_scredit_tbl_type;
624: l_oe_hdr_scdt_val_out_tbl oe_order_pub.header_scredit_val_tbl_type;
625: l_oe_line_out_tbl oe_order_pub.line_tbl_type;
626: l_oe_line_val_out_tbl oe_order_pub.line_val_tbl_type;
619: l_oe_header_adj_val_out_tbl oe_order_pub.header_adj_val_tbl_type;
620: l_oe_Header_price_Att_out_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
621: l_oe_Header_Adj_Att_out_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
622: l_oe_Header_Adj_Assoc_out_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
623: l_oe_header_scredit_out_tbl oe_order_pub.header_scredit_tbl_type;
624: l_oe_hdr_scdt_val_out_tbl oe_order_pub.header_scredit_val_tbl_type;
625: l_oe_line_out_tbl oe_order_pub.line_tbl_type;
626: l_oe_line_val_out_tbl oe_order_pub.line_val_tbl_type;
627: l_oe_line_adj_out_tbl oe_order_pub.line_adj_tbl_type;
620: l_oe_Header_price_Att_out_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
621: l_oe_Header_Adj_Att_out_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
622: l_oe_Header_Adj_Assoc_out_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
623: l_oe_header_scredit_out_tbl oe_order_pub.header_scredit_tbl_type;
624: l_oe_hdr_scdt_val_out_tbl oe_order_pub.header_scredit_val_tbl_type;
625: l_oe_line_out_tbl oe_order_pub.line_tbl_type;
626: l_oe_line_val_out_tbl oe_order_pub.line_val_tbl_type;
627: l_oe_line_adj_out_tbl oe_order_pub.line_adj_tbl_type;
628: l_oe_line_adj_val_out_tbl oe_order_pub.line_adj_val_tbl_type;
621: l_oe_Header_Adj_Att_out_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
622: l_oe_Header_Adj_Assoc_out_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
623: l_oe_header_scredit_out_tbl oe_order_pub.header_scredit_tbl_type;
624: l_oe_hdr_scdt_val_out_tbl oe_order_pub.header_scredit_val_tbl_type;
625: l_oe_line_out_tbl oe_order_pub.line_tbl_type;
626: l_oe_line_val_out_tbl oe_order_pub.line_val_tbl_type;
627: l_oe_line_adj_out_tbl oe_order_pub.line_adj_tbl_type;
628: l_oe_line_adj_val_out_tbl oe_order_pub.line_adj_val_tbl_type;
629: l_oe_Line_price_Att_out_tbl OE_Order_PUB.Line_Price_Att_Tbl_Type;
622: l_oe_Header_Adj_Assoc_out_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
623: l_oe_header_scredit_out_tbl oe_order_pub.header_scredit_tbl_type;
624: l_oe_hdr_scdt_val_out_tbl oe_order_pub.header_scredit_val_tbl_type;
625: l_oe_line_out_tbl oe_order_pub.line_tbl_type;
626: l_oe_line_val_out_tbl oe_order_pub.line_val_tbl_type;
627: l_oe_line_adj_out_tbl oe_order_pub.line_adj_tbl_type;
628: l_oe_line_adj_val_out_tbl oe_order_pub.line_adj_val_tbl_type;
629: l_oe_Line_price_Att_out_tbl OE_Order_PUB.Line_Price_Att_Tbl_Type;
630: l_oe_Line_Adj_Att_out_tbl OE_Order_PUB.Line_Adj_Att_Tbl_Type;
623: l_oe_header_scredit_out_tbl oe_order_pub.header_scredit_tbl_type;
624: l_oe_hdr_scdt_val_out_tbl oe_order_pub.header_scredit_val_tbl_type;
625: l_oe_line_out_tbl oe_order_pub.line_tbl_type;
626: l_oe_line_val_out_tbl oe_order_pub.line_val_tbl_type;
627: l_oe_line_adj_out_tbl oe_order_pub.line_adj_tbl_type;
628: l_oe_line_adj_val_out_tbl oe_order_pub.line_adj_val_tbl_type;
629: l_oe_Line_price_Att_out_tbl OE_Order_PUB.Line_Price_Att_Tbl_Type;
630: l_oe_Line_Adj_Att_out_tbl OE_Order_PUB.Line_Adj_Att_Tbl_Type;
631: l_oe_Line_Adj_Assoc_out_tbl OE_Order_PUB.Line_Adj_Assoc_Tbl_Type;
624: l_oe_hdr_scdt_val_out_tbl oe_order_pub.header_scredit_val_tbl_type;
625: l_oe_line_out_tbl oe_order_pub.line_tbl_type;
626: l_oe_line_val_out_tbl oe_order_pub.line_val_tbl_type;
627: l_oe_line_adj_out_tbl oe_order_pub.line_adj_tbl_type;
628: l_oe_line_adj_val_out_tbl oe_order_pub.line_adj_val_tbl_type;
629: l_oe_Line_price_Att_out_tbl OE_Order_PUB.Line_Price_Att_Tbl_Type;
630: l_oe_Line_Adj_Att_out_tbl OE_Order_PUB.Line_Adj_Att_Tbl_Type;
631: l_oe_Line_Adj_Assoc_out_tbl OE_Order_PUB.Line_Adj_Assoc_Tbl_Type;
632: l_oe_line_scredit_out_tbl oe_order_pub.line_scredit_tbl_type;
625: l_oe_line_out_tbl oe_order_pub.line_tbl_type;
626: l_oe_line_val_out_tbl oe_order_pub.line_val_tbl_type;
627: l_oe_line_adj_out_tbl oe_order_pub.line_adj_tbl_type;
628: l_oe_line_adj_val_out_tbl oe_order_pub.line_adj_val_tbl_type;
629: l_oe_Line_price_Att_out_tbl OE_Order_PUB.Line_Price_Att_Tbl_Type;
630: l_oe_Line_Adj_Att_out_tbl OE_Order_PUB.Line_Adj_Att_Tbl_Type;
631: l_oe_Line_Adj_Assoc_out_tbl OE_Order_PUB.Line_Adj_Assoc_Tbl_Type;
632: l_oe_line_scredit_out_tbl oe_order_pub.line_scredit_tbl_type;
633: l_oe_line_scredit_val_out_tbl oe_order_pub.line_scredit_val_tbl_type;
626: l_oe_line_val_out_tbl oe_order_pub.line_val_tbl_type;
627: l_oe_line_adj_out_tbl oe_order_pub.line_adj_tbl_type;
628: l_oe_line_adj_val_out_tbl oe_order_pub.line_adj_val_tbl_type;
629: l_oe_Line_price_Att_out_tbl OE_Order_PUB.Line_Price_Att_Tbl_Type;
630: l_oe_Line_Adj_Att_out_tbl OE_Order_PUB.Line_Adj_Att_Tbl_Type;
631: l_oe_Line_Adj_Assoc_out_tbl OE_Order_PUB.Line_Adj_Assoc_Tbl_Type;
632: l_oe_line_scredit_out_tbl oe_order_pub.line_scredit_tbl_type;
633: l_oe_line_scredit_val_out_tbl oe_order_pub.line_scredit_val_tbl_type;
634: l_oe_lot_serial_out_tbl oe_order_pub.Lot_Serial_Tbl_Type;
627: l_oe_line_adj_out_tbl oe_order_pub.line_adj_tbl_type;
628: l_oe_line_adj_val_out_tbl oe_order_pub.line_adj_val_tbl_type;
629: l_oe_Line_price_Att_out_tbl OE_Order_PUB.Line_Price_Att_Tbl_Type;
630: l_oe_Line_Adj_Att_out_tbl OE_Order_PUB.Line_Adj_Att_Tbl_Type;
631: l_oe_Line_Adj_Assoc_out_tbl OE_Order_PUB.Line_Adj_Assoc_Tbl_Type;
632: l_oe_line_scredit_out_tbl oe_order_pub.line_scredit_tbl_type;
633: l_oe_line_scredit_val_out_tbl oe_order_pub.line_scredit_val_tbl_type;
634: l_oe_lot_serial_out_tbl oe_order_pub.Lot_Serial_Tbl_Type;
635: l_oe_lot_serial_val_out_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
628: l_oe_line_adj_val_out_tbl oe_order_pub.line_adj_val_tbl_type;
629: l_oe_Line_price_Att_out_tbl OE_Order_PUB.Line_Price_Att_Tbl_Type;
630: l_oe_Line_Adj_Att_out_tbl OE_Order_PUB.Line_Adj_Att_Tbl_Type;
631: l_oe_Line_Adj_Assoc_out_tbl OE_Order_PUB.Line_Adj_Assoc_Tbl_Type;
632: l_oe_line_scredit_out_tbl oe_order_pub.line_scredit_tbl_type;
633: l_oe_line_scredit_val_out_tbl oe_order_pub.line_scredit_val_tbl_type;
634: l_oe_lot_serial_out_tbl oe_order_pub.Lot_Serial_Tbl_Type;
635: l_oe_lot_serial_val_out_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
636: l_action_request_tbl OE_Order_PUB.request_tbl_type;
629: l_oe_Line_price_Att_out_tbl OE_Order_PUB.Line_Price_Att_Tbl_Type;
630: l_oe_Line_Adj_Att_out_tbl OE_Order_PUB.Line_Adj_Att_Tbl_Type;
631: l_oe_Line_Adj_Assoc_out_tbl OE_Order_PUB.Line_Adj_Assoc_Tbl_Type;
632: l_oe_line_scredit_out_tbl oe_order_pub.line_scredit_tbl_type;
633: l_oe_line_scredit_val_out_tbl oe_order_pub.line_scredit_val_tbl_type;
634: l_oe_lot_serial_out_tbl oe_order_pub.Lot_Serial_Tbl_Type;
635: l_oe_lot_serial_val_out_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
636: l_action_request_tbl OE_Order_PUB.request_tbl_type;
637: l_action_request_tbl_out OE_Order_PUB.request_tbl_type;
630: l_oe_Line_Adj_Att_out_tbl OE_Order_PUB.Line_Adj_Att_Tbl_Type;
631: l_oe_Line_Adj_Assoc_out_tbl OE_Order_PUB.Line_Adj_Assoc_Tbl_Type;
632: l_oe_line_scredit_out_tbl oe_order_pub.line_scredit_tbl_type;
633: l_oe_line_scredit_val_out_tbl oe_order_pub.line_scredit_val_tbl_type;
634: l_oe_lot_serial_out_tbl oe_order_pub.Lot_Serial_Tbl_Type;
635: l_oe_lot_serial_val_out_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
636: l_action_request_tbl OE_Order_PUB.request_tbl_type;
637: l_action_request_tbl_out OE_Order_PUB.request_tbl_type;
638: l_oe_header_rec_out oe_order_pub.header_rec_type;
631: l_oe_Line_Adj_Assoc_out_tbl OE_Order_PUB.Line_Adj_Assoc_Tbl_Type;
632: l_oe_line_scredit_out_tbl oe_order_pub.line_scredit_tbl_type;
633: l_oe_line_scredit_val_out_tbl oe_order_pub.line_scredit_val_tbl_type;
634: l_oe_lot_serial_out_tbl oe_order_pub.Lot_Serial_Tbl_Type;
635: l_oe_lot_serial_val_out_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
636: l_action_request_tbl OE_Order_PUB.request_tbl_type;
637: l_action_request_tbl_out OE_Order_PUB.request_tbl_type;
638: l_oe_header_rec_out oe_order_pub.header_rec_type;
639: l_return_status Varchar2(30);
632: l_oe_line_scredit_out_tbl oe_order_pub.line_scredit_tbl_type;
633: l_oe_line_scredit_val_out_tbl oe_order_pub.line_scredit_val_tbl_type;
634: l_oe_lot_serial_out_tbl oe_order_pub.Lot_Serial_Tbl_Type;
635: l_oe_lot_serial_val_out_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
636: l_action_request_tbl OE_Order_PUB.request_tbl_type;
637: l_action_request_tbl_out OE_Order_PUB.request_tbl_type;
638: l_oe_header_rec_out oe_order_pub.header_rec_type;
639: l_return_status Varchar2(30);
640: x_msg_count number;
633: l_oe_line_scredit_val_out_tbl oe_order_pub.line_scredit_val_tbl_type;
634: l_oe_lot_serial_out_tbl oe_order_pub.Lot_Serial_Tbl_Type;
635: l_oe_lot_serial_val_out_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
636: l_action_request_tbl OE_Order_PUB.request_tbl_type;
637: l_action_request_tbl_out OE_Order_PUB.request_tbl_type;
638: l_oe_header_rec_out oe_order_pub.header_rec_type;
639: l_return_status Varchar2(30);
640: x_msg_count number;
641: x_msg_data Varchar2(2000);
634: l_oe_lot_serial_out_tbl oe_order_pub.Lot_Serial_Tbl_Type;
635: l_oe_lot_serial_val_out_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
636: l_action_request_tbl OE_Order_PUB.request_tbl_type;
637: l_action_request_tbl_out OE_Order_PUB.request_tbl_type;
638: l_oe_header_rec_out oe_order_pub.header_rec_type;
639: l_return_status Varchar2(30);
640: x_msg_count number;
641: x_msg_data Varchar2(2000);
642: x_msg_index number;
655: rlm_core_sv.dlog(C_DEBUG, 'Customer id', x_Sched_rec.customer_id);
656: rlm_core_sv.dlog(C_DEBUG, 'Org ID', x_Sched_rec.org_id);
657: END IF;
658: --
659: l_oe_header_rec := OE_Order_PUB.G_MISS_HEADER_REC;
660: l_oe_header_rec.operation := OE_Globals.G_OPR_CREATE;
661: l_oe_header_rec.blanket_number := x_Group_rec.setup_terms_rec.blanket_number;
662: l_oe_header_rec.sold_to_org_id := x_Sched_rec.customer_id;
663: l_oe_header_rec.org_id := x_Sched_rec.org_id;