DBA Data[Home] [Help]

APPS.ASO_PRICING_CORE_PVT dependencies on ASO_PRICING_CORE_PVT

Line 1: PACKAGE BODY ASO_PRICING_CORE_PVT as

1: PACKAGE BODY ASO_PRICING_CORE_PVT as
2: /* $Header: asovpcob.pls 120.15 2008/03/18 05:20:25 rassharm ship $ */
3: -- Start of Comments
4: -- Package name : ASO_PRICING_CORE_PVT
5: -- Purpose :

Line 4: -- Package name : ASO_PRICING_CORE_PVT

1: PACKAGE BODY ASO_PRICING_CORE_PVT as
2: /* $Header: asovpcob.pls 120.15 2008/03/18 05:20:25 rassharm ship $ */
3: -- Start of Comments
4: -- Package name : ASO_PRICING_CORE_PVT
5: -- Purpose :
6: -- History :
7: -- 120.13.12000000.2 02/07/2007 gkeshava - Fix for perf bug 5614878
8: -- NOTE :

Line 11: G_PKG_NAME CONSTANT VARCHAR2(30) := 'ASO_PRICING_CORE_PVT';

7: -- 120.13.12000000.2 02/07/2007 gkeshava - Fix for perf bug 5614878
8: -- NOTE :
9: -- End of Comments
10:
11: G_PKG_NAME CONSTANT VARCHAR2(30) := 'ASO_PRICING_CORE_PVT';
12: G_FILE_NAME CONSTANT VARCHAR2(12) := 'asovpcob.pls';
13: --G_ADJ_NUM CONSTANT NUMBER := 999;
14:
15: PROCEDURE Initialize_Global_Tables

Line 19: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Begin Initializing All the Globals',1,'Y');

15: PROCEDURE Initialize_Global_Tables
16: IS
17: BEGIN
18: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
19: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Begin Initializing All the Globals',1,'Y');
20: END IF;
21:
22: G_LINE_INDEX_tbl.delete;
23: G_LINE_TYPE_CODE_TBL.delete;

Line 156: aso_debug_pub.add('ASO_PRICING_CORE_PVT: End Initializing All the Globals',1,'Y');

152: G_RLTD_LST_LN_ID_DEF_TBL.delete;
153: G_RLTD_RLTD_LST_LN_ID_DEF_TBL.delete;
154:
155: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
156: aso_debug_pub.add('ASO_PRICING_CORE_PVT: End Initializing All the Globals',1,'Y');
157: END IF;
158:
159: END Initialize_Global_Tables;
160:

Line 568: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Hdr TSN Count Starts Here...',1,'Y');

564:
565: BEGIN
566:
567: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
568: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Hdr TSN Count Starts Here...',1,'Y');
569: FOR hdr_rec IN c_hdr_tsn_count LOOP
570: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value_to :'||NVL(hdr_rec.substitution_value_to,'null'),1,'Y');
571: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
572: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');

Line 570: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value_to :'||NVL(hdr_rec.substitution_value_to,'null'),1,'Y');

566:
567: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
568: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Hdr TSN Count Starts Here...',1,'Y');
569: FOR hdr_rec IN c_hdr_tsn_count LOOP
570: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value_to :'||NVL(hdr_rec.substitution_value_to,'null'),1,'Y');
571: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
572: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
573: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
574: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');

Line 571: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');

567: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
568: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Hdr TSN Count Starts Here...',1,'Y');
569: FOR hdr_rec IN c_hdr_tsn_count LOOP
570: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value_to :'||NVL(hdr_rec.substitution_value_to,'null'),1,'Y');
571: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
572: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
573: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
574: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
575: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');

Line 572: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');

568: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Hdr TSN Count Starts Here...',1,'Y');
569: FOR hdr_rec IN c_hdr_tsn_count LOOP
570: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value_to :'||NVL(hdr_rec.substitution_value_to,'null'),1,'Y');
571: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
572: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
573: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
574: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
575: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
576: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.created_from_list_line_type :'||NVL(hdr_rec.created_from_list_line_type,'null'),1,'Y');

Line 573: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');

569: FOR hdr_rec IN c_hdr_tsn_count LOOP
570: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value_to :'||NVL(hdr_rec.substitution_value_to,'null'),1,'Y');
571: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
572: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
573: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
574: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
575: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
576: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.created_from_list_line_type :'||NVL(hdr_rec.created_from_list_line_type,'null'),1,'Y');
577: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');

Line 574: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');

570: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value_to :'||NVL(hdr_rec.substitution_value_to,'null'),1,'Y');
571: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
572: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
573: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
574: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
575: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
576: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.created_from_list_line_type :'||NVL(hdr_rec.created_from_list_line_type,'null'),1,'Y');
577: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
578: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');

Line 575: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');

571: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
572: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
573: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
574: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
575: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
576: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.created_from_list_line_type :'||NVL(hdr_rec.created_from_list_line_type,'null'),1,'Y');
577: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
578: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');
579: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.process_code :'||NVL(hdr_rec.process_code,'null'),1,'Y');

Line 576: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.created_from_list_line_type :'||NVL(hdr_rec.created_from_list_line_type,'null'),1,'Y');

572: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
573: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
574: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
575: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
576: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.created_from_list_line_type :'||NVL(hdr_rec.created_from_list_line_type,'null'),1,'Y');
577: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
578: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');
579: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.process_code :'||NVL(hdr_rec.process_code,'null'),1,'Y');
580: END LOOP;

Line 577: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');

573: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
574: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
575: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
576: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.created_from_list_line_type :'||NVL(hdr_rec.created_from_list_line_type,'null'),1,'Y');
577: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
578: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');
579: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.process_code :'||NVL(hdr_rec.process_code,'null'),1,'Y');
580: END LOOP;
581: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_HDR_TSN Starts Here...',1,'Y');

Line 578: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');

574: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
575: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
576: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.created_from_list_line_type :'||NVL(hdr_rec.created_from_list_line_type,'null'),1,'Y');
577: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
578: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');
579: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.process_code :'||NVL(hdr_rec.process_code,'null'),1,'Y');
580: END LOOP;
581: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_HDR_TSN Starts Here...',1,'Y');
582: END IF;

Line 579: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.process_code :'||NVL(hdr_rec.process_code,'null'),1,'Y');

575: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
576: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.created_from_list_line_type :'||NVL(hdr_rec.created_from_list_line_type,'null'),1,'Y');
577: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
578: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');
579: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.process_code :'||NVL(hdr_rec.process_code,'null'),1,'Y');
580: END LOOP;
581: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_HDR_TSN Starts Here...',1,'Y');
582: END IF;
583:

Line 581: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_HDR_TSN Starts Here...',1,'Y');

577: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
578: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');
579: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.process_code :'||NVL(hdr_rec.process_code,'null'),1,'Y');
580: END LOOP;
581: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_HDR_TSN Starts Here...',1,'Y');
582: END IF;
583:
584: OPEN c_hdr_pyt_exists;
585: FETCH c_hdr_pyt_exists INTO l_payment_id;

Line 588: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_payment_id :'||NVL(l_payment_id,0),1,'Y');

584: OPEN c_hdr_pyt_exists;
585: FETCH c_hdr_pyt_exists INTO l_payment_id;
586: CLOSE c_hdr_pyt_exists;
587: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
588: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_payment_id :'||NVL(l_payment_id,0),1,'Y');
589: END IF;
590:
591: OPEN c_hdr_pyt_tsn;
592: FETCH c_hdr_pyt_tsn INTO l_req_payment_term_id;

Line 594: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_payment_term_id: '||NVL(l_req_payment_term_id,0),1,'Y');

590:
591: OPEN c_hdr_pyt_tsn;
592: FETCH c_hdr_pyt_tsn INTO l_req_payment_term_id;
593: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
594: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_payment_term_id: '||NVL(l_req_payment_term_id,0),1,'Y');
595: END IF;
596:
597: IF l_req_payment_term_id IS NULL THEN
598: CLOSE c_hdr_pyt_tsn;

Line 600: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Header Level Payment TSN exists hence update with from value...',1,'Y');

596:
597: IF l_req_payment_term_id IS NULL THEN
598: CLOSE c_hdr_pyt_tsn;
599: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
600: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Header Level Payment TSN exists hence update with from value...',1,'Y');
601: END IF;
602: IF l_payment_id IS NOT NULL THEN
603: UPDATE ASO_PAYMENTS
604: SET payment_term_id = payment_term_id_from

Line 610: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Payment Rows Updated : '||sql%ROWCOUNT,1,'Y');

606: AND (p_quote_header_id IS NOT NULL AND p_quote_header_id <> FND_API.G_MISS_NUM)
607: AND quote_line_id IS NULL;
608: END IF;
609: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
610: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Payment Rows Updated : '||sql%ROWCOUNT,1,'Y');
611: END IF;
612:
613: ELSE
614:

Line 619: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Payment Record Exists...Before Payment Insert Row',1,'Y');

615: CLOSE c_hdr_pyt_tsn;
616:
617: IF l_payment_id IS NULL THEN
618: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
619: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Payment Record Exists...Before Payment Insert Row',1,'Y');
620: END IF;
621: lx_PAYMENT_ID := NULL;
622: ASO_PAYMENTS_PKG.Insert_Row(
623: px_PAYMENT_ID => lx_PAYMENT_ID,

Line 674: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Payment Insert Row...Payment_ID :'||NVL(lx_payment_id,0),1,'Y');

670: p_CUST_PO_LINE_NUMBER => l_payment_rec.CUST_PO_LINE_NUMBER, -- Line Payments Change
671: p_TRXN_EXTENSION_ID => l_payment_rec.TRXN_EXTENSION_ID
672: );
673: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
674: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Payment Insert Row...Payment_ID :'||NVL(lx_payment_id,0),1,'Y');
675: END IF;
676: END IF; -- l_payment_id is null; Header Payment exists or not check.
677:
678:

Line 680: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Header Level Payment TSN exists...',1,'Y');

676: END IF; -- l_payment_id is null; Header Payment exists or not check.
677:
678:
679: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
680: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Header Level Payment TSN exists...',1,'Y');
681: END IF;
682: IF l_payment_id IS NOT NULL or lx_payment_id IS NOT NULL
683: THEN
684: UPDATE ASO_PAYMENTS

Line 691: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Payment Rows Updated : '||sql%ROWCOUNT,1,'Y');

687: AND (p_quote_header_id IS NOT NULL AND p_quote_header_id <> FND_API.G_MISS_NUM)
688: AND quote_line_id IS NULL;
689: END IF;
690: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
691: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Payment Rows Updated : '||sql%ROWCOUNT,1,'Y');
692: END IF;
693: END IF; -- l_req_payment_term_id IS NULL or not check.
694:
695:

Line 700: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_shipment_id: '||NVL(l_shipment_id,0),1,'Y');

696: OPEN c_hdr_smc_exists;
697: FETCH c_hdr_smc_exists INTO l_shipment_id;
698: CLOSE c_hdr_smc_exists;
699: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
700: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_shipment_id: '||NVL(l_shipment_id,0),1,'Y');
701: END IF;
702:
703: OPEN c_hdr_smc_tsn;
704: FETCH c_hdr_smc_tsn INTO l_req_ship_method_code;

Line 706: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_ship_method_code: '||NVL(l_req_ship_method_code,0),1,'Y');

702:
703: OPEN c_hdr_smc_tsn;
704: FETCH c_hdr_smc_tsn INTO l_req_ship_method_code;
705: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
706: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_ship_method_code: '||NVL(l_req_ship_method_code,0),1,'Y');
707: END IF;
708:
709: IF l_req_ship_method_code IS NULL THEN
710: CLOSE c_hdr_smc_tsn;

Line 712: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Header Level Ship Method Code TSN exists hence update with From value...',1,'Y');

708:
709: IF l_req_ship_method_code IS NULL THEN
710: CLOSE c_hdr_smc_tsn;
711: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
712: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Header Level Ship Method Code TSN exists hence update with From value...',1,'Y');
713: END IF;
714: IF l_shipment_id IS NOT NULL
715: THEN
716: UPDATE ASO_SHIPMENTS aso

Line 723: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');

719: AND (p_quote_header_id IS NOT NULL AND p_quote_header_id <> FND_API.G_MISS_NUM)
720: AND quote_line_id IS NULL;
721: END IF;
722: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
723: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
724: END IF;
725: ELSE
726: CLOSE c_hdr_smc_tsn;
727: IF l_shipment_id IS NULL THEN

Line 729: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Shipment Record exists...Before Shipment Insert Rows ',1,'Y');

725: ELSE
726: CLOSE c_hdr_smc_tsn;
727: IF l_shipment_id IS NULL THEN
728: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
729: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Shipment Record exists...Before Shipment Insert Rows ',1,'Y');
730: END IF;
731:
732: lx_shipment_id := NULL;
733: ASO_SHIPMENTS_PKG.Insert_Row(

Line 796: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Shipment Insert Row...Shipment_ID '||NVL(lx_shipment_id,0),1,'Y');

792: p_request_date_type => l_shipment_rec.request_date_type,
793: p_demand_class_code => l_shipment_rec.demand_class_code
794: );
795: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
796: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Shipment Insert Row...Shipment_ID '||NVL(lx_shipment_id,0),1,'Y');
797: END IF;
798: END IF; --l_shipment_id is NULL or not check.
799:
800: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 801: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Header Level Shipment TSN exists...',1,'Y');

797: END IF;
798: END IF; --l_shipment_id is NULL or not check.
799:
800: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
801: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Header Level Shipment TSN exists...',1,'Y');
802: END IF;
803: IF l_shipment_id IS NOT NULL or lx_shipment_id IS NOT NULL
804: THEN
805: UPDATE ASO_SHIPMENTS aso

Line 814: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');

810: AND ('S' = (ASO_VALIDATE_PVT.Validate_ShipMethods('T', l_req_ship_method_code,
811: aso.ship_from_org_id, p_quote_header_id, NULL)));
812: END IF;
813: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
814: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
815: END IF;
816: END IF; --l_req_ship_method_code IS NULL or not check.
817:
818: OPEN c_hdr_ftc_exists;

Line 822: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_freight_shipment_id '||NVL(l_freight_shipment_id,0),1,'Y');

818: OPEN c_hdr_ftc_exists;
819: FETCH c_hdr_ftc_exists INTO l_freight_shipment_id;
820: CLOSE c_hdr_ftc_exists;
821: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
822: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_freight_shipment_id '||NVL(l_freight_shipment_id,0),1,'Y');
823: END IF;
824:
825: OPEN c_hdr_ftc_tsn;
826: FETCH c_hdr_ftc_tsn INTO l_req_freight_terms_code;

Line 828: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_freight_terms_code: '||NVL(l_req_freight_terms_code,0),1,'Y');

824:
825: OPEN c_hdr_ftc_tsn;
826: FETCH c_hdr_ftc_tsn INTO l_req_freight_terms_code;
827: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
828: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_freight_terms_code: '||NVL(l_req_freight_terms_code,0),1,'Y');
829: END IF;
830:
831: IF l_req_freight_terms_code IS NULL THEN
832: CLOSE c_hdr_ftc_tsn;

Line 834: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Header Level Freight Terms Code TSN exists hence update with From value...',1,'Y');

830:
831: IF l_req_freight_terms_code IS NULL THEN
832: CLOSE c_hdr_ftc_tsn;
833: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
834: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Header Level Freight Terms Code TSN exists hence update with From value...',1,'Y');
835: END IF;
836: IF l_freight_shipment_id IS NOT NULL THEN
837: UPDATE ASO_SHIPMENTS aso
838: SET aso.freight_terms_code = freight_terms_code_from

Line 844: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');

840: AND (p_quote_header_id IS NOT NULL AND p_quote_header_id <> FND_API.G_MISS_NUM)
841: AND quote_line_id IS NULL;
842: END IF;
843: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
844: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
845: END IF;
846: ELSE
847: CLOSE c_hdr_ftc_tsn;
848:

Line 851: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Shipment(Freight) Record exists...Before Shipment(Freight) Insert Rows ',1,'Y');

847: CLOSE c_hdr_ftc_tsn;
848:
849: IF l_freight_shipment_id IS NULL THEN
850: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
851: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Shipment(Freight) Record exists...Before Shipment(Freight) Insert Rows ',1,'Y');
852: END IF;
853: lx_freight_shipment_id := NULL;
854: ASO_SHIPMENTS_PKG.Insert_Row(
855: px_SHIPMENT_ID => lx_freight_shipment_id,

Line 917: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Shipment(Freight) Insert Row...Freight_Shipment_ID '||NVL(lx_freight_shipment_id,0),1,'Y');

913: p_request_date_type => l_freight_rec.request_date_type,
914: p_demand_class_code => l_freight_rec.demand_class_code
915: );
916: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
917: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Shipment(Freight) Insert Row...Freight_Shipment_ID '||NVL(lx_freight_shipment_id,0),1,'Y');
918: END IF;
919: END IF; --l_freight_shipment_id is NULL or not check.
920:
921: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 922: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Header Level Freight TSN exists...',1,'Y');

918: END IF;
919: END IF; --l_freight_shipment_id is NULL or not check.
920:
921: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
922: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Header Level Freight TSN exists...',1,'Y');
923: END IF;
924: IF l_freight_shipment_id IS NOT NULL or lx_freight_shipment_id IS NOT NULL THEN
925: UPDATE ASO_SHIPMENTS aso
926: SET aso.freight_terms_code = l_req_freight_terms_code

Line 932: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');

928: AND (p_quote_header_id IS NOT NULL AND p_quote_header_id <> FND_API.G_MISS_NUM)
929: AND quote_line_id IS NULL;
930: END IF;
931: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
932: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
933: END IF;
934: END IF; --l_req_freight_terms_code IS NULL or NOT check.
935:
936: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 937: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_HDR_TSN Ends Here...',1,'Y');

933: END IF;
934: END IF; --l_req_freight_terms_code IS NULL or NOT check.
935:
936: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
937: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_HDR_TSN Ends Here...',1,'Y');
938: END IF;
939: END PROCESS_HDR_TSN;
940:
941: PROCEDURE PROCESS_LN_TSN(p_quote_header_id NUMBER, p_insert_type VARCHAR2) IS

Line 1077: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start of line tsn p_insert_type: '||p_insert_type,1,'Y');

1073:
1074: BEGIN
1075:
1076: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1077: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start of line tsn p_insert_type: '||p_insert_type,1,'Y');
1078: END If;
1079: If p_insert_type = 'HDR' Then
1080:
1081: FOR l_qte_ln_rec IN c_qte_lines LOOP

Line 1083: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_ln_rec.quote_line_id: '||NVL(l_qte_ln_rec.quote_line_id,0),1,'Y');

1079: If p_insert_type = 'HDR' Then
1080:
1081: FOR l_qte_ln_rec IN c_qte_lines LOOP
1082: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1083: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_ln_rec.quote_line_id: '||NVL(l_qte_ln_rec.quote_line_id,0),1,'Y');
1084: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1085: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1086: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1087: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');

Line 1084: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');

1080:
1081: FOR l_qte_ln_rec IN c_qte_lines LOOP
1082: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1083: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_ln_rec.quote_line_id: '||NVL(l_qte_ln_rec.quote_line_id,0),1,'Y');
1084: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1085: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1086: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1087: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1088: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');

Line 1086: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');

1082: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1083: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_ln_rec.quote_line_id: '||NVL(l_qte_ln_rec.quote_line_id,0),1,'Y');
1084: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1085: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1086: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1087: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1088: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1089: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1090: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');

Line 1087: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');

1083: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_ln_rec.quote_line_id: '||NVL(l_qte_ln_rec.quote_line_id,0),1,'Y');
1084: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1085: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1086: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1087: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1088: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1089: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1090: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1091: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');

Line 1088: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');

1084: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1085: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1086: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1087: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1088: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1089: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1090: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1091: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1092: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');

Line 1089: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');

1085: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1086: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1087: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1088: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1089: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1090: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1091: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1092: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1093: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');

Line 1090: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');

1086: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1087: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1088: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1089: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1090: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1091: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1092: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1093: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1094: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');

Line 1091: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');

1087: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1088: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1089: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1090: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1091: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1092: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1093: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1094: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1095: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');

Line 1092: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');

1088: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1089: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1090: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1091: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1092: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1093: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1094: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1095: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1096: END LOOP;

Line 1093: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');

1089: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1090: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1091: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1092: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1093: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1094: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1095: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1096: END LOOP;
1097: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');

Line 1094: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');

1090: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1091: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1092: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1093: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1094: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1095: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1096: END LOOP;
1097: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');
1098: END IF;

Line 1095: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');

1091: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1092: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1093: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1094: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1095: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1096: END LOOP;
1097: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');
1098: END IF;
1099: --Line Level Payment TSN Starts Here

Line 1097: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');

1093: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1094: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1095: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1096: END LOOP;
1097: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');
1098: END IF;
1099: --Line Level Payment TSN Starts Here
1100: OPEN c_line_pyt_exists(l_qte_ln_rec.quote_line_id);
1101: FETCH c_line_pyt_exists INTO l_payment_id;

Line 1104: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Line l_payment_id :'||NVL(l_payment_id,0),1,'Y');

1100: OPEN c_line_pyt_exists(l_qte_ln_rec.quote_line_id);
1101: FETCH c_line_pyt_exists INTO l_payment_id;
1102: CLOSE c_line_pyt_exists;
1103: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1104: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Line l_payment_id :'||NVL(l_payment_id,0),1,'Y');
1105: END IF;
1106: OPen c_line_pyt_tsn(l_qte_ln_rec.quote_line_id);
1107: fetch c_line_pyt_tsn into l_substitution_value_to;
1108: close c_line_pyt_tsn;

Line 1112: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Line l_substitution_value_to: '||NVL(l_substitution_value_to,0),1,'Y');

1108: close c_line_pyt_tsn;
1109:
1110:
1111: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1112: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Line l_substitution_value_to: '||NVL(l_substitution_value_to,0),1,'Y');
1113: END IF;
1114:
1115:
1116: IF l_substitution_value_to IS NULL AND l_payment_id IS NOT NULL THEN

Line 1119: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment TSN exists hence update with from value...',1,'Y');

1115:
1116: IF l_substitution_value_to IS NULL AND l_payment_id IS NOT NULL THEN
1117:
1118: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1119: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment TSN exists hence update with from value...',1,'Y');
1120: END IF;
1121:
1122: UPDATE ASO_PAYMENTS
1123: SET payment_term_id = payment_term_id_from

Line 1128: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Payment Rows Updated : '||sql%ROWCOUNT,1,'Y');

1124: WHERE quote_header_id = p_quote_header_id
1125: AND quote_line_id = l_qte_ln_rec.quote_line_id;
1126:
1127: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1128: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Payment Rows Updated : '||sql%ROWCOUNT,1,'Y');
1129: END IF;
1130:
1131: ELSIF l_substitution_value_to IS NOT NULL AND l_payment_id IS NOT NULL THEN
1132: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 1133: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Inside ELSIF l_substitution_value_to IS NOT NULLAND l_payment_id IS NOT NULL:',1,'Y');

1129: END IF;
1130:
1131: ELSIF l_substitution_value_to IS NOT NULL AND l_payment_id IS NOT NULL THEN
1132: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1133: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Inside ELSIF l_substitution_value_to IS NOT NULLAND l_payment_id IS NOT NULL:',1,'Y');
1134: END IF;
1135: UPDATE ASO_PAYMENTS
1136: SET payment_term_id = l_substitution_value_to
1137: WHERE quote_header_id = p_quote_header_id

Line 1142: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment Record Exists...Before Payment Insert Row',1,'Y');

