295: INDEX BY PLS_INTEGER;
296:
297: l_program CONSTANT VARCHAR2(30) := 'Process_Replenishment_SO';
298:
299: l_oe_header_rec oe_order_pub.Header_Rec_Type;
300: l_oe_line_rec oe_order_pub.Line_Rec_Type;
301:
302: l_msg_count number;
303: l_msg_data varchar2(2000);
296:
297: l_program CONSTANT VARCHAR2(30) := 'Process_Replenishment_SO';
298:
299: l_oe_header_rec oe_order_pub.Header_Rec_Type;
300: l_oe_line_rec oe_order_pub.Line_Rec_Type;
301:
302: l_msg_count number;
303: l_msg_data varchar2(2000);
304: l_return_status varchar2(1) := FND_API.G_RET_STS_SUCCESS;
301:
302: l_msg_count number;
303: l_msg_data varchar2(2000);
304: l_return_status varchar2(1) := FND_API.G_RET_STS_SUCCESS;
305: l_header_rec oe_order_pub.Header_Rec_Type;
306: l_header_val_rec oe_order_pub.Header_Val_Rec_Type ;
307: l_Header_Adj_tbl oe_order_pub.Header_Adj_Tbl_Type;
308: l_Header_Adj_val_tbl oe_order_pub.Header_Adj_Val_Tbl_Type;
309: l_Header_price_Att_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
302: l_msg_count number;
303: l_msg_data varchar2(2000);
304: l_return_status varchar2(1) := FND_API.G_RET_STS_SUCCESS;
305: l_header_rec oe_order_pub.Header_Rec_Type;
306: l_header_val_rec oe_order_pub.Header_Val_Rec_Type ;
307: l_Header_Adj_tbl oe_order_pub.Header_Adj_Tbl_Type;
308: l_Header_Adj_val_tbl oe_order_pub.Header_Adj_Val_Tbl_Type;
309: l_Header_price_Att_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
310: l_Header_Adj_Att_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
303: l_msg_data varchar2(2000);
304: l_return_status varchar2(1) := FND_API.G_RET_STS_SUCCESS;
305: l_header_rec oe_order_pub.Header_Rec_Type;
306: l_header_val_rec oe_order_pub.Header_Val_Rec_Type ;
307: l_Header_Adj_tbl oe_order_pub.Header_Adj_Tbl_Type;
308: l_Header_Adj_val_tbl oe_order_pub.Header_Adj_Val_Tbl_Type;
309: l_Header_price_Att_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
310: l_Header_Adj_Att_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
311: l_Header_Adj_Assoc_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
304: l_return_status varchar2(1) := FND_API.G_RET_STS_SUCCESS;
305: l_header_rec oe_order_pub.Header_Rec_Type;
306: l_header_val_rec oe_order_pub.Header_Val_Rec_Type ;
307: l_Header_Adj_tbl oe_order_pub.Header_Adj_Tbl_Type;
308: l_Header_Adj_val_tbl oe_order_pub.Header_Adj_Val_Tbl_Type;
309: l_Header_price_Att_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
310: l_Header_Adj_Att_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
311: l_Header_Adj_Assoc_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
312: l_Header_Scredit_tbl oe_order_pub.Header_Scredit_Tbl_Type;
305: l_header_rec oe_order_pub.Header_Rec_Type;
306: l_header_val_rec oe_order_pub.Header_Val_Rec_Type ;
307: l_Header_Adj_tbl oe_order_pub.Header_Adj_Tbl_Type;
308: l_Header_Adj_val_tbl oe_order_pub.Header_Adj_Val_Tbl_Type;
309: l_Header_price_Att_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
310: l_Header_Adj_Att_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
311: l_Header_Adj_Assoc_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
312: l_Header_Scredit_tbl oe_order_pub.Header_Scredit_Tbl_Type;
313: l_Header_Scredit_val_tbl oe_order_pub.Header_Scredit_Val_Tbl_Type;
306: l_header_val_rec oe_order_pub.Header_Val_Rec_Type ;
307: l_Header_Adj_tbl oe_order_pub.Header_Adj_Tbl_Type;
308: l_Header_Adj_val_tbl oe_order_pub.Header_Adj_Val_Tbl_Type;
309: l_Header_price_Att_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
310: l_Header_Adj_Att_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
311: l_Header_Adj_Assoc_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
312: l_Header_Scredit_tbl oe_order_pub.Header_Scredit_Tbl_Type;
313: l_Header_Scredit_val_tbl oe_order_pub.Header_Scredit_Val_Tbl_Type;
314: l_line_tbl oe_order_pub.Line_Tbl_Type;
307: l_Header_Adj_tbl oe_order_pub.Header_Adj_Tbl_Type;
308: l_Header_Adj_val_tbl oe_order_pub.Header_Adj_Val_Tbl_Type;
309: l_Header_price_Att_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
310: l_Header_Adj_Att_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
311: l_Header_Adj_Assoc_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
312: l_Header_Scredit_tbl oe_order_pub.Header_Scredit_Tbl_Type;
313: l_Header_Scredit_val_tbl oe_order_pub.Header_Scredit_Val_Tbl_Type;
314: l_line_tbl oe_order_pub.Line_Tbl_Type;
315: l_line_val_tbl oe_order_pub.Line_Val_Tbl_Type;
308: l_Header_Adj_val_tbl oe_order_pub.Header_Adj_Val_Tbl_Type;
309: l_Header_price_Att_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
310: l_Header_Adj_Att_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
311: l_Header_Adj_Assoc_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
312: l_Header_Scredit_tbl oe_order_pub.Header_Scredit_Tbl_Type;
313: l_Header_Scredit_val_tbl oe_order_pub.Header_Scredit_Val_Tbl_Type;
314: l_line_tbl oe_order_pub.Line_Tbl_Type;
315: l_line_val_tbl oe_order_pub.Line_Val_Tbl_Type;
316: l_Line_Adj_tbl oe_order_pub.Line_Adj_Tbl_Type;
309: l_Header_price_Att_tbl oe_order_pub.Header_Price_Att_Tbl_Type;
310: l_Header_Adj_Att_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
311: l_Header_Adj_Assoc_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
312: l_Header_Scredit_tbl oe_order_pub.Header_Scredit_Tbl_Type;
313: l_Header_Scredit_val_tbl oe_order_pub.Header_Scredit_Val_Tbl_Type;
314: l_line_tbl oe_order_pub.Line_Tbl_Type;
315: l_line_val_tbl oe_order_pub.Line_Val_Tbl_Type;
316: l_Line_Adj_tbl oe_order_pub.Line_Adj_Tbl_Type;
317: l_Line_Adj_val_tbl oe_order_pub.Line_Adj_Val_Tbl_Type;
310: l_Header_Adj_Att_tbl oe_order_pub.Header_Adj_Att_Tbl_Type;
311: l_Header_Adj_Assoc_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
312: l_Header_Scredit_tbl oe_order_pub.Header_Scredit_Tbl_Type;
313: l_Header_Scredit_val_tbl oe_order_pub.Header_Scredit_Val_Tbl_Type;
314: l_line_tbl oe_order_pub.Line_Tbl_Type;
315: l_line_val_tbl oe_order_pub.Line_Val_Tbl_Type;
316: l_Line_Adj_tbl oe_order_pub.Line_Adj_Tbl_Type;
317: l_Line_Adj_val_tbl oe_order_pub.Line_Adj_Val_Tbl_Type;
318: l_Line_price_Att_tbl oe_order_pub.Line_Price_Att_Tbl_Type;
311: l_Header_Adj_Assoc_tbl oe_order_pub.Header_Adj_Assoc_Tbl_Type;
312: l_Header_Scredit_tbl oe_order_pub.Header_Scredit_Tbl_Type;
313: l_Header_Scredit_val_tbl oe_order_pub.Header_Scredit_Val_Tbl_Type;
314: l_line_tbl oe_order_pub.Line_Tbl_Type;
315: l_line_val_tbl oe_order_pub.Line_Val_Tbl_Type;
316: l_Line_Adj_tbl oe_order_pub.Line_Adj_Tbl_Type;
317: l_Line_Adj_val_tbl oe_order_pub.Line_Adj_Val_Tbl_Type;
318: l_Line_price_Att_tbl oe_order_pub.Line_Price_Att_Tbl_Type;
319: l_Line_Adj_Att_tbl oe_order_pub.Line_Adj_Att_Tbl_Type;
312: l_Header_Scredit_tbl oe_order_pub.Header_Scredit_Tbl_Type;
313: l_Header_Scredit_val_tbl oe_order_pub.Header_Scredit_Val_Tbl_Type;
314: l_line_tbl oe_order_pub.Line_Tbl_Type;
315: l_line_val_tbl oe_order_pub.Line_Val_Tbl_Type;
316: l_Line_Adj_tbl oe_order_pub.Line_Adj_Tbl_Type;
317: l_Line_Adj_val_tbl oe_order_pub.Line_Adj_Val_Tbl_Type;
318: l_Line_price_Att_tbl oe_order_pub.Line_Price_Att_Tbl_Type;
319: l_Line_Adj_Att_tbl oe_order_pub.Line_Adj_Att_Tbl_Type;
320: l_Line_Adj_Assoc_tbl oe_order_pub.Line_Adj_Assoc_Tbl_Type;
313: l_Header_Scredit_val_tbl oe_order_pub.Header_Scredit_Val_Tbl_Type;
314: l_line_tbl oe_order_pub.Line_Tbl_Type;
315: l_line_val_tbl oe_order_pub.Line_Val_Tbl_Type;
316: l_Line_Adj_tbl oe_order_pub.Line_Adj_Tbl_Type;
317: l_Line_Adj_val_tbl oe_order_pub.Line_Adj_Val_Tbl_Type;
318: l_Line_price_Att_tbl oe_order_pub.Line_Price_Att_Tbl_Type;
319: l_Line_Adj_Att_tbl oe_order_pub.Line_Adj_Att_Tbl_Type;
320: l_Line_Adj_Assoc_tbl oe_order_pub.Line_Adj_Assoc_Tbl_Type;
321: l_Line_Scredit_tbl oe_order_pub.Line_Scredit_Tbl_Type ;
314: l_line_tbl oe_order_pub.Line_Tbl_Type;
315: l_line_val_tbl oe_order_pub.Line_Val_Tbl_Type;
316: l_Line_Adj_tbl oe_order_pub.Line_Adj_Tbl_Type;
317: l_Line_Adj_val_tbl oe_order_pub.Line_Adj_Val_Tbl_Type;
318: l_Line_price_Att_tbl oe_order_pub.Line_Price_Att_Tbl_Type;
319: l_Line_Adj_Att_tbl oe_order_pub.Line_Adj_Att_Tbl_Type;
320: l_Line_Adj_Assoc_tbl oe_order_pub.Line_Adj_Assoc_Tbl_Type;
321: l_Line_Scredit_tbl oe_order_pub.Line_Scredit_Tbl_Type ;
322: l_Line_Scredit_val_tbl oe_order_pub.Line_Scredit_Val_Tbl_Type;
315: l_line_val_tbl oe_order_pub.Line_Val_Tbl_Type;
316: l_Line_Adj_tbl oe_order_pub.Line_Adj_Tbl_Type;
317: l_Line_Adj_val_tbl oe_order_pub.Line_Adj_Val_Tbl_Type;
318: l_Line_price_Att_tbl oe_order_pub.Line_Price_Att_Tbl_Type;
319: l_Line_Adj_Att_tbl oe_order_pub.Line_Adj_Att_Tbl_Type;
320: l_Line_Adj_Assoc_tbl oe_order_pub.Line_Adj_Assoc_Tbl_Type;
321: l_Line_Scredit_tbl oe_order_pub.Line_Scredit_Tbl_Type ;
322: l_Line_Scredit_val_tbl oe_order_pub.Line_Scredit_Val_Tbl_Type;
323: l_Lot_Serial_tbl oe_order_pub.Lot_Serial_Tbl_Type;
316: l_Line_Adj_tbl oe_order_pub.Line_Adj_Tbl_Type;
317: l_Line_Adj_val_tbl oe_order_pub.Line_Adj_Val_Tbl_Type;
318: l_Line_price_Att_tbl oe_order_pub.Line_Price_Att_Tbl_Type;
319: l_Line_Adj_Att_tbl oe_order_pub.Line_Adj_Att_Tbl_Type;
320: l_Line_Adj_Assoc_tbl oe_order_pub.Line_Adj_Assoc_Tbl_Type;
321: l_Line_Scredit_tbl oe_order_pub.Line_Scredit_Tbl_Type ;
322: l_Line_Scredit_val_tbl oe_order_pub.Line_Scredit_Val_Tbl_Type;
323: l_Lot_Serial_tbl oe_order_pub.Lot_Serial_Tbl_Type;
324: l_Lot_Serial_val_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
317: l_Line_Adj_val_tbl oe_order_pub.Line_Adj_Val_Tbl_Type;
318: l_Line_price_Att_tbl oe_order_pub.Line_Price_Att_Tbl_Type;
319: l_Line_Adj_Att_tbl oe_order_pub.Line_Adj_Att_Tbl_Type;
320: l_Line_Adj_Assoc_tbl oe_order_pub.Line_Adj_Assoc_Tbl_Type;
321: l_Line_Scredit_tbl oe_order_pub.Line_Scredit_Tbl_Type ;
322: l_Line_Scredit_val_tbl oe_order_pub.Line_Scredit_Val_Tbl_Type;
323: l_Lot_Serial_tbl oe_order_pub.Lot_Serial_Tbl_Type;
324: l_Lot_Serial_val_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
325: l_action_request_tbl oe_order_pub.Request_Tbl_Type;
318: l_Line_price_Att_tbl oe_order_pub.Line_Price_Att_Tbl_Type;
319: l_Line_Adj_Att_tbl oe_order_pub.Line_Adj_Att_Tbl_Type;
320: l_Line_Adj_Assoc_tbl oe_order_pub.Line_Adj_Assoc_Tbl_Type;
321: l_Line_Scredit_tbl oe_order_pub.Line_Scredit_Tbl_Type ;
322: l_Line_Scredit_val_tbl oe_order_pub.Line_Scredit_Val_Tbl_Type;
323: l_Lot_Serial_tbl oe_order_pub.Lot_Serial_Tbl_Type;
324: l_Lot_Serial_val_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
325: l_action_request_tbl oe_order_pub.Request_Tbl_Type;
326: l_ship_date DATE;
319: l_Line_Adj_Att_tbl oe_order_pub.Line_Adj_Att_Tbl_Type;
320: l_Line_Adj_Assoc_tbl oe_order_pub.Line_Adj_Assoc_Tbl_Type;
321: l_Line_Scredit_tbl oe_order_pub.Line_Scredit_Tbl_Type ;
322: l_Line_Scredit_val_tbl oe_order_pub.Line_Scredit_Val_Tbl_Type;
323: l_Lot_Serial_tbl oe_order_pub.Lot_Serial_Tbl_Type;
324: l_Lot_Serial_val_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
325: l_action_request_tbl oe_order_pub.Request_Tbl_Type;
326: l_ship_date DATE;
327: l_quantity NUMBER;
320: l_Line_Adj_Assoc_tbl oe_order_pub.Line_Adj_Assoc_Tbl_Type;
321: l_Line_Scredit_tbl oe_order_pub.Line_Scredit_Tbl_Type ;
322: l_Line_Scredit_val_tbl oe_order_pub.Line_Scredit_Val_Tbl_Type;
323: l_Lot_Serial_tbl oe_order_pub.Lot_Serial_Tbl_Type;
324: l_Lot_Serial_val_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
325: l_action_request_tbl oe_order_pub.Request_Tbl_Type;
326: l_ship_date DATE;
327: l_quantity NUMBER;
328: l_primary_uom_code VARCHAR2(3);
321: l_Line_Scredit_tbl oe_order_pub.Line_Scredit_Tbl_Type ;
322: l_Line_Scredit_val_tbl oe_order_pub.Line_Scredit_Val_Tbl_Type;
323: l_Lot_Serial_tbl oe_order_pub.Lot_Serial_Tbl_Type;
324: l_Lot_Serial_val_tbl oe_order_pub.Lot_Serial_Val_Tbl_Type;
325: l_action_request_tbl oe_order_pub.Request_Tbl_Type;
326: l_ship_date DATE;
327: l_quantity NUMBER;
328: l_primary_uom_code VARCHAR2(3);
329: l_unit_price NUMBER;
333: l_pl_uom_qty NUMBER;
334: l_line_type_id NUMBER;
335: l_currency_code OE_PRICE_LISTS.CURRENCY_CODE%TYPE;
336: l_control_rec oe_globals.control_rec_type;
337: l_x_Header_Adj_tbl OE_Order_PUB.Header_Adj_Tbl_Type;
338: l_x_Header_Scredit_tbl OE_Order_PUB.Header_Scredit_Tbl_Type;
339: l_x_line_tbl OE_Order_PUB.Line_Tbl_Type;
340: l_x_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
341: l_x_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
334: l_line_type_id NUMBER;
335: l_currency_code OE_PRICE_LISTS.CURRENCY_CODE%TYPE;
336: l_control_rec oe_globals.control_rec_type;
337: l_x_Header_Adj_tbl OE_Order_PUB.Header_Adj_Tbl_Type;
338: l_x_Header_Scredit_tbl OE_Order_PUB.Header_Scredit_Tbl_Type;
339: l_x_line_tbl OE_Order_PUB.Line_Tbl_Type;
340: l_x_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
341: l_x_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
342: l_x_action_request_tbl OE_Order_PUB.request_tbl_type;
335: l_currency_code OE_PRICE_LISTS.CURRENCY_CODE%TYPE;
336: l_control_rec oe_globals.control_rec_type;
337: l_x_Header_Adj_tbl OE_Order_PUB.Header_Adj_Tbl_Type;
338: l_x_Header_Scredit_tbl OE_Order_PUB.Header_Scredit_Tbl_Type;
339: l_x_line_tbl OE_Order_PUB.Line_Tbl_Type;
340: l_x_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
341: l_x_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
342: l_x_action_request_tbl OE_Order_PUB.request_tbl_type;
343: l_x_lot_serial_tbl OE_Order_PUB.lot_serial_tbl_type;
336: l_control_rec oe_globals.control_rec_type;
337: l_x_Header_Adj_tbl OE_Order_PUB.Header_Adj_Tbl_Type;
338: l_x_Header_Scredit_tbl OE_Order_PUB.Header_Scredit_Tbl_Type;
339: l_x_line_tbl OE_Order_PUB.Line_Tbl_Type;
340: l_x_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
341: l_x_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
342: l_x_action_request_tbl OE_Order_PUB.request_tbl_type;
343: l_x_lot_serial_tbl OE_Order_PUB.lot_serial_tbl_type;
344: l_hdr_payment_tbl OE_Order_PUB.Header_Payment_Tbl_Type;
337: l_x_Header_Adj_tbl OE_Order_PUB.Header_Adj_Tbl_Type;
338: l_x_Header_Scredit_tbl OE_Order_PUB.Header_Scredit_Tbl_Type;
339: l_x_line_tbl OE_Order_PUB.Line_Tbl_Type;
340: l_x_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
341: l_x_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
342: l_x_action_request_tbl OE_Order_PUB.request_tbl_type;
343: l_x_lot_serial_tbl OE_Order_PUB.lot_serial_tbl_type;
344: l_hdr_payment_tbl OE_Order_PUB.Header_Payment_Tbl_Type;
345: l_line_payment_tbl OE_Order_PUB.Line_Payment_Tbl_Type;
338: l_x_Header_Scredit_tbl OE_Order_PUB.Header_Scredit_Tbl_Type;
339: l_x_line_tbl OE_Order_PUB.Line_Tbl_Type;
340: l_x_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
341: l_x_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
342: l_x_action_request_tbl OE_Order_PUB.request_tbl_type;
343: l_x_lot_serial_tbl OE_Order_PUB.lot_serial_tbl_type;
344: l_hdr_payment_tbl OE_Order_PUB.Header_Payment_Tbl_Type;
345: l_line_payment_tbl OE_Order_PUB.Line_Payment_Tbl_Type;
346: l_org_id NUMBER;
339: l_x_line_tbl OE_Order_PUB.Line_Tbl_Type;
340: l_x_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
341: l_x_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
342: l_x_action_request_tbl OE_Order_PUB.request_tbl_type;
343: l_x_lot_serial_tbl OE_Order_PUB.lot_serial_tbl_type;
344: l_hdr_payment_tbl OE_Order_PUB.Header_Payment_Tbl_Type;
345: l_line_payment_tbl OE_Order_PUB.Line_Payment_Tbl_Type;
346: l_org_id NUMBER;
347: l_pl_count NUMBER;
340: l_x_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
341: l_x_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
342: l_x_action_request_tbl OE_Order_PUB.request_tbl_type;
343: l_x_lot_serial_tbl OE_Order_PUB.lot_serial_tbl_type;
344: l_hdr_payment_tbl OE_Order_PUB.Header_Payment_Tbl_Type;
345: l_line_payment_tbl OE_Order_PUB.Line_Payment_Tbl_Type;
346: l_org_id NUMBER;
347: l_pl_count NUMBER;
348: l_customer_id NUMBER;
341: l_x_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
342: l_x_action_request_tbl OE_Order_PUB.request_tbl_type;
343: l_x_lot_serial_tbl OE_Order_PUB.lot_serial_tbl_type;
344: l_hdr_payment_tbl OE_Order_PUB.Header_Payment_Tbl_Type;
345: l_line_payment_tbl OE_Order_PUB.Line_Payment_Tbl_Type;
346: l_org_id NUMBER;
347: l_pl_count NUMBER;
348: l_customer_id NUMBER;
349: l_bill_to_id NUMBER;
492: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
493: g_log_enabled := TRUE;
494: END IF;
495:
496: l_header_rec := OE_ORDER_PUB.G_MISS_HEADER_REC;
497: l_oe_line_rec := OE_ORDER_PUB.G_MISS_LINE_REC;
498: l_quantity := p_quantity;
499:
500: -- Bugs 5212219: To get the appropriate project and task reference from
493: g_log_enabled := TRUE;
494: END IF;
495:
496: l_header_rec := OE_ORDER_PUB.G_MISS_HEADER_REC;
497: l_oe_line_rec := OE_ORDER_PUB.G_MISS_LINE_REC;
498: l_quantity := p_quantity;
499:
500: -- Bugs 5212219: To get the appropriate project and task reference from
501: -- the Replenishment PO