39: ,x_msg_count OUT NOCOPY NUMBER
40: ,x_msg_data OUT NOCOPY VARCHAR2
41: ,p_order_header_rec IN ORDER_HEADER_REC_TYPE
42: ,p_order_line_tbl IN ORDER_LINE_TBL_TYPE
43: ,x_order_header_rec OUT NOCOPY ASO_ORDER_INT.order_header_rec_type
44: ,x_request_history_id OUT NOCOPY NUMBER
45: )
46: IS
47:
51: l_ln_shipment_tbl ASO_QUOTE_PUB.Shipment_tbl_Type := ASO_QUOTE_PUB.G_MISS_Shipment_TBL;
52:
53: l_request_history_rec JTF_Request_History_PVT.request_history_rec_type;
54:
55: l_control_rec ASO_ORDER_INT.control_rec_type;
56:
57: x_order_line_tbl ASO_ORDER_INT.Order_Line_tbl_type;
58:
59: -- Assuming a valid collateral ID is passed
53: l_request_history_rec JTF_Request_History_PVT.request_history_rec_type;
54:
55: l_control_rec ASO_ORDER_INT.control_rec_type;
56:
57: x_order_line_tbl ASO_ORDER_INT.Order_Line_tbl_type;
58:
59: -- Assuming a valid collateral ID is passed
60: -----Collateral existing in the OM's inventory organization
61: -----Collateral has a inventory item created for it.
160: END LOOP;
161: END IF;
162: END LOOP;
163:
164: ASO_ORDER_INT.create_order(
165: p_api_version_number => 1.0
166: ,p_init_msg_list => FND_API.g_false
167: ,p_commit => FND_API.g_false
168: ,p_qte_rec => l_qte_header_rec