1138: and quote_line_id = l_qte_ln_rec.quote_line_id;
1139:
1140: ELSIF l_payment_id IS NULL AND l_substitution_value_to IS NOT NULL THEN
1141: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1142: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment Record Exists...Before Payment Insert Row',1,'Y');
1143: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_substitution_value_to'||l_substitution_value_to,1,'Y');
1144: END IF;
1145: lx_PAYMENT_ID := null;
1146: ASO_PAYMENTS_PKG.Insert_Row(

Line 1143: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_substitution_value_to'||l_substitution_value_to,1,'Y');

1139:
1140: ELSIF l_payment_id IS NULL AND l_substitution_value_to IS NOT NULL THEN
1141: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1142: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment Record Exists...Before Payment Insert Row',1,'Y');
1143: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_substitution_value_to'||l_substitution_value_to,1,'Y');
1144: END IF;
1145: lx_PAYMENT_ID := null;
1146: ASO_PAYMENTS_PKG.Insert_Row(
1147: px_PAYMENT_ID => lx_PAYMENT_ID,

Line 1198: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Payment Insert Row...Payment_ID :'||NVL(lx_payment_id,0),1,'Y');

1194: p_CUST_PO_LINE_NUMBER => l_payment_rec.CUST_PO_LINE_NUMBER, -- Line Payments Change
1195: p_TRXN_EXTENSION_ID => l_payment_rec.TRXN_EXTENSION_ID
1196: );
1197: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1198: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Payment Insert Row...Payment_ID :'||NVL(lx_payment_id,0),1,'Y');
1199: END IF;
1200: END IF;
1201:
1202: l_req_ship_method_code := NULL;

Line 1208: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_ship_method_code: '||NVL(l_req_ship_method_code,0),1,'Y');

1204:
1205: OPEN c_ln_smc_tsn(l_qte_ln_rec.quote_line_id);
1206: FETCH c_ln_smc_tsn INTO l_req_ship_method_code;
1207: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1208: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_ship_method_code: '||NVL(l_req_ship_method_code,0),1,'Y');
1209: END IF;
1210:
1211: IF l_req_ship_method_code IS NULL THEN
1212: CLOSE c_ln_smc_tsn;

Line 1214: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Ship Method Code TSN exists hence update with From value...',1,'Y');

1210:
1211: IF l_req_ship_method_code IS NULL THEN
1212: CLOSE c_ln_smc_tsn;
1213: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1214: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Ship Method Code TSN exists hence update with From value...',1,'Y');
1215: END IF;
1216: UPDATE ASO_SHIPMENTS aso
1217: SET aso.ship_method_code = ship_method_code_from
1218: WHERE aso.quote_header_id = p_quote_header_id

Line 1224: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');

1220: AND aso.quote_line_id = l_qte_ln_rec.quote_line_id
1221: AND (l_qte_ln_rec.quote_line_id IS NOT NULL AND l_qte_ln_rec.quote_line_id <> FND_API.G_MISS_NUM)
1222: AND aso.quote_line_id IS NOT NULL;
1223: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1224: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1225: END IF;
1226: ELSE
1227: CLOSE c_ln_smc_tsn;
1228: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 1229: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Line Level Shipment TSN exists...',1,'Y');

1225: END IF;
1226: ELSE
1227: CLOSE c_ln_smc_tsn;
1228: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1229: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Line Level Shipment TSN exists...',1,'Y');
1230: END IF;
1231: UPDATE ASO_SHIPMENTS aso
1232: SET aso.ship_method_code = l_req_ship_method_code
1233: WHERE aso.quote_header_id = p_quote_header_id

Line 1241: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');

1237: AND aso.quote_line_id IS NOT NULL
1238: AND ('S' = (ASO_VALIDATE_PVT.Validate_ShipMethods('T', l_req_ship_method_code,
1239: aso.ship_from_org_id, p_quote_header_id, l_qte_ln_rec.quote_line_id)));
1240: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1241: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1242: END IF;
1243: END IF; -- l_req_ship_method_code IS NULL or NOT check.
1244:
1245:

Line 1249: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_freight_terms_code: '||NVL(l_req_freight_terms_code,0),1,'Y');

1245:
1246: OPEN c_ln_ftc_tsn(l_qte_ln_rec.quote_line_id);
1247: FETCH c_ln_ftc_tsn INTO l_req_freight_terms_code;
1248: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1249: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_freight_terms_code: '||NVL(l_req_freight_terms_code,0),1,'Y');
1250: END IF;
1251:
1252: IF l_req_freight_terms_code IS NULL THEN
1253: CLOSE c_ln_ftc_tsn;

Line 1255: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Freight Terms Code TSN exists hence update with From value...',1,'Y');

1251:
1252: IF l_req_freight_terms_code IS NULL THEN
1253: CLOSE c_ln_ftc_tsn;
1254: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1255: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Freight Terms Code TSN exists hence update with From value...',1,'Y');
1256: END IF;
1257: UPDATE ASO_SHIPMENTS aso
1258: SET aso.freight_terms_code = freight_terms_code_from
1259: WHERE aso.quote_header_id = p_quote_header_id

Line 1265: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');

1261: AND aso.quote_line_id = l_qte_ln_rec.quote_line_id
1262: AND (l_qte_ln_rec.quote_line_id IS NOT NULL AND l_qte_ln_rec.quote_line_id <> FND_API.G_MISS_NUM)
1263: AND aso.quote_line_id IS NOT NULL;
1264: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1265: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1266: END IF;
1267: ELSE
1268: CLOSE c_ln_ftc_tsn;
1269: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 1270: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Line Level Freight TSN exists...',1,'Y');

1266: END IF;
1267: ELSE
1268: CLOSE c_ln_ftc_tsn;
1269: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1270: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Line Level Freight TSN exists...',1,'Y');
1271: END IF;
1272: UPDATE ASO_SHIPMENTS aso
1273: SET aso.freight_terms_code = l_req_freight_terms_code
1274: WHERE aso.quote_header_id = p_quote_header_id

Line 1280: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');

1276: AND aso.quote_line_id = l_qte_ln_rec.quote_line_id
1277: AND (l_qte_ln_rec.quote_line_id IS NOT NULL AND l_qte_ln_rec.quote_line_id <> FND_API.G_MISS_NUM)
1278: AND aso.quote_line_id IS NOT NULL;
1279: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1280: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1281: END IF;
1282: END IF; -- l_req_freight_terms_code IS NULL or not check.
1283:
1284: END LOOP; -- for c_qte_lines.

Line 1292: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_ln_rec.quote_line_id: '||NVL(l_qte_ln_rec.quote_line_id,0),1,'Y');

1288: /*We will only change the TSN for the free lines only*/
1289:
1290: FOR l_qte_ln_rec IN c_get_free_lines LOOP
1291: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1292: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_ln_rec.quote_line_id: '||NVL(l_qte_ln_rec.quote_line_id,0),1,'Y');
1293: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1294: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1295: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1296: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');

Line 1293: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');

1289:
1290: FOR l_qte_ln_rec IN c_get_free_lines LOOP
1291: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1292: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_ln_rec.quote_line_id: '||NVL(l_qte_ln_rec.quote_line_id,0),1,'Y');
1293: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1294: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1295: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1296: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1297: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');

Line 1295: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');

1291: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1292: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_ln_rec.quote_line_id: '||NVL(l_qte_ln_rec.quote_line_id,0),1,'Y');
1293: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1294: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1295: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1296: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1297: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1298: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1299: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');

Line 1296: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');

1292: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_ln_rec.quote_line_id: '||NVL(l_qte_ln_rec.quote_line_id,0),1,'Y');
1293: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1294: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1295: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1296: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1297: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1298: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1299: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1300: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');

Line 1297: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');

1293: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1294: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1295: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1296: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1297: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1298: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1299: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1300: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1301: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');

Line 1298: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');

1294: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1295: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1296: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1297: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1298: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1299: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1300: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1301: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1302: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');

Line 1299: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');

1295: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1296: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1297: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1298: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1299: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1300: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1301: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1302: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1303: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');

Line 1300: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');

1296: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1297: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1298: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1299: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1300: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1301: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1302: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1303: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1304: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');

Line 1301: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');

1297: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1298: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1299: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1300: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1301: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1302: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1303: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1304: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1305: END LOOP;

Line 1302: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');

1298: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1299: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1300: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1301: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1302: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1303: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1304: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1305: END LOOP;
1306: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');

Line 1303: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');

1299: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1300: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1301: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1302: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1303: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1304: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1305: END LOOP;
1306: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');
1307: END IF;

Line 1304: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');

1300: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1301: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.created_from_list_line_type :'||NVL(ln_rec.created_from_list_line_type,'null'),1,'Y');
1302: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1303: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1304: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1305: END LOOP;
1306: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');
1307: END IF;
1308: --Line level Payment TSN starts here for free good line

Line 1306: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');

1302: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1303: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1304: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1305: END LOOP;
1306: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');
1307: END IF;
1308: --Line level Payment TSN starts here for free good line
1309:
1310: OPEN c_line_pyt_exists(l_qte_ln_rec.quote_line_id);

Line 1314: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Line l_payment_id :'||NVL(l_payment_id,0),1,'Y');

1310: OPEN c_line_pyt_exists(l_qte_ln_rec.quote_line_id);
1311: FETCH c_line_pyt_exists INTO l_payment_id;
1312: CLOSE c_line_pyt_exists;
1313: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1314: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Line l_payment_id :'||NVL(l_payment_id,0),1,'Y');
1315: END IF;
1316: OPen c_line_pyt_tsn(l_qte_ln_rec.quote_line_id);
1317: fetch c_line_pyt_tsn into l_substitution_value_to;
1318: close c_line_pyt_tsn;

Line 1322: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Line l_substitution_value_to: '||NVL(l_substitution_value_to,0),1,'Y');

1318: close c_line_pyt_tsn;
1319:
1320:
1321: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1322: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Line l_substitution_value_to: '||NVL(l_substitution_value_to,0),1,'Y');
1323: END IF;
1324:
1325:
1326: IF l_substitution_value_to IS NULL AND l_payment_id IS NOT NULL THEN

Line 1329: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment TSN exists hence update with from value...',1,'Y');

1325:
1326: IF l_substitution_value_to IS NULL AND l_payment_id IS NOT NULL THEN
1327:
1328: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1329: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment TSN exists hence update with from value...',1,'Y');
1330: END IF;
1331:
1332: UPDATE ASO_PAYMENTS
1333: SET payment_term_id = payment_term_id_from

Line 1338: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Payment Rows Updated : '||sql%ROWCOUNT,1,'Y');

1334: WHERE quote_header_id = p_quote_header_id
1335: AND quote_line_id = l_qte_ln_rec.quote_line_id;
1336:
1337: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1338: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Payment Rows Updated : '||sql%ROWCOUNT,1,'Y');
1339: END IF;
1340:
1341: ELSIF l_substitution_value_to IS NOT NULL AND l_payment_id IS NOT NULL THEN
1342: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 1343: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Inside ELSIF l_substitution_value_to IS NOT NULLAND l_payment_id IS NOT NULL:',1,'Y');

1339: END IF;
1340:
1341: ELSIF l_substitution_value_to IS NOT NULL AND l_payment_id IS NOT NULL THEN
1342: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1343: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Inside ELSIF l_substitution_value_to IS NOT NULLAND l_payment_id IS NOT NULL:',1,'Y');
1344: END IF;
1345: UPDATE ASO_PAYMENTS
1346: SET payment_term_id = l_substitution_value_to
1347: WHERE quote_header_id = p_quote_header_id

Line 1352: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment Record Exists...Before Payment Insert Row',1,'Y');

1348: and quote_line_id = l_qte_ln_rec.quote_line_id;
1349:
1350: ELSIF l_payment_id IS NULL AND l_substitution_value_to IS NOT NULL THEN
1351: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1352: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment Record Exists...Before Payment Insert Row',1,'Y');
1353: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_substitution_value_to'||l_substitution_value_to,1,'Y');
1354: END IF;
1355: lx_PAYMENT_ID := null;
1356: ASO_PAYMENTS_PKG.Insert_Row(

Line 1353: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_substitution_value_to'||l_substitution_value_to,1,'Y');

1349:
1350: ELSIF l_payment_id IS NULL AND l_substitution_value_to IS NOT NULL THEN
1351: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1352: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment Record Exists...Before Payment Insert Row',1,'Y');
1353: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_substitution_value_to'||l_substitution_value_to,1,'Y');
1354: END IF;
1355: lx_PAYMENT_ID := null;
1356: ASO_PAYMENTS_PKG.Insert_Row(
1357: px_PAYMENT_ID => lx_PAYMENT_ID,

Line 1408: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Payment Insert Row...Payment_ID :'||NVL(lx_payment_id,0),1,'Y');

1404: p_CUST_PO_LINE_NUMBER => l_payment_rec.CUST_PO_LINE_NUMBER, -- Line Payments Change
1405: p_TRXN_EXTENSION_ID => l_payment_rec.TRXN_EXTENSION_ID
1406: );
1407: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1408: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Payment Insert Row...Payment_ID :'||NVL(lx_payment_id,0),1,'Y');
1409: END IF;
1410: END IF;
1411:
1412: l_req_ship_method_code := NULL;

Line 1418: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_ship_method_code: '||NVL(l_req_ship_method_code,0),1,'Y');

1414:
1415: OPEN c_ln_smc_tsn(l_qte_ln_rec.quote_line_id);
1416: FETCH c_ln_smc_tsn INTO l_req_ship_method_code;
1417: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1418: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_ship_method_code: '||NVL(l_req_ship_method_code,0),1,'Y');
1419: END IF;
1420:
1421: IF l_req_ship_method_code IS NULL THEN
1422: CLOSE c_ln_smc_tsn;

Line 1424: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Ship Method Code TSN exists hence update with From value...',1,'Y');

1420:
1421: IF l_req_ship_method_code IS NULL THEN
1422: CLOSE c_ln_smc_tsn;
1423: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1424: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Ship Method Code TSN exists hence update with From value...',1,'Y');
1425: END IF;
1426: UPDATE ASO_SHIPMENTS aso
1427: SET aso.ship_method_code = ship_method_code_from
1428: WHERE aso.quote_header_id = p_quote_header_id

Line 1434: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');

1430: AND aso.quote_line_id = l_qte_ln_rec.quote_line_id
1431: AND (l_qte_ln_rec.quote_line_id IS NOT NULL AND l_qte_ln_rec.quote_line_id <> FND_API.G_MISS_NUM)
1432: AND aso.quote_line_id IS NOT NULL;
1433: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1434: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1435: END IF;
1436: ELSE
1437: CLOSE c_ln_smc_tsn;
1438: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 1439: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Line Level Shipment TSN exists...',1,'Y');

1435: END IF;
1436: ELSE
1437: CLOSE c_ln_smc_tsn;
1438: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1439: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Line Level Shipment TSN exists...',1,'Y');
1440: END IF;
1441: UPDATE ASO_SHIPMENTS aso
1442: SET aso.ship_method_code = l_req_ship_method_code
1443: WHERE aso.quote_header_id = p_quote_header_id

Line 1451: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');

1447: AND aso.quote_line_id IS NOT NULL
1448: AND ('S' = (ASO_VALIDATE_PVT.Validate_ShipMethods('T', l_req_ship_method_code,
1449: aso.ship_from_org_id, p_quote_header_id, l_qte_ln_rec.quote_line_id)));
1450: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1451: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1452: END IF;
1453: END IF; -- l_req_ship_method_code IS NULL or NOT check.
1454:
1455:

Line 1459: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_freight_terms_code: '||NVL(l_req_freight_terms_code,0),1,'Y');

1455:
1456: OPEN c_ln_ftc_tsn(l_qte_ln_rec.quote_line_id);
1457: FETCH c_ln_ftc_tsn INTO l_req_freight_terms_code;
1458: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1459: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_freight_terms_code: '||NVL(l_req_freight_terms_code,0),1,'Y');
1460: END IF;
1461:
1462: IF l_req_freight_terms_code IS NULL THEN
1463: CLOSE c_ln_ftc_tsn;

Line 1465: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Freight Terms Code TSN exists hence update with From value...',1,'Y');

1461:
1462: IF l_req_freight_terms_code IS NULL THEN
1463: CLOSE c_ln_ftc_tsn;
1464: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1465: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Freight Terms Code TSN exists hence update with From value...',1,'Y');
1466: END IF;
1467: UPDATE ASO_SHIPMENTS aso
1468: SET aso.freight_terms_code = freight_terms_code_from
1469: WHERE aso.quote_header_id = p_quote_header_id

Line 1475: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');

1471: AND aso.quote_line_id = l_qte_ln_rec.quote_line_id
1472: AND (l_qte_ln_rec.quote_line_id IS NOT NULL AND l_qte_ln_rec.quote_line_id <> FND_API.G_MISS_NUM)
1473: AND aso.quote_line_id IS NOT NULL;
1474: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1475: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1476: END IF;
1477: ELSE
1478: CLOSE c_ln_ftc_tsn;
1479: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 1480: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Line Level Freight TSN exists...',1,'Y');

1476: END IF;
1477: ELSE
1478: CLOSE c_ln_ftc_tsn;
1479: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1480: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Line Level Freight TSN exists...',1,'Y');
1481: END IF;
1482: UPDATE ASO_SHIPMENTS aso
1483: SET aso.freight_terms_code = l_req_freight_terms_code
1484: WHERE aso.quote_header_id = p_quote_header_id

Line 1490: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');

1486: AND aso.quote_line_id = l_qte_ln_rec.quote_line_id
1487: AND (l_qte_ln_rec.quote_line_id IS NOT NULL AND l_qte_ln_rec.quote_line_id <> FND_API.G_MISS_NUM)
1488: AND aso.quote_line_id IS NOT NULL;
1489: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1490: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1491: END IF;
1492: END IF; -- l_req_freight_terms_code IS NULL or not check.
1493:
1494: END LOOP; -- for c_get_free_lines

Line 1500: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Ends Here...',1,'Y');

1496:
1497: End If;--If p_insert_type = 'HDR'
1498:
1499: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1500: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Ends Here...',1,'Y');
1501: END IF;
1502: END PROCESS_LN_TSN;
1503:
1504: -- The above two procedures are for TSN processing...

Line 1678: aso_debug_pub.add('ASO_PRICING_CORE_PVT: In Direct Insert Append_Asked_for',1,'Y');

1674: l_line_index NUMBER;
1675:
1676: begin
1677: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1678: aso_debug_pub.add('ASO_PRICING_CORE_PVT: In Direct Insert Append_Asked_for',1,'Y');
1679: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Direct Insert Append_Ask_for - Global_Header_Rec.quote_status_id:'
1680: ||ASO_PRICING_INT.G_HEADER_REC.quote_status_id,1,'Y');
1681: END IF;
1682:

Line 1679: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Direct Insert Append_Ask_for - Global_Header_Rec.quote_status_id:'

1675:
1676: begin
1677: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1678: aso_debug_pub.add('ASO_PRICING_CORE_PVT: In Direct Insert Append_Asked_for',1,'Y');
1679: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Direct Insert Append_Ask_for - Global_Header_Rec.quote_status_id:'
1680: ||ASO_PRICING_INT.G_HEADER_REC.quote_status_id,1,'Y');
1681: END IF;
1682:
1683: l_line_index := p_price_line_index;

Line 1688: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_CONTEXT:'

1684:
1685: l_counter := px_index_counter;
1686: for asked_for_rec in asked_for_cur loop
1687: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1688: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_CONTEXT:'
1689: ||asked_for_rec.PRICING_CONTEXT,1,'Y');
1690: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.flex_title:'
1691: ||asked_for_rec.flex_title,1,'Y');
1692: END IF;

Line 1690: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.flex_title:'

1686: for asked_for_rec in asked_for_cur loop
1687: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1688: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_CONTEXT:'
1689: ||asked_for_rec.PRICING_CONTEXT,1,'Y');
1690: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.flex_title:'
1691: ||asked_for_rec.flex_title,1,'Y');
1692: END IF;
1693:
1694: If asked_for_rec.flex_title = 'QP_ATTR_DEFNS_PRICING' then

Line 1697: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE1:'

1693:
1694: If asked_for_rec.flex_title = 'QP_ATTR_DEFNS_PRICING' then
1695: if asked_for_rec.PRICING_ATTRIBUTE1 is not null then
1696: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1697: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE1:'
1698: ||asked_for_rec.PRICING_ATTRIBUTE1,1,'Y');
1699: END IF;
1700:
1701: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 1742: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE2:'

1738:
1739: end if;
1740: if asked_for_rec.PRICING_ATTRIBUTE2 is not null then
1741: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1742: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE2:'
1743: ||asked_for_rec.PRICING_ATTRIBUTE2,1,'Y');
1744: END IF;
1745:
1746: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 1787: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE3:'

1783:
1784: end if;
1785: if asked_for_rec.PRICING_ATTRIBUTE3 is not null then
1786: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1787: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE3:'
1788: ||asked_for_rec.PRICING_ATTRIBUTE3,1,'Y');
1789: END IF;
1790:
1791: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 1832: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE4:'

1828:
1829: end if;
1830: if asked_for_rec.PRICING_ATTRIBUTE4 is not null then
1831: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1832: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE4:'
1833: ||asked_for_rec.PRICING_ATTRIBUTE4,1,'Y');
1834: END IF;
1835:
1836: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 1877: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE5:'

1873:
1874: end if;
1875: if asked_for_rec.PRICING_ATTRIBUTE5 is not null then
1876: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1877: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE5:'
1878: ||asked_for_rec.PRICING_ATTRIBUTE5,1,'Y');
1879: END IF;
1880:
1881: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 1922: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE6:'

1918:
1919: end if;
1920: if asked_for_rec.PRICING_ATTRIBUTE6 is not null then
1921: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1922: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE6:'
1923: ||asked_for_rec.PRICING_ATTRIBUTE6,1,'Y');
1924: END IF;
1925:
1926: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 1967: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE7:'

1963:
1964: end if;
1965: if asked_for_rec.PRICING_ATTRIBUTE7 is not null then
1966: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1967: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE7:'
1968: ||asked_for_rec.PRICING_ATTRIBUTE7,1,'Y');
1969: END IF;
1970:
1971: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2012: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE8:'

2008:
2009: end if;
2010: if asked_for_rec.PRICING_ATTRIBUTE8 is not null then
2011: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2012: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE8:'
2013: ||asked_for_rec.PRICING_ATTRIBUTE8,1,'Y');
2014: END IF;
2015:
2016: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2057: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE9:'

2053:
2054: end if;
2055: if asked_for_rec.PRICING_ATTRIBUTE9 is not null then
2056: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2057: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE9:'
2058: ||asked_for_rec.PRICING_ATTRIBUTE9,1,'Y');
2059: END IF;
2060:
2061: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE10:'

2098:
2099: end if;
2100: if asked_for_rec.PRICING_ATTRIBUTE10 is not null then
2101: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE10:'
2103: ||asked_for_rec.PRICING_ATTRIBUTE10,1,'Y');
2104: END IF;
2105:
2106: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2147: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE11:'

2143:
2144: end if;
2145: if asked_for_rec.PRICING_ATTRIBUTE11 is not null then
2146: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2147: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE11:'
2148: ||asked_for_rec.PRICING_ATTRIBUTE11,1,'Y');
2149: END IF;
2150:
2151: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2192: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE12:'

2188:
2189: end if;
2190: if asked_for_rec.PRICING_ATTRIBUTE12 is not null then
2191: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2192: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE12:'
2193: ||asked_for_rec.PRICING_ATTRIBUTE12,1,'Y');
2194: END IF;
2195:
2196: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2237: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE13:'

2233:
2234: end if;
2235: if asked_for_rec.PRICING_ATTRIBUTE13 is not null then
2236: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2237: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE13:'
2238: ||asked_for_rec.PRICING_ATTRIBUTE13,1,'Y');
2239: END IF;
2240:
2241: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2282: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE14:'

2278:
2279: end if;
2280: if asked_for_rec.PRICING_ATTRIBUTE14 is not null then
2281: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2282: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE14:'
2283: ||asked_for_rec.PRICING_ATTRIBUTE14,1,'Y');
2284: END IF;
2285:
2286: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2327: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE15:'

2323:
2324: end if;
2325: if asked_for_rec.PRICING_ATTRIBUTE15 is not null then
2326: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2327: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE15:'
2328: ||asked_for_rec.PRICING_ATTRIBUTE15,1,'Y');
2329: END IF;
2330:
2331: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2372: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE16:'

2368:
2369: end if;
2370: if asked_for_rec.PRICING_ATTRIBUTE16 is not null then
2371: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2372: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE16:'
2373: ||asked_for_rec.PRICING_ATTRIBUTE16,1,'Y');
2374: END IF;
2375:
2376: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2417: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE17:'

2413:
2414: end if;
2415: if asked_for_rec.PRICING_ATTRIBUTE17 is not null then
2416: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2417: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE17:'
2418: ||asked_for_rec.PRICING_ATTRIBUTE17,1,'Y');
2419: END IF;
2420:
2421: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2462: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE18:'

2458:
2459: end if;
2460: if asked_for_rec.PRICING_ATTRIBUTE18 is not null then
2461: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2462: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE18:'
2463: ||asked_for_rec.PRICING_ATTRIBUTE18,1,'Y');
2464: END IF;
2465:
2466: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2507: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE19:'

2503:
2504: end if;
2505: if asked_for_rec.PRICING_ATTRIBUTE19 is not null then
2506: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2507: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE19:'
2508: ||asked_for_rec.PRICING_ATTRIBUTE19,1,'Y');
2509: END IF;
2510:
2511: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2552: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE20:'

2548:
2549: end if;
2550: if asked_for_rec.PRICING_ATTRIBUTE20 is not null then
2551: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2552: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE20:'
2553: ||asked_for_rec.PRICING_ATTRIBUTE20,1,'Y');
2554: END IF;
2555:
2556: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2597: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE21:'

2593:
2594: end if;
2595: if asked_for_rec.PRICING_ATTRIBUTE21 is not null then
2596: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2597: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE21:'
2598: ||asked_for_rec.PRICING_ATTRIBUTE20,1,'Y');
2599: END IF;
2600:
2601: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2642: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE22:'

2638:
2639: end if;
2640: if asked_for_rec.PRICING_ATTRIBUTE22 is not null then
2641: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2642: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE22:'
2643: ||asked_for_rec.PRICING_ATTRIBUTE22,1,'Y');
2644: END IF;
2645:
2646: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2687: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE23:'

2683:
2684: end if;
2685: if asked_for_rec.PRICING_ATTRIBUTE23 is not null then
2686: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2687: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE23:'
2688: ||asked_for_rec.PRICING_ATTRIBUTE23,1,'Y');
2689: END IF;
2690:
2691: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2732: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE24:'

2728:
2729: end if;
2730: if asked_for_rec.PRICING_ATTRIBUTE24 is not null then
2731: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2732: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE24:'
2733: ||asked_for_rec.PRICING_ATTRIBUTE24,1,'Y');
2734: END IF;
2735:
2736: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2777: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE25:'

2773:
2774: end if;
2775: if asked_for_rec.PRICING_ATTRIBUTE25 is not null then
2776: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2777: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE25:'
2778: ||asked_for_rec.PRICING_ATTRIBUTE25,1,'Y');
2779: END IF;
2780:
2781: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2822: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE26:'

2818:
2819: end if;
2820: if asked_for_rec.PRICING_ATTRIBUTE26 is not null then
2821: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2822: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE26:'
2823: ||asked_for_rec.PRICING_ATTRIBUTE26,1,'Y');
2824: END IF;
2825:
2826: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2867: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE27:'

2863:
2864: end if;
2865: if asked_for_rec.PRICING_ATTRIBUTE27 is not null then
2866: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2867: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE27:'
2868: ||asked_for_rec.PRICING_ATTRIBUTE27,1,'Y');
2869: END IF;
2870:
2871: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2912: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE28:'

2908:
2909: end if;
2910: if asked_for_rec.PRICING_ATTRIBUTE28 is not null then
2911: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2912: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE28:'
2913: ||asked_for_rec.PRICING_ATTRIBUTE28,1,'Y');
2914: END IF;
2915:
2916: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 2957: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE29:'

2953:
2954: end if;
2955: if asked_for_rec.PRICING_ATTRIBUTE29 is not null then
2956: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2957: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE29:'
2958: ||asked_for_rec.PRICING_ATTRIBUTE29,1,'Y');
2959: END IF;
2960:
2961: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3002: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE30:'

2998:
2999: end if;
3000: if asked_for_rec.PRICING_ATTRIBUTE30 is not null then
3001: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3002: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE30:'
3003: ||asked_for_rec.PRICING_ATTRIBUTE30,1,'Y');
3004: END IF;
3005:
3006: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3047: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE31:'

3043:
3044: end if;
3045: if asked_for_rec.PRICING_ATTRIBUTE31 is not null then
3046: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3047: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE31:'
3048: ||asked_for_rec.PRICING_ATTRIBUTE31,1,'Y');
3049: END IF;
3050:
3051: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3092: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE32:'

3088:
3089: end if;
3090: if asked_for_rec.PRICING_ATTRIBUTE32 is not null then
3091: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3092: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE32:'
3093: ||asked_for_rec.PRICING_ATTRIBUTE32,1,'Y');
3094: END IF;
3095:
3096: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3137: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE33:'

3133:
3134: end if;
3135: if asked_for_rec.PRICING_ATTRIBUTE33 is not null then
3136: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3137: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE33:'
3138: ||asked_for_rec.PRICING_ATTRIBUTE33,1,'Y');
3139: END IF;
3140:
3141: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3182: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE34:'

3178:
3179: end if;
3180: if asked_for_rec.PRICING_ATTRIBUTE34 is not null then
3181: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3182: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE34:'
3183: ||asked_for_rec.PRICING_ATTRIBUTE34,1,'Y');
3184: END IF;
3185:
3186: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3227: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE35:'

3223:
3224: end if;
3225: if asked_for_rec.PRICING_ATTRIBUTE35 is not null then
3226: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3227: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE35:'
3228: ||asked_for_rec.PRICING_ATTRIBUTE35,1,'Y');
3229: END IF;
3230:
3231: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3272: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE36:'

3268:
3269: end if;
3270: if asked_for_rec.PRICING_ATTRIBUTE36 is not null then
3271: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3272: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE36:'
3273: ||asked_for_rec.PRICING_ATTRIBUTE36,1,'Y');
3274: END IF;
3275:
3276: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3317: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE37:'

3313:
3314: end if;
3315: if asked_for_rec.PRICING_ATTRIBUTE37 is not null then
3316: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3317: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE37:'
3318: ||asked_for_rec.PRICING_ATTRIBUTE37,1,'Y');
3319: END IF;
3320:
3321: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3362: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE38:'

3358:
3359: end if;
3360: if asked_for_rec.PRICING_ATTRIBUTE38 is not null then
3361: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3362: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE38:'
3363: ||asked_for_rec.PRICING_ATTRIBUTE38,1,'Y');
3364: END IF;
3365:
3366: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3407: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE39:'

3403:
3404: end if;
3405: if asked_for_rec.PRICING_ATTRIBUTE39 is not null then
3406: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3407: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE39:'
3408: ||asked_for_rec.PRICING_ATTRIBUTE39,1,'Y');
3409: END IF;
3410:
3411: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3452: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE40:'

3448:
3449: end if;
3450: if asked_for_rec.PRICING_ATTRIBUTE40 is not null then
3451: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3452: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE40:'
3453: ||asked_for_rec.PRICING_ATTRIBUTE40,1,'Y');
3454: END IF;
3455:
3456: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3497: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE41:'

3493:
3494: end if;
3495: if asked_for_rec.PRICING_ATTRIBUTE41 is not null then
3496: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3497: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE41:'
3498: ||asked_for_rec.PRICING_ATTRIBUTE41,1,'Y');
3499: END IF;
3500:
3501: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3542: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE42:'

3538:
3539: end if;
3540: if asked_for_rec.PRICING_ATTRIBUTE42 is not null then
3541: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3542: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE42:'
3543: ||asked_for_rec.PRICING_ATTRIBUTE42,1,'Y');
3544: END IF;
3545:
3546: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3587: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE43:'

3583:
3584: end if;
3585: if asked_for_rec.PRICING_ATTRIBUTE43 is not null then
3586: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3587: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE43:'
3588: ||asked_for_rec.PRICING_ATTRIBUTE43,1,'Y');
3589: END IF;
3590:
3591: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3632: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE44:'

3628:
3629: end if;
3630: if asked_for_rec.PRICING_ATTRIBUTE44 is not null then
3631: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3632: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE44:'
3633: ||asked_for_rec.PRICING_ATTRIBUTE44,1,'Y');
3634: END IF;
3635:
3636: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3677: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE45:'

3673:
3674: end if;
3675: if asked_for_rec.PRICING_ATTRIBUTE45 is not null then
3676: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3677: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE45:'
3678: ||asked_for_rec.PRICING_ATTRIBUTE45,1,'Y');
3679: END IF;
3680:
3681: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3722: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE46:'

