DBA Data[Home] [Help]

APPS.OE_PREPAYMENT_PVT dependencies on OE_ORDER_CACHE

Line 275: l_set_of_books_rec OE_Order_Cache.Set_Of_Books_Rec_Type;

271: l_trxn_id NUMBER;
272: l_exchange_rate_type VARCHAR2(30);
273: l_exchange_rate NUMBER;
274: l_exchange_rate_date DATE;
275: l_set_of_books_rec OE_Order_Cache.Set_Of_Books_Rec_Type;
276: l_msg_text VARCHAR2(2000);
277:
278: --
279: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;

Line 333: l_set_of_books_rec := OE_Order_Cache.Load_Set_Of_Books;

329: );
330: END IF;
331: */
332:
333: l_set_of_books_rec := OE_Order_Cache.Load_Set_Of_Books;
334: IF p_header_rec.transactional_curr_code
335: = l_set_of_books_rec.currency_code THEN
336: l_exchange_rate_type := null;
337: l_exchange_rate := null;

Line 4992: oe_order_cache.load_order_header(l_line_tbl(i).header_id);

4988: i := l_line_tbl.First;
4989: j := 1;
4990: --bug4654227
4991: IF i IS NOT NULL THEN
4992: oe_order_cache.load_order_header(l_line_tbl(i).header_id);
4993: l_header_id := l_line_tbl(i).header_id;
4994: l_currency_code := OE_Order_Cache.g_header_rec.transactional_curr_code;
4995: END IF;
4996:

Line 4994: l_currency_code := OE_Order_Cache.g_header_rec.transactional_curr_code;

4990: --bug4654227
4991: IF i IS NOT NULL THEN
4992: oe_order_cache.load_order_header(l_line_tbl(i).header_id);
4993: l_header_id := l_line_tbl(i).header_id;
4994: l_currency_code := OE_Order_Cache.g_header_rec.transactional_curr_code;
4995: END IF;
4996:
4997: WHILE i IS NOT NULL LOOP
4998:

Line 5055: l_hdr_term_id := OE_Order_Cache.g_header_rec.payment_term_id;

5051: END IF;
5052:
5053: i := l_pay_now_total_detail_tbl.count + 1;
5054: --bug5223078 start
5055: l_hdr_term_id := OE_Order_Cache.g_header_rec.payment_term_id;
5056: --appending the header level charges only if l_hdr_term_id IS NOT NULL
5057: IF l_hdr_term_id IS NULL THEN
5058: IF l_debug_level > 0 THEN
5059: oe_debug_pub.add('Not passing the header level charges to AR API since the header level payment term is null');

Line 5069: oe_order_cache.load_order_header(p_header_id);

5065: -- append header level charges to the detail line table
5066: IF p_line_id IS NULL AND
5067: l_hdr_term_id IS NOT NULL THEN
5068: --bug5009908
5069: oe_order_cache.load_order_header(p_header_id);
5070: l_pay_now_total_detail_tbl(i).line_id := null;
5071: l_pay_now_total_detail_tbl(i).line_amount :=0;
5072: l_pay_now_total_detail_tbl(i).tax_amount :=0;
5073: l_pay_now_total_detail_tbl(i).freight_amount :=

Line 5090: ,p_currency_code => OE_Order_Cache.g_header_rec.transactional_curr_code

5086: AR_VIEW_TERM_GRP.pay_now_amounts
5087: (p_api_version => 1.0
5088: ,p_init_msg_list => FND_API.G_TRUE
5089: ,p_validation_level => FND_API.G_VALID_LEVEL_FULL
5090: ,p_currency_code => OE_Order_Cache.g_header_rec.transactional_curr_code
5091: ,p_amounts_tbl => l_pay_now_total_detail_tbl
5092: ,x_pay_now_summary_rec => l_pay_now_total_summary_rec
5093: ,x_return_status => x_return_status
5094: ,x_msg_count => x_msg_count

Line 5105: (p_currency_code => OE_Order_Cache.g_header_rec.transactional_curr_code

5101: ELSIF OE_Prepayment_Util.Get_Installment_Options ='AUTHORIZE_FIRST_INSTALLMENT' THEN
5102: -- the following API is used to get the values for tax, charges, subtotal and total
5103: -- for first installment.
5104: Get_First_Installment
5105: (p_currency_code => OE_Order_Cache.g_header_rec.transactional_curr_code
5106: ,p_x_due_now_total_detail_tbl => l_pay_now_total_detail_tbl
5107: ,x_due_now_total_summary_rec => l_pay_now_total_summary_rec
5108: ,x_return_status => x_return_status
5109: ,x_msg_count => x_msg_count