DBA Data[Home] [Help]

APPS.OE_TOTALS_GRP dependencies on OE_ORDER_CACHE

Line 354: OE_Order_Cache.load_order_header(p_header_id);

350: RETURN 0;
351: END IF;
352:
353: IF p_header_id IS NOT NULL AND p_header_id <> FND_API.G_MISS_NUM THEN
354: OE_Order_Cache.load_order_header(p_header_id);
355: l_org_id := OE_Order_Cache.g_header_rec.org_id;
356:
357: ELSE
358: BEGIN

Line 355: l_org_id := OE_Order_Cache.g_header_rec.org_id;

351: END IF;
352:
353: IF p_header_id IS NOT NULL AND p_header_id <> FND_API.G_MISS_NUM THEN
354: OE_Order_Cache.load_order_header(p_header_id);
355: l_org_id := OE_Order_Cache.g_header_rec.org_id;
356:
357: ELSE
358: BEGIN
359: SELECT org_id

Line 402: OE_Order_Cache.load_order_header(l_line_tbl(i).header_id);

398: END IF;
399:
400: -- populate information to pl/sql table in order to call API to get Pay Now portion
401: i := l_line_tbl.First;
402: OE_Order_Cache.load_order_header(l_line_tbl(i).header_id);
403: l_currency_code := OE_Order_Cache.g_header_rec.transactional_curr_code;
404: WHILE i IS NOT NULL LOOP
405:
406: l_pay_now_total_detail_tbl(i).line_id := l_line_tbl(i).line_id;

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

399:
400: -- populate information to pl/sql table in order to call API to get Pay Now portion
401: i := l_line_tbl.First;
402: OE_Order_Cache.load_order_header(l_line_tbl(i).header_id);
403: l_currency_code := OE_Order_Cache.g_header_rec.transactional_curr_code;
404: WHILE i IS NOT NULL LOOP
405:
406: l_pay_now_total_detail_tbl(i).line_id := l_line_tbl(i).line_id;
407: l_pay_now_total_detail_tbl(i).term_id := l_line_tbl(i).payment_term_id;

Line 452: l_pay_now_total_detail_tbl(i).Term_id := OE_Order_Cache.g_header_rec.payment_term_id;

448: OE_VERIFY_PAYMENT_PUB.Outbound_Order_Total
449: (p_header_id => p_header_id
450: ,p_total_type => 'HEADER_CHARGES'
451: );
452: l_pay_now_total_detail_tbl(i).Term_id := OE_Order_Cache.g_header_rec.payment_term_id;
453: END IF;
454:
455: -- calling AR API to get pay now total
456: MO_GLOBAL.set_policy_context('S',l_org_id);