3718:
3719: end if;
3720: if asked_for_rec.PRICING_ATTRIBUTE46 is not null then
3721: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3722: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE46:'
3723: ||asked_for_rec.PRICING_ATTRIBUTE46,1,'Y');
3724: END IF;
3725:
3726: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3767: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE47:'

3763:
3764: end if;
3765: if asked_for_rec.PRICING_ATTRIBUTE47 is not null then
3766: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3767: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE47:'
3768: ||asked_for_rec.PRICING_ATTRIBUTE47,1,'Y');
3769: END IF;
3770:
3771: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3812: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE48:'

3808:
3809: end if;
3810: if asked_for_rec.PRICING_ATTRIBUTE48 is not null then
3811: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3812: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE48:'
3813: ||asked_for_rec.PRICING_ATTRIBUTE48,1,'Y');
3814: END IF;
3815:
3816: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3857: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE49:'

3853:
3854: end if;
3855: if asked_for_rec.PRICING_ATTRIBUTE49 is not null then
3856: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3857: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE49:'
3858: ||asked_for_rec.PRICING_ATTRIBUTE49,1,'Y');
3859: END IF;
3860:
3861: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3902: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE50:'

3898:
3899: end if;
3900: if asked_for_rec.PRICING_ATTRIBUTE50 is not null then
3901: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3902: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE50:'
3903: ||asked_for_rec.PRICING_ATTRIBUTE50,1,'Y');
3904: END IF;
3905:
3906: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3947: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE51:'

3943:
3944: end if;
3945: if asked_for_rec.PRICING_ATTRIBUTE51 is not null then
3946: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3947: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE51:'
3948: ||asked_for_rec.PRICING_ATTRIBUTE51,1,'Y');
3949: END IF;
3950:
3951: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 3992: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE52:'

3988:
3989: end if;
3990: if asked_for_rec.PRICING_ATTRIBUTE52 is not null then
3991: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3992: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE52:'
3993: ||asked_for_rec.PRICING_ATTRIBUTE52,1,'Y');
3994: END IF;
3995:
3996: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4037: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE53:'

4033:
4034: end if;
4035: if asked_for_rec.PRICING_ATTRIBUTE53 is not null then
4036: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4037: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE53:'
4038: ||asked_for_rec.PRICING_ATTRIBUTE53,1,'Y');
4039: END IF;
4040:
4041: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4082: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE54:'

4078:
4079: end if;
4080: if asked_for_rec.PRICING_ATTRIBUTE54 is not null then
4081: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4082: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE54:'
4083: ||asked_for_rec.PRICING_ATTRIBUTE54,1,'Y');
4084: END IF;
4085:
4086: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4127: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE55:'

4123:
4124: end if;
4125: if asked_for_rec.PRICING_ATTRIBUTE55 is not null then
4126: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4127: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE55:'
4128: ||asked_for_rec.PRICING_ATTRIBUTE55,1,'Y');
4129: END IF;
4130:
4131: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4172: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE56:'

4168:
4169: end if;
4170: if asked_for_rec.PRICING_ATTRIBUTE56 is not null then
4171: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4172: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE56:'
4173: ||asked_for_rec.PRICING_ATTRIBUTE56,1,'Y');
4174: END IF;
4175:
4176: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4217: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE57:'

4213:
4214: end if;
4215: if asked_for_rec.PRICING_ATTRIBUTE57 is not null then
4216: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4217: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE57:'
4218: ||asked_for_rec.PRICING_ATTRIBUTE57,1,'Y');
4219: END IF;
4220:
4221: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4262: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE58:'

4258:
4259: end if;
4260: if asked_for_rec.PRICING_ATTRIBUTE58 is not null then
4261: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4262: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE58:'
4263: ||asked_for_rec.PRICING_ATTRIBUTE58,1,'Y');
4264: END IF;
4265:
4266: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4307: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE59:'

4303:
4304: end if;
4305: if asked_for_rec.PRICING_ATTRIBUTE59 is not null then
4306: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4307: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE59:'
4308: ||asked_for_rec.PRICING_ATTRIBUTE59,1,'Y');
4309: END IF;
4310:
4311: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index ;

Line 4353: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE60:'

4349: end if;
4350:
4351: if asked_for_rec.PRICING_ATTRIBUTE60 is not null then
4352: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4353: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE60:'
4354: ||asked_for_rec.PRICING_ATTRIBUTE60,1,'Y');
4355: END IF;
4356:
4357: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4398: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE61:'

4394:
4395: end if;
4396: if asked_for_rec.PRICING_ATTRIBUTE61 is not null then
4397: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4398: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE61:'
4399: ||asked_for_rec.PRICING_ATTRIBUTE61,1,'Y');
4400: END IF;
4401:
4402: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4443: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE62:'

4439:
4440: end if;
4441: if asked_for_rec.PRICING_ATTRIBUTE62 is not null then
4442: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4443: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE62:'
4444: ||asked_for_rec.PRICING_ATTRIBUTE62,1,'Y');
4445: END IF;
4446:
4447: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4488: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE63:'

4484:
4485: end if;
4486: if asked_for_rec.PRICING_ATTRIBUTE63 is not null then
4487: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4488: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE63:'
4489: ||asked_for_rec.PRICING_ATTRIBUTE63,1,'Y');
4490: END IF;
4491:
4492: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4533: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE64:'

4529:
4530: end if;
4531: if asked_for_rec.PRICING_ATTRIBUTE64 is not null then
4532: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4533: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE64:'
4534: ||asked_for_rec.PRICING_ATTRIBUTE64,1,'Y');
4535: END IF;
4536:
4537: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4578: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE65:'

4574:
4575: end if;
4576: if asked_for_rec.PRICING_ATTRIBUTE65 is not null then
4577: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4578: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE65:'
4579: ||asked_for_rec.PRICING_ATTRIBUTE65,1,'Y');
4580: END IF;
4581:
4582: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4623: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE66:'

4619:
4620: end if;
4621: if asked_for_rec.PRICING_ATTRIBUTE66 is not null then
4622: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4623: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE66:'
4624: ||asked_for_rec.PRICING_ATTRIBUTE66,1,'Y');
4625: END IF;
4626:
4627: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4668: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE67:'

4664:
4665: end if;
4666: if asked_for_rec.PRICING_ATTRIBUTE67 is not null then
4667: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4668: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE67:'
4669: ||asked_for_rec.PRICING_ATTRIBUTE67,1,'Y');
4670: END IF;
4671:
4672: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4713: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE68:'

4709:
4710: end if;
4711: if asked_for_rec.PRICING_ATTRIBUTE68 is not null then
4712: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4713: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE68:'
4714: ||asked_for_rec.PRICING_ATTRIBUTE68,1,'Y');
4715: END IF;
4716:
4717: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4758: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE69:'

4754:
4755: end if;
4756: if asked_for_rec.PRICING_ATTRIBUTE69 is not null then
4757: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4758: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE69:'
4759: ||asked_for_rec.PRICING_ATTRIBUTE69,1,'Y');
4760: END IF;
4761:
4762: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4803: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE70:'

4799:
4800: end if;
4801: if asked_for_rec.PRICING_ATTRIBUTE70 is not null then
4802: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4803: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE70:'
4804: ||asked_for_rec.PRICING_ATTRIBUTE70,1,'Y');
4805: END IF;
4806:
4807: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4848: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE71:'

4844:
4845: end if;
4846: if asked_for_rec.PRICING_ATTRIBUTE71 is not null then
4847: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4848: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE71:'
4849: ||asked_for_rec.PRICING_ATTRIBUTE71,1,'Y');
4850: END IF;
4851:
4852: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4893: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE72:'

4889:
4890: end if;
4891: if asked_for_rec.PRICING_ATTRIBUTE72 is not null then
4892: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4893: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE72:'
4894: ||asked_for_rec.PRICING_ATTRIBUTE72,1,'Y');
4895: END IF;
4896:
4897: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4938: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE73:'

4934:
4935: end if;
4936: if asked_for_rec.PRICING_ATTRIBUTE73 is not null then
4937: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4938: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE73:'
4939: ||asked_for_rec.PRICING_ATTRIBUTE73,1,'Y');
4940: END IF;
4941:
4942: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 4983: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE74:'

4979:
4980: end if;
4981: if asked_for_rec.PRICING_ATTRIBUTE74 is not null then
4982: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4983: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE74:'
4984: ||asked_for_rec.PRICING_ATTRIBUTE74,1,'Y');
4985: END IF;
4986:
4987: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5028: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE75:'

5024:
5025: end if;
5026: if asked_for_rec.PRICING_ATTRIBUTE75 is not null then
5027: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5028: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE75:'
5029: ||asked_for_rec.PRICING_ATTRIBUTE75,1,'Y');
5030: END IF;
5031:
5032: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5073: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE76:'

5069:
5070: end if;
5071: if asked_for_rec.PRICING_ATTRIBUTE76 is not null then
5072: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5073: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE76:'
5074: ||asked_for_rec.PRICING_ATTRIBUTE76,1,'Y');
5075: END IF;
5076:
5077: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5118: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE77:'

5114:
5115: end if;
5116: if asked_for_rec.PRICING_ATTRIBUTE77 is not null then
5117: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5118: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE77:'
5119: ||asked_for_rec.PRICING_ATTRIBUTE77,1,'Y');
5120: END IF;
5121:
5122: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5163: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE78:'

5159:
5160: end if;
5161: if asked_for_rec.PRICING_ATTRIBUTE78 is not null then
5162: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5163: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE78:'
5164: ||asked_for_rec.PRICING_ATTRIBUTE78,1,'Y');
5165: END IF;
5166:
5167: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5208: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE79:'

5204:
5205: end if;
5206: if asked_for_rec.PRICING_ATTRIBUTE79 is not null then
5207: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5208: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE79:'
5209: ||asked_for_rec.PRICING_ATTRIBUTE79,1,'Y');
5210: END IF;
5211:
5212: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5253: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE80:'

5249:
5250: end if;
5251: if asked_for_rec.PRICING_ATTRIBUTE80 is not null then
5252: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5253: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE80:'
5254: ||asked_for_rec.PRICING_ATTRIBUTE80,1,'Y');
5255: END IF;
5256:
5257: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5298: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE81:'

5294:
5295: end if;
5296: if asked_for_rec.PRICING_ATTRIBUTE81 is not null then
5297: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5298: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE81:'
5299: ||asked_for_rec.PRICING_ATTRIBUTE81,1,'Y');
5300: END IF;
5301:
5302: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5343: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE82:'

5339:
5340: end if;
5341: if asked_for_rec.PRICING_ATTRIBUTE82 is not null then
5342: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5343: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE82:'
5344: ||asked_for_rec.PRICING_ATTRIBUTE82,1,'Y');
5345: END IF;
5346:
5347: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5388: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE83:'

5384:
5385: end if;
5386: if asked_for_rec.PRICING_ATTRIBUTE83 is not null then
5387: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5388: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE83:'
5389: ||asked_for_rec.PRICING_ATTRIBUTE83,1,'Y');
5390: END IF;
5391:
5392: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5433: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE84:'

5429:
5430: end if;
5431: if asked_for_rec.PRICING_ATTRIBUTE84 is not null then
5432: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5433: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE84:'
5434: ||asked_for_rec.PRICING_ATTRIBUTE84,1,'Y');
5435: END IF;
5436:
5437: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5478: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE85:'

5474:
5475: end if;
5476: if asked_for_rec.PRICING_ATTRIBUTE85 is not null then
5477: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5478: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE85:'
5479: ||asked_for_rec.PRICING_ATTRIBUTE85,1,'Y');
5480: END IF;
5481:
5482: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5523: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE86:'

5519:
5520: end if;
5521: if asked_for_rec.PRICING_ATTRIBUTE86 is not null then
5522: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5523: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE86:'
5524: ||asked_for_rec.PRICING_ATTRIBUTE86,1,'Y');
5525: END IF;
5526:
5527: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5568: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE87:'

5564:
5565: end if;
5566: if asked_for_rec.PRICING_ATTRIBUTE87 is not null then
5567: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5568: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE87:'
5569: ||asked_for_rec.PRICING_ATTRIBUTE87,1,'Y');
5570: END IF;
5571:
5572: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5613: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE88:'

5609:
5610: end if;
5611: if asked_for_rec.PRICING_ATTRIBUTE88 is not null then
5612: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5613: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE88:'
5614: ||asked_for_rec.PRICING_ATTRIBUTE88,1,'Y');
5615: END IF;
5616:
5617: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5658: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE89:'

5654:
5655: end if;
5656: if asked_for_rec.PRICING_ATTRIBUTE89 is not null then
5657: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5658: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE89:'
5659: ||asked_for_rec.PRICING_ATTRIBUTE89,1,'Y');
5660: END IF;
5661:
5662: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5703: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE90:'

5699:
5700: end if;
5701: if asked_for_rec.PRICING_ATTRIBUTE90 is not null then
5702: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5703: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE90:'
5704: ||asked_for_rec.PRICING_ATTRIBUTE90,1,'Y');
5705: END IF;
5706:
5707: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5748: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE91:'

5744:
5745: end if;
5746: if asked_for_rec.PRICING_ATTRIBUTE91 is not null then
5747: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5748: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE91:'
5749: ||asked_for_rec.PRICING_ATTRIBUTE91,1,'Y');
5750: END IF;
5751:
5752: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5793: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE92:'

5789:
5790: end if;
5791: if asked_for_rec.PRICING_ATTRIBUTE92 is not null then
5792: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5793: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE92:'
5794: ||asked_for_rec.PRICING_ATTRIBUTE92,1,'Y');
5795: END IF;
5796:
5797: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5838: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE93:'

5834:
5835: end if;
5836: if asked_for_rec.PRICING_ATTRIBUTE93 is not null then
5837: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5838: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE93:'
5839: ||asked_for_rec.PRICING_ATTRIBUTE93,1,'Y');
5840: END IF;
5841:
5842: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5883: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE94:'

5879:
5880: end if;
5881: if asked_for_rec.PRICING_ATTRIBUTE94 is not null then
5882: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5883: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE94:'
5884: ||asked_for_rec.PRICING_ATTRIBUTE94,1,'Y');
5885: END IF;
5886:
5887: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5928: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE95:'

5924:
5925: end if;
5926: if asked_for_rec.PRICING_ATTRIBUTE95 is not null then
5927: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5928: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE95:'
5929: ||asked_for_rec.PRICING_ATTRIBUTE95,1,'Y');
5930: END IF;
5931:
5932: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 5973: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE96:'

5969:
5970: end if;
5971: if asked_for_rec.PRICING_ATTRIBUTE96 is not null then
5972: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5973: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE96:'
5974: ||asked_for_rec.PRICING_ATTRIBUTE96,1,'Y');
5975: END IF;
5976:
5977: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 6018: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE97:'

6014:
6015: end if;
6016: if asked_for_rec.PRICING_ATTRIBUTE97 is not null then
6017: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6018: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE97:'
6019: ||asked_for_rec.PRICING_ATTRIBUTE97,1,'Y');
6020: END IF;
6021:
6022: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 6063: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE98:'

6059:
6060: end if;
6061: if asked_for_rec.PRICING_ATTRIBUTE98 is not null then
6062: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6063: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE98:'
6064: ||asked_for_rec.PRICING_ATTRIBUTE98,1,'Y');
6065: END IF;
6066:
6067: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 6108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE99:'

6104:
6105: end if;
6106: if asked_for_rec.PRICING_ATTRIBUTE99 is not null then
6107: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE99:'
6109: ||asked_for_rec.PRICING_ATTRIBUTE99,1,'Y');
6110: END IF;
6111:
6112: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 6153: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE100:'

6149:
6150: end if;
6151: if asked_for_rec.PRICING_ATTRIBUTE100 is not null then
6152: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6153: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE100:'
6154: ||asked_for_rec.PRICING_ATTRIBUTE100,1,'Y');
6155: END IF;
6156:
6157: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 6202: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE1:'

6198: if p_pricing_event = 'BATCH' then
6199: --added the and condition to accomodate the change made in the forms UI to pass pricing_attribute1 only when pricing_attribute2 is null
6200: if asked_for_rec.PRICING_ATTRIBUTE1 is not null and asked_for_rec.PRICING_ATTRIBUTE2 is null then -- Promotion
6201: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6202: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE1:'
6203: ||asked_for_rec.PRICING_ATTRIBUTE1,1,'Y');
6204: END IF;
6205:
6206: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 6251: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE2:'

6247:
6248: end if;
6249: if asked_for_rec.PRICING_ATTRIBUTE2 is not null then --Deal Component
6250: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6251: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE2:'
6252: ||asked_for_rec.PRICING_ATTRIBUTE2,1,'Y');
6253: END IF;
6254:
6255: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 6300: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE3:'

6296:
6297: end if;
6298: if asked_for_rec.PRICING_ATTRIBUTE3 is not null then -- Coupons
6299: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6300: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE3:'
6301: ||asked_for_rec.PRICING_ATTRIBUTE3,1,'Y');
6302: END IF;
6303:
6304: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

Line 6352: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_counter:'||l_counter,1,'Y');

6348: end if;--asked_for_rec.flex_title = 'QP_ATTR_DEFNS_PRICING'
6349: end loop;
6350: px_index_counter := l_counter;
6351: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6352: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_counter:'||l_counter,1,'Y');
6353: aso_debug_pub.add('ASO_PRICING_CORE_PVT:End of Direct Insert Append_asked_for',1,'Y');
6354: END IF;
6355:
6356: end Append_asked_for;

Line 6353: aso_debug_pub.add('ASO_PRICING_CORE_PVT:End of Direct Insert Append_asked_for',1,'Y');

6349: end loop;
6350: px_index_counter := l_counter;
6351: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6352: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_counter:'||l_counter,1,'Y');
6353: aso_debug_pub.add('ASO_PRICING_CORE_PVT:End of Direct Insert Append_asked_for',1,'Y');
6354: END IF;
6355:
6356: end Append_asked_for;
6357:

Line 6366: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of the direct insert Copy_Header_To_Request',1,'Y');

6362: px_index_counter NUMBER)
6363: IS
6364: BEGIN
6365: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6366: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of the direct insert Copy_Header_To_Request',1,'Y');
6367: aso_debug_pub.add('ASO_PRICING_CORE_PVT: px_index_counter:'||px_index_counter,1,'Y');
6368: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ASO_PRICING_INT.G_HEADER_REC.quote_header_id:'||ASO_PRICING_INT.G_HEADER_REC.quote_header_id,1,'Y');
6369: END IF;
6370: G_LINE_INDEX_TBL(px_index_counter) := p_price_line_index;

Line 6367: aso_debug_pub.add('ASO_PRICING_CORE_PVT: px_index_counter:'||px_index_counter,1,'Y');

6363: IS
6364: BEGIN
6365: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6366: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of the direct insert Copy_Header_To_Request',1,'Y');
6367: aso_debug_pub.add('ASO_PRICING_CORE_PVT: px_index_counter:'||px_index_counter,1,'Y');
6368: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ASO_PRICING_INT.G_HEADER_REC.quote_header_id:'||ASO_PRICING_INT.G_HEADER_REC.quote_header_id,1,'Y');
6369: END IF;
6370: G_LINE_INDEX_TBL(px_index_counter) := p_price_line_index;
6371: G_LINE_TYPE_CODE_TBL(px_index_counter) := 'ORDER';

Line 6368: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ASO_PRICING_INT.G_HEADER_REC.quote_header_id:'||ASO_PRICING_INT.G_HEADER_REC.quote_header_id,1,'Y');

6364: BEGIN
6365: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6366: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of the direct insert Copy_Header_To_Request',1,'Y');
6367: aso_debug_pub.add('ASO_PRICING_CORE_PVT: px_index_counter:'||px_index_counter,1,'Y');
6368: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ASO_PRICING_INT.G_HEADER_REC.quote_header_id:'||ASO_PRICING_INT.G_HEADER_REC.quote_header_id,1,'Y');
6369: END IF;
6370: G_LINE_INDEX_TBL(px_index_counter) := p_price_line_index;
6371: G_LINE_TYPE_CODE_TBL(px_index_counter) := 'ORDER';
6372: /*FastTrak: Price effective date is assigned to the price frozen unless the price frozen date is null*/

Line 6374: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Copy_Header_To_Req: ASO_PRICING_INT.G_HEADER_REC.PRICE_FROZEN_DATE:'

6370: G_LINE_INDEX_TBL(px_index_counter) := p_price_line_index;
6371: G_LINE_TYPE_CODE_TBL(px_index_counter) := 'ORDER';
6372: /*FastTrak: Price effective date is assigned to the price frozen unless the price frozen date is null*/
6373: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6374: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Copy_Header_To_Req: ASO_PRICING_INT.G_HEADER_REC.PRICE_FROZEN_DATE:'
6375: ||ASO_PRICING_INT.G_HEADER_REC.PRICE_FROZEN_DATE,1,'Y');
6376: END IF;
6377: if NVL(ASO_PRICING_INT.G_HEADER_REC.PRICE_FROZEN_DATE,FND_API.G_MISS_DATE) = FND_API.G_MISS_DATE THEN
6378: G_PRICING_EFFECTIVE_DATE_TBL(px_index_counter) := trunc(sysdate);

Line 6418: aso_debug_pub.add('ASO_PRICING_CORE_PVT: End of the direct insert Copy_Header_To_Request',1,'Y');

6414: G_CONTRACT_START_DATE_TBL(px_index_counter) := NULL;
6415: G_CONTRACT_END_DATE_TBL(px_index_counter) := NULL;
6416:
6417: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6418: aso_debug_pub.add('ASO_PRICING_CORE_PVT: End of the direct insert Copy_Header_To_Request',1,'Y');
6419: END IF;
6420:
6421: end copy_Header_to_request;
6422:

Line 6432: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start of Direct Insert of Copy_Line_To_Request',1,'Y');

6428: is
6429: l_uom_rate NUMBER;
6430: begin
6431: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6432: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start of Direct Insert of Copy_Line_To_Request',1,'Y');
6433: aso_debug_pub.add('ASO_PRICING_CORE_PVT:px_index_counter:'||px_index_counter,1,'Y');
6434: END IF;
6435: G_LINE_INDEX_TBL(px_index_counter) := p_price_line_index;
6436: G_LINE_TYPE_CODE_TBL(px_index_counter) := 'LINE';

Line 6433: aso_debug_pub.add('ASO_PRICING_CORE_PVT:px_index_counter:'||px_index_counter,1,'Y');

6429: l_uom_rate NUMBER;
6430: begin
6431: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6432: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start of Direct Insert of Copy_Line_To_Request',1,'Y');
6433: aso_debug_pub.add('ASO_PRICING_CORE_PVT:px_index_counter:'||px_index_counter,1,'Y');
6434: END IF;
6435: G_LINE_INDEX_TBL(px_index_counter) := p_price_line_index;
6436: G_LINE_TYPE_CODE_TBL(px_index_counter) := 'LINE';
6437:

Line 6440: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Copy_Line_To_Request: G_HEADER_REC.PRICE_FROZEN_DATE:'

6436: G_LINE_TYPE_CODE_TBL(px_index_counter) := 'LINE';
6437:
6438: /*FastTrak: Price effective date is assigned to the price frozen unless the price frozen date is null*/
6439: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6440: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Copy_Line_To_Request: G_HEADER_REC.PRICE_FROZEN_DATE:'
6441: ||ASO_PRICING_INT.G_HEADER_REC.PRICE_FROZEN_DATE,1,'Y');
6442: END IF;
6443: if NVL(ASO_PRICING_INT.G_HEADER_REC.PRICE_FROZEN_DATE,FND_API.G_MISS_DATE) = FND_API.G_MISS_DATE THEN
6444: G_PRICING_EFFECTIVE_DATE_TBL(px_index_counter) := trunc(sysdate);

Line 6474: aso_debug_pub.add('ASO_PRICING_CORE_PVT: before call to OKS_OMINT_PUB.GET_TARGET_DURATION',1,'Y');

6470: ,Uom_Rate => l_Uom_rate);
6471: G_UOM_QUANTITY_TBL(px_index_counter) := ASO_PRICING_INT.G_LINE_REC.service_duration * l_uom_rate; */
6472:
6473: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6474: aso_debug_pub.add('ASO_PRICING_CORE_PVT: before call to OKS_OMINT_PUB.GET_TARGET_DURATION',1,'Y');
6475: END IF;
6476:
6477:
6478: G_UOM_QUANTITY_TBL(px_index_counter) := OKS_OMINT_PUB.GET_TARGET_DURATION

Line 6490: aso_debug_pub.add('ASO_PRICING_CORE_PVT: after call to OKS_OMINT_PUB.GET_TARGET_DURATION',1,'Y');

6486: G_CONTRACT_START_DATE_TBL(px_index_counter) := ASO_PRICING_INT.G_LINE_REC.start_date_active;
6487: G_CONTRACT_END_DATE_TBL(px_index_counter) := ASO_PRICING_INT.G_LINE_REC.end_date_active;
6488:
6489: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6490: aso_debug_pub.add('ASO_PRICING_CORE_PVT: after call to OKS_OMINT_PUB.GET_TARGET_DURATION',1,'Y');
6491: END IF;
6492:
6493: End If;
6494: Else

Line 6518: aso_debug_pub.add('ASO_PRICING_CORE_PVT:In Copy line to req p_Line_rec.LINE_CATEGORY_CODE :'

6514:
6515: -- Bug 2430534.Should set this flag only for child service line, normal line to 'Y'
6516: -- If the line is from order or customer product set it to 'N'.
6517: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6518: aso_debug_pub.add('ASO_PRICING_CORE_PVT:In Copy line to req p_Line_rec.LINE_CATEGORY_CODE :'
6519: ||ASO_PRICING_INT.G_LINE_REC.LINE_CATEGORY_CODE,1,'Y');
6520: END IF;
6521: /*For PRG Line need to setup the free lines with price_flag to 'P'*/
6522: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 6523: aso_debug_pub.add('ASO_PRICING_CORE_PVT:In Copy line to req p_Line_rec.PRICING_LINE_TYPE_INDICATOR :'

6519: ||ASO_PRICING_INT.G_LINE_REC.LINE_CATEGORY_CODE,1,'Y');
6520: END IF;
6521: /*For PRG Line need to setup the free lines with price_flag to 'P'*/
6522: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6523: aso_debug_pub.add('ASO_PRICING_CORE_PVT:In Copy line to req p_Line_rec.PRICING_LINE_TYPE_INDICATOR :'
6524: ||ASO_PRICING_INT.G_LINE_REC.PRICING_LINE_TYPE_INDICATOR,1,'Y');
6525: END IF;
6526:
6527: IF ASO_PRICING_INT.G_LINE_REC.PRICING_LINE_TYPE_INDICATOR = 'F' THEN

Line 6556: aso_debug_pub.add('ASO_PRICING_CORE_PVT:In Copy line to req SELLING_PRICE_CHANGE: '

6552: G_PL_VALIDATED_FLAG_TBL(px_index_counter) := 'N';
6553: G_PRICE_REQUEST_CODE_TBL(px_index_counter) := NULL;
6554: G_USAGE_PRICING_TYPE_TBL(px_index_counter) :='REGULAR';
6555: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6556: aso_debug_pub.add('ASO_PRICING_CORE_PVT:In Copy line to req SELLING_PRICE_CHANGE: '
6557: ||ASO_PRICING_INT.G_LINE_REC.SELLING_PRICE_CHANGE,1,'Y');
6558: END IF;
6559: If ASO_PRICING_INT.G_LINE_REC.SELLING_PRICE_CHANGE = 'Y' then
6560: G_UPD_ADJUSTED_UNIT_PRICE_TBL(px_index_counter) := ASO_PRICING_INT.G_LINE_REC.line_quote_price;

Line 6569: aso_debug_pub.add('ASO_PRICING_CORE_PVT:End of Direct Insert of Copy_Line_To_Request',1,'Y');

6565: G_LINE_CATEGORY_TBL(px_index_counter) := ASO_PRICING_INT.G_LINE_REC.line_category_code;
6566: G_CHRG_PERIODICITY_CODE_TBL(px_index_counter) := ASO_PRICING_INT.G_LINE_REC.charge_periodicity_code;
6567:
6568: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6569: aso_debug_pub.add('ASO_PRICING_CORE_PVT:End of Direct Insert of Copy_Line_To_Request',1,'Y');
6570: END IF;
6571:
6572: end Copy_Line_To_Request;
6573:

Line 6585: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Inside of the Query_Price_Adj_All',1,'Y');

6581: l_adj_id_tbl JTF_NUMBER_TABLE;
6582:
6583: BEGIN
6584: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6585: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Inside of the Query_Price_Adj_All',1,'Y');
6586: END IF;
6587:
6588: UPDATE ASO_PRICE_ADJUSTMENTS apa
6589: SET OPERAND_PER_PQTY = (SELECT decode(arithmetic_operator,'%',operand,

Line 6601: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Line level: '||sql%ROWCOUNT,1,'Y');

6597: WHERE apa.quote_header_id = p_quote_header_id
6598: AND apa.quote_line_id is not null
6599: AND (apa.applied_flag = 'Y' or apa.updated_flag = 'Y');
6600: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6601: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Line level: '||sql%ROWCOUNT,1,'Y');
6602: END IF;
6603:
6604: --Only support % at the header level
6605: UPDATE ASO_PRICE_ADJUSTMENTS

Line 6612: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Header Level: '||sql%ROWCOUNT,1,'Y');

6608: AND quote_line_id is null
6609: AND (applied_flag = 'Y' OR updated_flag = 'Y');
6610:
6611: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6612: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Header Level: '||sql%ROWCOUNT,1,'Y');
6613: END IF;
6614:
6615: SELECT
6616: PRICE_ADJUSTMENT_ID,

Line 6736: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_adj_id_tbl.count:'||nvl(x_adj_id_tbl.count,0),1,'Y');

6732:
6733: x_adj_id_tbl := l_adj_id_tbl;
6734:
6735: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6736: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_adj_id_tbl.count:'||nvl(x_adj_id_tbl.count,0),1,'Y');
6737: END IF;
6738:
6739: END Query_price_Adj_All;
6740:

Line 6748: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Query_Price_Adj_Header',1,'Y');

6744: IS
6745: BEGIN
6746:
6747: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6748: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Query_Price_Adj_Header',1,'Y');
6749: END IF;
6750:
6751: --Only support % at the header level
6752: UPDATE ASO_PRICE_ADJUSTMENTS

Line 6759: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Header Level: '||sql%ROWCOUNT,1,'Y');

6755: AND quote_line_id is null
6756: AND (applied_flag = 'Y' OR updated_flag = 'Y');
6757:
6758: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6759: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Header Level: '||sql%ROWCOUNT,1,'Y');
6760: END IF;
6761:
6762: SELECT
6763: PRICE_ADJUSTMENT_ID,

Line 6895: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of the Query_Price_Adj_line',1,'Y');

6891: l_adj_id_tbl JTF_NUMBER_TABLE;
6892:
6893: BEGIN
6894: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6895: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of the Query_Price_Adj_line',1,'Y');
6896: END IF;
6897:
6898: UPDATE ASO_PRICE_ADJUSTMENTS apa
6899: SET OPERAND_PER_PQTY = (SELECT decode(arithmetic_operator,'%',operand,

Line 6911: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Line level: '||sql%ROWCOUNT,1,'Y');

6907: WHERE apa.quote_header_id = p_quote_header_id
6908: AND apa.quote_line_id is not null
6909: AND (apa.applied_flag = 'Y' or apa.updated_flag = 'Y');
6910: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6911: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Line level: '||sql%ROWCOUNT,1,'Y');
6912: END IF;
6913:
6914: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6915: If p_qte_line_id_tbl.count is not null then

Line 6917: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Querying for the following quote line ids:',1,'Y');

6913:
6914: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6915: If p_qte_line_id_tbl.count is not null then
6916: For i in 1..p_qte_line_id_tbl.count loop
6917: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Querying for the following quote line ids:',1,'Y');
6918: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_line_id_tbl(i):'||p_qte_line_id_tbl(i),1,'Y');
6919: End Loop;
6920: End If;
6921: END IF;

Line 6918: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_line_id_tbl(i):'||p_qte_line_id_tbl(i),1,'Y');

6914: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6915: If p_qte_line_id_tbl.count is not null then
6916: For i in 1..p_qte_line_id_tbl.count loop
6917: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Querying for the following quote line ids:',1,'Y');
6918: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_line_id_tbl(i):'||p_qte_line_id_tbl(i),1,'Y');
6919: End Loop;
6920: End If;
6921: END IF;
6922:

Line 7056: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_adj_id_tbl.count:'||nvl(x_adj_id_tbl.count,0),1,'Y');

7052: AND adj2.price_adjustment_id = rlt.price_adjustment_id));*/
7053:
7054: x_adj_id_tbl := l_adj_id_tbl;
7055: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7056: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_adj_id_tbl.count:'||nvl(x_adj_id_tbl.count,0),1,'Y');
7057: END IF;
7058:
7059: END Query_price_Adj_line;
7060:

Line 7073: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of the Query_Price_Adjustments',1,'Y');

7069: l_adj_id_tbl JTF_NUMBER_TABLE;
7070:
7071: BEGIN
7072: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7073: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of the Query_Price_Adjustments',1,'Y');
7074: END IF;
7075:
7076: UPDATE ASO_PRICE_ADJUSTMENTS apa
7077: SET OPERAND_PER_PQTY = (SELECT decode(arithmetic_operator,'%',operand,

Line 7089: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Line level: '||sql%ROWCOUNT,1,'Y');

7085: WHERE apa.quote_header_id = p_quote_header_id
7086: AND apa.quote_line_id is not null
7087: AND (apa.applied_flag = 'Y' or apa.updated_flag = 'Y');
7088: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7089: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Line level: '||sql%ROWCOUNT,1,'Y');
7090: END IF;
7091:
7092: --Only support % at the header level
7093: UPDATE ASO_PRICE_ADJUSTMENTS

Line 7100: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Header Level: '||sql%ROWCOUNT,1,'Y');

7096: AND quote_line_id is null
7097: AND (applied_flag = 'Y' OR updated_flag = 'Y');
7098:
7099: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7100: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Header Level: '||sql%ROWCOUNT,1,'Y');
7101: If p_qte_line_id_tbl.count is not null then
7102: For i in 1..p_qte_line_id_tbl.count loop
7103: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Querying for the following quote line ids:',1,'Y');
7104: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_line_id_tbl(i):'||p_qte_line_id_tbl(i),1,'Y');

Line 7103: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Querying for the following quote line ids:',1,'Y');

7099: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7100: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Header Level: '||sql%ROWCOUNT,1,'Y');
7101: If p_qte_line_id_tbl.count is not null then
7102: For i in 1..p_qte_line_id_tbl.count loop
7103: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Querying for the following quote line ids:',1,'Y');
7104: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_line_id_tbl(i):'||p_qte_line_id_tbl(i),1,'Y');
7105: End Loop;
7106: End If;
7107: END IF;

Line 7104: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_line_id_tbl(i):'||p_qte_line_id_tbl(i),1,'Y');

7100: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Header Level: '||sql%ROWCOUNT,1,'Y');
7101: If p_qte_line_id_tbl.count is not null then
7102: For i in 1..p_qte_line_id_tbl.count loop
7103: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Querying for the following quote line ids:',1,'Y');
7104: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_line_id_tbl(i):'||p_qte_line_id_tbl(i),1,'Y');
7105: End Loop;
7106: End If;
7107: END IF;
7108:

Line 7307: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_adj_id_tbl.count:'||nvl(x_adj_id_tbl.count,0),1,'Y');

7303: and adj2.price_adjustment_id = rlt.price_adjustment_id))));
7304:
7305: x_adj_id_tbl := l_adj_id_tbl;
7306: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7307: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_adj_id_tbl.count:'||nvl(x_adj_id_tbl.count,0),1,'Y');
7308: END IF;
7309:
7310: END Query_price_Adjustments;
7311:

Line 7320: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Get both price adj rltship and service rltship',1,'Y');

7316:
7317:
7318: IF p_service_qte_line_id_tbl.exists(1) AND p_qte_adj_id_tbl.exists(1) THEN
7319: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7320: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Get both price adj rltship and service rltship',1,'Y');
7321: END IF;
7322: SELECT
7323: adj_rel.quote_line_id,
7324: adj_rel.price_adjustment_id,

Line 7367: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Get only service rltship',1,'Y');

7363: AND ldets.service_ref_line_id IS NOT NULL;
7364:
7365: ELSIF p_service_qte_line_id_tbl is not null and p_service_qte_line_id_tbl.exists(1) then
7366: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7367: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Get only service rltship',1,'Y');
7368: END IF;
7369:
7370: SELECT
7371: ldets.service_ref_line_id quote_line_id,

Line 7396: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Get only price adj rltship',1,'Y');

7392: AND ldets.service_ref_line_id IS NOT NULL;
7393:
7394: ELSIF p_qte_adj_id_tbl is not null and p_qte_adj_id_tbl.exists(1) THEN
7395: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7396: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Get only price adj rltship',1,'Y');
7397: END IF;
7398: SELECT
7399: adj_rel.quote_line_id,
7400: adj_rel.price_adjustment_id,

Line 7435: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LINE_INDEX_TBL.count:'

7431:
7432: BEGIN
7433: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7434: aso_debug_pub.add('===================GLOBAL LINES==============================================',1,'Y');
7435: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LINE_INDEX_TBL.count:'
7436: ||nvl(G_LINE_INDEX_TBL.count,0),1,'Y');
7437: END IF;
7438: If nvl(G_LINE_INDEX_TBL.count,0) > 0 then
7439: For i in 1..G_LINE_INDEX_TBL.count loop

Line 7447: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LINE_TYPE_CODE_TBL.count:'

7443: end loop;
7444: end if;
7445: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7446: aso_debug_pub.add(' ',1,'Y');
7447: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LINE_TYPE_CODE_TBL.count:'
7448: ||nvl(G_LINE_TYPE_CODE_TBL.count,0),1,'Y');
7449: END IF;
7450:
7451: If nvl(G_LINE_INDEX_TBL.count,0) > 0 then

Line 7460: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICING_EFFECTIVE_DATE_TBL.count:'

7456: end loop;
7457: end if;
7458: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7459: aso_debug_pub.add(' ',1,'Y');
7460: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICING_EFFECTIVE_DATE_TBL.count:'
7461: ||nvl(G_PRICING_EFFECTIVE_DATE_TBL.count,0),1,'Y');
7462: END IF;
7463:
7464: If nvl(G_PRICING_EFFECTIVE_DATE_TBL.count,0) > 0 then

Line 7473: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ACTIVE_DATE_FIRST_TBL.count:'

7469: end loop;
7470: end if;
7471: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7472: aso_debug_pub.add(' ',1,'Y');
7473: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ACTIVE_DATE_FIRST_TBL.count:'
7474: ||nvl(G_ACTIVE_DATE_FIRST_TBL.count,0),1,'Y');
7475: END IF;
7476:
7477: If nvl(G_ACTIVE_DATE_FIRST_TBL.count,0) > 0 then

Line 7486: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ACTIVE_DATE_FIRST_TYPE_TBL.count:'

7482: end loop;
7483: end if;
7484: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7485: aso_debug_pub.add(' ',1,'Y');
7486: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ACTIVE_DATE_FIRST_TYPE_TBL.count:'
7487: ||nvl(G_ACTIVE_DATE_FIRST_TYPE_TBL.count,0),1,'Y');
7488: END IF;
7489:
7490: If nvl(G_ACTIVE_DATE_FIRST_TYPE_TBL.count,0) > 0 then

Line 7499: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ACTIVE_DATE_SECOND_TBL.count:'

7495: end loop;
7496: end if;
7497: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7498: aso_debug_pub.add(' ',1,'Y');
7499: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ACTIVE_DATE_SECOND_TBL.count:'
7500: ||nvl(G_ACTIVE_DATE_SECOND_TBL.count,0),1,'Y');
7501: END IF;
7502:
7503: If nvl(G_ACTIVE_DATE_SECOND_TBL.count,0) > 0 then

Line 7512: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ACTIVE_DATE_SECOND_TYPE_TBL.count:'

7508: end loop;
7509: end if;
7510: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7511: aso_debug_pub.add(' ',1,'Y');
7512: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ACTIVE_DATE_SECOND_TYPE_TBL.count:'
7513: ||nvl(G_ACTIVE_DATE_SECOND_TYPE_TBL.count,0),1,'Y');
7514: END IF;
7515:
7516: If nvl(G_ACTIVE_DATE_SECOND_TYPE_TBL.count,0) > 0 then

Line 7525: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LINE_QUANTITY_TBL.count:'

7521: end loop;
7522: end if;
7523: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7524: aso_debug_pub.add(' ',1,'Y');
7525: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LINE_QUANTITY_TBL.count:'
7526: ||nvl(G_LINE_QUANTITY_TBL.count,0),1,'Y');
7527: END IF;
7528:
7529: If nvl(G_LINE_QUANTITY_TBL.count,0) > 0 then

Line 7538: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LINE_UOM_CODE_TBL.count:'

7534: end loop;
7535: end if;
7536: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7537: aso_debug_pub.add(' ',1,'Y');
7538: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LINE_UOM_CODE_TBL.count:'
7539: ||nvl(G_LINE_UOM_CODE_TBL.count,0),1,'Y');
7540: END IF;
7541:
7542: If nvl(G_LINE_UOM_CODE_TBL.count,0) > 0 then

Line 7551: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_REQUEST_TYPE_CODE_TBL.count:'

7547: end loop;
7548: end if;
7549: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7550: aso_debug_pub.add(' ',1,'Y');
7551: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_REQUEST_TYPE_CODE_TBL.count:'
7552: ||nvl(G_REQUEST_TYPE_CODE_TBL.count,0),1,'Y');
7553: END IF;
7554:
7555: If nvl(G_REQUEST_TYPE_CODE_TBL.count,0) > 0 then

Line 7564: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICED_QUANTITY_TBL.count:'

7560: end loop;
7561: end if;
7562: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7563: aso_debug_pub.add(' ',1,'Y');
7564: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICED_QUANTITY_TBL.count:'
7565: ||nvl(G_PRICED_QUANTITY_TBL.count,0),1,'Y');
7566: END IF;
7567:
7568: If nvl(G_PRICED_QUANTITY_TBL.count,0) > 0 then

Line 7577: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICED_UOM_CODE_TBL.count:'

7573: end loop;
7574: end if;
7575: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7576: aso_debug_pub.add(' ',1,'Y');
7577: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICED_UOM_CODE_TBL.count:'
7578: ||nvl(G_PRICED_UOM_CODE_TBL.count,0),1,'Y');
7579: END IF;
7580:
7581: If nvl(G_PRICED_UOM_CODE_TBL.count,0) > 0 then

Line 7590: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_CURRENCY_CODE_TBL.count:'

7586: end loop;
7587: end if;
7588: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7589: aso_debug_pub.add(' ',1,'Y');
7590: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_CURRENCY_CODE_TBL.count:'
7591: ||nvl(G_CURRENCY_CODE_TBL.count,0),1,'Y');
7592: END IF;
7593:
7594: If nvl(G_CURRENCY_CODE_TBL.count,0) > 0 then

Line 7603: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_UNIT_PRICE_TBL.count:'

7599: end loop;
7600: end if;
7601: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7602: aso_debug_pub.add(' ',1,'Y');
7603: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_UNIT_PRICE_TBL.count:'
7604: ||nvl(G_UNIT_PRICE_TBL.count,0),1,'Y');
7605: END IF;
7606:
7607: If nvl(G_UNIT_PRICE_TBL.count,0) > 0 then

Line 7616: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PERCENT_PRICE_TBL.count:'

7612: end loop;
7613: end if;
7614: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7615: aso_debug_pub.add(' ',1,'Y');
7616: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PERCENT_PRICE_TBL.count:'
7617: ||nvl(G_PERCENT_PRICE_TBL.count,0),1,'Y');
7618: END IF;
7619:
7620: If nvl(G_PERCENT_PRICE_TBL.count,0) > 0 then

Line 7629: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_UOM_QUANTITY_TBL.count:'

7625: end loop;
7626: end if;
7627: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7628: aso_debug_pub.add(' ',1,'Y');
7629: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_UOM_QUANTITY_TBL.count:'
7630: ||nvl(G_UOM_QUANTITY_TBL.count,0),1,'Y');
7631: END IF;
7632:
7633: If nvl(G_UOM_QUANTITY_TBL.count,0) > 0 then

Line 7642: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ADJUSTED_UNIT_PRICE_TBL.count:'

7638: end loop;
7639: end if;
7640: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7641: aso_debug_pub.add(' ',1,'Y');
7642: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ADJUSTED_UNIT_PRICE_TBL.count:'
7643: ||nvl(G_ADJUSTED_UNIT_PRICE_TBL.count,0),1,'Y');
7644: END IF;
7645:
7646: If nvl(G_ADJUSTED_UNIT_PRICE_TBL.count,0) > 0 then

Line 7655: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_UPD_ADJUSTED_UNIT_PRICE_TBL.count:'

7651: end loop;
7652: end if;
7653: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7654: aso_debug_pub.add(' ',1,'Y');
7655: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_UPD_ADJUSTED_UNIT_PRICE_TBL.count:'
7656: ||nvl(G_UPD_ADJUSTED_UNIT_PRICE_TBL.count,0),1,'Y');
7657: END IF;
7658:
7659: If nvl(G_UPD_ADJUSTED_UNIT_PRICE_TBL.count,0) > 0 then

Line 7668: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PROCESSED_FLAG_TBL.count:'

7664: end loop;
7665: end if;
7666: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7667: aso_debug_pub.add(' ',1,'Y');
7668: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PROCESSED_FLAG_TBL.count:'
7669: ||nvl(G_PROCESSED_FLAG_TBL.count,0),1,'Y');
7670: END IF;
7671:
7672: If nvl(G_PROCESSED_FLAG_TBL.count,0) > 0 then

Line 7681: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICE_FLAG_TBL.count:'

7677: end loop;
7678: end if;
7679: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7680: aso_debug_pub.add(' ',1,'Y');
7681: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICE_FLAG_TBL.count:'
7682: ||nvl(G_PRICE_FLAG_TBL.count,0),1,'Y');
7683: END IF;
7684:
7685: If nvl(G_PRICE_FLAG_TBL.count,0) > 0 then

Line 7694: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LINE_ID_TBL.count:'

7690: end loop;
7691: end if;
7692: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7693: aso_debug_pub.add(' ',1,'Y');
7694: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LINE_ID_TBL.count:'
7695: ||nvl(G_LINE_ID_TBL.count,0),1,'Y');
7696: END IF;
7697:
7698: If nvl(G_LINE_ID_TBL.count,0) > 0 then

Line 7707: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PROCESSING_ORDER_TBL.count:'

7703: end loop;
7704: end if;
7705: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7706: aso_debug_pub.add(' ',1,'Y');
7707: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PROCESSING_ORDER_TBL.count:'
7708: ||nvl(G_PROCESSING_ORDER_TBL.count,0),1,'Y');
7709: END IF;
7710:
7711: If nvl(G_PROCESSING_ORDER_TBL.count,0) > 0 then

Line 7720: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICING_STATUS_CODE_tbl.count:'

7716: end loop;
7717: end if;
7718: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7719: aso_debug_pub.add(' ',1,'Y');
7720: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICING_STATUS_CODE_tbl.count:'
7721: ||nvl(G_PRICING_STATUS_CODE_tbl.count,0),1,'Y');
7722: END IF;
7723:
7724: If nvl(G_PRICING_STATUS_CODE_tbl.count,0) > 0 then

Line 7733: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICING_STATUS_TEXT_tbl.count:'

7729: end loop;
7730: end if;
7731: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7732: aso_debug_pub.add(' ',1,'Y');
7733: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICING_STATUS_TEXT_tbl.count:'
7734: ||nvl(G_PRICING_STATUS_TEXT_tbl.count,0),1,'Y');
7735: END IF;
7736:
7737: If nvl(G_PRICING_STATUS_TEXT_tbl.count,0) > 0 then

Line 7746: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ROUNDING_FLAG_TBL.count:'

7742: end loop;
7743: end if;
7744: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7745: aso_debug_pub.add(' ',1,'Y');
7746: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ROUNDING_FLAG_TBL.count:'
7747: ||nvl(G_ROUNDING_FLAG_TBL.count,0),1,'Y');
7748: END IF;
7749:
7750: If nvl(G_ROUNDING_FLAG_TBL.count,0) > 0 then

Line 7759: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ROUNDING_FACTOR_TBL.count:'

7755: end loop;
7756: end if;
7757: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7758: aso_debug_pub.add(' ',1,'Y');
7759: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_ROUNDING_FACTOR_TBL.count:'
7760: ||nvl(G_ROUNDING_FACTOR_TBL.count,0),1,'Y');
7761: END IF;
7762:
7763: If nvl(G_ROUNDING_FACTOR_TBL.count,0) > 0 then

Line 7772: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_QUALIFIERS_EXIST_FLAG_TBL.count:'

7768: end loop;
7769: end if;
7770: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7771: aso_debug_pub.add(' ',1,'Y');
7772: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_QUALIFIERS_EXIST_FLAG_TBL.count:'
7773: ||nvl(G_QUALIFIERS_EXIST_FLAG_TBL.count,0),1,'Y');
7774: END IF;
7775:
7776: If nvl(G_QUALIFIERS_EXIST_FLAG_TBL.count,0) > 0 then

Line 7785: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICING_ATTRS_EXIST_FLAG_TBL.count:'

7781: end loop;
7782: end if;
7783: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7784: aso_debug_pub.add(' ',1,'Y');
7785: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICING_ATTRS_EXIST_FLAG_TBL.count:'
7786: ||nvl(G_PRICING_ATTRS_EXIST_FLAG_TBL.count,0),1,'Y');
7787: END IF;
7788:
7789: If nvl(G_PRICING_ATTRS_EXIST_FLAG_TBL.count,0) > 0 then

Line 7798: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICE_LIST_ID_TBL.count:'

7794: end loop;
7795: end if;
7796: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7797: aso_debug_pub.add(' ',1,'Y');
7798: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICE_LIST_ID_TBL.count:'
7799: ||nvl(G_PRICE_LIST_ID_TBL.count,0),1,'Y');
7800: END IF;
7801:
7802: If nvl(G_PRICE_LIST_ID_TBL.count,0) > 0 then

Line 7811: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PL_VALIDATED_FLAG_TBL.count:'

7807: end loop;
7808: end if;
7809: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7810: aso_debug_pub.add(' ',1,'Y');
7811: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PL_VALIDATED_FLAG_TBL.count:'
7812: ||nvl(G_PL_VALIDATED_FLAG_TBL.count,0),1,'Y');
7813: END IF;
7814:
7815: If nvl(G_PL_VALIDATED_FLAG_TBL.count,0) > 0 then

Line 7824: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICE_REQUEST_CODE_TBL.count:'

7820: end loop;
7821: end if;
7822: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7823: aso_debug_pub.add(' ',1,'Y');
7824: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_PRICE_REQUEST_CODE_TBL.count:'
7825: ||nvl(G_PRICE_REQUEST_CODE_TBL.count,0),1,'Y');
7826: END IF;
7827:
7828: If nvl(G_PRICE_REQUEST_CODE_TBL.count,0) > 0 then

Line 7837: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_USAGE_PRICING_TYPE_tbl.count:'

7833: end loop;
7834: end if;
7835: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7836: aso_debug_pub.add(' ',1,'Y');
7837: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_USAGE_PRICING_TYPE_tbl.count:'
7838: ||nvl(G_USAGE_PRICING_TYPE_tbl.count,0),1,'Y');
7839: END IF;
7840:
7841: If nvl(G_USAGE_PRICING_TYPE_tbl.count,0) > 0 then

Line 7850: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LINE_CATEGORY_tbl.count:'

7846: end loop;
7847: end if;
7848: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7849: aso_debug_pub.add(' ',1,'Y');
7850: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LINE_CATEGORY_tbl.count:'
7851: ||nvl(G_LINE_CATEGORY_tbl.count,0),1,'Y');
7852: END IF;
7853:
7854: If nvl(G_LINE_CATEGORY_tbl.count,0) > 0 then

Line 7864: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_CHRG_PERIODICITY_CODE_TBL.count:'

7860: end if;
7861:
7862: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7863: aso_debug_pub.add(' ',1,'Y');
7864: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_CHRG_PERIODICITY_CODE_TBL.count:'
7865: ||nvl(G_CHRG_PERIODICITY_CODE_TBL.count,0),1,'Y');
7866: END IF;
7867:
7868: If nvl(G_CHRG_PERIODICITY_CODE_TBL.count,0) > 0 then

Line 7878: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_CONTRACT_START_DATE_TBL.count:'

7874: end if;
7875:
7876: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7877: aso_debug_pub.add(' ',1,'Y');
7878: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_CONTRACT_START_DATE_TBL.count:'
7879: ||nvl(G_CONTRACT_START_DATE_TBL.count,0),1,'Y');
7880: END IF;
7881:
7882: If nvl(G_CONTRACT_START_DATE_TBL.count,0) > 0 then

Line 7892: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_CONTRACT_END_DATE_TBL.count:'

7888: end if;
7889:
7890: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7891: aso_debug_pub.add(' ',1,'Y');
7892: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_CONTRACT_END_DATE_TBL.count:'
7893: ||nvl(G_CONTRACT_END_DATE_TBL.count,0),1,'Y');
7894: END IF;
7895:
7896: If nvl(G_CONTRACT_END_DATE_TBL.count,0) > 0 then

Line 7916: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LINE_DTL_INDEX_TBL.count:'

7912: IS
7913: BEGIN
7914: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7915: aso_debug_pub.add('-------------------GLOBAL ADJUSTMENTS---------------------------------------------',1,'Y');
7916: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LINE_DTL_INDEX_TBL.count:'
7917: ||nvl(G_LDET_LINE_DTL_INDEX_TBL.count,0),1,'Y');
7918: END IF;
7919: If nvl(G_LDET_LINE_DTL_INDEX_TBL.count,0) > 0 then
7920: For i in 1..G_LDET_LINE_DTL_INDEX_TBL.count loop

Line 7928: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICE_ADJ_ID_TBL.count:'

7924: end loop;
7925: end if;
7926: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7927: aso_debug_pub.add(' ',1,'Y');
7928: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICE_ADJ_ID_TBL.count:'
7929: ||nvl(G_LDET_PRICE_ADJ_ID_TBL.count,0),1,'Y');
7930: END IF;
7931:
7932: If nvl(G_LDET_PRICE_ADJ_ID_TBL.count,0) > 0 then

Line 7941: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LINE_DTL_TYPE_TBL.count:'

7937: end loop;
7938: end if;
7939: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7940: aso_debug_pub.add(' ',1,'Y');
7941: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LINE_DTL_TYPE_TBL.count:'
7942: ||nvl(G_LDET_LINE_DTL_TYPE_TBL.count,0),1,'Y');
7943: END IF;
7944:
7945: If nvl(G_LDET_LINE_DTL_TYPE_TBL.count,0) > 0 then

Line 7954: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICE_BREAK_TYPE_TBL.count:'

7950: end loop;
7951: end if;
7952: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7953: aso_debug_pub.add(' ',1,'Y');
7954: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICE_BREAK_TYPE_TBL.count:'
7955: ||nvl(G_LDET_PRICE_BREAK_TYPE_TBL.count,0),1,'Y');
7956: END IF;
7957:
7958: If nvl(G_LDET_PRICE_BREAK_TYPE_TBL.count,0) > 0 then

Line 7967: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LIST_PRICE_TBL.count:'

7963: end loop;
7964: end if;
7965: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7966: aso_debug_pub.add(' ',1,'Y');
7967: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LIST_PRICE_TBL.count:'
7968: ||nvl(G_LDET_LIST_PRICE_TBL.count,0),1,'Y');
7969: END IF;
7970:
7971: If nvl(G_LDET_LIST_PRICE_TBL.count,0) > 0 then

Line 7980: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LINE_INDEX_TBL.count:'

7976: end loop;
7977: end if;
7978: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7979: aso_debug_pub.add(' ',1,'Y');
7980: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LINE_INDEX_TBL.count:'
7981: ||nvl(G_LDET_LINE_INDEX_TBL.count,0),1,'Y');
7982: END IF;
7983:
7984: If nvl(G_LDET_LINE_INDEX_TBL.count,0) > 0 then

Line 7993: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LIST_HEADER_ID_TBL.count:'

7989: end loop;
7990: end if;
7991: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7992: aso_debug_pub.add(' ',1,'Y');
7993: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LIST_HEADER_ID_TBL.count:'
7994: ||nvl(G_LDET_LIST_HEADER_ID_TBL.count,0),1,'Y');
7995: END IF;
7996:
7997: If nvl(G_LDET_LIST_HEADER_ID_TBL.count,0) > 0 then

Line 8006: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LIST_LINE_ID_TBL.count:'

8002: end loop;
8003: end if;
8004: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8005: aso_debug_pub.add(' ',1,'Y');
8006: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LIST_LINE_ID_TBL.count:'
8007: ||nvl(G_LDET_LIST_LINE_ID_TBL.count,0),1,'Y');
8008: END IF;
8009:
8010: If nvl(G_LDET_LIST_LINE_ID_TBL.count,0) > 0 then

Line 8019: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LIST_LINE_TYPE_TBL.count:'

8015: end loop;
8016: end if;
8017: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8018: aso_debug_pub.add(' ',1,'Y');
8019: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LIST_LINE_TYPE_TBL.count:'
8020: ||nvl(G_LDET_LIST_LINE_TYPE_TBL.count,0),1,'Y');
8021: END IF;
8022:
8023: If nvl(G_LDET_LIST_LINE_TYPE_TBL.count,0) > 0 then

Line 8032: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LIST_TYPE_CODE_TBL.count:'

8028: end loop;
8029: end if;
8030: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8031: aso_debug_pub.add(' ',1,'Y');
8032: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LIST_TYPE_CODE_TBL.count:'
8033: ||nvl(G_LDET_LIST_TYPE_CODE_TBL.count,0),1,'Y');
8034: END IF;
8035:
8036: If nvl(G_LDET_LIST_TYPE_CODE_TBL.count,0) > 0 then

Line 8045: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CREATED_FROM_SQL_TBL.count:'

8041: end loop;
8042: end if;
8043: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8044: aso_debug_pub.add(' ',1,'Y');
8045: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CREATED_FROM_SQL_TBL.count:'
8046: ||nvl(G_LDET_CREATED_FROM_SQL_TBL.count,0),1,'Y');
8047: END IF;
8048:
8049: If nvl(G_LDET_CREATED_FROM_SQL_TBL.count,0) > 0 then

Line 8058: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICING_GRP_SEQ_TBL.count:'

8054: end loop;
8055: end if;
8056: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8057: aso_debug_pub.add(' ',1,'Y');
8058: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICING_GRP_SEQ_TBL.count:'
8059: ||nvl(G_LDET_PRICING_GRP_SEQ_TBL.count,0),1,'Y');
8060: END IF;
8061:
8062: If nvl(G_LDET_PRICING_GRP_SEQ_TBL.count,0) > 0 then

Line 8071: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICING_PHASE_ID_TBL.count:'

8067: end loop;
8068: end if;
8069: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8070: aso_debug_pub.add(' ',1,'Y');
8071: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICING_PHASE_ID_TBL.count:'
8072: ||nvl(G_LDET_PRICING_PHASE_ID_TBL.count,0),1,'Y');
8073: END IF;
8074:
8075: If nvl(G_LDET_PRICING_PHASE_ID_TBL.count,0) > 0 then

Line 8084: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_OPERAND_CALC_CODE_TBL.count:'

8080: end loop;
8081: end if;
8082: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8083: aso_debug_pub.add(' ',1,'Y');
8084: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_OPERAND_CALC_CODE_TBL.count:'
8085: ||nvl(G_LDET_OPERAND_CALC_CODE_TBL.count,0),1,'Y');
8086: END IF;
8087:
8088: If nvl(G_LDET_OPERAND_CALC_CODE_TBL.count,0) > 0 then

Line 8097: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_OPERAND_VALUE_TBL.count:'

8093: end loop;
8094: end if;
8095: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8096: aso_debug_pub.add(' ',1,'Y');
8097: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_OPERAND_VALUE_TBL.count:'
8098: ||nvl(G_LDET_OPERAND_VALUE_TBL.count,0),1,'Y');
8099: END IF;
8100:
8101: If nvl(G_LDET_OPERAND_VALUE_TBL.count,0) > 0 then

Line 8110: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_SUBSTN_TYPE_TBL.count:'

8106: end loop;
8107: end if;
8108: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8109: aso_debug_pub.add(' ',1,'Y');
8110: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_SUBSTN_TYPE_TBL.count:'
8111: ||nvl(G_LDET_SUBSTN_TYPE_TBL.count,0),1,'Y');
8112: END IF;
8113:
8114: If nvl(G_LDET_SUBSTN_TYPE_TBL.count,0) > 0 then

Line 8123: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_SUBSTN_VALUE_FROM_TBL.count:'

8119: end loop;
8120: end if;
8121: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8122: aso_debug_pub.add(' ',1,'Y');
8123: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_SUBSTN_VALUE_FROM_TBL.count:'
8124: ||nvl(G_LDET_SUBSTN_VALUE_FROM_TBL.count,0),1,'Y');
8125: END IF;
8126:
8127: If nvl(G_LDET_SUBSTN_VALUE_FROM_TBL.count,0) > 0 then

Line 8136: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_SUBSTN_VALUE_TO_TBL.count:'

8132: end loop;
8133: end if;
8134: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8135: aso_debug_pub.add(' ',1,'Y');
8136: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_SUBSTN_VALUE_TO_TBL.count:'
8137: ||nvl(G_LDET_SUBSTN_VALUE_TO_TBL.count,0),1,'Y');
8138: END IF;
8139:
8140: If nvl(G_LDET_SUBSTN_VALUE_TO_TBL.count,0) > 0 then

Line 8149: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_ASK_FOR_FLAG_TBL.count:'

8145: end loop;
8146: end if;
8147: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8148: aso_debug_pub.add(' ',1,'Y');
8149: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_ASK_FOR_FLAG_TBL.count:'
8150: ||nvl(G_LDET_ASK_FOR_FLAG_TBL.count,0),1,'Y');
8151: END IF;
8152:
8153: If nvl(G_LDET_ASK_FOR_FLAG_TBL.count,0) > 0 then

Line 8162: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICE_FORMULA_ID_TBL.count:'

8158: end loop;
8159: end if;
8160: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8161: aso_debug_pub.add(' ',1,'Y');
8162: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICE_FORMULA_ID_TBL.count:'
8163: ||nvl(G_LDET_PRICE_FORMULA_ID_TBL.count,0),1,'Y');
8164: END IF;
8165:
8166: If nvl(G_LDET_PRICE_FORMULA_ID_TBL.count,0) > 0 then

Line 8175: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICING_STATUS_CODE_TBL.count:'

8171: end loop;
8172: end if;
8173: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8174: aso_debug_pub.add(' ',1,'Y');
8175: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICING_STATUS_CODE_TBL.count:'
8176: ||nvl(G_LDET_PRICING_STATUS_CODE_TBL.count,0),1,'Y');
8177: END IF;
8178:
8179: If nvl(G_LDET_PRICING_STATUS_CODE_TBL.count,0) > 0 then

Line 8188: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICING_STATUS_TXT_TBL.count:'

8184: end loop;
8185: end if;
8186: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8187: aso_debug_pub.add(' ',1,'Y');
8188: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICING_STATUS_TXT_TBL.count:'
8189: ||nvl(G_LDET_PRICING_STATUS_TXT_TBL.count,0),1,'Y');
8190: END IF;
8191:
8192: If nvl(G_LDET_PRICING_STATUS_TXT_TBL.count,0) > 0 then

Line 8201: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRODUCT_PRECEDENCE_TBL.count:'

8197: end loop;
8198: end if;
8199: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8200: aso_debug_pub.add(' ',1,'Y');
8201: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRODUCT_PRECEDENCE_TBL.count:'
8202: ||nvl(G_LDET_PRODUCT_PRECEDENCE_TBL.count,0),1,'Y');
8203: END IF;
8204:
8205: If nvl(G_LDET_PRODUCT_PRECEDENCE_TBL.count,0) > 0 then

Line 8214: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_INCOMPAT_GRP_CODE_TBL.count:'

8210: end loop;
8211: end if;
8212: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8213: aso_debug_pub.add(' ',1,'Y');
8214: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_INCOMPAT_GRP_CODE_TBL.count:'
8215: ||nvl(G_LDET_INCOMPAT_GRP_CODE_TBL.count,0),1,'Y');
8216: END IF;
8217:
8218: If nvl(G_LDET_INCOMPAT_GRP_CODE_TBL.count,0) > 0 then

Line 8227: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PROCESSED_FLAG_TBL.count:'

8223: end loop;
8224: end if;
8225: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8226: aso_debug_pub.add(' ',1,'Y');
8227: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PROCESSED_FLAG_TBL.count:'
8228: ||nvl(G_LDET_PROCESSED_FLAG_TBL.count,0),1,'Y');
8229: END IF;
8230:
8231: If nvl(G_LDET_PROCESSED_FLAG_TBL.count,0) > 0 then

Line 8240: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_APPLIED_FLAG_TBL.count:'

8236: end loop;
8237: end if;
8238: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8239: aso_debug_pub.add(' ',1,'Y');
8240: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_APPLIED_FLAG_TBL.count:'
8241: ||nvl(G_LDET_APPLIED_FLAG_TBL.count,0),1,'Y');
8242: END IF;
8243:
8244: If nvl(G_LDET_APPLIED_FLAG_TBL.count,0) > 0 then

Line 8253: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_AUTOMATIC_FLAG_TBL.count:'

8249: end loop;
8250: end if;
8251: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8252: aso_debug_pub.add(' ',1,'Y');
8253: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_AUTOMATIC_FLAG_TBL.count:'
8254: ||nvl(G_LDET_AUTOMATIC_FLAG_TBL.count,0),1,'Y');
8255: END IF;
8256:
8257: If nvl(G_LDET_AUTOMATIC_FLAG_TBL.count,0) > 0 then

Line 8266: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_OVERRIDE_FLAG_TBL.count:'

8262: end loop;
8263: end if;
8264: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8265: aso_debug_pub.add(' ',1,'Y');
8266: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_OVERRIDE_FLAG_TBL.count:'
8267: ||nvl(G_LDET_OVERRIDE_FLAG_TBL.count,0),1,'Y');
8268: END IF;
8269:
8270: If nvl(G_LDET_OVERRIDE_FLAG_TBL.count,0) > 0 then

Line 8279: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRIMARY_UOM_FLAG_TBL.count:'

8275: end loop;
8276: end if;
8277: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8278: aso_debug_pub.add(' ',1,'Y');
8279: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRIMARY_UOM_FLAG_TBL.count:'
8280: ||nvl(G_LDET_PRIMARY_UOM_FLAG_TBL.count,0),1,'Y');
8281: END IF;
8282:
8283: If nvl(G_LDET_PRIMARY_UOM_FLAG_TBL.count,0) > 0 then

Line 8292: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRINT_ON_INV_FLAG_TBL.count:'

8288: end loop;
8289: end if;
8290: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8291: aso_debug_pub.add(' ',1,'Y');
8292: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRINT_ON_INV_FLAG_TBL.count:'
8293: ||nvl(G_LDET_PRINT_ON_INV_FLAG_TBL.count,0),1,'Y');
8294: END IF;
8295:
8296: If nvl(G_LDET_PRINT_ON_INV_FLAG_TBL.count,0) > 0 then

Line 8305: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_MODIFIER_LEVEL_TBL.count:'

8301: end loop;
8302: end if;
8303: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8304: aso_debug_pub.add(' ',1,'Y');
8305: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_MODIFIER_LEVEL_TBL.count:'
8306: ||nvl(G_LDET_MODIFIER_LEVEL_TBL.count,0),1,'Y');
8307: END IF;
8308:
8309: If nvl(G_LDET_MODIFIER_LEVEL_TBL.count,0) > 0 then

Line 8318: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_BENEFIT_QTY_TBL.count:'

8314: end loop;
8315: end if;
8316: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8317: aso_debug_pub.add(' ',1,'Y');
8318: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_BENEFIT_QTY_TBL.count:'
8319: ||nvl(G_LDET_BENEFIT_QTY_TBL.count,0),1,'Y');
8320: END IF;
8321:
8322: If nvl(G_LDET_BENEFIT_QTY_TBL.count,0) > 0 then

Line 8331: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_BENEFIT_UOM_CODE_TBL.count:'

8327: end loop;
8328: end if;
8329: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8330: aso_debug_pub.add(' ',1,'Y');
8331: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_BENEFIT_UOM_CODE_TBL.count:'
8332: ||nvl(G_LDET_BENEFIT_UOM_CODE_TBL.count,0),1,'Y');
8333: END IF;
8334:
8335: If nvl(G_LDET_BENEFIT_UOM_CODE_TBL.count,0) > 0 then

Line 8344: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LIST_LINE_NO_TBL.count:'

8340: end loop;
8341: end if;
8342: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8343: aso_debug_pub.add(' ',1,'Y');
8344: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LIST_LINE_NO_TBL.count:'
8345: ||nvl(G_LDET_LIST_LINE_NO_TBL.count,0),1,'Y');
8346: END IF;
8347:
8348: If nvl(G_LDET_LIST_LINE_NO_TBL.count,0) > 0 then

Line 8357: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_ACCRUAL_FLAG_TBL.count:'

8353: end loop;
8354: end if;
8355: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8356: aso_debug_pub.add(' ',1,'Y');
8357: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_ACCRUAL_FLAG_TBL.count:'
8358: ||nvl(G_LDET_ACCRUAL_FLAG_TBL.count,0),1,'Y');
8359: END IF;
8360:
8361: If nvl(G_LDET_ACCRUAL_FLAG_TBL.count,0) > 0 then

Line 8370: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_ACCR_CONV_RATE_TBL.count:'

8366: end loop;
8367: end if;
8368: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8369: aso_debug_pub.add(' ',1,'Y');
8370: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_ACCR_CONV_RATE_TBL.count:'
8371: ||nvl(G_LDET_ACCR_CONV_RATE_TBL.count,0),1,'Y');
8372: END IF;
8373:
8374: If nvl(G_LDET_ACCR_CONV_RATE_TBL.count,0) > 0 then

Line 8383: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_ESTIM_ACCR_RATE_TBL.count:'

8379: end loop;
8380: end if;
8381: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8382: aso_debug_pub.add(' ',1,'Y');
8383: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_ESTIM_ACCR_RATE_TBL.count:'
8384: ||nvl(G_LDET_ESTIM_ACCR_RATE_TBL.count,0),1,'Y');
8385: END IF;
8386:
8387: If nvl(G_LDET_ESTIM_ACCR_RATE_TBL.count,0) > 0 then

Line 8396: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_RECURRING_FLAG_TBL.count:'

8392: end loop;
8393: end if;
8394: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8395: aso_debug_pub.add(' ',1,'Y');
8396: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_RECURRING_FLAG_TBL.count:'
8397: ||nvl(G_LDET_RECURRING_FLAG_TBL.count,0),1,'Y');
8398: END IF;
8399:
8400: If nvl(G_LDET_RECURRING_FLAG_TBL.count,0) > 0 then

Line 8409: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_SELECTED_VOL_ATTR_TBL.count:'

8405: end loop;
8406: end if;
8407: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8408: aso_debug_pub.add(' ',1,'Y');
8409: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_SELECTED_VOL_ATTR_TBL.count:'
8410: ||nvl(G_LDET_SELECTED_VOL_ATTR_TBL.count,0),1,'Y');
8411: END IF;
8412:
8413: If nvl(G_LDET_SELECTED_VOL_ATTR_TBL.count,0) > 0 then

Line 8422: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_ROUNDING_FACTOR_TBL.count:'

8418: end loop;
8419: end if;
8420: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8421: aso_debug_pub.add(' ',1,'Y');
8422: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_ROUNDING_FACTOR_TBL.count:'
8423: ||nvl(G_LDET_ROUNDING_FACTOR_TBL.count,0),1,'Y');
8424: END IF;
8425:
8426: If nvl(G_LDET_ROUNDING_FACTOR_TBL.count,0) > 0 then

Line 8435: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_HDR_LIMIT_EXISTS_TBL.count:'

8431: end loop;
8432: end if;
8433: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8434: aso_debug_pub.add(' ',1,'Y');
8435: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_HDR_LIMIT_EXISTS_TBL.count:'
8436: ||nvl(G_LDET_HDR_LIMIT_EXISTS_TBL.count,0),1,'Y');
8437: END IF;
8438:
8439: If nvl(G_LDET_HDR_LIMIT_EXISTS_TBL.count,0) > 0 then

Line 8448: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LINE_LIMIT_EXISTS_TBL.count:'

8444: end loop;
8445: end if;
8446: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8447: aso_debug_pub.add(' ',1,'Y');
8448: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LINE_LIMIT_EXISTS_TBL.count:'
8449: ||nvl(G_LDET_LINE_LIMIT_EXISTS_TBL.count,0),1,'Y');
8450: END IF;
8451:
8452: If nvl(G_LDET_LINE_LIMIT_EXISTS_TBL.count,0) > 0 then

Line 8461: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CHARGE_TYPE_TBL.count:'

8457: end loop;
8458: end if;
8459: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8460: aso_debug_pub.add(' ',1,'Y');
8461: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CHARGE_TYPE_TBL.count:'
8462: ||nvl(G_LDET_CHARGE_TYPE_TBL.count,0),1,'Y');
8463: END IF;
8464:
8465: If nvl(G_LDET_CHARGE_TYPE_TBL.count,0) > 0 then

Line 8474: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CHARGE_SUBTYPE_TBL.count:'

8470: end loop;
8471: end if;
8472: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8473: aso_debug_pub.add(' ',1,'Y');
8474: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CHARGE_SUBTYPE_TBL.count:'
8475: ||nvl(G_LDET_CHARGE_SUBTYPE_TBL.count,0),1,'Y');
8476: END IF;
8477:
8478: If nvl(G_LDET_CHARGE_SUBTYPE_TBL.count,0) > 0 then

Line 8487: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CURRENCY_DTL_ID_TBL.count:'

8483: end loop;
8484: end if;
8485: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8486: aso_debug_pub.add(' ',1,'Y');
8487: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CURRENCY_DTL_ID_TBL.count:'
8488: ||nvl(G_LDET_CURRENCY_DTL_ID_TBL.count,0),1,'Y');
8489: END IF;
8490:
8491: If nvl(G_LDET_CURRENCY_DTL_ID_TBL.count,0) > 0 then

Line 8500: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CURRENCY_HDR_ID_TBL.count:'

8496: end loop;
8497: end if;
8498: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8499: aso_debug_pub.add(' ',1,'Y');
8500: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CURRENCY_HDR_ID_TBL.count:'
8501: ||nvl(G_LDET_CURRENCY_HDR_ID_TBL.count,0),1,'Y');
8502: END IF;
8503:
8504: If nvl(G_LDET_CURRENCY_HDR_ID_TBL.count,0) > 0 then

Line 8513: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_SELLING_ROUND_TBL.count:'

8509: end loop;
8510: end if;
8511: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8512: aso_debug_pub.add(' ',1,'Y');
8513: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_SELLING_ROUND_TBL.count:'
8514: ||nvl(G_LDET_SELLING_ROUND_TBL.count,0),1,'Y');
8515: END IF;
8516:
8517: If nvl(G_LDET_SELLING_ROUND_TBL.count,0) > 0 then

Line 8526: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_ORDER_CURRENCY_TBL.count:'

8522: end loop;
8523: end if;
8524: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8525: aso_debug_pub.add(' ',1,'Y');
8526: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_ORDER_CURRENCY_TBL.count:'
8527: ||nvl(G_LDET_ORDER_CURRENCY_TBL.count,0),1,'Y');
8528: END IF;
8529:
8530: If nvl(G_LDET_ORDER_CURRENCY_TBL.count,0) > 0 then

Line 8539: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICING_EFF_DATE_TBL.count:'

8535: end loop;
8536: end if;
8537: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8538: aso_debug_pub.add(' ',1,'Y');
8539: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_PRICING_EFF_DATE_TBL.count:'
8540: ||nvl(G_LDET_PRICING_EFF_DATE_TBL.count,0),1,'Y');
8541: END IF;
8542:
8543: If nvl(G_LDET_PRICING_EFF_DATE_TBL.count,0) > 0 then

Line 8552: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_BASE_CURRENCY_TBL.count:'

8548: end loop;
8549: end if;
8550: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8551: aso_debug_pub.add(' ',1,'Y');
8552: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_BASE_CURRENCY_TBL.count:'
8553: ||nvl(G_LDET_BASE_CURRENCY_TBL.count,0),1,'Y');
8554: END IF;
8555:
8556: If nvl(G_LDET_BASE_CURRENCY_TBL.count,0) > 0 then

Line 8565: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LINE_QUANTITY_TBL.count:'

8561: end loop;
8562: end if;
8563: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8564: aso_debug_pub.add(' ',1,'Y');
8565: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LINE_QUANTITY_TBL.count:'
8566: ||nvl(G_LDET_LINE_QUANTITY_TBL.count,0),1,'Y');
8567: END IF;
8568:
8569: If nvl(G_LDET_LINE_QUANTITY_TBL.count,0) > 0 then

Line 8578: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_UPDATED_FLAG_TBL.count:'

8574: end loop;
8575: end if;
8576: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8577: aso_debug_pub.add(' ',1,'Y');
8578: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_UPDATED_FLAG_TBL.count:'
8579: ||nvl(G_LDET_UPDATED_FLAG_TBL.count,0),1,'Y');
8580: END IF;
8581:
8582: If nvl(G_LDET_UPDATED_FLAG_TBL.count,0) > 0 then

Line 8591: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CALC_CODE_TBL.count:'

8587: end loop;
8588: end if;
8589: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8590: aso_debug_pub.add(' ',1,'Y');
8591: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CALC_CODE_TBL.count:'
8592: ||nvl(G_LDET_CALC_CODE_TBL.count,0),1,'Y');
8593: END IF;
8594:
8595: If nvl(G_LDET_CALC_CODE_TBL.count,0) > 0 then

Line 8604: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CHG_REASON_CODE_TBL.count:'

8600: end loop;
8601: end if;
8602: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8603: aso_debug_pub.add(' ',1,'Y');
8604: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CHG_REASON_CODE_TBL.count:'
8605: ||nvl(G_LDET_CHG_REASON_CODE_TBL.count,0),1,'Y');
8606: END IF;
8607:
8608: If nvl(G_LDET_CHG_REASON_CODE_TBL.count,0) > 0 then

Line 8617: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CHG_REASON_TEXT_TBL.count:'

8613: end loop;
8614: end if;
8615: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8616: aso_debug_pub.add(' ',1,'Y');
8617: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CHG_REASON_TEXT_TBL.count:'
8618: ||nvl(G_LDET_CHG_REASON_TEXT_TBL.count,0),1,'Y');
8619: END IF;
8620:
8621: If nvl(G_LDET_CHG_REASON_TEXT_TBL.count,0) > 0 then

Line 8639: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_LINE_INDEX_TBL.count:'

8635: IS
8636: BEGIN
8637: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8638: aso_debug_pub.add('**********Global Relationships*****************************************',1,'Y');
8639: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_LINE_INDEX_TBL.count:'
8640: ||nvl(G_RLTD_LINE_INDEX_TBL.count,0),1,'Y');
8641: END IF;
8642: If nvl(G_RLTD_LINE_INDEX_TBL.count,0) > 0 then
8643: For i in 1..G_RLTD_LINE_INDEX_TBL.count loop

Line 8651: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_LINE_DTL_INDEX_TBL.count:'

8647: end loop;
8648: end if;
8649: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8650: aso_debug_pub.add(' ',1,'Y');
8651: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_LINE_DTL_INDEX_TBL.count:'
8652: ||nvl(G_RLTD_LINE_DTL_INDEX_TBL.count,0),1,'Y');
8653: END IF;
8654:
8655: If nvl(G_RLTD_LINE_DTL_INDEX_TBL.count,0) > 0 then

Line 8664: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_RELATION_TYPE_CODE_TBL.count:'

8660: end loop;
8661: end if;
8662: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8663: aso_debug_pub.add(' ',1,'Y');
8664: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_RELATION_TYPE_CODE_TBL.count:'
8665: ||nvl(G_RLTD_RELATION_TYPE_CODE_TBL.count,0),1,'Y');
8666: END IF;
8667:
8668:

Line 8678: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_RELATED_LINE_IND_TBL.count:'

8674: end loop;
8675: end if;
8676: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8677: aso_debug_pub.add(' ',1,'Y');
8678: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_RELATED_LINE_IND_TBL.count:'
8679: ||nvl(G_RLTD_RELATED_LINE_IND_TBL.count,0),1,'Y');
8680: END IF;
8681:
8682: If nvl(G_RLTD_RELATED_LINE_IND_TBL.count,0) > 0 then

Line 8691: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_RLTD_LINE_DTL_IND_TBL.count:'

8687: end loop;
8688: end if;
8689: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8690: aso_debug_pub.add(' ',1,'Y');
8691: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_RLTD_LINE_DTL_IND_TBL.count:'
8692: ||nvl(G_RLTD_RLTD_LINE_DTL_IND_TBL.count,0),1,'Y');
8693: END IF;
8694:
8695: If nvl(G_RLTD_RLTD_LINE_DTL_IND_TBL.count,0) > 0 then

Line 8705: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_LST_LN_ID_DEF_TBL.count:'

8701: end if;
8702:
8703: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8704: aso_debug_pub.add(' ',1,'Y');
8705: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_LST_LN_ID_DEF_TBL.count:'
8706: ||nvl(G_RLTD_LST_LN_ID_DEF_TBL.count,0),1,'Y');
8707: END IF;
8708:
8709: If nvl(G_RLTD_LST_LN_ID_DEF_TBL.count,0) > 0 then

Line 8719: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_RLTD_LST_LN_ID_DEF_TBL.count:'

8715: end if;
8716:
8717: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8718: aso_debug_pub.add(' ',1,'Y');
8719: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_RLTD_LST_LN_ID_DEF_TBL.count:'
8720: ||nvl(G_RLTD_RLTD_LST_LN_ID_DEF_TBL.count,0),1,'Y');
8721: END IF;
8722:
8723: If nvl(G_RLTD_RLTD_LST_LN_ID_DEF_TBL.count,0) > 0 then

Line 8790: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error in insert_lines2',1,'Y');

8786: x_status_text =>l_return_status_text);
8787:
8788: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
8789: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8790: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error in insert_lines2',1,'Y');
8791: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_return_status_text:'||l_return_status_text,1,'Y');
8792: END IF;
8793: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8794: END IF;

Line 8791: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_return_status_text:'||l_return_status_text,1,'Y');

8787:
8788: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
8789: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8790: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error in insert_lines2',1,'Y');
8791: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_return_status_text:'||l_return_status_text,1,'Y');
8792: END IF;
8793: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8794: END IF;
8795:

Line 8833: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error inserting into line attrs'||sqlerrm,1,'Y');

8829: x_status_text => l_return_status_text );
8830:
8831: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
8832: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8833: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error inserting into line attrs'||sqlerrm,1,'Y');
8834: END IF;
8835: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8836: END IF;
8837:

Line 8904: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error inserting into adj ldets'||sqlerrm,1,'Y');

8900: x_status_text => l_return_status_text);
8901:
8902: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
8903: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8904: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error inserting into adj ldets'||sqlerrm,1,'Y');
8905: END IF;
8906: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8907: END IF;
8908:

Line 8928: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error inserting into adj relationship'||sqlerrm,1,'Y');

8924: x_status_text => l_return_status_text);
8925:
8926: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
8927: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8928: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error inserting into adj relationship'||sqlerrm,1,'Y');
8929: END IF;
8930: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8931: END IF;
8932:

Line 8936: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After direct insert into temp table: bulk insert',1,'Y');

8932:
8933: END IF;--G_RLTD_LINE_INDEX_TBL
8934:
8935: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8936: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After direct insert into temp table: bulk insert',1,'Y');
8937: END IF;
8938:
8939: EXCEPTION
8940: WHEN OTHERS THEN

Line 8996: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside Delete_Promotion', 1, 'Y');

8992:
8993: BEGIN
8994:
8995: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8996: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside Delete_Promotion', 1, 'Y');
8997: END IF;
8998:
8999:
9000: -- Standard Start of API savepoint

Line 9021: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_price_attr_tbl.count:'||nvl(p_price_attr_tbl.count,0),1,'Y');

9017: END IF;
9018:
9019: x_return_status := FND_API.G_RET_STS_SUCCESS;
9020: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9021: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_price_attr_tbl.count:'||nvl(p_price_attr_tbl.count,0),1,'Y');
9022: END IF;
9023:
9024: For i in 1..p_price_attr_tbl.count loop
9025: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 9026: aso_debug_pub.add('ASO_PRICING_CORE_PVT:In Delete Promotion - p_price_attr_tbl(i).operation_code:'

9022: END IF;
9023:
9024: For i in 1..p_price_attr_tbl.count loop
9025: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9026: aso_debug_pub.add('ASO_PRICING_CORE_PVT:In Delete Promotion - p_price_attr_tbl(i).operation_code:'
9027: ||p_price_attr_tbl(i).operation_code,1,'Y');
9028: END IF;
9029: If p_price_attr_tbl(i).operation_code = 'DELETE' Then
9030: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 9031: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Parameters passed to Delete_Promotion: loop '||i,1,'Y');

9027: ||p_price_attr_tbl(i).operation_code,1,'Y');
9028: END IF;
9029: If p_price_attr_tbl(i).operation_code = 'DELETE' Then
9030: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9031: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Parameters passed to Delete_Promotion: loop '||i,1,'Y');
9032: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_header_id:'||p_price_attr_tbl(i).quote_header_id,1,'Y');
9033: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9034: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9035: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');

Line 9032: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_header_id:'||p_price_attr_tbl(i).quote_header_id,1,'Y');

9028: END IF;
9029: If p_price_attr_tbl(i).operation_code = 'DELETE' Then
9030: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9031: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Parameters passed to Delete_Promotion: loop '||i,1,'Y');
9032: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_header_id:'||p_price_attr_tbl(i).quote_header_id,1,'Y');
9033: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9034: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9035: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');
9036: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute2:'||p_price_attr_tbl(i).pricing_attribute2,1,'Y');

Line 9033: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');

9029: If p_price_attr_tbl(i).operation_code = 'DELETE' Then
9030: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9031: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Parameters passed to Delete_Promotion: loop '||i,1,'Y');
9032: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_header_id:'||p_price_attr_tbl(i).quote_header_id,1,'Y');
9033: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9034: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9035: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');
9036: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute2:'||p_price_attr_tbl(i).pricing_attribute2,1,'Y');
9037: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Flex_title:'||p_price_attr_tbl(i).flex_title,1,'Y');

Line 9034: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');

9030: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9031: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Parameters passed to Delete_Promotion: loop '||i,1,'Y');
9032: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_header_id:'||p_price_attr_tbl(i).quote_header_id,1,'Y');
9033: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9034: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9035: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');
9036: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute2:'||p_price_attr_tbl(i).pricing_attribute2,1,'Y');
9037: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Flex_title:'||p_price_attr_tbl(i).flex_title,1,'Y');
9038: END IF;

Line 9035: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');

9031: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Parameters passed to Delete_Promotion: loop '||i,1,'Y');
9032: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_header_id:'||p_price_attr_tbl(i).quote_header_id,1,'Y');
9033: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9034: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9035: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');
9036: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute2:'||p_price_attr_tbl(i).pricing_attribute2,1,'Y');
9037: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Flex_title:'||p_price_attr_tbl(i).flex_title,1,'Y');
9038: END IF;
9039:

Line 9036: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute2:'||p_price_attr_tbl(i).pricing_attribute2,1,'Y');

9032: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_header_id:'||p_price_attr_tbl(i).quote_header_id,1,'Y');
9033: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9034: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9035: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');
9036: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute2:'||p_price_attr_tbl(i).pricing_attribute2,1,'Y');
9037: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Flex_title:'||p_price_attr_tbl(i).flex_title,1,'Y');
9038: END IF;
9039:
9040: If p_price_attr_tbl(i).price_attribute_id is not null then

Line 9037: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Flex_title:'||p_price_attr_tbl(i).flex_title,1,'Y');

9033: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9034: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9035: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');
9036: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute2:'||p_price_attr_tbl(i).pricing_attribute2,1,'Y');
9037: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Flex_title:'||p_price_attr_tbl(i).flex_title,1,'Y');
9038: END IF;
9039:
9040: If p_price_attr_tbl(i).price_attribute_id is not null then
9041: If ((p_price_attr_tbl(i).pricing_attribute1 IS NULL

Line 9051: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting Price attributes or promocodes from Istorewith Price_attribute_id:'||p_price_attr_tbl(i).Price_attribute_id,1,'Y');

9047: OR (p_price_attr_tbl(i).flex_title = FND_API.G_MISS_CHAR
9048: OR p_price_attr_tbl(i).flex_title IS NULL)) then
9049: /*Deleting the attributes or promotions from Istore*/
9050: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9051: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting Price attributes or promocodes from Istorewith Price_attribute_id:'||p_price_attr_tbl(i).Price_attribute_id,1,'Y');
9052: END IF;
9053: ASO_PRICE_ATTRIBUTES_PKG.Delete_Row
9054: (p_PRICE_ATTRIBUTE_ID => p_price_attr_tbl(i).price_attribute_id);
9055: else

Line 9077: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting header level adjustments',1,'Y');

9073: OR p_price_attr_tbl(i).quote_line_id = FND_API.G_MISS_NUM) then
9074: /*Delete all the header level adjustments*/
9075:
9076: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9077: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting header level adjustments',1,'Y');
9078: END IF;
9079: If (p_price_attr_tbl(i).pricing_attribute2 is null
9080: OR p_price_attr_tbl(i).pricing_attribute2 = FND_API.G_MISS_CHAR) then
9081:

Line 9084: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting header level adjustments with the modifier_header_id',1,'Y');

9080: OR p_price_attr_tbl(i).pricing_attribute2 = FND_API.G_MISS_CHAR) then
9081:
9082: /*Delete all the adjustment record with the modifier_header_id*/
9083: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9084: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting header level adjustments with the modifier_header_id',1,'Y');
9085: END IF;
9086:
9087: OPEN C_get_adj_id_HdrH(p_price_attr_tbl(i).quote_header_id,
9088: p_price_attr_tbl(i).pricing_attribute1);

Line 9102: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting header level adjustments with the modifier_line_id',1,'Y');

9098: OR p_price_attr_tbl(i).pricing_attribute1 = FND_API.G_MISS_CHAR) then
9099:
9100: /*Delete all the adjustment record with the modifier_line_id*/
9101: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9102: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting header level adjustments with the modifier_line_id',1,'Y');
9103: END IF;
9104:
9105: OPEN C_get_adj_id_HdrL(p_price_attr_tbl(i).quote_header_id,
9106: p_price_attr_tbl(i).pricing_attribute2);

Line 9110: aso_debug_pub.add('ASO_PRICING_CORE_PVT:No record in C_get_adj_id_HdrL:i - '||i,1,'Y');

9106: p_price_attr_tbl(i).pricing_attribute2);
9107: FETCH C_get_adj_id_HdrL INTO l_price_adjustment_id;
9108: IF (C_get_adj_id_HdrL%NOTFOUND) THEN
9109: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9110: aso_debug_pub.add('ASO_PRICING_CORE_PVT:No record in C_get_adj_id_HdrL:i - '||i,1,'Y');
9111: END IF;
9112: /*Do not error OUT do nothing*/
9113: ELSE
9114: ASO_PRICE_ADJUSTMENTS_PKG.Delete_Row(p_PRICE_ADJ_ID => l_price_adjustment_id);

Line 9122: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting line level adjustments',1,'Y');

9118:
9119: Else/*Delete all the line level adjustments*/
9120:
9121: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9122: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting line level adjustments',1,'Y');
9123: END IF;
9124:
9125: If (p_price_attr_tbl(i).pricing_attribute2 is null
9126: OR p_price_attr_tbl(i).pricing_attribute2 = FND_API.G_MISS_CHAR) then

Line 9130: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting line level adjustments with the modifier_header_id',1,'Y');

9126: OR p_price_attr_tbl(i).pricing_attribute2 = FND_API.G_MISS_CHAR) then
9127:
9128: /*Delete all the adjustment record with the modifier_header_id*/
9129: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9130: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting line level adjustments with the modifier_header_id',1,'Y');
9131: END IF;
9132:
9133: OPEN C_get_adj_id_LnH(p_price_attr_tbl(i).quote_header_id,
9134: p_price_attr_tbl(i).quote_line_id,

Line 9151: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting line level adjustments with the modifier_line_id',1,'Y');

9147: OR p_price_attr_tbl(i).pricing_attribute1 = FND_API.G_MISS_CHAR) then
9148:
9149: /*Delete all the adjustment record with the modifier_line_id*/
9150: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9151: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting line level adjustments with the modifier_line_id',1,'Y');
9152: END IF;
9153:
9154: OPEN C_get_adj_id_LnL(p_price_attr_tbl(i).quote_header_id,
9155: p_price_attr_tbl(i).quote_line_id,

Line 9161: aso_debug_pub.add('ASO_PRICING_CORE_PVT:No record in C_get_adj_id_LnL:i'||i,1,'Y');

9157: );
9158: FETCH C_get_adj_id_LnL INTO l_price_adjustment_id;
9159: IF (C_get_adj_id_LnL%NOTFOUND) THEN
9160: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9161: aso_debug_pub.add('ASO_PRICING_CORE_PVT:No record in C_get_adj_id_LnL:i'||i,1,'Y');
9162: END IF;
9163: /*Do not error OUT - do nothing*/
9164: ELSE
9165: ASO_PRICE_ADJUSTMENTS_PKG.Delete_Row(p_PRICE_ADJ_ID => l_price_adjustment_id);

Line 9176: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Deleting Adj Deleting the attribute rec',1,'Y');

9172:
9173: /*Delete the Price Attribute Record*/
9174:
9175: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9176: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Deleting Adj Deleting the attribute rec',1,'Y');
9177: END IF;
9178: ASO_PRICE_ATTRIBUTES_PKG.Delete_Row
9179: (p_PRICE_ATTRIBUTE_ID => p_price_attr_tbl(i).price_attribute_id);
9180:

Line 9190: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Delete_Promotion Ends', 1, 'Y');

9186:
9187: End Loop;
9188:
9189: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9190: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Delete_Promotion Ends', 1, 'Y');
9191: END IF;
9192:
9193: -- Standard check for p_commit
9194: IF FND_API.to_Boolean( p_commit ) THEN

Line 9351: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Copy_Price_To_Quote ',1,'Y');

9347: FND_MSG_PUB.initialize;
9348: END IF;
9349:
9350: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9351: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Copy_Price_To_Quote ',1,'Y');
9352: aso_debug_pub.add('ASO_PRICING_CORE_PVT:P_control_rec.price_mode:'||P_control_rec.price_mode,1,'Y');
9353: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type:'||p_insert_type,1,'Y');
9354: END IF;
9355: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 9352: aso_debug_pub.add('ASO_PRICING_CORE_PVT:P_control_rec.price_mode:'||P_control_rec.price_mode,1,'Y');

9348: END IF;
9349:
9350: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9351: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Copy_Price_To_Quote ',1,'Y');
9352: aso_debug_pub.add('ASO_PRICING_CORE_PVT:P_control_rec.price_mode:'||P_control_rec.price_mode,1,'Y');
9353: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type:'||p_insert_type,1,'Y');
9354: END IF;
9355: x_return_status := FND_API.G_RET_STS_SUCCESS;
9356: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 9353: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type:'||p_insert_type,1,'Y');

9349:
9350: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9351: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Copy_Price_To_Quote ',1,'Y');
9352: aso_debug_pub.add('ASO_PRICING_CORE_PVT:P_control_rec.price_mode:'||P_control_rec.price_mode,1,'Y');
9353: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type:'||p_insert_type,1,'Y');
9354: END IF;
9355: x_return_status := FND_API.G_RET_STS_SUCCESS;
9356: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9357: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Post_Price_Request for p_qte_header_rec.quote_header_id'

Line 9357: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Post_Price_Request for p_qte_header_rec.quote_header_id'

9353: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type:'||p_insert_type,1,'Y');
9354: END IF;
9355: x_return_status := FND_API.G_RET_STS_SUCCESS;
9356: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9357: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Post_Price_Request for p_qte_header_rec.quote_header_id'
9358: ||p_qte_header_rec.quote_header_id,1,'Y');
9359: END IF;
9360:
9361: SELECT count(rowid)

Line 9367: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_db_line_counter:'||l_db_line_counter,1,'Y');

9363: FROM ASO_QUOTE_LINES_ALL
9364: WHERE quote_header_id = p_qte_header_rec.quote_header_id;
9365:
9366: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9367: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_db_line_counter:'||l_db_line_counter,1,'Y');
9368: END IF;
9369:
9370: If l_db_line_counter <> 0 Then
9371:

Line 9374: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor line_id:'

9370: If l_db_line_counter <> 0 Then
9371:
9372: FOR C_status_code_rec in C_status_code LOOP
9373: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9374: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor line_id:'
9375: ||C_status_code_rec.line_id,1,'Y');
9376: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_code:'
9377: ||C_status_code_rec.pricing_status_code,1,'Y');
9378: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_text:'

Line 9376: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_code:'

9372: FOR C_status_code_rec in C_status_code LOOP
9373: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9374: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor line_id:'
9375: ||C_status_code_rec.line_id,1,'Y');
9376: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_code:'
9377: ||C_status_code_rec.pricing_status_code,1,'Y');
9378: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_text:'
9379: ||C_status_code_rec.pricing_status_text,1,'Y');
9380: END IF;

Line 9378: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_text:'

9374: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor line_id:'
9375: ||C_status_code_rec.line_id,1,'Y');
9376: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_code:'
9377: ||C_status_code_rec.pricing_status_code,1,'Y');
9378: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_text:'
9379: ||C_status_code_rec.pricing_status_text,1,'Y');
9380: END IF;
9381: x_return_status := FND_API.G_RET_STS_ERROR;
9382: l_message_text := C_status_code_rec.pricing_status_code || ': '||C_status_code_rec.pricing_status_text;

Line 9394: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_profile_value - ASO_GSA_PRICING:'||l_profile_value,1,'Y');

9390: END LOOP;
9391:
9392: l_profile_value := FND_PROFILE.value('ASO_GSA_PRICING');
9393: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9394: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_profile_value - ASO_GSA_PRICING:'||l_profile_value,1,'Y');
9395: END IF;
9396: IF ( l_profile_value = 'ERROR' ) THEN
9397: FOR C_status_code_GSA_rec in C_status_code_GSA LOOP
9398: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 9399: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside GSA error',1,'Y');

9395: END IF;
9396: IF ( l_profile_value = 'ERROR' ) THEN
9397: FOR C_status_code_GSA_rec in C_status_code_GSA LOOP
9398: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9399: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside GSA error',1,'Y');
9400: END IF;
9401: x_return_status := FND_API.G_RET_STS_ERROR;
9402: FND_MESSAGE.Set_Name('ASO', 'GSA Violation in Pricing');
9403: FND_MSG_PUB.ADD;

Line 9409: aso_debug_pub.add('ASO_PRICING_CORE_PVT:inside GSA Warning',1,'Y');

9405: END LOOP;
9406: ELSE
9407: FOR C_status_code_GSA_rec in C_status_code_GSA LOOP
9408: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9409: aso_debug_pub.add('ASO_PRICING_CORE_PVT:inside GSA Warning',1,'Y');
9410: END IF;
9411: FND_MESSAGE.Set_Name('ASO', 'GSA Violation in Pricing');
9412: FND_MSG_PUB.ADD;
9413: END LOOP;

Line 9417: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Error Handling',1,'Y');

9413: END LOOP;
9414: END IF;
9415:
9416: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9417: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Error Handling',1,'Y');
9418: aso_debug_pub.add('ASO_PRICING_CORE_PVT:quote header id = '||p_qte_header_rec.quote_header_id,1,'Y');
9419: END IF;
9420:
9421: /*

Line 9418: aso_debug_pub.add('ASO_PRICING_CORE_PVT:quote header id = '||p_qte_header_rec.quote_header_id,1,'Y');

9414: END IF;
9415:
9416: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9417: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Error Handling',1,'Y');
9418: aso_debug_pub.add('ASO_PRICING_CORE_PVT:quote header id = '||p_qte_header_rec.quote_header_id,1,'Y');
9419: END IF;
9420:
9421: /*
9422: * Updating Quote Lines

Line 9427: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before updating lines P_control_rec.pricing_event:'

9423: */
9424:
9425:
9426: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9427: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before updating lines P_control_rec.pricing_event:'
9428: ||P_control_rec.pricing_event,1,'Y');
9429: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before updating lines P_control_rec.price_mode : '
9430: ||P_control_rec.price_mode,1,'Y');
9431: END IF;

Line 9429: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before updating lines P_control_rec.price_mode : '

9425:
9426: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9427: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before updating lines P_control_rec.pricing_event:'
9428: ||P_control_rec.pricing_event,1,'Y');
9429: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before updating lines P_control_rec.price_mode : '
9430: ||P_control_rec.price_mode,1,'Y');
9431: END IF;
9432:
9433: If (P_control_rec.pricing_event = 'PRICE') then

Line 9476: aso_debug_pub.add('ASO_PRICING_CORE_PVT:With Price Event Lines Updated '||sql%ROWCOUNT,1,'Y');

9472: IN (QP_PREQ_GRP.G_STATUS_UPDATED, QP_PREQ_GRP.G_STATUS_GSA_VIOLATION)
9473: AND lines.line_type_code='LINE');
9474:
9475: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9476: aso_debug_pub.add('ASO_PRICING_CORE_PVT:With Price Event Lines Updated '||sql%ROWCOUNT,1,'Y');
9477: END IF;
9478:
9479: else
9480: -- manual price change is possible

Line 9530: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Lines Updated '||sql%ROWCOUNT,1,'Y');

9526: AND lines.line_type_code='LINE');
9527:
9528:
9529: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9530: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Lines Updated '||sql%ROWCOUNT,1,'Y');
9531: END IF;
9532:
9533: end If;--If P_control_rec.pricing_event = 'PRICE'
9534:

Line 9538: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type: '||p_insert_type,1,'Y');

9534:
9535: --Bulk Insert of Price Adjustment from QP temp table for a quote Header
9536: If (p_control_rec.pricing_event = 'BATCH') OR (p_control_rec.pricing_event = 'ORDER') then
9537: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9538: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type: '||p_insert_type,1,'Y');
9539: END IF;
9540:
9541: If p_insert_type = 'HDR' then
9542:

Line 9643: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment '||sql%ROWCOUNT,1,'Y');

9639: AND ldets_v.process_code = QP_PREQ_GRP.G_STATUS_NEW
9640: AND nvl(ldets_v.created_from_list_type_code,'X') not in ('PRL','AGR'));
9641:
9642: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9643: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment '||sql%ROWCOUNT,1,'Y');
9644: END IF;
9645:
9646:
9647: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 9727: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Relationships '||sql%ROWCOUNT,1,'Y');

9723: AND radj.quote_line_id = rltd_line.line_id
9724: AND radj.modifier_line_id = rltd.related_list_line_id);
9725:
9726: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9727: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Relationships '||sql%ROWCOUNT,1,'Y');
9728: END IF;
9729:
9730:
9731: /*

Line 9785: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Attributes - Line Level Attributes'||sql%ROWCOUNT,1,'Y');

9781: AND QPLAT.LINE_DETAIL_INDEX = LDETS.LINE_DETAIL_INDEX
9782: AND QPLAT.PRICING_STATUS_CODE = QP_PREQ_PUB.G_STATUS_NEW);
9783:
9784: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9785: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Attributes - Line Level Attributes'||sql%ROWCOUNT,1,'Y');
9786: END IF;
9787:
9788: -- Added hint to fix perf bug 5614878.
9789:

Line 9836: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Attributes - Header Level Attributes'||sql%ROWCOUNT,1,'Y');

9832: AND QPLAT.LINE_DETAIL_INDEX = LDETS.LINE_DETAIL_INDEX
9833: AND QPLAT.PRICING_STATUS_CODE = QP_PREQ_PUB.G_STATUS_NEW);
9834:
9835: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9836: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Attributes - Header Level Attributes'||sql%ROWCOUNT,1,'Y');
9837: END IF;
9838:
9839:
9840: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 9841: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');

9837: END IF;
9838:
9839:
9840: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9841: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');
9842: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_qte_header_rec.quote_header_id :'||NVL(p_qte_header_rec.quote_header_id,0), 1, 'Y');
9843: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');
9844: END IF;
9845:

Line 9842: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_qte_header_rec.quote_header_id :'||NVL(p_qte_header_rec.quote_header_id,0), 1, 'Y');

9838:
9839:
9840: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9841: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');
9842: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_qte_header_rec.quote_header_id :'||NVL(p_qte_header_rec.quote_header_id,0), 1, 'Y');
9843: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');
9844: END IF;
9845:
9846: PROCESS_HDR_TSN(p_qte_header_rec.quote_header_id);

Line 9843: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');

9839:
9840: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9841: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');
9842: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_qte_header_rec.quote_header_id :'||NVL(p_qte_header_rec.quote_header_id,0), 1, 'Y');
9843: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');
9844: END IF;
9845:
9846: PROCESS_HDR_TSN(p_qte_header_rec.quote_header_id);
9847:

Line 9852: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Ends Here ******************', 1, 'Y');

9848: PROCESS_LN_TSN(p_qte_header_rec.quote_header_id, p_insert_type);
9849:
9850:
9851: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9852: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Ends Here ******************', 1, 'Y');
9853: END IF;
9854:
9855: Elsif p_insert_type = 'NO_HDR' then
9856: /*p_insert_type <> 'HDR'*/

Line 9858: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Only insert line level adjustments and relationships and attribs',1,'Y');

9854:
9855: Elsif p_insert_type = 'NO_HDR' then
9856: /*p_insert_type <> 'HDR'*/
9857: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9858: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Only insert line level adjustments and relationships and attribs',1,'Y');
9859: END IF;
9860:
9861: INSERT INTO ASO_PRICE_ADJUSTMENTS
9862: (price_adjustment_id,

Line 9963: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment '||sql%ROWCOUNT,1,'Y');

9959: AND ldets_v.process_code = QP_PREQ_GRP.G_STATUS_NEW
9960: AND nvl(ldets_v.created_from_list_type_code,'X') not in ('PRL','AGR'));
9961:
9962: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9963: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment '||sql%ROWCOUNT,1,'Y');
9964: END IF;
9965:
9966:
9967: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 10046: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Relationships '||sql%ROWCOUNT,1,'Y');

10042: AND radj.quote_line_id = rltd_line.line_id
10043: AND radj.modifier_line_id = rltd.related_list_line_id);
10044:
10045: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10046: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Relationships '||sql%ROWCOUNT,1,'Y');
10047: END IF;
10048:
10049:
10050: /*

Line 10103: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Attributes - Line Level Attributes'||sql%ROWCOUNT,1,'Y');

10099: AND QPLAT.LINE_DETAIL_INDEX = LDETS.LINE_DETAIL_INDEX
10100: AND QPLAT.PRICING_STATUS_CODE = QP_PREQ_PUB.G_STATUS_NEW);
10101:
10102: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10103: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Attributes - Line Level Attributes'||sql%ROWCOUNT,1,'Y');
10104: END IF;
10105:
10106: PROCESS_LN_TSN(p_qte_header_rec.quote_header_id, p_insert_type);
10107:

Line 10112: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type: '||p_insert_type,1,'Y');

10108: ELSE
10109: /* p_insert_type = 'HDR_ONLY' */
10110:
10111: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10112: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type: '||p_insert_type,1,'Y');
10113: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inserting only header level adjustments',1,'Y');
10114: END IF;
10115:
10116: INSERT INTO ASO_PRICE_ADJUSTMENTS

Line 10113: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inserting only header level adjustments',1,'Y');

10109: /* p_insert_type = 'HDR_ONLY' */
10110:
10111: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10112: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type: '||p_insert_type,1,'Y');
10113: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inserting only header level adjustments',1,'Y');
10114: END IF;
10115:
10116: INSERT INTO ASO_PRICE_ADJUSTMENTS
10117: (price_adjustment_id,

Line 10217: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment '||sql%ROWCOUNT,1,'Y');

10213: AND nvl(ldets_v.created_from_list_type_code,'X') not in ('PRL','AGR')
10214: AND ldets_v.modifier_level_code = 'ORDER');
10215:
10216: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10217: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment '||sql%ROWCOUNT,1,'Y');
10218: END IF;
10219:
10220:
10221: -- Added hint to fix perf bug 5614878.

Line 10269: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert Adjustment Attributes - Header Level Attributes'||sql%ROWCOUNT,1,'Y');

10265: AND QPLAT.LINE_DETAIL_INDEX = LDETS.LINE_DETAIL_INDEX
10266: AND QPLAT.PRICING_STATUS_CODE = QP_PREQ_PUB.G_STATUS_NEW);
10267:
10268: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10269: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert Adjustment Attributes - Header Level Attributes'||sql%ROWCOUNT,1,'Y');
10270: END IF;
10271:
10272: PROCESS_HDR_TSN(p_qte_header_rec.quote_header_id);
10273:

Line 10385: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');

10381:
10382: end if;--l_db_line_counter<>0
10383: /***********************************************************
10384: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10385: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');
10386: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_qte_header_rec.quote_header_id :'||NVL(p_qte_header_rec.quote_header_id,0), 1, 'Y');
10387: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');
10388: END IF;
10389:

Line 10386: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_qte_header_rec.quote_header_id :'||NVL(p_qte_header_rec.quote_header_id,0), 1, 'Y');

10382: end if;--l_db_line_counter<>0
10383: /***********************************************************
10384: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10385: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');
10386: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_qte_header_rec.quote_header_id :'||NVL(p_qte_header_rec.quote_header_id,0), 1, 'Y');
10387: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');
10388: END IF;
10389:
10390: If p_insert_type = 'HDR' then

Line 10387: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');

10383: /***********************************************************
10384: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10385: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');
10386: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_qte_header_rec.quote_header_id :'||NVL(p_qte_header_rec.quote_header_id,0), 1, 'Y');
10387: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');
10388: END IF;
10389:
10390: If p_insert_type = 'HDR' then
10391:

Line 10398: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Ends Here ******************', 1, 'Y');

10394: PROCESS_LN_TSN(p_qte_header_rec.quote_header_id);
10395:
10396:
10397: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10398: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Ends Here ******************', 1, 'Y');
10399: END IF;
10400: end if;
10401: *******************************************/
10402:

Line 10417: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');

10413:
10414: for l in 1 ..x_msg_count loop
10415: x_msg_data := fnd_msg_pub.get( p_msg_index => l, p_encoded => 'F');
10416: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10417: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');
10418: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');
10419: END IF;
10420: end loop;
10421:

Line 10418: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');

10414: for l in 1 ..x_msg_count loop
10415: x_msg_data := fnd_msg_pub.get( p_msg_index => l, p_encoded => 'F');
10416: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10417: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');
10418: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');
10419: END IF;
10420: end loop;
10421:
10422: END Copy_Price_To_Quote;

Line 10433: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Modify_Global_PlsIndex_Table ',1,'Y');

10429: l_global_tbl QP_PREQ_GRP.pls_integer_type;
10430: BEGIN
10431: l_global_tbl.delete;
10432: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10433: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Modify_Global_PlsIndex_Table ',1,'Y');
10434: END IF;
10435:
10436: For i in 1..p_global_tbl.count LOOP
10437: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 10438: aso_debug_pub.add('ASO_PRICING_CORE_PVT:i:'||i,1,'Y');

10434: END IF;
10435:
10436: For i in 1..p_global_tbl.count LOOP
10437: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10438: aso_debug_pub.add('ASO_PRICING_CORE_PVT:i:'||i,1,'Y');
10439: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');
10440: END IF;
10441:
10442: If p_global_tbl(i) = 1 then

Line 10439: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');

10435:
10436: For i in 1..p_global_tbl.count LOOP
10437: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10438: aso_debug_pub.add('ASO_PRICING_CORE_PVT:i:'||i,1,'Y');
10439: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');
10440: END IF;
10441:
10442: If p_global_tbl(i) = 1 then
10443: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 10448: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_search_tbl(p_global_tbl(i)):'||p_search_tbl(p_global_tbl(i)),1,'Y');

10444: aso_debug_pub.add('This is a header record value assigned 1',1,'Y');
10445: END IF;
10446: l_global_tbl(i) := 1;
10447: Else
10448: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_search_tbl(p_global_tbl(i)):'||p_search_tbl(p_global_tbl(i)),1,'Y');
10449: l_global_tbl(i) := p_search_tbl(p_global_tbl(i));
10450: End If;
10451: END LOOP;--End for loop
10452: RETURN l_global_tbl;

Line 10465: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Modify_Global_NumIndex_Table ',1,'Y');

10461: l_global_tbl QP_PREQ_GRP.NUMBER_TYPE;
10462: BEGIN
10463: l_global_tbl.delete;
10464: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10465: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Modify_Global_NumIndex_Table ',1,'Y');
10466: END IF;
10467:
10468: For i in 1..p_global_tbl.count LOOP
10469: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 10470: aso_debug_pub.add('ASO_PRICING_CORE_PVT:i:'||i,1,'Y');

10466: END IF;
10467:
10468: For i in 1..p_global_tbl.count LOOP
10469: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10470: aso_debug_pub.add('ASO_PRICING_CORE_PVT:i:'||i,1,'Y');
10471: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');
10472: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_search_tbl(p_global_tbl(i)):'||p_search_tbl(p_global_tbl(i)),1,'Y');
10473: END IF;
10474: l_global_tbl(i) := p_search_tbl(p_global_tbl(i));

Line 10471: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');

10467:
10468: For i in 1..p_global_tbl.count LOOP
10469: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10470: aso_debug_pub.add('ASO_PRICING_CORE_PVT:i:'||i,1,'Y');
10471: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');
10472: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_search_tbl(p_global_tbl(i)):'||p_search_tbl(p_global_tbl(i)),1,'Y');
10473: END IF;
10474: l_global_tbl(i) := p_search_tbl(p_global_tbl(i));
10475: END LOOP;--End for loop

Line 10472: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_search_tbl(p_global_tbl(i)):'||p_search_tbl(p_global_tbl(i)),1,'Y');

10468: For i in 1..p_global_tbl.count LOOP
10469: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10470: aso_debug_pub.add('ASO_PRICING_CORE_PVT:i:'||i,1,'Y');
10471: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');
10472: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_search_tbl(p_global_tbl(i)):'||p_search_tbl(p_global_tbl(i)),1,'Y');
10473: END IF;
10474: l_global_tbl(i) := p_search_tbl(p_global_tbl(i));
10475: END LOOP;--End for loop
10476: RETURN l_global_tbl;

Line 10527: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges ',1,'Y');

10523: FND_MSG_PUB.initialize;
10524: END IF;
10525:
10526: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10527: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges ',1,'Y');
10528: END IF;
10529:
10530: x_return_status := FND_API.G_RET_STS_SUCCESS;
10531: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 10532: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges:p_control_rec.pricing_event: '

10528: END IF;
10529:
10530: x_return_status := FND_API.G_RET_STS_SUCCESS;
10531: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10532: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges:p_control_rec.pricing_event: '
10533: ||p_control_rec.pricing_event,1,'Y');
10534: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges:p_control_rec.calculate_flag: '
10535: ||p_control_rec.calculate_flag,1,'Y');
10536: END IF;

Line 10534: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges:p_control_rec.calculate_flag: '

10530: x_return_status := FND_API.G_RET_STS_SUCCESS;
10531: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10532: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges:p_control_rec.pricing_event: '
10533: ||p_control_rec.pricing_event,1,'Y');
10534: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges:p_control_rec.calculate_flag: '
10535: ||p_control_rec.calculate_flag,1,'Y');
10536: END IF;
10537:
10538: If (p_control_rec.pricing_event = 'BATCH') OR (p_control_rec.pricing_event = 'ORDER') then

Line 10542: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_SHIPMENTS:l_hdr_shipping_charge: '

10538: If (p_control_rec.pricing_event = 'BATCH') OR (p_control_rec.pricing_event = 'ORDER') then
10539:
10540: l_hdr_shipping_charge := ASO_SHIPPING_INT.Get_Header_Freight_Charges(p_qte_header_rec.quote_header_id);
10541: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10542: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_SHIPMENTS:l_hdr_shipping_charge: '
10543: ||l_hdr_shipping_charge,1,'Y');
10544: END IF;
10545: UPDATE ASO_SHIPMENTS
10546: SET SHIP_QUOTE_PRICE = l_hdr_shipping_charge,

Line 10562: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_SHIPMENTS:quote_line_id: '||ls_qte_line_tbl(i).quote_line_id

10558: FOR i IN 1..ls_qte_line_tbl.count LOOP
10559: l_line_shipping_charge := ASO_SHIPPING_INT.get_line_freight_charges
10560: (p_qte_header_rec.quote_header_id,ls_qte_line_tbl(i).quote_line_id);
10561: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10562: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_SHIPMENTS:quote_line_id: '||ls_qte_line_tbl(i).quote_line_id
10563: ||' line charge for the quote line:'||l_line_shipping_charge,1,'Y');
10564: END IF;
10565:
10566: UPDATE ASO_SHIPMENTS

Line 10577: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Update Shipment info and before calling get_line_freight_charges Ends', 1, 'Y');

10573: AND QUOTE_LINE_ID = ls_qte_line_tbl(i).quote_line_id;
10574: END LOOP;
10575:
10576: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10577: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Update Shipment info and before calling get_line_freight_charges Ends', 1, 'Y');
10578: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Cursor c_qte_sum opens and update of total for ASO_QUOTE_HEADERS_ALL Starts',1,'Y');
10579: END IF;
10580:
10581: OPEN c_qte_sum;

Line 10578: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Cursor c_qte_sum opens and update of total for ASO_QUOTE_HEADERS_ALL Starts',1,'Y');

10574: END LOOP;
10575:
10576: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10577: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Update Shipment info and before calling get_line_freight_charges Ends', 1, 'Y');
10578: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Cursor c_qte_sum opens and update of total for ASO_QUOTE_HEADERS_ALL Starts',1,'Y');
10579: END IF;
10580:
10581: OPEN c_qte_sum;
10582: FETCH c_qte_sum INTO l_total_list_price, l_ln_total_discount;

Line 10584: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_QUOTE_HEADERS_ALL l_total_list_price:'||l_total_list_price, 1, 'Y');

10580:
10581: OPEN c_qte_sum;
10582: FETCH c_qte_sum INTO l_total_list_price, l_ln_total_discount;
10583: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10584: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_QUOTE_HEADERS_ALL l_total_list_price:'||l_total_list_price, 1, 'Y');
10585: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_QUOTE_HEADERS_ALL l_ln_total_discount:'||l_ln_total_discount,1,'Y');
10586: END IF;
10587: CLOSE c_qte_sum;
10588: UPDATE ASO_QUOTE_HEADERS_ALL

Line 10585: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_QUOTE_HEADERS_ALL l_ln_total_discount:'||l_ln_total_discount,1,'Y');

10581: OPEN c_qte_sum;
10582: FETCH c_qte_sum INTO l_total_list_price, l_ln_total_discount;
10583: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10584: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_QUOTE_HEADERS_ALL l_total_list_price:'||l_total_list_price, 1, 'Y');
10585: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_QUOTE_HEADERS_ALL l_ln_total_discount:'||l_ln_total_discount,1,'Y');
10586: END IF;
10587: CLOSE c_qte_sum;
10588: UPDATE ASO_QUOTE_HEADERS_ALL
10589: SET total_list_price = l_total_list_price,

Line 10624: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');

10620:
10621: for l in 1 ..x_msg_count loop
10622: x_msg_data := fnd_msg_pub.get( p_msg_index => l, p_encoded => 'F');
10623: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10624: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');
10625: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');
10626: END IF;
10627: end loop;
10628:

Line 10625: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');

10621: for l in 1 ..x_msg_count loop
10622: x_msg_data := fnd_msg_pub.get( p_msg_index => l, p_encoded => 'F');
10623: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10624: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');
10625: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');
10626: END IF;
10627: end loop;
10628:
10629: END Process_Charges;

Line 10668: px_line_index_search_tbl ASO_PRICING_CORE_PVT.Index_Link_Tbl_Type;

10664: l_adj_search_tbl Index_Link_Tbl_Type;
10665: l_qte_line_id_tbl JTF_NUMBER_TABLE;
10666: l_qte_adj_id_tbl JTF_NUMBER_TABLE;
10667: l_price_index Number;
10668: px_line_index_search_tbl ASO_PRICING_CORE_PVT.Index_Link_Tbl_Type;
10669: l_global_pls_tbl QP_PREQ_GRP.pls_integer_type;
10670: l_global_num_tbl QP_PREQ_GRP.NUMBER_TYPE;
10671: l_parent_line_id NUMBER;
10672: l_def_profile_value VARCHAR2(3);

Line 10912: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_PRG ',1,'Y');

10908: FND_MSG_PUB.initialize;
10909: END IF;
10910:
10911: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10912: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_PRG ',1,'Y');
10913: END IF;
10914:
10915: x_return_status := FND_API.G_RET_STS_SUCCESS;
10916:

Line 10925: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PROCESS_STATUS: '

10921:
10922: /*Prepraring for Update_Quote Call*/
10923: FOR C_PRG_LINES_TMP_REC in C_PRG_LINES_TMP Loop
10924: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10925: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PROCESS_STATUS: '
10926: ||C_PRG_LINES_TMP_REC.PROCESS_STATUS,1,'Y');
10927: END IF;
10928:
10929: /*Setting up the line record*/

Line 10940: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_INDEX: '||C_PRG_LINES_TMP_REC.LINE_INDEX,1,'Y');

10936: l_qte_line_tbl(l_line_counter).quote_line_id := C_PRG_LINES_TMP_REC.line_id;
10937: end if;
10938:
10939: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10940: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_INDEX: '||C_PRG_LINES_TMP_REC.LINE_INDEX,1,'Y');
10941: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.VALUE_FROM(inventory_item_id): '
10942: ||C_PRG_LINES_TMP_REC.VALUE_FROM,1,'Y');
10943: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_QUANTITY: '
10944: ||C_PRG_LINES_TMP_REC.LINE_QUANTITY,1,'Y');

Line 10941: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.VALUE_FROM(inventory_item_id): '

10937: end if;
10938:
10939: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10940: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_INDEX: '||C_PRG_LINES_TMP_REC.LINE_INDEX,1,'Y');
10941: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.VALUE_FROM(inventory_item_id): '
10942: ||C_PRG_LINES_TMP_REC.VALUE_FROM,1,'Y');
10943: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_QUANTITY: '
10944: ||C_PRG_LINES_TMP_REC.LINE_QUANTITY,1,'Y');
10945: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UOM_CODE: '

Line 10943: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_QUANTITY: '

10939: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10940: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_INDEX: '||C_PRG_LINES_TMP_REC.LINE_INDEX,1,'Y');
10941: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.VALUE_FROM(inventory_item_id): '
10942: ||C_PRG_LINES_TMP_REC.VALUE_FROM,1,'Y');
10943: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_QUANTITY: '
10944: ||C_PRG_LINES_TMP_REC.LINE_QUANTITY,1,'Y');
10945: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UOM_CODE: '
10946: ||C_PRG_LINES_TMP_REC.LINE_UOM_CODE,1,'Y');
10947: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID: '

Line 10945: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UOM_CODE: '

10941: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.VALUE_FROM(inventory_item_id): '
10942: ||C_PRG_LINES_TMP_REC.VALUE_FROM,1,'Y');
10943: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_QUANTITY: '
10944: ||C_PRG_LINES_TMP_REC.LINE_QUANTITY,1,'Y');
10945: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UOM_CODE: '
10946: ||C_PRG_LINES_TMP_REC.LINE_UOM_CODE,1,'Y');
10947: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID: '
10948: ||C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID,1,'Y');
10949: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.CURRENCY_CODE: '

Line 10947: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID: '

10943: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_QUANTITY: '
10944: ||C_PRG_LINES_TMP_REC.LINE_QUANTITY,1,'Y');
10945: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UOM_CODE: '
10946: ||C_PRG_LINES_TMP_REC.LINE_UOM_CODE,1,'Y');
10947: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID: '
10948: ||C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID,1,'Y');
10949: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.CURRENCY_CODE: '
10950: ||C_PRG_LINES_TMP_REC.CURRENCY_CODE,1,'Y');
10951: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE: '

Line 10949: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.CURRENCY_CODE: '

10945: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UOM_CODE: '
10946: ||C_PRG_LINES_TMP_REC.LINE_UOM_CODE,1,'Y');
10947: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID: '
10948: ||C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID,1,'Y');
10949: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.CURRENCY_CODE: '
10950: ||C_PRG_LINES_TMP_REC.CURRENCY_CODE,1,'Y');
10951: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE: '
10952: ||C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE,1,'Y');
10953: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE: '

Line 10951: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE: '

10947: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID: '
10948: ||C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID,1,'Y');
10949: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.CURRENCY_CODE: '
10950: ||C_PRG_LINES_TMP_REC.CURRENCY_CODE,1,'Y');
10951: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE: '
10952: ||C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE,1,'Y');
10953: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE: '
10954: ||C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE,1,'Y');
10955: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_uom_code: '

Line 10953: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE: '

10949: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.CURRENCY_CODE: '
10950: ||C_PRG_LINES_TMP_REC.CURRENCY_CODE,1,'Y');
10951: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE: '
10952: ||C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE,1,'Y');
10953: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE: '
10954: ||C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE,1,'Y');
10955: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_uom_code: '
10956: ||C_PRG_LINES_TMP_REC.priced_uom_code,1,'Y');
10957: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_quantity: '

Line 10955: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_uom_code: '

10951: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE: '
10952: ||C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE,1,'Y');
10953: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE: '
10954: ||C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE,1,'Y');
10955: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_uom_code: '
10956: ||C_PRG_LINES_TMP_REC.priced_uom_code,1,'Y');
10957: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_quantity: '
10958: ||C_PRG_LINES_TMP_REC.priced_quantity,1,'Y');
10959: END IF;

Line 10957: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_quantity: '

10953: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE: '
10954: ||C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE,1,'Y');
10955: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_uom_code: '
10956: ||C_PRG_LINES_TMP_REC.priced_uom_code,1,'Y');
10957: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_quantity: '
10958: ||C_PRG_LINES_TMP_REC.priced_quantity,1,'Y');
10959: END IF;
10960:
10961: l_qte_line_tbl(l_line_counter).Pricing_Line_Type_Indicator:= 'F';

Line 10994: aso_debug_pub.add('ASO_PRICING_CORE_PVT: C_PRG_RLTD_INFO_REC.related_line_detail_index:'

10990: For C_PRG_DISCOUNT_DTL_REC in C_PRG_DISCOUNT_DTL(C_PRG_LINES_TMP_REC.line_index,
10991: C_PRG_RLTD_INFO_REC.related_line_detail_index) loop
10992: IF l_adj_search_tbl.exists(C_PRG_RLTD_INFO_REC.related_line_detail_index) then
10993: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10994: aso_debug_pub.add('ASO_PRICING_CORE_PVT: C_PRG_RLTD_INFO_REC.related_line_detail_index:'
10995: ||C_PRG_RLTD_INFO_REC.related_line_detail_index||' already inserted',1,'Y');
10996: END IF;
10997: l_adj_exists := 'Y';
10998: ELSE

Line 11000: aso_debug_pub.add('ASO_PRICING_CORE_PVT: C_PRG_RLTD_INFO_REC.related_line_detail_index:'

10996: END IF;
10997: l_adj_exists := 'Y';
10998: ELSE
10999: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11000: aso_debug_pub.add('ASO_PRICING_CORE_PVT: C_PRG_RLTD_INFO_REC.related_line_detail_index:'
11001: ||C_PRG_RLTD_INFO_REC.related_line_detail_index,1,'Y');
11002: END IF;
11003: l_adj_search_tbl(C_PRG_RLTD_INFO_REC.related_line_detail_index) := l_adj_counter;
11004: l_Price_Adjustment_Tbl(l_adj_counter).operation_code := l_qte_line_tbl(l_line_counter).operation_code;

Line 11008: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RECORD:',1,'Y');

11004: l_Price_Adjustment_Tbl(l_adj_counter).operation_code := l_qte_line_tbl(l_line_counter).operation_code;
11005: l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index := l_line_counter;
11006:
11007: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11008: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RECORD:',1,'Y');
11009: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operation_code: '
11010: ||l_Price_Adjustment_Tbl(l_adj_counter).operation_code,1,'Y');
11011: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index: '
11012: ||l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index,1,'Y');

Line 11009: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operation_code: '

11005: l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index := l_line_counter;
11006:
11007: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11008: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RECORD:',1,'Y');
11009: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operation_code: '
11010: ||l_Price_Adjustment_Tbl(l_adj_counter).operation_code,1,'Y');
11011: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index: '
11012: ||l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index,1,'Y');
11013: END IF;

Line 11011: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index: '

11007: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11008: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RECORD:',1,'Y');
11009: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operation_code: '
11010: ||l_Price_Adjustment_Tbl(l_adj_counter).operation_code,1,'Y');
11011: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index: '
11012: ||l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index,1,'Y');
11013: END IF;
11014: l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id := p_qte_header_rec.quote_header_id;
11015: l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id := C_PRG_DISCOUNT_DTL_REC.list_header_id;

Line 11053: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id: '

11049: l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty := C_PRG_DISCOUNT_DTL_REC.operand_value;
11050: l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty := C_PRG_DISCOUNT_DTL_REC.adjustment_amount;
11051:
11052: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11053: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id: '
11054: ||l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id,1,'Y');
11055: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id: '
11056: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id,1,'Y');
11057: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id: '

Line 11055: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id: '

11051:
11052: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11053: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id: '
11054: ||l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id,1,'Y');
11055: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id: '
11056: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id,1,'Y');
11057: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id: '
11058: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id,1,'Y');
11059: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code: '

Line 11057: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id: '

11053: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id: '
11054: ||l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id,1,'Y');
11055: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id: '
11056: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id,1,'Y');
11057: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id: '
11058: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id,1,'Y');
11059: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code: '
11060: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code,1,'Y');
11061: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand: '

Line 11059: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code: '

11055: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id: '
11056: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id,1,'Y');
11057: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id: '
11058: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id,1,'Y');
11059: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code: '
11060: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code,1,'Y');
11061: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand: '
11062: ||l_Price_Adjustment_Tbl(l_adj_counter).operand,1,'Y');
11063: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator: '

Line 11061: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand: '

11057: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id: '
11058: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id,1,'Y');
11059: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code: '
11060: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code,1,'Y');
11061: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand: '
11062: ||l_Price_Adjustment_Tbl(l_adj_counter).operand,1,'Y');
11063: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator: '
11064: ||l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator,1,'Y');
11065: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag: '

Line 11063: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator: '

11059: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code: '
11060: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code,1,'Y');
11061: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand: '
11062: ||l_Price_Adjustment_Tbl(l_adj_counter).operand,1,'Y');
11063: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator: '
11064: ||l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator,1,'Y');
11065: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag: '
11066: ||l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag,1,'Y');
11067: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag: '

Line 11065: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag: '

11061: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand: '
11062: ||l_Price_Adjustment_Tbl(l_adj_counter).operand,1,'Y');
11063: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator: '
11064: ||l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator,1,'Y');
11065: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag: '
11066: ||l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag,1,'Y');
11067: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag: '
11068: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag,1,'Y');
11069: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).updated_flag: '

Line 11067: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag: '

11063: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator: '
11064: ||l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator,1,'Y');
11065: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag: '
11066: ||l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag,1,'Y');
11067: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag: '
11068: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag,1,'Y');
11069: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).updated_flag: '
11070: ||l_Price_Adjustment_Tbl(l_adj_counter).updated_flag,1,'Y');
11071: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).applied_flag: '

Line 11069: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).updated_flag: '

11065: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag: '
11066: ||l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag,1,'Y');
11067: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag: '
11068: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag,1,'Y');
11069: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).updated_flag: '
11070: ||l_Price_Adjustment_Tbl(l_adj_counter).updated_flag,1,'Y');
11071: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).applied_flag: '
11072: ||l_Price_Adjustment_Tbl(l_adj_counter).applied_flag,1,'Y');
11073: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount: '

Line 11071: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).applied_flag: '

11067: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag: '
11068: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag,1,'Y');
11069: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).updated_flag: '
11070: ||l_Price_Adjustment_Tbl(l_adj_counter).updated_flag,1,'Y');
11071: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).applied_flag: '
11072: ||l_Price_Adjustment_Tbl(l_adj_counter).applied_flag,1,'Y');
11073: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount: '
11074: ||l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount,1,'Y');
11075: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code: '

Line 11073: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount: '

11069: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).updated_flag: '
11070: ||l_Price_Adjustment_Tbl(l_adj_counter).updated_flag,1,'Y');
11071: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).applied_flag: '
11072: ||l_Price_Adjustment_Tbl(l_adj_counter).applied_flag,1,'Y');
11073: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount: '
11074: ||l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount,1,'Y');
11075: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code: '
11076: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code,1,'Y');
11077: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowed: '

Line 11075: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code: '

11071: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).applied_flag: '
11072: ||l_Price_Adjustment_Tbl(l_adj_counter).applied_flag,1,'Y');
11073: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount: '
11074: ||l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount,1,'Y');
11075: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code: '
11076: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code,1,'Y');
11077: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowed: '
11078: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowed,1,'Y');
11079: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty: '

Line 11077: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowed: '

11073: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount: '
11074: ||l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount,1,'Y');
11075: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code: '
11076: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code,1,'Y');
11077: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowed: '
11078: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowed,1,'Y');
11079: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty: '
11080: ||l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty,1,'Y');
11081: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty: '

Line 11079: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty: '

11075: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code: '
11076: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code,1,'Y');
11077: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowed: '
11078: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowed,1,'Y');
11079: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty: '
11080: ||l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty,1,'Y');
11081: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty: '
11082: ||l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty,1,'Y');
11083: END IF;

Line 11081: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty: '

11077: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowed: '
11078: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowed,1,'Y');
11079: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty: '
11080: ||l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty,1,'Y');
11081: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty: '
11082: ||l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty,1,'Y');
11083: END IF;
11084: -- l_Price_Adj_Attr_Tbl
11085: For C_ADJ_ATTR_DTL_REC in C_ADJ_ATTR_DTL(C_PRG_LINES_TMP_REC.line_index,

Line 11096: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX:'

11092: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO := C_ADJ_ATTR_DTL_REC.VALUE_TO;
11093: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR := C_ADJ_ATTR_DTL_REC.COMPARISON_OPERATOR;
11094: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE := C_ADJ_ATTR_DTL_REC.FLEX_TITLE;
11095: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11096: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX:'
11097: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX,1,'Y');
11098: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE:'
11099: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE,1,'Y');
11100: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT:'

Line 11098: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE:'

11094: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE := C_ADJ_ATTR_DTL_REC.FLEX_TITLE;
11095: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11096: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX:'
11097: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX,1,'Y');
11098: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE:'
11099: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE,1,'Y');
11100: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT:'
11101: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT,1,'Y');
11102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE:'

Line 11100: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT:'

11096: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX:'
11097: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX,1,'Y');
11098: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE:'
11099: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE,1,'Y');
11100: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT:'
11101: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT,1,'Y');
11102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE:'
11103: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE,1,'Y');
11104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM:'

Line 11102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE:'

11098: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE:'
11099: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE,1,'Y');
11100: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT:'
11101: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT,1,'Y');
11102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE:'
11103: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE,1,'Y');
11104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM:'
11105: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM,1,'Y');
11106: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO:'

Line 11104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM:'

11100: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT:'
11101: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT,1,'Y');
11102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE:'
11103: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE,1,'Y');
11104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM:'
11105: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM,1,'Y');
11106: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO:'
11107: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO,1,'Y');
11108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR:'

Line 11106: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO:'

11102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE:'
11103: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE,1,'Y');
11104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM:'
11105: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM,1,'Y');
11106: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO:'
11107: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO,1,'Y');
11108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR:'
11109: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR,1,'Y');
11110: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE:'

Line 11108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR:'

11104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM:'
11105: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM,1,'Y');
11106: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO:'
11107: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO,1,'Y');
11108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR:'
11109: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR,1,'Y');
11110: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE:'
11111: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE,1,'Y');
11112:

Line 11110: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE:'

11106: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO:'
11107: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO,1,'Y');
11108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR:'
11109: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR,1,'Y');
11110: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE:'
11111: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE,1,'Y');
11112:
11113: END IF;
11114: l_adj_attr_counter := l_adj_attr_counter + 1;

Line 11125: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Parent Line index C_PRG_RLTD_INFO_REC.line_index:'

11121: l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code := l_qte_line_tbl(l_line_counter).operation_code;
11122:
11123: --First get the quote line id of the parent record.
11124: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11125: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Parent Line index C_PRG_RLTD_INFO_REC.line_index:'
11126: ||C_PRG_RLTD_INFO_REC.line_index,1,'Y');
11127: END IF;
11128: SELECT LINE_ID
11129: INTO l_parent_line_id

Line 11133: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_parent_line_id:'||l_parent_line_id,1,'Y');

11129: INTO l_parent_line_id
11130: FROM QP_PREQ_LINES_TMP
11131: WHERE LINE_INDEX = C_PRG_RLTD_INFO_REC.line_index;
11132: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11133: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_parent_line_id:'||l_parent_line_id,1,'Y');
11134: END IF;
11135: l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID := l_parent_line_id;
11136:
11137: /*Need to get price adjustment id of the parent record*/

Line 11146: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RELATIONSHIP RECORD:',1,'Y');

11142: l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index := l_adj_search_tbl(C_PRG_RLTD_INFO_REC.related_line_detail_index);
11143: --l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index := l_adj_counter;
11144:
11145: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11146: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RELATIONSHIP RECORD:',1,'Y');
11147: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code:'
11148: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code,1,'Y');
11149: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID:'
11150: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID,1,'Y');

Line 11147: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code:'

11143: --l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index := l_adj_counter;
11144:
11145: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11146: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RELATIONSHIP RECORD:',1,'Y');
11147: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code:'
11148: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code,1,'Y');
11149: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID:'
11150: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID,1,'Y');
11151: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id:'

Line 11149: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID:'

11145: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11146: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RELATIONSHIP RECORD:',1,'Y');
11147: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code:'
11148: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code,1,'Y');
11149: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID:'
11150: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID,1,'Y');
11151: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id:'
11152: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id,1,'Y');
11153: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index:'

Line 11151: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id:'

11147: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code:'
11148: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code,1,'Y');
11149: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID:'
11150: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID,1,'Y');
11151: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id:'
11152: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id,1,'Y');
11153: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index:'
11154: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index,1,'Y');
11155: END IF;

Line 11153: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index:'

11149: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID:'
11150: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID,1,'Y');
11151: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id:'
11152: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id,1,'Y');
11153: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index:'
11154: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index,1,'Y');
11155: END IF;
11156:
11157: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 11158: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_line_counter:'||l_line_counter,1,'Y');

11154: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index,1,'Y');
11155: END IF;
11156:
11157: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11158: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_line_counter:'||l_line_counter,1,'Y');
11159: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_adj_counter:'||l_adj_counter,1,'Y');
11160: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_rltn_counter:'||l_rltn_counter,1,'Y');
11161: END IF;
11162: If l_adj_exists = 'N' then

Line 11159: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_adj_counter:'||l_adj_counter,1,'Y');

11155: END IF;
11156:
11157: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11158: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_line_counter:'||l_line_counter,1,'Y');
11159: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_adj_counter:'||l_adj_counter,1,'Y');
11160: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_rltn_counter:'||l_rltn_counter,1,'Y');
11161: END IF;
11162: If l_adj_exists = 'N' then
11163: l_adj_counter := l_adj_counter + 1;

Line 11160: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_rltn_counter:'||l_rltn_counter,1,'Y');

11156:
11157: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11158: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_line_counter:'||l_line_counter,1,'Y');
11159: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_adj_counter:'||l_adj_counter,1,'Y');
11160: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_rltn_counter:'||l_rltn_counter,1,'Y');
11161: END IF;
11162: If l_adj_exists = 'N' then
11163: l_adj_counter := l_adj_counter + 1;
11164: End If;

Line 11181: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_tbl.count:'||nvl(l_qte_line_tbl.count,0),1,'Y');

11177: End Loop;--C_PRG_LINES_TMP_REC
11178:
11179: /*Call update quote if l_qte_line_tbl.count is >0*/
11180: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11181: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_tbl.count:'||nvl(l_qte_line_tbl.count,0),1,'Y');
11182: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl.count:'||nvl(l_Price_Adjustment_Tbl.count,0),1,'Y');
11183: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl.count:'||nvl(l_Price_Adj_Rltship_Tbl.count,0),1,'Y');
11184: END IF;
11185:

Line 11182: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl.count:'||nvl(l_Price_Adjustment_Tbl.count,0),1,'Y');

11178:
11179: /*Call update quote if l_qte_line_tbl.count is >0*/
11180: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11181: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_tbl.count:'||nvl(l_qte_line_tbl.count,0),1,'Y');
11182: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl.count:'||nvl(l_Price_Adjustment_Tbl.count,0),1,'Y');
11183: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl.count:'||nvl(l_Price_Adj_Rltship_Tbl.count,0),1,'Y');
11184: END IF;
11185:
11186: If l_qte_line_tbl.count > 0 then

Line 11183: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl.count:'||nvl(l_Price_Adj_Rltship_Tbl.count,0),1,'Y');

11179: /*Call update quote if l_qte_line_tbl.count is >0*/
11180: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11181: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_tbl.count:'||nvl(l_qte_line_tbl.count,0),1,'Y');
11182: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl.count:'||nvl(l_Price_Adjustment_Tbl.count,0),1,'Y');
11183: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl.count:'||nvl(l_Price_Adj_Rltship_Tbl.count,0),1,'Y');
11184: END IF;
11185:
11186: If l_qte_line_tbl.count > 0 then
11187:

Line 11189: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Calling Update Quote for PRG lines',1,'Y');

11185:
11186: If l_qte_line_tbl.count > 0 then
11187:
11188: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11189: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Calling Update Quote for PRG lines',1,'Y');
11190: END IF;
11191:
11192:
11193: /*Setting up Header Rec*/

Line 11216: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_def_profile_value - ASO_ENABLE_DEFAULTING_RULE:'||l_def_profile_value,1,'Y');

11212:
11213: -- Setting up the Control record for Update quote
11214: l_def_profile_value := FND_PROFILE.value('ASO_ENABLE_DEFAULTING_RULE');
11215: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11216: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_def_profile_value - ASO_ENABLE_DEFAULTING_RULE:'||l_def_profile_value,1,'Y');
11217: END IF;
11218: If l_def_profile_value = 'Y' then
11219: l_pub_control_rec.DEFAULTING_FWK_FLAG := 'Y';
11220: l_pub_control_rec.DEFAULTING_FLAG := FND_API.G_TRUE;

Line 11266: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote X_Return_Status:'||X_Return_Status,1,'Y');

11262: X_Msg_Count => x_Msg_Count,
11263: X_Msg_Data => x_Msg_Data);
11264:
11265: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11266: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote X_Return_Status:'||X_Return_Status,1,'Y');
11267: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote X_Msg_Count:'||X_Msg_Count,1,'Y');
11268: END IF;
11269:
11270: IF x_return_status = FND_API.G_RET_STS_ERROR then

Line 11267: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote X_Msg_Count:'||X_Msg_Count,1,'Y');

11263: X_Msg_Data => x_Msg_Data);
11264:
11265: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11266: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote X_Return_Status:'||X_Return_Status,1,'Y');
11267: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote X_Msg_Count:'||X_Msg_Count,1,'Y');
11268: END IF;
11269:
11270: IF x_return_status = FND_API.G_RET_STS_ERROR then
11271: raise FND_API.G_EXC_ERROR;

Line 11278: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote:lx_Qte_Line_Tbl(i).quote_line_id:'

11274: END IF;
11275:
11276: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11277: For i in 1..lx_Qte_Line_Tbl.count loop
11278: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote:lx_Qte_Line_Tbl(i).quote_line_id:'
11279: ||lx_Qte_Line_Tbl(i).quote_line_id,1,'Y');
11280: End loop;
11281: END IF;
11282: x_Qte_Line_Tbl := lx_Qte_Line_Tbl;

Line 11284: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote:Count of x_Qte_Line_Tbl.count:'

11280: End loop;
11281: END IF;
11282: x_Qte_Line_Tbl := lx_Qte_Line_Tbl;
11283: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11284: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote:Count of x_Qte_Line_Tbl.count:'
11285: ||x_Qte_Line_Tbl.count,1,'Y');
11286: END IF;
11287: end If;--l_qte_line_tbl.count > 1
11288:

Line 11292: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;

11288:
11289: If l_track_var = 'Y' then
11290: If p_control_rec.prg_reprice_mode = 'F' then
11291:
11292: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;
11293:
11294: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11295: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where just free lines are passed',1,'Y');
11296: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.request_type:'||p_control_rec.request_type,1,'Y');

Line 11295: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where just free lines are passed',1,'Y');

11291:
11292: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;
11293:
11294: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11295: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where just free lines are passed',1,'Y');
11296: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.request_type:'||p_control_rec.request_type,1,'Y');
11297: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.pricing_event:'||p_control_rec.pricing_event,1,'Y');
11298: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_header_rec.quote_header_id:'||p_qte_header_rec.quote_header_id,1,'Y');
11299: END IF;

Line 11296: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.request_type:'||p_control_rec.request_type,1,'Y');

11292: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;
11293:
11294: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11295: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where just free lines are passed',1,'Y');
11296: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.request_type:'||p_control_rec.request_type,1,'Y');
11297: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.pricing_event:'||p_control_rec.pricing_event,1,'Y');
11298: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_header_rec.quote_header_id:'||p_qte_header_rec.quote_header_id,1,'Y');
11299: END IF;
11300: l_price_index := 1;

Line 11297: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.pricing_event:'||p_control_rec.pricing_event,1,'Y');

11293:
11294: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11295: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where just free lines are passed',1,'Y');
11296: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.request_type:'||p_control_rec.request_type,1,'Y');
11297: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.pricing_event:'||p_control_rec.pricing_event,1,'Y');
11298: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_header_rec.quote_header_id:'||p_qte_header_rec.quote_header_id,1,'Y');
11299: END IF;
11300: l_price_index := 1;
11301:

Line 11298: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_header_rec.quote_header_id:'||p_qte_header_rec.quote_header_id,1,'Y');

11294: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11295: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where just free lines are passed',1,'Y');
11296: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.request_type:'||p_control_rec.request_type,1,'Y');
11297: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.pricing_event:'||p_control_rec.pricing_event,1,'Y');
11298: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_header_rec.quote_header_id:'||p_qte_header_rec.quote_header_id,1,'Y');
11299: END IF;
11300: l_price_index := 1;
11301:
11302: ASO_PRICING_CORE_PVT.Print_G_Header_Rec;

Line 11302: ASO_PRICING_CORE_PVT.Print_G_Header_Rec;

11298: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_header_rec.quote_header_id:'||p_qte_header_rec.quote_header_id,1,'Y');
11299: END IF;
11300: l_price_index := 1;
11301:
11302: ASO_PRICING_CORE_PVT.Print_G_Header_Rec;
11303:
11304: QP_Price_Request_Context.Set_Request_Id;
11305:
11306: QP_ATTR_MAPPING_PUB.Build_Contexts (

Line 11315: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');

11311: p_check_line_flag => 'N',
11312: x_pass_line => x_pass_line);
11313:
11314: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11315: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');
11316: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Header_To_Request...',1,'Y');
11317: END IF;
11318:
11319: ASO_PRICING_CORE_PVT.Copy_Header_To_Request(

Line 11316: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Header_To_Request...',1,'Y');

11312: x_pass_line => x_pass_line);
11313:
11314: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11315: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');
11316: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Header_To_Request...',1,'Y');
11317: END IF;
11318:
11319: ASO_PRICING_CORE_PVT.Copy_Header_To_Request(
11320: p_Request_Type => p_control_rec.request_type,

Line 11319: ASO_PRICING_CORE_PVT.Copy_Header_To_Request(

11315: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');
11316: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Header_To_Request...',1,'Y');
11317: END IF;
11318:
11319: ASO_PRICING_CORE_PVT.Copy_Header_To_Request(
11320: p_Request_Type => p_control_rec.request_type,
11321: p_price_line_index => l_price_index,
11322: px_index_counter => 1);
11323:

Line 11325: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Append_asked_for...',1,'Y');

11321: p_price_line_index => l_price_index,
11322: px_index_counter => 1);
11323:
11324: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11325: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Append_asked_for...',1,'Y');
11326: END IF;
11327:
11328: lx_index_counter:= 1;
11329: ASO_PRICING_CORE_PVT.Append_asked_for(

Line 11329: ASO_PRICING_CORE_PVT.Append_asked_for(

11325: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Append_asked_for...',1,'Y');
11326: END IF;
11327:
11328: lx_index_counter:= 1;
11329: ASO_PRICING_CORE_PVT.Append_asked_for(
11330: p_pricing_event => p_control_rec.pricing_event,
11331: p_price_line_index => l_price_index,
11332: p_header_id => p_qte_header_rec.quote_header_id,
11333: px_index_counter => lx_index_counter);

Line 11336: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Append Ask for lx_index_counter:'

11332: p_header_id => p_qte_header_rec.quote_header_id,
11333: px_index_counter => lx_index_counter);
11334:
11335: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11336: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Append Ask for lx_index_counter:'
11337: ||lx_index_counter,1,'Y');
11338: END IF;
11339: --increment the line index
11340: l_price_index:= l_price_index+1;

Line 11348: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of ASO UTL PVT Query_Pricing_Line_Rows...',1,'Y');

11344: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11345: aso_debug_pub.add('************************ HEADER LEVEL ENDS *******************************',1,'Y');
11346: aso_debug_pub.add(' ',1,'Y');
11347: aso_debug_pub.add('************************ LINE LEVEL BEGINS *******************************',1,'Y');
11348: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of ASO UTL PVT Query_Pricing_Line_Rows...',1,'Y');
11349: END IF;
11350:
11351: For i in 1..lx_Qte_Line_Tbl.count loop
11352: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 11353: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Query_Qte_Line_Row utility lx_Qte_Line_Tbl(i).quote_line_id:'

11349: END IF;
11350:
11351: For i in 1..lx_Qte_Line_Tbl.count loop
11352: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11353: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Query_Qte_Line_Row utility lx_Qte_Line_Tbl(i).quote_line_id:'
11354: ||lx_Qte_Line_Tbl(i).quote_line_id,1,'Y');
11355: END IF;
11356: l_qte_line_rec := ASO_UTILITY_PVT.Query_Qte_Line_Row(lx_Qte_Line_Tbl(i).quote_line_id);
11357:

Line 11359: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Query_Shipment_Rows..',1,'Y');

11355: END IF;
11356: l_qte_line_rec := ASO_UTILITY_PVT.Query_Qte_Line_Row(lx_Qte_Line_Tbl(i).quote_line_id);
11357:
11358: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11359: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Query_Shipment_Rows..',1,'Y');
11360: END IF;
11361: l_shipment_tbl := ASO_UTILITY_PVT.Query_Shipment_Rows
11362: (p_qte_header_rec.quote_header_id, lx_Qte_Line_Tbl(i).quote_line_id);
11363: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 11364: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_shipment_tbl.count :'

11360: END IF;
11361: l_shipment_tbl := ASO_UTILITY_PVT.Query_Shipment_Rows
11362: (p_qte_header_rec.quote_header_id, lx_Qte_Line_Tbl(i).quote_line_id);
11363: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11364: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_shipment_tbl.count :'
11365: ||NVL(l_shipment_tbl.count,0),1,'Y');
11366: END IF;
11367: IF l_shipment_tbl.count = 1 THEN
11368: l_shipment_rec := l_shipment_tbl(1);

Line 11374: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Set_Global_Rec - Line Level...', 1, 'Y');

11370: l_shipment_rec := ASO_QUOTE_PUB.G_Miss_Shipment_rec;
11371: END IF;
11372:
11373: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11374: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Set_Global_Rec - Line Level...', 1, 'Y');
11375: END IF;
11376: ASO_PRICING_INT.G_LINE_REC := ASO_PRICING_CORE_PVT.Set_Global_Rec (
11377: p_qte_line_rec => l_qte_line_rec,
11378: p_qte_line_dtl_rec => l_qte_line_dtl_rec,

Line 11376: ASO_PRICING_INT.G_LINE_REC := ASO_PRICING_CORE_PVT.Set_Global_Rec (

11372:
11373: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11374: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Set_Global_Rec - Line Level...', 1, 'Y');
11375: END IF;
11376: ASO_PRICING_INT.G_LINE_REC := ASO_PRICING_CORE_PVT.Set_Global_Rec (
11377: p_qte_line_rec => l_qte_line_rec,
11378: p_qte_line_dtl_rec => l_qte_line_dtl_rec,
11379: p_shipment_rec => l_shipment_rec);
11380:

Line 11381: ASO_PRICING_CORE_PVT.Print_G_Line_Rec;

11377: p_qte_line_rec => l_qte_line_rec,
11378: p_qte_line_dtl_rec => l_qte_line_dtl_rec,
11379: p_shipment_rec => l_shipment_rec);
11380:
11381: ASO_PRICING_CORE_PVT.Print_G_Line_Rec;
11382:
11383: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11384: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of QP Build_Contexts - Line Level...',1,'Y');
11385: END IF;

Line 11384: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of QP Build_Contexts - Line Level...',1,'Y');

11380:
11381: ASO_PRICING_CORE_PVT.Print_G_Line_Rec;
11382:
11383: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11384: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of QP Build_Contexts - Line Level...',1,'Y');
11385: END IF;
11386:
11387: QP_ATTR_MAPPING_PUB.Build_Contexts (
11388: p_request_type_code => p_control_rec.request_type,

Line 11397: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');

11393: p_price_list_validated_flag => 'N',
11394: x_pass_line => x_pass_line);
11395:
11396: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11397: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');
11398: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Line_To_Request...',1,'Y');
11399: END IF;
11400:
11401: ASO_PRICING_CORE_PVT.Copy_Line_To_Request(

Line 11398: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Line_To_Request...',1,'Y');

11394: x_pass_line => x_pass_line);
11395:
11396: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11397: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');
11398: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Line_To_Request...',1,'Y');
11399: END IF;
11400:
11401: ASO_PRICING_CORE_PVT.Copy_Line_To_Request(
11402: p_Request_Type => p_control_rec.request_type,

Line 11401: ASO_PRICING_CORE_PVT.Copy_Line_To_Request(

11397: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');
11398: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Line_To_Request...',1,'Y');
11399: END IF;
11400:
11401: ASO_PRICING_CORE_PVT.Copy_Line_To_Request(
11402: p_Request_Type => p_control_rec.request_type,
11403: p_price_line_index => l_price_index,
11404: px_index_counter => i+1);
11405:

Line 11408: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Append_asked_for...',1,'Y');

11404: px_index_counter => i+1);
11405:
11406:
11407: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11408: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Append_asked_for...',1,'Y');
11409: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Append Ask for lx_index_counter:'
11410: ||lx_index_counter,1,'Y');
11411: END IF;
11412: l_index_counter := lx_index_counter;

Line 11409: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Append Ask for lx_index_counter:'

11405:
11406:
11407: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11408: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Append_asked_for...',1,'Y');
11409: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Append Ask for lx_index_counter:'
11410: ||lx_index_counter,1,'Y');
11411: END IF;
11412: l_index_counter := lx_index_counter;
11413: ASO_PRICING_CORE_PVT.Append_asked_for(

Line 11413: ASO_PRICING_CORE_PVT.Append_asked_for(

11409: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Append Ask for lx_index_counter:'
11410: ||lx_index_counter,1,'Y');
11411: END IF;
11412: l_index_counter := lx_index_counter;
11413: ASO_PRICING_CORE_PVT.Append_asked_for(
11414: p_pricing_event => p_control_rec.pricing_event,
11415: p_price_line_index => l_price_index,
11416: p_header_id => p_qte_header_rec.quote_header_id,
11417: p_line_id => l_qte_line_rec.quote_line_id,

Line 11420: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Append Ask for lx_index_counter:'

11416: p_header_id => p_qte_header_rec.quote_header_id,
11417: p_line_id => l_qte_line_rec.quote_line_id,
11418: px_index_counter => lx_index_counter);
11419: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11420: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Append Ask for lx_index_counter:'
11421: ||lx_index_counter,1,'Y');
11422: END IF;
11423: If lx_index_counter = 0 then
11424: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 11425: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Assigning the value of l_index_counter back to lx_index_counter:'

11421: ||lx_index_counter,1,'Y');
11422: END IF;
11423: If lx_index_counter = 0 then
11424: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11425: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Assigning the value of l_index_counter back to lx_index_counter:'
11426: || l_index_counter,1,'Y');
11427: END IF;
11428: lx_index_counter := l_index_counter;
11429: end if;

Line 11434: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of l_qte_line_id_tbl.extend...',1,'Y');

11430:
11431: /*Store all the quote_line_id processed*/
11432: IF l_Qte_Line_id_tbl.EXISTS(1) THEN
11433: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11434: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of l_qte_line_id_tbl.extend...',1,'Y');
11435: END IF;
11436: l_Qte_Line_id_tbl.extend;
11437: l_Qte_Line_id_tbl(l_Qte_Line_id_tbl.count) := lx_Qte_Line_Tbl(i).quote_line_id;
11438: ELSE

Line 11440: aso_debug_pub.add('ASO_PRICING_CORE_PVT: First quote_line_id in l_qte_line_id_tbl',1,'Y');

11436: l_Qte_Line_id_tbl.extend;
11437: l_Qte_Line_id_tbl(l_Qte_Line_id_tbl.count) := lx_Qte_Line_Tbl(i).quote_line_id;
11438: ELSE
11439: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11440: aso_debug_pub.add('ASO_PRICING_CORE_PVT: First quote_line_id in l_qte_line_id_tbl',1,'Y');
11441: END IF;
11442: l_Qte_Line_id_tbl := JTF_NUMBER_TABLE(lx_Qte_Line_Tbl(i).quote_line_id);
11443: END IF;
11444:

Line 11453: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Query_Price_Adjustments...',1,'Y');

11449: end loop;--line loop for lx_Qte_Line_Tbl
11450:
11451: /*Need to find OUT what adjustments and relationships need to be passed*/
11452: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11453: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Query_Price_Adjustments...',1,'Y');
11454: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_line_id_tbl.count :'
11455: ||NVL(l_qte_line_id_tbl.count,0),1,'Y');
11456: If NVL(l_qte_line_id_tbl.count,0) > 0 then
11457: For i in 1..l_qte_line_id_tbl.count loop

Line 11454: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_line_id_tbl.count :'

11450:
11451: /*Need to find OUT what adjustments and relationships need to be passed*/
11452: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11453: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Query_Price_Adjustments...',1,'Y');
11454: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_line_id_tbl.count :'
11455: ||NVL(l_qte_line_id_tbl.count,0),1,'Y');
11456: If NVL(l_qte_line_id_tbl.count,0) > 0 then
11457: For i in 1..l_qte_line_id_tbl.count loop
11458: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_id_tbl(i):'||l_qte_line_id_tbl(i),1,'Y');

Line 11458: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_id_tbl(i):'||l_qte_line_id_tbl(i),1,'Y');

11454: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_line_id_tbl.count :'
11455: ||NVL(l_qte_line_id_tbl.count,0),1,'Y');
11456: If NVL(l_qte_line_id_tbl.count,0) > 0 then
11457: For i in 1..l_qte_line_id_tbl.count loop
11458: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_id_tbl(i):'||l_qte_line_id_tbl(i),1,'Y');
11459: end loop;
11460: End If;
11461: END IF;
11462: ASO_PRICING_CORE_PVT.Query_Price_Adj_Line

Line 11462: ASO_PRICING_CORE_PVT.Query_Price_Adj_Line

11458: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_id_tbl(i):'||l_qte_line_id_tbl(i),1,'Y');
11459: end loop;
11460: End If;
11461: END IF;
11462: ASO_PRICING_CORE_PVT.Query_Price_Adj_Line
11463: (p_quote_header_id => p_qte_header_rec.quote_header_id,
11464: p_qte_line_id_tbl => l_qte_line_id_tbl,
11465: x_adj_id_tbl => l_qte_adj_id_tbl);
11466:

Line 11471: l_global_pls_tbl := ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL;

11467: /*In the second call we are not going to delete any adjustments and relationships and attributes*/
11468:
11469:
11470: --Need to modify the global index table of pls integer types
11471: l_global_pls_tbl := ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL;
11472: ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_PlsIndex_Table(
11473: p_global_tbl => l_global_pls_tbl,
11474: p_search_tbl => px_line_index_search_tbl);
11475: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL;

Line 11472: ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_PlsIndex_Table(

11468:
11469:
11470: --Need to modify the global index table of pls integer types
11471: l_global_pls_tbl := ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL;
11472: ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_PlsIndex_Table(
11473: p_global_tbl => l_global_pls_tbl,
11474: p_search_tbl => px_line_index_search_tbl);
11475: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL;
11476: ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(

Line 11475: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL;

11471: l_global_pls_tbl := ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL;
11472: ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_PlsIndex_Table(
11473: p_global_tbl => l_global_pls_tbl,
11474: p_search_tbl => px_line_index_search_tbl);
11475: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL;
11476: ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(
11477: p_global_tbl => l_global_num_tbl,
11478: p_search_tbl => px_line_index_search_tbl);
11479: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL;

Line 11476: ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(

11472: ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_PlsIndex_Table(
11473: p_global_tbl => l_global_pls_tbl,
11474: p_search_tbl => px_line_index_search_tbl);
11475: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL;
11476: ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(
11477: p_global_tbl => l_global_num_tbl,
11478: p_search_tbl => px_line_index_search_tbl);
11479: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL;
11480: ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(

Line 11479: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL;

11475: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL;
11476: ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(
11477: p_global_tbl => l_global_num_tbl,
11478: p_search_tbl => px_line_index_search_tbl);
11479: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL;
11480: ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(
11481: p_global_tbl => l_global_num_tbl,
11482: p_search_tbl => px_line_index_search_tbl);
11483:

Line 11480: ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(

11476: ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(
11477: p_global_tbl => l_global_num_tbl,
11478: p_search_tbl => px_line_index_search_tbl);
11479: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL;
11480: ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(
11481: p_global_tbl => l_global_num_tbl,
11482: p_search_tbl => px_line_index_search_tbl);
11483:
11484:

Line 11486: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Populate_QP_Temp_tables...',1,'Y');

11482: p_search_tbl => px_line_index_search_tbl);
11483:
11484:
11485: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11486: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Populate_QP_Temp_tables...',1,'Y');
11487: END IF;
11488: ASO_PRICING_CORE_PVT.populate_qp_temp_tables;
11489:
11490:

Line 11488: ASO_PRICING_CORE_PVT.populate_qp_temp_tables;

11484:
11485: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11486: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Populate_QP_Temp_tables...',1,'Y');
11487: END IF;
11488: ASO_PRICING_CORE_PVT.populate_qp_temp_tables;
11489:
11490:
11491: -- Set the control rec for QP
11492:

Line 11504: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of QP_PREQ_PUB.PRICE_REQUEST second implicit call', 1, 'Y');

11500: l_req_control_rec.REQUEST_TYPE_CODE := p_control_rec.request_type;
11501: l_req_control_rec.rounding_flag := 'Q';
11502:
11503: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11504: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of QP_PREQ_PUB.PRICE_REQUEST second implicit call', 1, 'Y');
11505: END IF;
11506:
11507: /* Change for populating QP_PREQ_GRP.CONTROL_RECORD_TYPE.ORG_ID Yogeshwar (MOAC) */
11508:

Line 11530: aso_debug_pub.add('ASO_PRICING_CORE_PVT: End of QP_PREQ_PUB.PRICE_REQUEST', 1, 'Y');

11526: RAISE FND_API.G_EXC_ERROR;
11527: END IF;
11528:
11529: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11530: aso_debug_pub.add('ASO_PRICING_CORE_PVT: End of QP_PREQ_PUB.PRICE_REQUEST', 1, 'Y');
11531: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status:'
11532: ||l_return_status, 1, 'Y');
11533: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status_text '
11534: ||l_return_status_text,1,'Y');

Line 11531: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status:'

11527: END IF;
11528:
11529: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11530: aso_debug_pub.add('ASO_PRICING_CORE_PVT: End of QP_PREQ_PUB.PRICE_REQUEST', 1, 'Y');
11531: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status:'
11532: ||l_return_status, 1, 'Y');
11533: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status_text '
11534: ||l_return_status_text,1,'Y');
11535: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Price_To_Quote...',1,'Y');

Line 11533: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status_text '

11529: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11530: aso_debug_pub.add('ASO_PRICING_CORE_PVT: End of QP_PREQ_PUB.PRICE_REQUEST', 1, 'Y');
11531: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status:'
11532: ||l_return_status, 1, 'Y');
11533: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status_text '
11534: ||l_return_status_text,1,'Y');
11535: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Price_To_Quote...',1,'Y');
11536: END IF;
11537:

Line 11535: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Price_To_Quote...',1,'Y');

11531: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status:'
11532: ||l_return_status, 1, 'Y');
11533: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status_text '
11534: ||l_return_status_text,1,'Y');
11535: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Price_To_Quote...',1,'Y');
11536: END IF;
11537:
11538: ASO_PRICING_CORE_PVT.Copy_Price_To_Quote(
11539: P_Api_Version_Number => 1.0,

Line 11538: ASO_PRICING_CORE_PVT.Copy_Price_To_Quote(

11534: ||l_return_status_text,1,'Y');
11535: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Price_To_Quote...',1,'Y');
11536: END IF;
11537:
11538: ASO_PRICING_CORE_PVT.Copy_Price_To_Quote(
11539: P_Api_Version_Number => 1.0,
11540: P_Init_Msg_List => FND_API.G_FALSE,
11541: P_Commit => FND_API.G_FALSE,
11542: p_control_rec => p_control_rec,

Line 11556: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;

11552:
11553: else --p_control_rec.prg_reprice_mode = 'A'
11554: /* we need to make the second call with all the lines*/
11555:
11556: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;
11557:
11558: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11559: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where all lines are passed',1,'Y');
11560: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.price_mode:'||p_control_rec.price_mode,1,'Y');

Line 11559: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where all lines are passed',1,'Y');

11555:
11556: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;
11557:
11558: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11559: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where all lines are passed',1,'Y');
11560: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.price_mode:'||p_control_rec.price_mode,1,'Y');
11561: END IF;
11562: If (p_control_rec.price_mode = 'ENTIRE_QUOTE') then
11563: ASO_PRICING_FLOWS_PVT.Price_Entire_Quote(

Line 11560: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.price_mode:'||p_control_rec.price_mode,1,'Y');

11556: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;
11557:
11558: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11559: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where all lines are passed',1,'Y');
11560: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.price_mode:'||p_control_rec.price_mode,1,'Y');
11561: END IF;
11562: If (p_control_rec.price_mode = 'ENTIRE_QUOTE') then
11563: ASO_PRICING_FLOWS_PVT.Price_Entire_Quote(
11564: P_Api_Version_Number => P_Api_Version_Number,

Line 11615: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');

11611:
11612: for l in 1 ..x_msg_count loop
11613: x_msg_data := fnd_msg_pub.get( p_msg_index => l, p_encoded => 'F');
11614: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11615: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');
11616: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');
11617: END IF;
11618: end loop;
11619:

Line 11616: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');

11612: for l in 1 ..x_msg_count loop
11613: x_msg_data := fnd_msg_pub.get( p_msg_index => l, p_encoded => 'F');
11614: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11615: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');
11616: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');
11617: END IF;
11618: end loop;
11619:
11620: END Process_PRG;

Line 11625: End ASO_PRICING_CORE_PVT;

11621:
11622:
11623:
11624:
11625: End ASO_PRICING_CORE_PVT;