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.18.12020000.2 2012/10/10 11:55:58 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.18.12020000.2 2012/10/10 11:55:58 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 583: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Hdr TSN Count Starts Here...',1,'Y');

579:
580: BEGIN
581:
582: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
583: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Hdr TSN Count Starts Here...',1,'Y');
584: FOR hdr_rec IN c_hdr_tsn_count LOOP
585: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value_to :'||NVL(hdr_rec.substitution_value_to,'null'),1,'Y');
586: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
587: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');

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

581:
582: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
583: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Hdr TSN Count Starts Here...',1,'Y');
584: FOR hdr_rec IN c_hdr_tsn_count LOOP
585: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value_to :'||NVL(hdr_rec.substitution_value_to,'null'),1,'Y');
586: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
587: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
588: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
589: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');

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

582: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
583: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Hdr TSN Count Starts Here...',1,'Y');
584: FOR hdr_rec IN c_hdr_tsn_count LOOP
585: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value_to :'||NVL(hdr_rec.substitution_value_to,'null'),1,'Y');
586: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
587: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
588: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
589: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
590: --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 587: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');

583: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Hdr TSN Count Starts Here...',1,'Y');
584: FOR hdr_rec IN c_hdr_tsn_count LOOP
585: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value_to :'||NVL(hdr_rec.substitution_value_to,'null'),1,'Y');
586: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
587: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
588: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
589: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
590: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
591: 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 588: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');

584: FOR hdr_rec IN c_hdr_tsn_count LOOP
585: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value_to :'||NVL(hdr_rec.substitution_value_to,'null'),1,'Y');
586: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
587: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
588: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
589: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
590: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
591: 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');
592: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');

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

585: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value_to :'||NVL(hdr_rec.substitution_value_to,'null'),1,'Y');
586: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
587: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
588: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
589: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
590: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
591: 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');
592: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
593: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');

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

586: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_value :'||NVL(hdr_rec.substitution_value,'null'),1,'Y');
587: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
588: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
589: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
590: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
591: 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');
592: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
593: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');
594: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.process_code :'||NVL(hdr_rec.process_code,'null'),1,'Y');

Line 591: 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');

587: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.substitution_attribute :'||NVL(hdr_rec.substitution_attribute ,'null'),1,'Y');
588: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
589: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
590: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
591: 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');
592: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
593: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');
594: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.process_code :'||NVL(hdr_rec.process_code,'null'),1,'Y');
595: END LOOP;

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

588: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_id :'||NVL(hdr_rec.line_id,0),1,'Y');
589: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
590: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
591: 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');
592: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
593: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');
594: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.process_code :'||NVL(hdr_rec.process_code,'null'),1,'Y');
595: END LOOP;
596: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_HDR_TSN Starts Here...',1,'Y');

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

589: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.line_index :'||NVL(hdr_rec.line_index,0),1,'Y');
590: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
591: 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');
592: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
593: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');
594: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.process_code :'||NVL(hdr_rec.process_code,'null'),1,'Y');
595: END LOOP;
596: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_HDR_TSN Starts Here...',1,'Y');
597: END IF;

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

590: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.list_line_type_code :'||NVL(hdr_rec.list_line_type_code,'null'),1,'Y');
591: 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');
592: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
593: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');
594: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.process_code :'||NVL(hdr_rec.process_code,'null'),1,'Y');
595: END LOOP;
596: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_HDR_TSN Starts Here...',1,'Y');
597: END IF;
598:

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

592: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.applied_flag :'||NVL(hdr_rec.applied_flag,'null'),1,'Y');
593: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.modifier_level_code :'||NVL(hdr_rec.modifier_level_code,'null'),1,'Y');
594: aso_debug_pub.add('ASO_PRICING_CORE_PVT: hdr_rec.process_code :'||NVL(hdr_rec.process_code,'null'),1,'Y');
595: END LOOP;
596: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_HDR_TSN Starts Here...',1,'Y');
597: END IF;
598:
599: OPEN c_hdr_pyt_exists;
600: FETCH c_hdr_pyt_exists INTO l_payment_id;

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

599: OPEN c_hdr_pyt_exists;
600: FETCH c_hdr_pyt_exists INTO l_payment_id;
601: CLOSE c_hdr_pyt_exists;
602: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
603: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_payment_id :'||NVL(l_payment_id,0),1,'Y');
604: END IF;
605:
606: OPEN c_hdr_pyt_tsn;
607: FETCH c_hdr_pyt_tsn INTO l_req_payment_term_id;

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

605:
606: OPEN c_hdr_pyt_tsn;
607: FETCH c_hdr_pyt_tsn INTO l_req_payment_term_id;
608: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
609: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_payment_term_id: '||NVL(l_req_payment_term_id,0),1,'Y');
610: END IF;
611:
612: IF l_req_payment_term_id IS NULL THEN
613: CLOSE c_hdr_pyt_tsn;

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

611:
612: IF l_req_payment_term_id IS NULL THEN
613: CLOSE c_hdr_pyt_tsn;
614: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
615: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Header Level Payment TSN exists hence update with from value...',1,'Y');
616: END IF;
617: IF l_payment_id IS NOT NULL THEN
618: UPDATE ASO_PAYMENTS
619: SET payment_term_id = payment_term_id_from

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

621: AND (p_quote_header_id IS NOT NULL AND p_quote_header_id <> FND_API.G_MISS_NUM)
622: AND quote_line_id IS NULL;
623: END IF;
624: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
625: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Payment Rows Updated : '||sql%ROWCOUNT,1,'Y');
626: END IF;
627:
628: ELSE
629:

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

630: CLOSE c_hdr_pyt_tsn;
631:
632: IF l_payment_id IS NULL THEN
633: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
634: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Payment Record Exists...Before Payment Insert Row',1,'Y');
635: END IF;
636: lx_PAYMENT_ID := NULL;
637: ASO_PAYMENTS_PKG.Insert_Row(
638: px_PAYMENT_ID => lx_PAYMENT_ID,

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

685: p_CUST_PO_LINE_NUMBER => l_payment_rec.CUST_PO_LINE_NUMBER, -- Line Payments Change
686: p_TRXN_EXTENSION_ID => l_payment_rec.TRXN_EXTENSION_ID
687: );
688: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
689: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Payment Insert Row...Payment_ID :'||NVL(lx_payment_id,0),1,'Y');
690: END IF;
691: END IF; -- l_payment_id is null; Header Payment exists or not check.
692:
693:

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

691: END IF; -- l_payment_id is null; Header Payment exists or not check.
692:
693:
694: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
695: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Header Level Payment TSN exists...',1,'Y');
696: END IF;
697: IF l_payment_id IS NOT NULL or lx_payment_id IS NOT NULL
698: THEN
699: UPDATE ASO_PAYMENTS

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

702: AND (p_quote_header_id IS NOT NULL AND p_quote_header_id <> FND_API.G_MISS_NUM)
703: AND quote_line_id IS NULL;
704: END IF;
705: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
706: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Payment Rows Updated : '||sql%ROWCOUNT,1,'Y');
707: END IF;
708: END IF; -- l_req_payment_term_id IS NULL or not check.
709:
710:

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

711: OPEN c_hdr_smc_exists;
712: FETCH c_hdr_smc_exists INTO l_shipment_id;
713: CLOSE c_hdr_smc_exists;
714: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
715: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_shipment_id: '||NVL(l_shipment_id,0),1,'Y');
716: END IF;
717:
718: OPEN c_hdr_smc_tsn;
719: FETCH c_hdr_smc_tsn INTO l_req_ship_method_code;

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

717:
718: OPEN c_hdr_smc_tsn;
719: FETCH c_hdr_smc_tsn INTO l_req_ship_method_code;
720: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
721: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_ship_method_code: '||NVL(l_req_ship_method_code,0),1,'Y');
722: END IF;
723:
724: IF l_req_ship_method_code IS NULL THEN
725: CLOSE c_hdr_smc_tsn;

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

723:
724: IF l_req_ship_method_code IS NULL THEN
725: CLOSE c_hdr_smc_tsn;
726: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
727: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Header Level Ship Method Code TSN exists hence update with From value...',1,'Y');
728: END IF;
729: IF l_shipment_id IS NOT NULL
730: THEN
731: UPDATE ASO_SHIPMENTS aso

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

734: AND (p_quote_header_id IS NOT NULL AND p_quote_header_id <> FND_API.G_MISS_NUM)
735: AND quote_line_id IS NULL;
736: END IF;
737: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
738: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
739: END IF;
740: ELSE
741: CLOSE c_hdr_smc_tsn;
742: IF l_shipment_id IS NULL THEN

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

740: ELSE
741: CLOSE c_hdr_smc_tsn;
742: IF l_shipment_id IS NULL THEN
743: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
744: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Shipment Record exists...Before Shipment Insert Rows ',1,'Y');
745: END IF;
746:
747: lx_shipment_id := NULL;
748: ASO_SHIPMENTS_PKG.Insert_Row(

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

807: p_request_date_type => l_shipment_rec.request_date_type,
808: p_demand_class_code => l_shipment_rec.demand_class_code
809: );
810: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
811: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Shipment Insert Row...Shipment_ID '||NVL(lx_shipment_id,0),1,'Y');
812: END IF;
813: END IF; --l_shipment_id is NULL or not check.
814:
815: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

812: END IF;
813: END IF; --l_shipment_id is NULL or not check.
814:
815: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
816: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Header Level Shipment TSN exists...',1,'Y');
817: END IF;
818: IF l_shipment_id IS NOT NULL or lx_shipment_id IS NOT NULL
819: THEN
820: UPDATE ASO_SHIPMENTS aso

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

825: AND ('S' = (ASO_VALIDATE_PVT.Validate_ShipMethods('T', l_req_ship_method_code,
826: aso.ship_from_org_id, p_quote_header_id, NULL)));
827: END IF;
828: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
829: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
830: END IF;
831: END IF; --l_req_ship_method_code IS NULL or not check.
832:
833: OPEN c_hdr_ftc_exists;

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

833: OPEN c_hdr_ftc_exists;
834: FETCH c_hdr_ftc_exists INTO l_freight_shipment_id;
835: CLOSE c_hdr_ftc_exists;
836: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
837: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_freight_shipment_id '||NVL(l_freight_shipment_id,0),1,'Y');
838: END IF;
839:
840: OPEN c_hdr_ftc_tsn;
841: FETCH c_hdr_ftc_tsn INTO l_req_freight_terms_code;

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

839:
840: OPEN c_hdr_ftc_tsn;
841: FETCH c_hdr_ftc_tsn INTO l_req_freight_terms_code;
842: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
843: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_freight_terms_code: '||NVL(l_req_freight_terms_code,0),1,'Y');
844: END IF;
845:
846: IF l_req_freight_terms_code IS NULL THEN
847: CLOSE c_hdr_ftc_tsn;

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

845:
846: IF l_req_freight_terms_code IS NULL THEN
847: CLOSE c_hdr_ftc_tsn;
848: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
849: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Header Level Freight Terms Code TSN exists hence update with From value...',1,'Y');
850: END IF;
851: IF l_freight_shipment_id IS NOT NULL THEN
852: UPDATE ASO_SHIPMENTS aso
853: SET aso.freight_terms_code = freight_terms_code_from

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

855: AND (p_quote_header_id IS NOT NULL AND p_quote_header_id <> FND_API.G_MISS_NUM)
856: AND quote_line_id IS NULL;
857: END IF;
858: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
859: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
860: END IF;
861: ELSE
862: CLOSE c_hdr_ftc_tsn;
863:

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

862: CLOSE c_hdr_ftc_tsn;
863:
864: IF l_freight_shipment_id IS NULL THEN
865: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
866: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Shipment(Freight) Record exists...Before Shipment(Freight) Insert Rows ',1,'Y');
867: END IF;
868: lx_freight_shipment_id := NULL;
869: ASO_SHIPMENTS_PKG.Insert_Row(
870: px_SHIPMENT_ID => lx_freight_shipment_id,

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

928: p_request_date_type => l_freight_rec.request_date_type,
929: p_demand_class_code => l_freight_rec.demand_class_code
930: );
931: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
932: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Shipment(Freight) Insert Row...Freight_Shipment_ID '||NVL(lx_freight_shipment_id,0),1,'Y');
933: END IF;
934: END IF; --l_freight_shipment_id 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: Header Level Freight TSN exists...',1,'Y');

933: END IF;
934: END IF; --l_freight_shipment_id 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: Header Level Freight TSN exists...',1,'Y');
938: END IF;
939: IF l_freight_shipment_id IS NOT NULL or lx_freight_shipment_id IS NOT NULL THEN
940: UPDATE ASO_SHIPMENTS aso
941: SET aso.freight_terms_code = l_req_freight_terms_code

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

943: AND (p_quote_header_id IS NOT NULL AND p_quote_header_id <> FND_API.G_MISS_NUM)
944: AND quote_line_id IS NULL;
945: END IF;
946: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
947: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
948: END IF;
949: END IF; --l_req_freight_terms_code IS NULL or NOT check.
950:
951: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

948: END IF;
949: END IF; --l_req_freight_terms_code IS NULL or NOT check.
950:
951: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
952: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_HDR_TSN Ends Here...',1,'Y');
953: END IF;
954: END PROCESS_HDR_TSN;
955:
956: PROCEDURE PROCESS_LN_TSN(p_quote_header_id NUMBER, p_insert_type VARCHAR2) IS

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

1088:
1089: BEGIN
1090:
1091: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1092: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start of line tsn p_insert_type: '||p_insert_type,1,'Y');
1093: END If;
1094: If p_insert_type = 'HDR' Then
1095:
1096: FOR l_qte_ln_rec IN c_qte_lines LOOP

Line 1098: 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');

1094: If p_insert_type = 'HDR' Then
1095:
1096: FOR l_qte_ln_rec IN c_qte_lines LOOP
1097: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1098: 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');
1099: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1100: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1101: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');

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

1095:
1096: FOR l_qte_ln_rec IN c_qte_lines LOOP
1097: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1098: 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');
1099: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1100: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1101: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1103: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');

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

1097: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1098: 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');
1099: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1100: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1101: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1103: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1105: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');

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

1098: 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');
1099: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1100: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1101: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1103: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1105: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1106: --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 1103: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');

1099: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1100: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1101: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1103: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1105: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1106: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1107: 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 1104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');

1100: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1101: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1103: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1105: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1106: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1107: 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');
1108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');

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

1101: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1103: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1105: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1106: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1107: 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');
1108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1109: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');

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

1102: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1103: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1105: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1106: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1107: 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');
1108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1109: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1110: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');

Line 1107: 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');

1103: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1105: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1106: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1107: 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');
1108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1109: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1110: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1111: END LOOP;

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

1104: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1105: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1106: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1107: 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');
1108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1109: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1110: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1111: END LOOP;
1112: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');

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

1105: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1106: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1107: 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');
1108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1109: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1110: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1111: END LOOP;
1112: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');
1113: END IF;

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

1106: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1107: 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');
1108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1109: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1110: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1111: END LOOP;
1112: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');
1113: END IF;
1114: --Line Level Payment TSN Starts Here

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

1108: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1109: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1110: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1111: END LOOP;
1112: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');
1113: END IF;
1114: --Line Level Payment TSN Starts Here
1115: OPEN c_line_pyt_exists(l_qte_ln_rec.quote_line_id);
1116: FETCH c_line_pyt_exists INTO l_payment_id;

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

1115: OPEN c_line_pyt_exists(l_qte_ln_rec.quote_line_id);
1116: FETCH c_line_pyt_exists INTO l_payment_id;
1117: CLOSE c_line_pyt_exists;
1118: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1119: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Line l_payment_id :'||NVL(l_payment_id,0),1,'Y');
1120: END IF;
1121: OPen c_line_pyt_tsn(l_qte_ln_rec.quote_line_id);
1122: fetch c_line_pyt_tsn into l_substitution_value_to;
1123: close c_line_pyt_tsn;

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

1123: close c_line_pyt_tsn;
1124:
1125:
1126: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1127: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Line l_substitution_value_to: '||NVL(l_substitution_value_to,0),1,'Y');
1128: END IF;
1129:
1130:
1131: IF l_substitution_value_to IS NULL AND l_payment_id IS NOT NULL THEN

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

1130:
1131: IF l_substitution_value_to IS NULL AND l_payment_id IS NOT NULL THEN
1132:
1133: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1134: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment TSN exists hence update with from value...',1,'Y');
1135: END IF;
1136:
1137: UPDATE ASO_PAYMENTS
1138: SET payment_term_id = payment_term_id_from

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

1139: WHERE quote_header_id = p_quote_header_id
1140: AND quote_line_id = l_qte_ln_rec.quote_line_id;
1141:
1142: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1143: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Payment Rows Updated : '||sql%ROWCOUNT,1,'Y');
1144: END IF;
1145:
1146: ELSIF l_substitution_value_to IS NOT NULL AND l_payment_id IS NOT NULL THEN
1147: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 1148: 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');

1144: END IF;
1145:
1146: ELSIF l_substitution_value_to IS NOT NULL AND l_payment_id IS NOT NULL THEN
1147: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1148: 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');
1149: END IF;
1150: UPDATE ASO_PAYMENTS
1151: SET payment_term_id = l_substitution_value_to
1152: WHERE quote_header_id = p_quote_header_id

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

1153: and quote_line_id = l_qte_ln_rec.quote_line_id;
1154:
1155: ELSIF l_payment_id IS NULL AND l_substitution_value_to IS NOT NULL THEN
1156: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1157: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment Record Exists...Before Payment Insert Row',1,'Y');
1158: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_substitution_value_to'||l_substitution_value_to,1,'Y');
1159: END IF;
1160: lx_PAYMENT_ID := null;
1161: ASO_PAYMENTS_PKG.Insert_Row(

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

1154:
1155: ELSIF l_payment_id IS NULL AND l_substitution_value_to IS NOT NULL THEN
1156: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1157: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment Record Exists...Before Payment Insert Row',1,'Y');
1158: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_substitution_value_to'||l_substitution_value_to,1,'Y');
1159: END IF;
1160: lx_PAYMENT_ID := null;
1161: ASO_PAYMENTS_PKG.Insert_Row(
1162: px_PAYMENT_ID => lx_PAYMENT_ID,

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

1209: p_CUST_PO_LINE_NUMBER => l_payment_rec.CUST_PO_LINE_NUMBER, -- Line Payments Change
1210: p_TRXN_EXTENSION_ID => l_payment_rec.TRXN_EXTENSION_ID
1211: );
1212: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1213: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Payment Insert Row...Payment_ID :'||NVL(lx_payment_id,0),1,'Y');
1214: END IF;
1215: END IF;
1216:
1217: l_req_ship_method_code := NULL;

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

1219:
1220: OPEN c_ln_smc_tsn(l_qte_ln_rec.quote_line_id);
1221: FETCH c_ln_smc_tsn INTO l_req_ship_method_code;
1222: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1223: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_ship_method_code: '||NVL(l_req_ship_method_code,0),1,'Y');
1224: END IF;
1225:
1226: IF l_req_ship_method_code IS NULL THEN
1227: CLOSE c_ln_smc_tsn;

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

1225:
1226: IF l_req_ship_method_code IS NULL THEN
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: No Line Level Ship Method Code TSN exists hence update with From value...',1,'Y');
1230: END IF;
1231: UPDATE ASO_SHIPMENTS aso
1232: SET aso.ship_method_code = ship_method_code_from
1233: WHERE aso.quote_header_id = p_quote_header_id

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

1235: AND aso.quote_line_id = l_qte_ln_rec.quote_line_id
1236: AND (l_qte_ln_rec.quote_line_id IS NOT NULL AND l_qte_ln_rec.quote_line_id <> FND_API.G_MISS_NUM)
1237: AND aso.quote_line_id IS NOT NULL;
1238: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1239: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1240: END IF;
1241: ELSE
1242: CLOSE c_ln_smc_tsn;
1243: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

1240: END IF;
1241: ELSE
1242: CLOSE c_ln_smc_tsn;
1243: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1244: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Line Level Shipment TSN exists...',1,'Y');
1245: END IF;
1246: UPDATE ASO_SHIPMENTS aso
1247: SET aso.ship_method_code = l_req_ship_method_code
1248: WHERE aso.quote_header_id = p_quote_header_id

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

1252: AND aso.quote_line_id IS NOT NULL
1253: AND ('S' = (ASO_VALIDATE_PVT.Validate_ShipMethods('T', l_req_ship_method_code,
1254: aso.ship_from_org_id, p_quote_header_id, l_qte_ln_rec.quote_line_id)));
1255: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1256: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1257: END IF;
1258: END IF; -- l_req_ship_method_code IS NULL or NOT check.
1259:
1260:

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

1260:
1261: OPEN c_ln_ftc_tsn(l_qte_ln_rec.quote_line_id);
1262: FETCH c_ln_ftc_tsn INTO l_req_freight_terms_code;
1263: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1264: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_freight_terms_code: '||NVL(l_req_freight_terms_code,0),1,'Y');
1265: END IF;
1266:
1267: IF l_req_freight_terms_code IS NULL THEN
1268: CLOSE c_ln_ftc_tsn;

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

1266:
1267: IF l_req_freight_terms_code IS NULL THEN
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: No Line Level Freight Terms Code TSN exists hence update with From value...',1,'Y');
1271: END IF;
1272: UPDATE ASO_SHIPMENTS aso
1273: SET aso.freight_terms_code = freight_terms_code_from
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: ELSE
1283: CLOSE c_ln_ftc_tsn;
1284: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

1281: END IF;
1282: ELSE
1283: CLOSE c_ln_ftc_tsn;
1284: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1285: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Line Level Freight TSN exists...',1,'Y');
1286: END IF;
1287: UPDATE ASO_SHIPMENTS aso
1288: SET aso.freight_terms_code = l_req_freight_terms_code
1289: WHERE aso.quote_header_id = p_quote_header_id

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

1291: AND aso.quote_line_id = l_qte_ln_rec.quote_line_id
1292: AND (l_qte_ln_rec.quote_line_id IS NOT NULL AND l_qte_ln_rec.quote_line_id <> FND_API.G_MISS_NUM)
1293: AND aso.quote_line_id IS NOT NULL;
1294: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1295: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1296: END IF;
1297: END IF; -- l_req_freight_terms_code IS NULL or not check.
1298:
1299: END LOOP; -- for c_qte_lines.

Line 1307: 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');

1303: /*We will only change the TSN for the free lines only*/
1304:
1305: FOR l_qte_ln_rec IN c_get_free_lines LOOP
1306: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1307: 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');
1308: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1309: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1310: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1311: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');

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

1304:
1305: FOR l_qte_ln_rec IN c_get_free_lines LOOP
1306: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1307: 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');
1308: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1309: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1310: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1311: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1312: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');

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

1306: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1307: 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');
1308: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1309: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1310: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1311: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1312: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1313: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1314: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');

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

1307: 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');
1308: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1309: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1310: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1311: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1312: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1313: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1314: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1315: --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 1312: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');

1308: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln TSN Count Starts Here...',1,'Y');
1309: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1310: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1311: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1312: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1313: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1314: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1315: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1316: 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 1313: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');

1309: FOR ln_rec IN c_ln_tsn_count(l_qte_ln_rec.quote_line_id) LOOP
1310: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1311: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1312: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1313: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1314: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1315: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1316: 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');
1317: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');

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

1310: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value_to :'||NVL(ln_rec.substitution_value_to,'null'),1,'Y');
1311: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1312: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1313: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1314: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1315: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1316: 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');
1317: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1318: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');

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

1311: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_value :'||NVL(ln_rec.substitution_value,'null'),1,'Y');
1312: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1313: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1314: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1315: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1316: 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');
1317: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1318: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1319: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');

Line 1316: 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');

1312: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.substitution_attribute :'||NVL(ln_rec.substitution_attribute ,'null'),1,'Y');
1313: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1314: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1315: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1316: 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');
1317: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1318: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1319: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1320: END LOOP;

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

1313: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_id :'||NVL(ln_rec.line_id,0),1,'Y');
1314: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1315: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1316: 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');
1317: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1318: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1319: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1320: END LOOP;
1321: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');

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

1314: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.line_index :'||NVL(ln_rec.line_index,0),1,'Y');
1315: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1316: 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');
1317: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1318: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1319: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1320: END LOOP;
1321: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');
1322: END IF;

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

1315: --aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.list_line_type_code :'||NVL(ln_rec.list_line_type_code,'null'),1,'Y');
1316: 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');
1317: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1318: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1319: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1320: END LOOP;
1321: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');
1322: END IF;
1323: --Line level Payment TSN starts here for free good line

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

1317: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.applied_flag :'||NVL(ln_rec.applied_flag,'null'),1,'Y');
1318: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.modifier_level_code :'||NVL(ln_rec.modifier_level_code,'null'),1,'Y');
1319: aso_debug_pub.add('ASO_PRICING_CORE_PVT: ln_rec.process_code :'||NVL(ln_rec.process_code,'null'),1,'Y');
1320: END LOOP;
1321: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Starts Here...',1,'Y');
1322: END IF;
1323: --Line level Payment TSN starts here for free good line
1324:
1325: OPEN c_line_pyt_exists(l_qte_ln_rec.quote_line_id);

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

1325: OPEN c_line_pyt_exists(l_qte_ln_rec.quote_line_id);
1326: FETCH c_line_pyt_exists INTO l_payment_id;
1327: CLOSE c_line_pyt_exists;
1328: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1329: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Line l_payment_id :'||NVL(l_payment_id,0),1,'Y');
1330: END IF;
1331: OPen c_line_pyt_tsn(l_qte_ln_rec.quote_line_id);
1332: fetch c_line_pyt_tsn into l_substitution_value_to;
1333: close c_line_pyt_tsn;

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

1333: close c_line_pyt_tsn;
1334:
1335:
1336: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1337: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Line l_substitution_value_to: '||NVL(l_substitution_value_to,0),1,'Y');
1338: END IF;
1339:
1340:
1341: IF l_substitution_value_to IS NULL AND l_payment_id IS NOT NULL THEN

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

1340:
1341: IF l_substitution_value_to IS NULL AND l_payment_id IS NOT NULL THEN
1342:
1343: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1344: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment TSN exists hence update with from value...',1,'Y');
1345: END IF;
1346:
1347: UPDATE ASO_PAYMENTS
1348: SET payment_term_id = payment_term_id_from

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

1349: WHERE quote_header_id = p_quote_header_id
1350: AND quote_line_id = l_qte_ln_rec.quote_line_id;
1351:
1352: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1353: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Payment Rows Updated : '||sql%ROWCOUNT,1,'Y');
1354: END IF;
1355:
1356: ELSIF l_substitution_value_to IS NOT NULL AND l_payment_id IS NOT NULL THEN
1357: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 1358: 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');

1354: END IF;
1355:
1356: ELSIF l_substitution_value_to IS NOT NULL AND l_payment_id IS NOT NULL THEN
1357: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1358: 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');
1359: END IF;
1360: UPDATE ASO_PAYMENTS
1361: SET payment_term_id = l_substitution_value_to
1362: WHERE quote_header_id = p_quote_header_id

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

1363: and quote_line_id = l_qte_ln_rec.quote_line_id;
1364:
1365: ELSIF l_payment_id IS NULL AND l_substitution_value_to IS NOT NULL THEN
1366: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1367: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment Record Exists...Before Payment Insert Row',1,'Y');
1368: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_substitution_value_to'||l_substitution_value_to,1,'Y');
1369: END IF;
1370: lx_PAYMENT_ID := null;
1371: ASO_PAYMENTS_PKG.Insert_Row(

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

1364:
1365: ELSIF l_payment_id IS NULL AND l_substitution_value_to IS NOT NULL THEN
1366: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1367: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No Line Level Payment Record Exists...Before Payment Insert Row',1,'Y');
1368: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_substitution_value_to'||l_substitution_value_to,1,'Y');
1369: END IF;
1370: lx_PAYMENT_ID := null;
1371: ASO_PAYMENTS_PKG.Insert_Row(
1372: px_PAYMENT_ID => lx_PAYMENT_ID,

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

1419: p_CUST_PO_LINE_NUMBER => l_payment_rec.CUST_PO_LINE_NUMBER, -- Line Payments Change
1420: p_TRXN_EXTENSION_ID => l_payment_rec.TRXN_EXTENSION_ID
1421: );
1422: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1423: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After Payment Insert Row...Payment_ID :'||NVL(lx_payment_id,0),1,'Y');
1424: END IF;
1425: END IF;
1426:
1427: l_req_ship_method_code := NULL;

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

1429:
1430: OPEN c_ln_smc_tsn(l_qte_ln_rec.quote_line_id);
1431: FETCH c_ln_smc_tsn INTO l_req_ship_method_code;
1432: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1433: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_ship_method_code: '||NVL(l_req_ship_method_code,0),1,'Y');
1434: END IF;
1435:
1436: IF l_req_ship_method_code IS NULL THEN
1437: CLOSE c_ln_smc_tsn;

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

1435:
1436: IF l_req_ship_method_code IS NULL THEN
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: No Line Level Ship Method Code TSN exists hence update with From value...',1,'Y');
1440: END IF;
1441: UPDATE ASO_SHIPMENTS aso
1442: SET aso.ship_method_code = ship_method_code_from
1443: WHERE aso.quote_header_id = p_quote_header_id

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

1445: AND aso.quote_line_id = l_qte_ln_rec.quote_line_id
1446: AND (l_qte_ln_rec.quote_line_id IS NOT NULL AND l_qte_ln_rec.quote_line_id <> FND_API.G_MISS_NUM)
1447: AND aso.quote_line_id IS NOT NULL;
1448: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1449: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1450: END IF;
1451: ELSE
1452: CLOSE c_ln_smc_tsn;
1453: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

1450: END IF;
1451: ELSE
1452: CLOSE c_ln_smc_tsn;
1453: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1454: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Line Level Shipment TSN exists...',1,'Y');
1455: END IF;
1456: UPDATE ASO_SHIPMENTS aso
1457: SET aso.ship_method_code = l_req_ship_method_code
1458: WHERE aso.quote_header_id = p_quote_header_id

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

1462: AND aso.quote_line_id IS NOT NULL
1463: AND ('S' = (ASO_VALIDATE_PVT.Validate_ShipMethods('T', l_req_ship_method_code,
1464: aso.ship_from_org_id, p_quote_header_id, l_qte_ln_rec.quote_line_id)));
1465: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1466: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Ship Method Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1467: END IF;
1468: END IF; -- l_req_ship_method_code IS NULL or NOT check.
1469:
1470:

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

1470:
1471: OPEN c_ln_ftc_tsn(l_qte_ln_rec.quote_line_id);
1472: FETCH c_ln_ftc_tsn INTO l_req_freight_terms_code;
1473: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1474: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_req_freight_terms_code: '||NVL(l_req_freight_terms_code,0),1,'Y');
1475: END IF;
1476:
1477: IF l_req_freight_terms_code IS NULL THEN
1478: CLOSE c_ln_ftc_tsn;

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

1476:
1477: IF l_req_freight_terms_code IS NULL THEN
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: No Line Level Freight Terms Code TSN exists hence update with From value...',1,'Y');
1481: END IF;
1482: UPDATE ASO_SHIPMENTS aso
1483: SET aso.freight_terms_code = freight_terms_code_from
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: ELSE
1493: CLOSE c_ln_ftc_tsn;
1494: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

1491: END IF;
1492: ELSE
1493: CLOSE c_ln_ftc_tsn;
1494: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1495: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Line Level Freight TSN exists...',1,'Y');
1496: END IF;
1497: UPDATE ASO_SHIPMENTS aso
1498: SET aso.freight_terms_code = l_req_freight_terms_code
1499: WHERE aso.quote_header_id = p_quote_header_id

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

1501: AND aso.quote_line_id = l_qte_ln_rec.quote_line_id
1502: AND (l_qte_ln_rec.quote_line_id IS NOT NULL AND l_qte_ln_rec.quote_line_id <> FND_API.G_MISS_NUM)
1503: AND aso.quote_line_id IS NOT NULL;
1504: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1505: aso_debug_pub.add('ASO_PRICING_CORE_PVT: No of Freight Terms Code Rows Updated : '||sql%ROWCOUNT,1,'Y');
1506: END IF;
1507: END IF; -- l_req_freight_terms_code IS NULL or not check.
1508:
1509: END LOOP; -- for c_get_free_lines

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

1511:
1512: End If;--If p_insert_type = 'HDR'
1513:
1514: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1515: aso_debug_pub.add('ASO_PRICING_CORE_PVT: PROCESS_LN_TSN Ends Here...',1,'Y');
1516: END IF;
1517: END PROCESS_LN_TSN;
1518:
1519: -- The above two procedures are for TSN processing...

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

1689: l_line_index NUMBER;
1690:
1691: begin
1692: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1693: aso_debug_pub.add('ASO_PRICING_CORE_PVT: In Direct Insert Append_Asked_for',1,'Y');
1694: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Direct Insert Append_Ask_for - Global_Header_Rec.quote_status_id:'
1695: ||ASO_PRICING_INT.G_HEADER_REC.quote_status_id,1,'Y');
1696: END IF;
1697:

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

1690:
1691: begin
1692: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1693: aso_debug_pub.add('ASO_PRICING_CORE_PVT: In Direct Insert Append_Asked_for',1,'Y');
1694: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Direct Insert Append_Ask_for - Global_Header_Rec.quote_status_id:'
1695: ||ASO_PRICING_INT.G_HEADER_REC.quote_status_id,1,'Y');
1696: END IF;
1697:
1698: l_line_index := p_price_line_index;

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

1699:
1700: l_counter := px_index_counter;
1701: for asked_for_rec in asked_for_cur loop
1702: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1703: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_CONTEXT:'
1704: ||asked_for_rec.PRICING_CONTEXT,1,'Y');
1705: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.flex_title:'
1706: ||asked_for_rec.flex_title,1,'Y');
1707: END IF;

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

1701: for asked_for_rec in asked_for_cur loop
1702: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1703: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_CONTEXT:'
1704: ||asked_for_rec.PRICING_CONTEXT,1,'Y');
1705: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.flex_title:'
1706: ||asked_for_rec.flex_title,1,'Y');
1707: END IF;
1708:
1709: If asked_for_rec.flex_title = 'QP_ATTR_DEFNS_PRICING' then

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

1708:
1709: If asked_for_rec.flex_title = 'QP_ATTR_DEFNS_PRICING' then
1710: if asked_for_rec.PRICING_ATTRIBUTE1 is not null then
1711: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1712: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE1:'
1713: ||asked_for_rec.PRICING_ATTRIBUTE1,1,'Y');
1714: END IF;
1715:
1716: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

1753:
1754: end if;
1755: if asked_for_rec.PRICING_ATTRIBUTE2 is not null then
1756: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1757: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE2:'
1758: ||asked_for_rec.PRICING_ATTRIBUTE2,1,'Y');
1759: END IF;
1760:
1761: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

1798:
1799: end if;
1800: if asked_for_rec.PRICING_ATTRIBUTE3 is not null then
1801: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1802: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE3:'
1803: ||asked_for_rec.PRICING_ATTRIBUTE3,1,'Y');
1804: END IF;
1805:
1806: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

1843:
1844: end if;
1845: if asked_for_rec.PRICING_ATTRIBUTE4 is not null then
1846: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1847: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE4:'
1848: ||asked_for_rec.PRICING_ATTRIBUTE4,1,'Y');
1849: END IF;
1850:
1851: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

1888:
1889: end if;
1890: if asked_for_rec.PRICING_ATTRIBUTE5 is not null then
1891: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1892: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE5:'
1893: ||asked_for_rec.PRICING_ATTRIBUTE5,1,'Y');
1894: END IF;
1895:
1896: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

1933:
1934: end if;
1935: if asked_for_rec.PRICING_ATTRIBUTE6 is not null then
1936: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1937: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE6:'
1938: ||asked_for_rec.PRICING_ATTRIBUTE6,1,'Y');
1939: END IF;
1940:
1941: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

1978:
1979: end if;
1980: if asked_for_rec.PRICING_ATTRIBUTE7 is not null then
1981: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
1982: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE7:'
1983: ||asked_for_rec.PRICING_ATTRIBUTE7,1,'Y');
1984: END IF;
1985:
1986: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2023:
2024: end if;
2025: if asked_for_rec.PRICING_ATTRIBUTE8 is not null then
2026: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2027: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE8:'
2028: ||asked_for_rec.PRICING_ATTRIBUTE8,1,'Y');
2029: END IF;
2030:
2031: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2068:
2069: end if;
2070: if asked_for_rec.PRICING_ATTRIBUTE9 is not null then
2071: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2072: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE9:'
2073: ||asked_for_rec.PRICING_ATTRIBUTE9,1,'Y');
2074: END IF;
2075:
2076: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2113:
2114: end if;
2115: if asked_for_rec.PRICING_ATTRIBUTE10 is not null then
2116: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2117: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE10:'
2118: ||asked_for_rec.PRICING_ATTRIBUTE10,1,'Y');
2119: END IF;
2120:
2121: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2158:
2159: end if;
2160: if asked_for_rec.PRICING_ATTRIBUTE11 is not null then
2161: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2162: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE11:'
2163: ||asked_for_rec.PRICING_ATTRIBUTE11,1,'Y');
2164: END IF;
2165:
2166: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2203:
2204: end if;
2205: if asked_for_rec.PRICING_ATTRIBUTE12 is not null then
2206: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2207: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE12:'
2208: ||asked_for_rec.PRICING_ATTRIBUTE12,1,'Y');
2209: END IF;
2210:
2211: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2248:
2249: end if;
2250: if asked_for_rec.PRICING_ATTRIBUTE13 is not null then
2251: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2252: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE13:'
2253: ||asked_for_rec.PRICING_ATTRIBUTE13,1,'Y');
2254: END IF;
2255:
2256: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2293:
2294: end if;
2295: if asked_for_rec.PRICING_ATTRIBUTE14 is not null then
2296: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2297: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE14:'
2298: ||asked_for_rec.PRICING_ATTRIBUTE14,1,'Y');
2299: END IF;
2300:
2301: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2338:
2339: end if;
2340: if asked_for_rec.PRICING_ATTRIBUTE15 is not null then
2341: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2342: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE15:'
2343: ||asked_for_rec.PRICING_ATTRIBUTE15,1,'Y');
2344: END IF;
2345:
2346: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2383:
2384: end if;
2385: if asked_for_rec.PRICING_ATTRIBUTE16 is not null then
2386: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2387: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE16:'
2388: ||asked_for_rec.PRICING_ATTRIBUTE16,1,'Y');
2389: END IF;
2390:
2391: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2428:
2429: end if;
2430: if asked_for_rec.PRICING_ATTRIBUTE17 is not null then
2431: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2432: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE17:'
2433: ||asked_for_rec.PRICING_ATTRIBUTE17,1,'Y');
2434: END IF;
2435:
2436: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2473:
2474: end if;
2475: if asked_for_rec.PRICING_ATTRIBUTE18 is not null then
2476: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2477: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE18:'
2478: ||asked_for_rec.PRICING_ATTRIBUTE18,1,'Y');
2479: END IF;
2480:
2481: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2518:
2519: end if;
2520: if asked_for_rec.PRICING_ATTRIBUTE19 is not null then
2521: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2522: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE19:'
2523: ||asked_for_rec.PRICING_ATTRIBUTE19,1,'Y');
2524: END IF;
2525:
2526: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2563:
2564: end if;
2565: if asked_for_rec.PRICING_ATTRIBUTE20 is not null then
2566: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2567: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE20:'
2568: ||asked_for_rec.PRICING_ATTRIBUTE20,1,'Y');
2569: END IF;
2570:
2571: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2608:
2609: end if;
2610: if asked_for_rec.PRICING_ATTRIBUTE21 is not null then
2611: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2612: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE21:'
2613: ||asked_for_rec.PRICING_ATTRIBUTE20,1,'Y');
2614: END IF;
2615:
2616: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2653:
2654: end if;
2655: if asked_for_rec.PRICING_ATTRIBUTE22 is not null then
2656: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2657: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE22:'
2658: ||asked_for_rec.PRICING_ATTRIBUTE22,1,'Y');
2659: END IF;
2660:
2661: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2698:
2699: end if;
2700: if asked_for_rec.PRICING_ATTRIBUTE23 is not null then
2701: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2702: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE23:'
2703: ||asked_for_rec.PRICING_ATTRIBUTE23,1,'Y');
2704: END IF;
2705:
2706: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2743:
2744: end if;
2745: if asked_for_rec.PRICING_ATTRIBUTE24 is not null then
2746: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2747: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE24:'
2748: ||asked_for_rec.PRICING_ATTRIBUTE24,1,'Y');
2749: END IF;
2750:
2751: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2788:
2789: end if;
2790: if asked_for_rec.PRICING_ATTRIBUTE25 is not null then
2791: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2792: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE25:'
2793: ||asked_for_rec.PRICING_ATTRIBUTE25,1,'Y');
2794: END IF;
2795:
2796: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2833:
2834: end if;
2835: if asked_for_rec.PRICING_ATTRIBUTE26 is not null then
2836: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2837: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE26:'
2838: ||asked_for_rec.PRICING_ATTRIBUTE26,1,'Y');
2839: END IF;
2840:
2841: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2878:
2879: end if;
2880: if asked_for_rec.PRICING_ATTRIBUTE27 is not null then
2881: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2882: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE27:'
2883: ||asked_for_rec.PRICING_ATTRIBUTE27,1,'Y');
2884: END IF;
2885:
2886: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2923:
2924: end if;
2925: if asked_for_rec.PRICING_ATTRIBUTE28 is not null then
2926: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2927: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE28:'
2928: ||asked_for_rec.PRICING_ATTRIBUTE28,1,'Y');
2929: END IF;
2930:
2931: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

2968:
2969: end if;
2970: if asked_for_rec.PRICING_ATTRIBUTE29 is not null then
2971: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
2972: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE29:'
2973: ||asked_for_rec.PRICING_ATTRIBUTE29,1,'Y');
2974: END IF;
2975:
2976: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3013:
3014: end if;
3015: if asked_for_rec.PRICING_ATTRIBUTE30 is not null then
3016: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3017: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE30:'
3018: ||asked_for_rec.PRICING_ATTRIBUTE30,1,'Y');
3019: END IF;
3020:
3021: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3058:
3059: end if;
3060: if asked_for_rec.PRICING_ATTRIBUTE31 is not null then
3061: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3062: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE31:'
3063: ||asked_for_rec.PRICING_ATTRIBUTE31,1,'Y');
3064: END IF;
3065:
3066: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3103:
3104: end if;
3105: if asked_for_rec.PRICING_ATTRIBUTE32 is not null then
3106: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3107: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE32:'
3108: ||asked_for_rec.PRICING_ATTRIBUTE32,1,'Y');
3109: END IF;
3110:
3111: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3148:
3149: end if;
3150: if asked_for_rec.PRICING_ATTRIBUTE33 is not null then
3151: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3152: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE33:'
3153: ||asked_for_rec.PRICING_ATTRIBUTE33,1,'Y');
3154: END IF;
3155:
3156: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3193:
3194: end if;
3195: if asked_for_rec.PRICING_ATTRIBUTE34 is not null then
3196: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3197: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE34:'
3198: ||asked_for_rec.PRICING_ATTRIBUTE34,1,'Y');
3199: END IF;
3200:
3201: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3238:
3239: end if;
3240: if asked_for_rec.PRICING_ATTRIBUTE35 is not null then
3241: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3242: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE35:'
3243: ||asked_for_rec.PRICING_ATTRIBUTE35,1,'Y');
3244: END IF;
3245:
3246: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3283:
3284: end if;
3285: if asked_for_rec.PRICING_ATTRIBUTE36 is not null then
3286: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3287: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE36:'
3288: ||asked_for_rec.PRICING_ATTRIBUTE36,1,'Y');
3289: END IF;
3290:
3291: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3328:
3329: end if;
3330: if asked_for_rec.PRICING_ATTRIBUTE37 is not null then
3331: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3332: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE37:'
3333: ||asked_for_rec.PRICING_ATTRIBUTE37,1,'Y');
3334: END IF;
3335:
3336: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3373:
3374: end if;
3375: if asked_for_rec.PRICING_ATTRIBUTE38 is not null then
3376: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3377: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE38:'
3378: ||asked_for_rec.PRICING_ATTRIBUTE38,1,'Y');
3379: END IF;
3380:
3381: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3418:
3419: end if;
3420: if asked_for_rec.PRICING_ATTRIBUTE39 is not null then
3421: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3422: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE39:'
3423: ||asked_for_rec.PRICING_ATTRIBUTE39,1,'Y');
3424: END IF;
3425:
3426: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3463:
3464: end if;
3465: if asked_for_rec.PRICING_ATTRIBUTE40 is not null then
3466: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3467: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE40:'
3468: ||asked_for_rec.PRICING_ATTRIBUTE40,1,'Y');
3469: END IF;
3470:
3471: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3508:
3509: end if;
3510: if asked_for_rec.PRICING_ATTRIBUTE41 is not null then
3511: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3512: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE41:'
3513: ||asked_for_rec.PRICING_ATTRIBUTE41,1,'Y');
3514: END IF;
3515:
3516: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3553:
3554: end if;
3555: if asked_for_rec.PRICING_ATTRIBUTE42 is not null then
3556: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3557: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE42:'
3558: ||asked_for_rec.PRICING_ATTRIBUTE42,1,'Y');
3559: END IF;
3560:
3561: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3598:
3599: end if;
3600: if asked_for_rec.PRICING_ATTRIBUTE43 is not null then
3601: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3602: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE43:'
3603: ||asked_for_rec.PRICING_ATTRIBUTE43,1,'Y');
3604: END IF;
3605:
3606: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3643:
3644: end if;
3645: if asked_for_rec.PRICING_ATTRIBUTE44 is not null then
3646: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3647: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE44:'
3648: ||asked_for_rec.PRICING_ATTRIBUTE44,1,'Y');
3649: END IF;
3650:
3651: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3688:
3689: end if;
3690: if asked_for_rec.PRICING_ATTRIBUTE45 is not null then
3691: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3692: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE45:'
3693: ||asked_for_rec.PRICING_ATTRIBUTE45,1,'Y');
3694: END IF;
3695:
3696: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3733:
3734: end if;
3735: if asked_for_rec.PRICING_ATTRIBUTE46 is not null then
3736: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3737: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE46:'
3738: ||asked_for_rec.PRICING_ATTRIBUTE46,1,'Y');
3739: END IF;
3740:
3741: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3778:
3779: end if;
3780: if asked_for_rec.PRICING_ATTRIBUTE47 is not null then
3781: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3782: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE47:'
3783: ||asked_for_rec.PRICING_ATTRIBUTE47,1,'Y');
3784: END IF;
3785:
3786: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3823:
3824: end if;
3825: if asked_for_rec.PRICING_ATTRIBUTE48 is not null then
3826: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3827: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE48:'
3828: ||asked_for_rec.PRICING_ATTRIBUTE48,1,'Y');
3829: END IF;
3830:
3831: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3868:
3869: end if;
3870: if asked_for_rec.PRICING_ATTRIBUTE49 is not null then
3871: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3872: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE49:'
3873: ||asked_for_rec.PRICING_ATTRIBUTE49,1,'Y');
3874: END IF;
3875:
3876: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3913:
3914: end if;
3915: if asked_for_rec.PRICING_ATTRIBUTE50 is not null then
3916: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3917: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE50:'
3918: ||asked_for_rec.PRICING_ATTRIBUTE50,1,'Y');
3919: END IF;
3920:
3921: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

3958:
3959: end if;
3960: if asked_for_rec.PRICING_ATTRIBUTE51 is not null then
3961: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3962: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE51:'
3963: ||asked_for_rec.PRICING_ATTRIBUTE51,1,'Y');
3964: END IF;
3965:
3966: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4003:
4004: end if;
4005: if asked_for_rec.PRICING_ATTRIBUTE52 is not null then
4006: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4007: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE52:'
4008: ||asked_for_rec.PRICING_ATTRIBUTE52,1,'Y');
4009: END IF;
4010:
4011: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4048:
4049: end if;
4050: if asked_for_rec.PRICING_ATTRIBUTE53 is not null then
4051: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4052: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE53:'
4053: ||asked_for_rec.PRICING_ATTRIBUTE53,1,'Y');
4054: END IF;
4055:
4056: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4093:
4094: end if;
4095: if asked_for_rec.PRICING_ATTRIBUTE54 is not null then
4096: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4097: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE54:'
4098: ||asked_for_rec.PRICING_ATTRIBUTE54,1,'Y');
4099: END IF;
4100:
4101: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4138:
4139: end if;
4140: if asked_for_rec.PRICING_ATTRIBUTE55 is not null then
4141: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4142: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE55:'
4143: ||asked_for_rec.PRICING_ATTRIBUTE55,1,'Y');
4144: END IF;
4145:
4146: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4183:
4184: end if;
4185: if asked_for_rec.PRICING_ATTRIBUTE56 is not null then
4186: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4187: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE56:'
4188: ||asked_for_rec.PRICING_ATTRIBUTE56,1,'Y');
4189: END IF;
4190:
4191: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4228:
4229: end if;
4230: if asked_for_rec.PRICING_ATTRIBUTE57 is not null then
4231: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4232: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE57:'
4233: ||asked_for_rec.PRICING_ATTRIBUTE57,1,'Y');
4234: END IF;
4235:
4236: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4273:
4274: end if;
4275: if asked_for_rec.PRICING_ATTRIBUTE58 is not null then
4276: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4277: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE58:'
4278: ||asked_for_rec.PRICING_ATTRIBUTE58,1,'Y');
4279: END IF;
4280:
4281: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4318:
4319: end if;
4320: if asked_for_rec.PRICING_ATTRIBUTE59 is not null then
4321: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4322: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE59:'
4323: ||asked_for_rec.PRICING_ATTRIBUTE59,1,'Y');
4324: END IF;
4325:
4326: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index ;

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

4364: end if;
4365:
4366: if asked_for_rec.PRICING_ATTRIBUTE60 is not null then
4367: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4368: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE60:'
4369: ||asked_for_rec.PRICING_ATTRIBUTE60,1,'Y');
4370: END IF;
4371:
4372: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4409:
4410: end if;
4411: if asked_for_rec.PRICING_ATTRIBUTE61 is not null then
4412: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4413: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE61:'
4414: ||asked_for_rec.PRICING_ATTRIBUTE61,1,'Y');
4415: END IF;
4416:
4417: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4454:
4455: end if;
4456: if asked_for_rec.PRICING_ATTRIBUTE62 is not null then
4457: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4458: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE62:'
4459: ||asked_for_rec.PRICING_ATTRIBUTE62,1,'Y');
4460: END IF;
4461:
4462: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4499:
4500: end if;
4501: if asked_for_rec.PRICING_ATTRIBUTE63 is not null then
4502: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4503: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE63:'
4504: ||asked_for_rec.PRICING_ATTRIBUTE63,1,'Y');
4505: END IF;
4506:
4507: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4544:
4545: end if;
4546: if asked_for_rec.PRICING_ATTRIBUTE64 is not null then
4547: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4548: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE64:'
4549: ||asked_for_rec.PRICING_ATTRIBUTE64,1,'Y');
4550: END IF;
4551:
4552: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4589:
4590: end if;
4591: if asked_for_rec.PRICING_ATTRIBUTE65 is not null then
4592: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4593: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE65:'
4594: ||asked_for_rec.PRICING_ATTRIBUTE65,1,'Y');
4595: END IF;
4596:
4597: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4634:
4635: end if;
4636: if asked_for_rec.PRICING_ATTRIBUTE66 is not null then
4637: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4638: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE66:'
4639: ||asked_for_rec.PRICING_ATTRIBUTE66,1,'Y');
4640: END IF;
4641:
4642: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4679:
4680: end if;
4681: if asked_for_rec.PRICING_ATTRIBUTE67 is not null then
4682: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4683: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE67:'
4684: ||asked_for_rec.PRICING_ATTRIBUTE67,1,'Y');
4685: END IF;
4686:
4687: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4724:
4725: end if;
4726: if asked_for_rec.PRICING_ATTRIBUTE68 is not null then
4727: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4728: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE68:'
4729: ||asked_for_rec.PRICING_ATTRIBUTE68,1,'Y');
4730: END IF;
4731:
4732: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4769:
4770: end if;
4771: if asked_for_rec.PRICING_ATTRIBUTE69 is not null then
4772: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4773: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE69:'
4774: ||asked_for_rec.PRICING_ATTRIBUTE69,1,'Y');
4775: END IF;
4776:
4777: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4814:
4815: end if;
4816: if asked_for_rec.PRICING_ATTRIBUTE70 is not null then
4817: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4818: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE70:'
4819: ||asked_for_rec.PRICING_ATTRIBUTE70,1,'Y');
4820: END IF;
4821:
4822: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4859:
4860: end if;
4861: if asked_for_rec.PRICING_ATTRIBUTE71 is not null then
4862: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4863: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE71:'
4864: ||asked_for_rec.PRICING_ATTRIBUTE71,1,'Y');
4865: END IF;
4866:
4867: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4904:
4905: end if;
4906: if asked_for_rec.PRICING_ATTRIBUTE72 is not null then
4907: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4908: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE72:'
4909: ||asked_for_rec.PRICING_ATTRIBUTE72,1,'Y');
4910: END IF;
4911:
4912: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4949:
4950: end if;
4951: if asked_for_rec.PRICING_ATTRIBUTE73 is not null then
4952: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4953: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE73:'
4954: ||asked_for_rec.PRICING_ATTRIBUTE73,1,'Y');
4955: END IF;
4956:
4957: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

4994:
4995: end if;
4996: if asked_for_rec.PRICING_ATTRIBUTE74 is not null then
4997: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
4998: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE74:'
4999: ||asked_for_rec.PRICING_ATTRIBUTE74,1,'Y');
5000: END IF;
5001:
5002: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5039:
5040: end if;
5041: if asked_for_rec.PRICING_ATTRIBUTE75 is not null then
5042: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5043: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE75:'
5044: ||asked_for_rec.PRICING_ATTRIBUTE75,1,'Y');
5045: END IF;
5046:
5047: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5084:
5085: end if;
5086: if asked_for_rec.PRICING_ATTRIBUTE76 is not null then
5087: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5088: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE76:'
5089: ||asked_for_rec.PRICING_ATTRIBUTE76,1,'Y');
5090: END IF;
5091:
5092: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5129:
5130: end if;
5131: if asked_for_rec.PRICING_ATTRIBUTE77 is not null then
5132: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5133: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE77:'
5134: ||asked_for_rec.PRICING_ATTRIBUTE77,1,'Y');
5135: END IF;
5136:
5137: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5174:
5175: end if;
5176: if asked_for_rec.PRICING_ATTRIBUTE78 is not null then
5177: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5178: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE78:'
5179: ||asked_for_rec.PRICING_ATTRIBUTE78,1,'Y');
5180: END IF;
5181:
5182: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5219:
5220: end if;
5221: if asked_for_rec.PRICING_ATTRIBUTE79 is not null then
5222: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5223: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE79:'
5224: ||asked_for_rec.PRICING_ATTRIBUTE79,1,'Y');
5225: END IF;
5226:
5227: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5264:
5265: end if;
5266: if asked_for_rec.PRICING_ATTRIBUTE80 is not null then
5267: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5268: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE80:'
5269: ||asked_for_rec.PRICING_ATTRIBUTE80,1,'Y');
5270: END IF;
5271:
5272: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5309:
5310: end if;
5311: if asked_for_rec.PRICING_ATTRIBUTE81 is not null then
5312: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5313: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE81:'
5314: ||asked_for_rec.PRICING_ATTRIBUTE81,1,'Y');
5315: END IF;
5316:
5317: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5354:
5355: end if;
5356: if asked_for_rec.PRICING_ATTRIBUTE82 is not null then
5357: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5358: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE82:'
5359: ||asked_for_rec.PRICING_ATTRIBUTE82,1,'Y');
5360: END IF;
5361:
5362: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5399:
5400: end if;
5401: if asked_for_rec.PRICING_ATTRIBUTE83 is not null then
5402: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5403: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE83:'
5404: ||asked_for_rec.PRICING_ATTRIBUTE83,1,'Y');
5405: END IF;
5406:
5407: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5444:
5445: end if;
5446: if asked_for_rec.PRICING_ATTRIBUTE84 is not null then
5447: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5448: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE84:'
5449: ||asked_for_rec.PRICING_ATTRIBUTE84,1,'Y');
5450: END IF;
5451:
5452: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5489:
5490: end if;
5491: if asked_for_rec.PRICING_ATTRIBUTE85 is not null then
5492: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5493: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE85:'
5494: ||asked_for_rec.PRICING_ATTRIBUTE85,1,'Y');
5495: END IF;
5496:
5497: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5534:
5535: end if;
5536: if asked_for_rec.PRICING_ATTRIBUTE86 is not null then
5537: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5538: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE86:'
5539: ||asked_for_rec.PRICING_ATTRIBUTE86,1,'Y');
5540: END IF;
5541:
5542: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5579:
5580: end if;
5581: if asked_for_rec.PRICING_ATTRIBUTE87 is not null then
5582: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5583: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE87:'
5584: ||asked_for_rec.PRICING_ATTRIBUTE87,1,'Y');
5585: END IF;
5586:
5587: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5624:
5625: end if;
5626: if asked_for_rec.PRICING_ATTRIBUTE88 is not null then
5627: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5628: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE88:'
5629: ||asked_for_rec.PRICING_ATTRIBUTE88,1,'Y');
5630: END IF;
5631:
5632: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5669:
5670: end if;
5671: if asked_for_rec.PRICING_ATTRIBUTE89 is not null then
5672: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5673: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE89:'
5674: ||asked_for_rec.PRICING_ATTRIBUTE89,1,'Y');
5675: END IF;
5676:
5677: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5714:
5715: end if;
5716: if asked_for_rec.PRICING_ATTRIBUTE90 is not null then
5717: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5718: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE90:'
5719: ||asked_for_rec.PRICING_ATTRIBUTE90,1,'Y');
5720: END IF;
5721:
5722: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5759:
5760: end if;
5761: if asked_for_rec.PRICING_ATTRIBUTE91 is not null then
5762: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5763: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE91:'
5764: ||asked_for_rec.PRICING_ATTRIBUTE91,1,'Y');
5765: END IF;
5766:
5767: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5804:
5805: end if;
5806: if asked_for_rec.PRICING_ATTRIBUTE92 is not null then
5807: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5808: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE92:'
5809: ||asked_for_rec.PRICING_ATTRIBUTE92,1,'Y');
5810: END IF;
5811:
5812: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5849:
5850: end if;
5851: if asked_for_rec.PRICING_ATTRIBUTE93 is not null then
5852: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5853: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE93:'
5854: ||asked_for_rec.PRICING_ATTRIBUTE93,1,'Y');
5855: END IF;
5856:
5857: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5894:
5895: end if;
5896: if asked_for_rec.PRICING_ATTRIBUTE94 is not null then
5897: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5898: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE94:'
5899: ||asked_for_rec.PRICING_ATTRIBUTE94,1,'Y');
5900: END IF;
5901:
5902: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5939:
5940: end if;
5941: if asked_for_rec.PRICING_ATTRIBUTE95 is not null then
5942: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5943: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE95:'
5944: ||asked_for_rec.PRICING_ATTRIBUTE95,1,'Y');
5945: END IF;
5946:
5947: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

5984:
5985: end if;
5986: if asked_for_rec.PRICING_ATTRIBUTE96 is not null then
5987: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
5988: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE96:'
5989: ||asked_for_rec.PRICING_ATTRIBUTE96,1,'Y');
5990: END IF;
5991:
5992: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

6029:
6030: end if;
6031: if asked_for_rec.PRICING_ATTRIBUTE97 is not null then
6032: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6033: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE97:'
6034: ||asked_for_rec.PRICING_ATTRIBUTE97,1,'Y');
6035: END IF;
6036:
6037: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

6074:
6075: end if;
6076: if asked_for_rec.PRICING_ATTRIBUTE98 is not null then
6077: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6078: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE98:'
6079: ||asked_for_rec.PRICING_ATTRIBUTE98,1,'Y');
6080: END IF;
6081:
6082: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

6119:
6120: end if;
6121: if asked_for_rec.PRICING_ATTRIBUTE99 is not null then
6122: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6123: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE99:'
6124: ||asked_for_rec.PRICING_ATTRIBUTE99,1,'Y');
6125: END IF;
6126:
6127: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

6164:
6165: end if;
6166: if asked_for_rec.PRICING_ATTRIBUTE100 is not null then
6167: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6168: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE100:'
6169: ||asked_for_rec.PRICING_ATTRIBUTE100,1,'Y');
6170: END IF;
6171:
6172: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

6213: if p_pricing_event = 'BATCH' then
6214: --added the and condition to accomodate the change made in the forms UI to pass pricing_attribute1 only when pricing_attribute2 is null
6215: if asked_for_rec.PRICING_ATTRIBUTE1 is not null and asked_for_rec.PRICING_ATTRIBUTE2 is null then -- Promotion
6216: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6217: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE1:'
6218: ||asked_for_rec.PRICING_ATTRIBUTE1,1,'Y');
6219: END IF;
6220:
6221: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

6262:
6263: end if;
6264: if asked_for_rec.PRICING_ATTRIBUTE2 is not null then --Deal Component
6265: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6266: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE2:'
6267: ||asked_for_rec.PRICING_ATTRIBUTE2,1,'Y');
6268: END IF;
6269:
6270: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

6311:
6312: end if;
6313: if asked_for_rec.PRICING_ATTRIBUTE3 is not null then -- Coupons
6314: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6315: aso_debug_pub.add('ASO_PRICING_CORE_PVT: asked_for_rec.PRICING_ATTRIBUTE3:'
6316: ||asked_for_rec.PRICING_ATTRIBUTE3,1,'Y');
6317: END IF;
6318:
6319: G_ATTR_LINE_INDEX_tbl(l_counter) := l_line_index;

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

6363: end if;--asked_for_rec.flex_title = 'QP_ATTR_DEFNS_PRICING'
6364: end loop;
6365: px_index_counter := l_counter;
6366: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6367: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_counter:'||l_counter,1,'Y');
6368: aso_debug_pub.add('ASO_PRICING_CORE_PVT:End of Direct Insert Append_asked_for',1,'Y');
6369: END IF;
6370:
6371: end Append_asked_for;

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

6364: end loop;
6365: px_index_counter := l_counter;
6366: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6367: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_counter:'||l_counter,1,'Y');
6368: aso_debug_pub.add('ASO_PRICING_CORE_PVT:End of Direct Insert Append_asked_for',1,'Y');
6369: END IF;
6370:
6371: end Append_asked_for;
6372:

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

6377: px_index_counter NUMBER)
6378: IS
6379: BEGIN
6380: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6381: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of the direct insert Copy_Header_To_Request',1,'Y');
6382: aso_debug_pub.add('ASO_PRICING_CORE_PVT: px_index_counter:'||px_index_counter,1,'Y');
6383: 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');
6384: END IF;
6385: G_LINE_INDEX_TBL(px_index_counter) := p_price_line_index;

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

6378: IS
6379: BEGIN
6380: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6381: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of the direct insert Copy_Header_To_Request',1,'Y');
6382: aso_debug_pub.add('ASO_PRICING_CORE_PVT: px_index_counter:'||px_index_counter,1,'Y');
6383: 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');
6384: END IF;
6385: G_LINE_INDEX_TBL(px_index_counter) := p_price_line_index;
6386: G_LINE_TYPE_CODE_TBL(px_index_counter) := 'ORDER';

Line 6383: 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');

6379: BEGIN
6380: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6381: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of the direct insert Copy_Header_To_Request',1,'Y');
6382: aso_debug_pub.add('ASO_PRICING_CORE_PVT: px_index_counter:'||px_index_counter,1,'Y');
6383: 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');
6384: END IF;
6385: G_LINE_INDEX_TBL(px_index_counter) := p_price_line_index;
6386: G_LINE_TYPE_CODE_TBL(px_index_counter) := 'ORDER';
6387: /*FastTrak: Price effective date is assigned to the price frozen unless the price frozen date is null*/

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

6385: G_LINE_INDEX_TBL(px_index_counter) := p_price_line_index;
6386: G_LINE_TYPE_CODE_TBL(px_index_counter) := 'ORDER';
6387: /*FastTrak: Price effective date is assigned to the price frozen unless the price frozen date is null*/
6388: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6389: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Copy_Header_To_Req: ASO_PRICING_INT.G_HEADER_REC.PRICE_FROZEN_DATE:'
6390: ||ASO_PRICING_INT.G_HEADER_REC.PRICE_FROZEN_DATE,1,'Y');
6391: END IF;
6392: if NVL(ASO_PRICING_INT.G_HEADER_REC.PRICE_FROZEN_DATE,FND_API.G_MISS_DATE) = FND_API.G_MISS_DATE THEN
6393: G_PRICING_EFFECTIVE_DATE_TBL(px_index_counter) := trunc(sysdate);

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

6429: G_CONTRACT_START_DATE_TBL(px_index_counter) := NULL;
6430: G_CONTRACT_END_DATE_TBL(px_index_counter) := NULL;
6431:
6432: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6433: aso_debug_pub.add('ASO_PRICING_CORE_PVT: End of the direct insert Copy_Header_To_Request',1,'Y');
6434: END IF;
6435:
6436: end copy_Header_to_request;
6437:

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

6443: is
6444: l_uom_rate NUMBER;
6445: begin
6446: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6447: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start of Direct Insert of Copy_Line_To_Request',1,'Y');
6448: aso_debug_pub.add('ASO_PRICING_CORE_PVT:px_index_counter:'||px_index_counter,1,'Y');
6449: END IF;
6450: G_LINE_INDEX_TBL(px_index_counter) := p_price_line_index;
6451: G_LINE_TYPE_CODE_TBL(px_index_counter) := 'LINE';

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

6444: l_uom_rate NUMBER;
6445: begin
6446: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6447: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start of Direct Insert of Copy_Line_To_Request',1,'Y');
6448: aso_debug_pub.add('ASO_PRICING_CORE_PVT:px_index_counter:'||px_index_counter,1,'Y');
6449: END IF;
6450: G_LINE_INDEX_TBL(px_index_counter) := p_price_line_index;
6451: G_LINE_TYPE_CODE_TBL(px_index_counter) := 'LINE';
6452:

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

6451: G_LINE_TYPE_CODE_TBL(px_index_counter) := 'LINE';
6452:
6453: /*FastTrak: Price effective date is assigned to the price frozen unless the price frozen date is null*/
6454: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6455: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Copy_Line_To_Request: G_HEADER_REC.PRICE_FROZEN_DATE:'
6456: ||ASO_PRICING_INT.G_HEADER_REC.PRICE_FROZEN_DATE,1,'Y');
6457: END IF;
6458: if NVL(ASO_PRICING_INT.G_HEADER_REC.PRICE_FROZEN_DATE,FND_API.G_MISS_DATE) = FND_API.G_MISS_DATE THEN
6459: G_PRICING_EFFECTIVE_DATE_TBL(px_index_counter) := trunc(sysdate);

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

6485: ,Uom_Rate => l_Uom_rate);
6486: G_UOM_QUANTITY_TBL(px_index_counter) := ASO_PRICING_INT.G_LINE_REC.service_duration * l_uom_rate; */
6487:
6488: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6489: aso_debug_pub.add('ASO_PRICING_CORE_PVT: before call to OKS_OMINT_PUB.GET_TARGET_DURATION',1,'Y');
6490: END IF;
6491:
6492:
6493: G_UOM_QUANTITY_TBL(px_index_counter) := OKS_OMINT_PUB.GET_TARGET_DURATION

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

6501: G_CONTRACT_START_DATE_TBL(px_index_counter) := ASO_PRICING_INT.G_LINE_REC.start_date_active;
6502: G_CONTRACT_END_DATE_TBL(px_index_counter) := ASO_PRICING_INT.G_LINE_REC.end_date_active;
6503:
6504: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6505: aso_debug_pub.add('ASO_PRICING_CORE_PVT: after call to OKS_OMINT_PUB.GET_TARGET_DURATION',1,'Y');
6506: END IF;
6507:
6508: End If;
6509: Else

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

6529:
6530: -- Bug 2430534.Should set this flag only for child service line, normal line to 'Y'
6531: -- If the line is from order or customer product set it to 'N'.
6532: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6533: aso_debug_pub.add('ASO_PRICING_CORE_PVT:In Copy line to req p_Line_rec.LINE_CATEGORY_CODE :'
6534: ||ASO_PRICING_INT.G_LINE_REC.LINE_CATEGORY_CODE,1,'Y');
6535: END IF;
6536: /*For PRG Line need to setup the free lines with price_flag to 'P'*/
6537: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

6534: ||ASO_PRICING_INT.G_LINE_REC.LINE_CATEGORY_CODE,1,'Y');
6535: END IF;
6536: /*For PRG Line need to setup the free lines with price_flag to 'P'*/
6537: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6538: aso_debug_pub.add('ASO_PRICING_CORE_PVT:In Copy line to req p_Line_rec.PRICING_LINE_TYPE_INDICATOR :'
6539: ||ASO_PRICING_INT.G_LINE_REC.PRICING_LINE_TYPE_INDICATOR,1,'Y');
6540: END IF;
6541:
6542: IF ASO_PRICING_INT.G_LINE_REC.PRICING_LINE_TYPE_INDICATOR = 'F' THEN

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

6567: G_PL_VALIDATED_FLAG_TBL(px_index_counter) := 'N';
6568: G_PRICE_REQUEST_CODE_TBL(px_index_counter) := NULL;
6569: G_USAGE_PRICING_TYPE_TBL(px_index_counter) :='REGULAR';
6570: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6571: aso_debug_pub.add('ASO_PRICING_CORE_PVT:In Copy line to req SELLING_PRICE_CHANGE: '
6572: ||ASO_PRICING_INT.G_LINE_REC.SELLING_PRICE_CHANGE,1,'Y');
6573: END IF;
6574: If ASO_PRICING_INT.G_LINE_REC.SELLING_PRICE_CHANGE = 'Y' then
6575: G_UPD_ADJUSTED_UNIT_PRICE_TBL(px_index_counter) := ASO_PRICING_INT.G_LINE_REC.line_quote_price;

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

6580: G_LINE_CATEGORY_TBL(px_index_counter) := ASO_PRICING_INT.G_LINE_REC.line_category_code;
6581: G_CHRG_PERIODICITY_CODE_TBL(px_index_counter) := ASO_PRICING_INT.G_LINE_REC.charge_periodicity_code;
6582:
6583: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6584: aso_debug_pub.add('ASO_PRICING_CORE_PVT:End of Direct Insert of Copy_Line_To_Request',1,'Y');
6585: END IF;
6586:
6587: end Copy_Line_To_Request;
6588:

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

6596: l_adj_id_tbl JTF_NUMBER_TABLE;
6597:
6598: BEGIN
6599: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6600: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Inside of the Query_Price_Adj_All',1,'Y');
6601: END IF;
6602:
6603: UPDATE ASO_PRICE_ADJUSTMENTS apa
6604: SET OPERAND_PER_PQTY = (SELECT decode(arithmetic_operator,'%',operand,

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

6612: WHERE apa.quote_header_id = p_quote_header_id
6613: AND apa.quote_line_id is not null
6614: AND (apa.applied_flag = 'Y' or apa.updated_flag = 'Y');
6615: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6616: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Line level: '||sql%ROWCOUNT,1,'Y');
6617: END IF;
6618:
6619: --Only support % at the header level
6620: UPDATE ASO_PRICE_ADJUSTMENTS

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

6623: AND quote_line_id is null
6624: AND (applied_flag = 'Y' OR updated_flag = 'Y');
6625:
6626: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6627: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Header Level: '||sql%ROWCOUNT,1,'Y');
6628: END IF;
6629:
6630: SELECT
6631: PRICE_ADJUSTMENT_ID,

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

6747:
6748: x_adj_id_tbl := l_adj_id_tbl;
6749:
6750: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6751: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_adj_id_tbl.count:'||nvl(x_adj_id_tbl.count,0),1,'Y');
6752: END IF;
6753:
6754: END Query_price_Adj_All;
6755:

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

6759: IS
6760: BEGIN
6761:
6762: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6763: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Query_Price_Adj_Header',1,'Y');
6764: END IF;
6765:
6766: --Only support % at the header level
6767: UPDATE ASO_PRICE_ADJUSTMENTS

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

6770: AND quote_line_id is null
6771: AND (applied_flag = 'Y' OR updated_flag = 'Y');
6772:
6773: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6774: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Header Level: '||sql%ROWCOUNT,1,'Y');
6775: END IF;
6776:
6777: SELECT
6778: PRICE_ADJUSTMENT_ID,

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

6906: l_adj_id_tbl JTF_NUMBER_TABLE;
6907:
6908: BEGIN
6909: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6910: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of the Query_Price_Adj_line',1,'Y');
6911: END IF;
6912:
6913: UPDATE ASO_PRICE_ADJUSTMENTS apa
6914: SET OPERAND_PER_PQTY = (SELECT decode(arithmetic_operator,'%',operand,

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

6922: WHERE apa.quote_header_id = p_quote_header_id
6923: AND apa.quote_line_id is not null
6924: AND (apa.applied_flag = 'Y' or apa.updated_flag = 'Y');
6925: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6926: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Line level: '||sql%ROWCOUNT,1,'Y');
6927: END IF;
6928:
6929: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6930: If p_qte_line_id_tbl.count is not null then

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

6928:
6929: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6930: If p_qte_line_id_tbl.count is not null then
6931: For i in 1..p_qte_line_id_tbl.count loop
6932: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Querying for the following quote line ids:',1,'Y');
6933: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_line_id_tbl(i):'||p_qte_line_id_tbl(i),1,'Y');
6934: End Loop;
6935: End If;
6936: END IF;

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

6929: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6930: If p_qte_line_id_tbl.count is not null then
6931: For i in 1..p_qte_line_id_tbl.count loop
6932: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Querying for the following quote line ids:',1,'Y');
6933: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_line_id_tbl(i):'||p_qte_line_id_tbl(i),1,'Y');
6934: End Loop;
6935: End If;
6936: END IF;
6937:

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

7067: AND adj2.price_adjustment_id = rlt.price_adjustment_id));*/
7068:
7069: x_adj_id_tbl := l_adj_id_tbl;
7070: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7071: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_adj_id_tbl.count:'||nvl(x_adj_id_tbl.count,0),1,'Y');
7072: END IF;
7073:
7074: END Query_price_Adj_line;
7075:

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

7084: l_adj_id_tbl JTF_NUMBER_TABLE;
7085:
7086: BEGIN
7087: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7088: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of the Query_Price_Adjustments',1,'Y');
7089: END IF;
7090: --bug8599987 changed to operand from 'AMT',(operand*l.quantity)/l.PRICING_QUANTITY
7091: --bug8599987 changed to operand from 'NEWPRICE',(operand*l.quantity)/l.PRICING_QUANTITY)
7092: UPDATE ASO_PRICE_ADJUSTMENTS apa

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

7101: WHERE apa.quote_header_id = p_quote_header_id
7102: AND apa.quote_line_id is not null
7103: AND (apa.applied_flag = 'Y' or apa.updated_flag = 'Y');
7104: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7105: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Line level: '||sql%ROWCOUNT,1,'Y');
7106: END IF;
7107:
7108: --Only support % at the header level
7109: UPDATE ASO_PRICE_ADJUSTMENTS

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

7112: AND quote_line_id is null
7113: AND (applied_flag = 'Y' OR updated_flag = 'Y');
7114:
7115: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7116: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Header Level: '||sql%ROWCOUNT,1,'Y');
7117: If p_qte_line_id_tbl.count is not null then
7118: For i in 1..p_qte_line_id_tbl.count loop
7119: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Querying for the following quote line ids:',1,'Y');
7120: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_line_id_tbl(i):'||p_qte_line_id_tbl(i),1,'Y');

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

7115: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7116: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Header Level: '||sql%ROWCOUNT,1,'Y');
7117: If p_qte_line_id_tbl.count is not null then
7118: For i in 1..p_qte_line_id_tbl.count loop
7119: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Querying for the following quote line ids:',1,'Y');
7120: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_line_id_tbl(i):'||p_qte_line_id_tbl(i),1,'Y');
7121: End Loop;
7122: End If;
7123: END IF;

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

7116: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Operand per pqty updated rows - Header Level: '||sql%ROWCOUNT,1,'Y');
7117: If p_qte_line_id_tbl.count is not null then
7118: For i in 1..p_qte_line_id_tbl.count loop
7119: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Querying for the following quote line ids:',1,'Y');
7120: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_line_id_tbl(i):'||p_qte_line_id_tbl(i),1,'Y');
7121: End Loop;
7122: End If;
7123: END IF;
7124:

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

7319: and adj2.price_adjustment_id = rlt.price_adjustment_id))));
7320:
7321: x_adj_id_tbl := l_adj_id_tbl;
7322: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7323: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_adj_id_tbl.count:'||nvl(x_adj_id_tbl.count,0),1,'Y');
7324: END IF;
7325:
7326: END Query_price_Adjustments;
7327:

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

7332:
7333:
7334: IF p_service_qte_line_id_tbl.exists(1) AND p_qte_adj_id_tbl.exists(1) THEN
7335: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7336: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Get both price adj rltship and service rltship',1,'Y');
7337: END IF;
7338: SELECT
7339: adj_rel.quote_line_id,
7340: adj_rel.price_adjustment_id,

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

7379: AND ldets.service_ref_line_id IS NOT NULL;
7380:
7381: ELSIF p_service_qte_line_id_tbl is not null and p_service_qte_line_id_tbl.exists(1) then
7382: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7383: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Get only service rltship',1,'Y');
7384: END IF;
7385:
7386: SELECT
7387: ldets.service_ref_line_id quote_line_id,

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

7408: AND ldets.service_ref_line_id IS NOT NULL;
7409:
7410: ELSIF p_qte_adj_id_tbl is not null and p_qte_adj_id_tbl.exists(1) THEN
7411: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7412: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Get only price adj rltship',1,'Y');
7413: END IF;
7414: SELECT
7415: adj_rel.quote_line_id,
7416: adj_rel.price_adjustment_id,

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

7447:
7448: BEGIN
7449: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7450: aso_debug_pub.add('===================GLOBAL LINES==============================================',1,'Y');
7451: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LINE_INDEX_TBL.count:'
7452: ||nvl(G_LINE_INDEX_TBL.count,0),1,'Y');
7453: END IF;
7454: If nvl(G_LINE_INDEX_TBL.count,0) > 0 then
7455: For i in 1..G_LINE_INDEX_TBL.count loop

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

7904: end if;
7905:
7906: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7907: aso_debug_pub.add(' ',1,'Y');
7908: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_CONTRACT_END_DATE_TBL.count:'
7909: ||nvl(G_CONTRACT_END_DATE_TBL.count,0),1,'Y');
7910: END IF;
7911:
7912: If nvl(G_CONTRACT_END_DATE_TBL.count,0) > 0 then

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

7928: IS
7929: BEGIN
7930: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
7931: aso_debug_pub.add('-------------------GLOBAL ADJUSTMENTS---------------------------------------------',1,'Y');
7932: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_LINE_DTL_INDEX_TBL.count:'
7933: ||nvl(G_LDET_LINE_DTL_INDEX_TBL.count,0),1,'Y');
7934: END IF;
7935: If nvl(G_LDET_LINE_DTL_INDEX_TBL.count,0) > 0 then
7936: For i in 1..G_LDET_LINE_DTL_INDEX_TBL.count loop

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

8629: end loop;
8630: end if;
8631: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8632: aso_debug_pub.add(' ',1,'Y');
8633: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_LDET_CHG_REASON_TEXT_TBL.count:'
8634: ||nvl(G_LDET_CHG_REASON_TEXT_TBL.count,0),1,'Y');
8635: END IF;
8636:
8637: If nvl(G_LDET_CHG_REASON_TEXT_TBL.count,0) > 0 then

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

8651: IS
8652: BEGIN
8653: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8654: aso_debug_pub.add('**********Global Relationships*****************************************',1,'Y');
8655: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_LINE_INDEX_TBL.count:'
8656: ||nvl(G_RLTD_LINE_INDEX_TBL.count,0),1,'Y');
8657: END IF;
8658: If nvl(G_RLTD_LINE_INDEX_TBL.count,0) > 0 then
8659: For i in 1..G_RLTD_LINE_INDEX_TBL.count loop

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

8663: end loop;
8664: end if;
8665: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8666: aso_debug_pub.add(' ',1,'Y');
8667: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_LINE_DTL_INDEX_TBL.count:'
8668: ||nvl(G_RLTD_LINE_DTL_INDEX_TBL.count,0),1,'Y');
8669: END IF;
8670:
8671: If nvl(G_RLTD_LINE_DTL_INDEX_TBL.count,0) > 0 then

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

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

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

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

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

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

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

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

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

8731: end if;
8732:
8733: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8734: aso_debug_pub.add(' ',1,'Y');
8735: aso_debug_pub.add('ASO_PRICING_CORE_PVT:b4 insert temp table:G_RLTD_RLTD_LST_LN_ID_DEF_TBL.count:'
8736: ||nvl(G_RLTD_RLTD_LST_LN_ID_DEF_TBL.count,0),1,'Y');
8737: END IF;
8738:
8739: If nvl(G_RLTD_RLTD_LST_LN_ID_DEF_TBL.count,0) > 0 then

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

8802: x_status_text =>l_return_status_text);
8803:
8804: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
8805: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8806: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error in insert_lines2',1,'Y');
8807: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_return_status_text:'||l_return_status_text,1,'Y');
8808: END IF;
8809: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8810: END IF;

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

8803:
8804: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
8805: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8806: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error in insert_lines2',1,'Y');
8807: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_return_status_text:'||l_return_status_text,1,'Y');
8808: END IF;
8809: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8810: END IF;
8811:

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

8845: x_status_text => l_return_status_text );
8846:
8847: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
8848: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8849: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error inserting into line attrs'||sqlerrm,1,'Y');
8850: END IF;
8851: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8852: END IF;
8853:

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

8916: x_status_text => l_return_status_text);
8917:
8918: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
8919: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8920: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error inserting into adj ldets'||sqlerrm,1,'Y');
8921: END IF;
8922: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8923: END IF;
8924:

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

8940: x_status_text => l_return_status_text);
8941:
8942: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
8943: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8944: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Error inserting into adj relationship'||sqlerrm,1,'Y');
8945: END IF;
8946: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8947: END IF;
8948:

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

8948:
8949: END IF;--G_RLTD_LINE_INDEX_TBL
8950:
8951: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8952: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After direct insert into temp table: bulk insert',1,'Y');
8953: END IF;
8954:
8955: EXCEPTION
8956: WHEN OTHERS THEN

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

9008:
9009: BEGIN
9010:
9011: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9012: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside Delete_Promotion', 1, 'Y');
9013: END IF;
9014:
9015:
9016: -- Standard Start of API savepoint

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

9033: END IF;
9034:
9035: x_return_status := FND_API.G_RET_STS_SUCCESS;
9036: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9037: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_price_attr_tbl.count:'||nvl(p_price_attr_tbl.count,0),1,'Y');
9038: END IF;
9039:
9040: For i in 1..p_price_attr_tbl.count loop
9041: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

9038: END IF;
9039:
9040: For i in 1..p_price_attr_tbl.count loop
9041: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9042: aso_debug_pub.add('ASO_PRICING_CORE_PVT:In Delete Promotion - p_price_attr_tbl(i).operation_code:'
9043: ||p_price_attr_tbl(i).operation_code,1,'Y');
9044: END IF;
9045: If p_price_attr_tbl(i).operation_code = 'DELETE' Then
9046: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

9043: ||p_price_attr_tbl(i).operation_code,1,'Y');
9044: END IF;
9045: If p_price_attr_tbl(i).operation_code = 'DELETE' Then
9046: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9047: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Parameters passed to Delete_Promotion: loop '||i,1,'Y');
9048: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_header_id:'||p_price_attr_tbl(i).quote_header_id,1,'Y');
9049: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9050: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9051: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');

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

9044: END IF;
9045: If p_price_attr_tbl(i).operation_code = 'DELETE' Then
9046: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9047: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Parameters passed to Delete_Promotion: loop '||i,1,'Y');
9048: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_header_id:'||p_price_attr_tbl(i).quote_header_id,1,'Y');
9049: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9050: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9051: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');
9052: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute2:'||p_price_attr_tbl(i).pricing_attribute2,1,'Y');

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

9045: If p_price_attr_tbl(i).operation_code = 'DELETE' Then
9046: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9047: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Parameters passed to Delete_Promotion: loop '||i,1,'Y');
9048: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_header_id:'||p_price_attr_tbl(i).quote_header_id,1,'Y');
9049: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9050: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9051: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');
9052: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute2:'||p_price_attr_tbl(i).pricing_attribute2,1,'Y');
9053: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Flex_title:'||p_price_attr_tbl(i).flex_title,1,'Y');

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

9046: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9047: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Parameters passed to Delete_Promotion: loop '||i,1,'Y');
9048: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_header_id:'||p_price_attr_tbl(i).quote_header_id,1,'Y');
9049: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9050: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9051: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');
9052: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute2:'||p_price_attr_tbl(i).pricing_attribute2,1,'Y');
9053: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Flex_title:'||p_price_attr_tbl(i).flex_title,1,'Y');
9054: END IF;

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

9047: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Parameters passed to Delete_Promotion: loop '||i,1,'Y');
9048: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_header_id:'||p_price_attr_tbl(i).quote_header_id,1,'Y');
9049: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9050: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9051: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');
9052: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute2:'||p_price_attr_tbl(i).pricing_attribute2,1,'Y');
9053: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Flex_title:'||p_price_attr_tbl(i).flex_title,1,'Y');
9054: END IF;
9055:

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

9048: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_header_id:'||p_price_attr_tbl(i).quote_header_id,1,'Y');
9049: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9050: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9051: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');
9052: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute2:'||p_price_attr_tbl(i).pricing_attribute2,1,'Y');
9053: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Flex_title:'||p_price_attr_tbl(i).flex_title,1,'Y');
9054: END IF;
9055:
9056: If p_price_attr_tbl(i).price_attribute_id is not null then

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

9049: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Price_attribute_id:'||p_price_attr_tbl(i).price_attribute_id,1,'Y');
9050: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Quote_line_id:'||p_price_attr_tbl(i).quote_line_id,1,'Y');
9051: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute1:'||p_price_attr_tbl(i).pricing_attribute1,1,'Y');
9052: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Pricing_Attribute2:'||p_price_attr_tbl(i).pricing_attribute2,1,'Y');
9053: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Flex_title:'||p_price_attr_tbl(i).flex_title,1,'Y');
9054: END IF;
9055:
9056: If p_price_attr_tbl(i).price_attribute_id is not null then
9057: If ((p_price_attr_tbl(i).pricing_attribute1 IS NULL

Line 9067: 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');

9063: OR (p_price_attr_tbl(i).flex_title = FND_API.G_MISS_CHAR
9064: OR p_price_attr_tbl(i).flex_title IS NULL)) then
9065: /*Deleting the attributes or promotions from Istore*/
9066: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9067: 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');
9068: END IF;
9069: ASO_PRICE_ATTRIBUTES_PKG.Delete_Row
9070: (p_PRICE_ATTRIBUTE_ID => p_price_attr_tbl(i).price_attribute_id);
9071: else

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

9089: OR p_price_attr_tbl(i).quote_line_id = FND_API.G_MISS_NUM) then
9090: /*Delete all the header level adjustments*/
9091:
9092: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9093: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting header level adjustments',1,'Y');
9094: END IF;
9095: If (p_price_attr_tbl(i).pricing_attribute2 is null
9096: OR p_price_attr_tbl(i).pricing_attribute2 = FND_API.G_MISS_CHAR) then
9097:

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

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

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

9114: OR p_price_attr_tbl(i).pricing_attribute1 = FND_API.G_MISS_CHAR) then
9115:
9116: /*Delete all the adjustment record with the modifier_line_id*/
9117: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9118: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting header level adjustments with the modifier_line_id',1,'Y');
9119: END IF;
9120:
9121: OPEN C_get_adj_id_HdrL(p_price_attr_tbl(i).quote_header_id,
9122: p_price_attr_tbl(i).pricing_attribute2);

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

9122: p_price_attr_tbl(i).pricing_attribute2);
9123: FETCH C_get_adj_id_HdrL INTO l_price_adjustment_id;
9124: IF (C_get_adj_id_HdrL%NOTFOUND) THEN
9125: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9126: aso_debug_pub.add('ASO_PRICING_CORE_PVT:No record in C_get_adj_id_HdrL:i - '||i,1,'Y');
9127: END IF;
9128: /*Do not error OUT do nothing*/
9129: ELSE
9130: ASO_PRICE_ADJUSTMENTS_PKG.Delete_Row(p_PRICE_ADJ_ID => l_price_adjustment_id);

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

9134:
9135: Else/*Delete all the line level adjustments*/
9136:
9137: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9138: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting line level adjustments',1,'Y');
9139: END IF;
9140:
9141: If (p_price_attr_tbl(i).pricing_attribute2 is null
9142: OR p_price_attr_tbl(i).pricing_attribute2 = FND_API.G_MISS_CHAR) then

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

9142: OR p_price_attr_tbl(i).pricing_attribute2 = FND_API.G_MISS_CHAR) then
9143:
9144: /*Delete all the adjustment record with the modifier_header_id*/
9145: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9146: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting line level adjustments with the modifier_header_id',1,'Y');
9147: END IF;
9148:
9149: OPEN C_get_adj_id_LnH(p_price_attr_tbl(i).quote_header_id,
9150: p_price_attr_tbl(i).quote_line_id,

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

9163: OR p_price_attr_tbl(i).pricing_attribute1 = FND_API.G_MISS_CHAR) then
9164:
9165: /*Delete all the adjustment record with the modifier_line_id*/
9166: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9167: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Deleting line level adjustments with the modifier_line_id',1,'Y');
9168: END IF;
9169:
9170: OPEN C_get_adj_id_LnL(p_price_attr_tbl(i).quote_header_id,
9171: p_price_attr_tbl(i).quote_line_id,

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

9173: );
9174: FETCH C_get_adj_id_LnL INTO l_price_adjustment_id;
9175: IF (C_get_adj_id_LnL%NOTFOUND) THEN
9176: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9177: aso_debug_pub.add('ASO_PRICING_CORE_PVT:No record in C_get_adj_id_LnL:i'||i,1,'Y');
9178: END IF;
9179: /*Do not error OUT - do nothing*/
9180: ELSE
9181: ASO_PRICE_ADJUSTMENTS_PKG.Delete_Row(p_PRICE_ADJ_ID => l_price_adjustment_id);

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

9188:
9189: /*Delete the Price Attribute Record*/
9190:
9191: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9192: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Deleting Adj Deleting the attribute rec',1,'Y');
9193: END IF;
9194: ASO_PRICE_ATTRIBUTES_PKG.Delete_Row
9195: (p_PRICE_ATTRIBUTE_ID => p_price_attr_tbl(i).price_attribute_id);
9196:

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

9202:
9203: End Loop;
9204:
9205: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9206: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Delete_Promotion Ends', 1, 'Y');
9207: END IF;
9208:
9209: -- Standard check for p_commit
9210: IF FND_API.to_Boolean( p_commit ) THEN

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

9363: FND_MSG_PUB.initialize;
9364: END IF;
9365:
9366: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9367: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Copy_Price_To_Quote ',1,'Y');
9368: aso_debug_pub.add('ASO_PRICING_CORE_PVT:P_control_rec.price_mode:'||P_control_rec.price_mode,1,'Y');
9369: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type:'||p_insert_type,1,'Y');
9370: END IF;
9371: x_return_status := FND_API.G_RET_STS_SUCCESS;

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

9364: END IF;
9365:
9366: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9367: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Copy_Price_To_Quote ',1,'Y');
9368: aso_debug_pub.add('ASO_PRICING_CORE_PVT:P_control_rec.price_mode:'||P_control_rec.price_mode,1,'Y');
9369: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type:'||p_insert_type,1,'Y');
9370: END IF;
9371: x_return_status := FND_API.G_RET_STS_SUCCESS;
9372: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

9365:
9366: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9367: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Copy_Price_To_Quote ',1,'Y');
9368: aso_debug_pub.add('ASO_PRICING_CORE_PVT:P_control_rec.price_mode:'||P_control_rec.price_mode,1,'Y');
9369: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type:'||p_insert_type,1,'Y');
9370: END IF;
9371: x_return_status := FND_API.G_RET_STS_SUCCESS;
9372: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9373: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Post_Price_Request for p_qte_header_rec.quote_header_id'

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

9369: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type:'||p_insert_type,1,'Y');
9370: END IF;
9371: x_return_status := FND_API.G_RET_STS_SUCCESS;
9372: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9373: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Post_Price_Request for p_qte_header_rec.quote_header_id'
9374: ||p_qte_header_rec.quote_header_id,1,'Y');
9375: END IF;
9376:
9377: SELECT count(rowid)

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

9379: FROM ASO_QUOTE_LINES_ALL
9380: WHERE quote_header_id = p_qte_header_rec.quote_header_id;
9381:
9382: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9383: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_db_line_counter:'||l_db_line_counter,1,'Y');
9384: END IF;
9385:
9386: If l_db_line_counter <> 0 Then
9387:

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

9386: If l_db_line_counter <> 0 Then
9387:
9388: FOR C_status_code_rec in C_status_code LOOP
9389: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9390: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor line_id:'
9391: ||C_status_code_rec.line_id,1,'Y');
9392: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_code:'
9393: ||C_status_code_rec.pricing_status_code,1,'Y');
9394: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_text:'

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

9388: FOR C_status_code_rec in C_status_code LOOP
9389: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9390: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor line_id:'
9391: ||C_status_code_rec.line_id,1,'Y');
9392: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_code:'
9393: ||C_status_code_rec.pricing_status_code,1,'Y');
9394: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_text:'
9395: ||C_status_code_rec.pricing_status_text,1,'Y');
9396: END IF;

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

9390: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor line_id:'
9391: ||C_status_code_rec.line_id,1,'Y');
9392: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_code:'
9393: ||C_status_code_rec.pricing_status_code,1,'Y');
9394: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside c_status_code cursor pricing_status_text:'
9395: ||C_status_code_rec.pricing_status_text,1,'Y');
9396: END IF;
9397: x_return_status := FND_API.G_RET_STS_ERROR;
9398: l_message_text := C_status_code_rec.pricing_status_code || ': '||C_status_code_rec.pricing_status_text;

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

9406: END LOOP;
9407:
9408: l_profile_value := FND_PROFILE.value('ASO_GSA_PRICING');
9409: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9410: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_profile_value - ASO_GSA_PRICING:'||l_profile_value,1,'Y');
9411: END IF;
9412: IF ( l_profile_value = 'ERROR' ) THEN
9413: FOR C_status_code_GSA_rec in C_status_code_GSA LOOP
9414: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

9411: END IF;
9412: IF ( l_profile_value = 'ERROR' ) THEN
9413: FOR C_status_code_GSA_rec in C_status_code_GSA LOOP
9414: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9415: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inside GSA error',1,'Y');
9416: END IF;
9417: x_return_status := FND_API.G_RET_STS_ERROR;
9418: FND_MESSAGE.Set_Name('ASO', 'GSA Violation in Pricing');
9419: FND_MSG_PUB.ADD;

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

9421: END LOOP;
9422: ELSE
9423: FOR C_status_code_GSA_rec in C_status_code_GSA LOOP
9424: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9425: aso_debug_pub.add('ASO_PRICING_CORE_PVT:inside GSA Warning',1,'Y');
9426: END IF;
9427: FND_MESSAGE.Set_Name('ASO', 'GSA Violation in Pricing');
9428: FND_MSG_PUB.ADD;
9429: END LOOP;

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

9429: END LOOP;
9430: END IF;
9431:
9432: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9433: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Error Handling',1,'Y');
9434: aso_debug_pub.add('ASO_PRICING_CORE_PVT:quote header id = '||p_qte_header_rec.quote_header_id,1,'Y');
9435: END IF;
9436:
9437: /*

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

9430: END IF;
9431:
9432: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9433: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Error Handling',1,'Y');
9434: aso_debug_pub.add('ASO_PRICING_CORE_PVT:quote header id = '||p_qte_header_rec.quote_header_id,1,'Y');
9435: END IF;
9436:
9437: /*
9438: * Updating Quote Lines

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

9439: */
9440:
9441:
9442: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9443: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before updating lines P_control_rec.pricing_event:'
9444: ||P_control_rec.pricing_event,1,'Y');
9445: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before updating lines P_control_rec.price_mode : '
9446: ||P_control_rec.price_mode,1,'Y');
9447: END IF;

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

9441:
9442: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9443: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before updating lines P_control_rec.pricing_event:'
9444: ||P_control_rec.pricing_event,1,'Y');
9445: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before updating lines P_control_rec.price_mode : '
9446: ||P_control_rec.price_mode,1,'Y');
9447: END IF;
9448:
9449: If (P_control_rec.pricing_event = 'PRICE') then

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

9489: IN (QP_PREQ_GRP.G_STATUS_UPDATED, QP_PREQ_GRP.G_STATUS_GSA_VIOLATION)
9490: AND lines.line_type_code='LINE');
9491:
9492: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9493: aso_debug_pub.add('ASO_PRICING_CORE_PVT:With Price Event Lines Updated '||sql%ROWCOUNT,1,'Y');
9494: END IF;
9495:
9496: else
9497: -- manual price change is possible

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

9543: AND lines.line_type_code='LINE');
9544:
9545:
9546: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9547: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Lines Updated '||sql%ROWCOUNT,1,'Y');
9548: END IF;
9549:
9550: end If;--If P_control_rec.pricing_event = 'PRICE'
9551:

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

9551:
9552: --Bulk Insert of Price Adjustment from QP temp table for a quote Header
9553: If (p_control_rec.pricing_event = 'BATCH') OR (p_control_rec.pricing_event = 'ORDER') then
9554: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9555: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type: '||p_insert_type,1,'Y');
9556: END IF;
9557:
9558: If p_insert_type = 'HDR' then
9559:

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

9656: AND ldets_v.process_code = QP_PREQ_GRP.G_STATUS_NEW
9657: AND nvl(ldets_v.created_from_list_type_code,'X') not in ('PRL','AGR'));
9658:
9659: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9660: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment '||sql%ROWCOUNT,1,'Y');
9661: END IF;
9662:
9663:
9664: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

9740: AND radj.quote_line_id = rltd_line.line_id
9741: AND radj.modifier_line_id = rltd.related_list_line_id);
9742:
9743: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9744: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Relationships '||sql%ROWCOUNT,1,'Y');
9745: END IF;
9746:
9747:
9748: /*

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

9798: AND QPLAT.LINE_DETAIL_INDEX = LDETS.LINE_DETAIL_INDEX
9799: AND QPLAT.PRICING_STATUS_CODE = QP_PREQ_PUB.G_STATUS_NEW);
9800:
9801: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9802: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Attributes - Line Level Attributes'||sql%ROWCOUNT,1,'Y');
9803: END IF;
9804:
9805: -- Added hint to fix perf bug 5614878.
9806:

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

9849: AND QPLAT.LINE_DETAIL_INDEX = LDETS.LINE_DETAIL_INDEX
9850: AND QPLAT.PRICING_STATUS_CODE = QP_PREQ_PUB.G_STATUS_NEW);
9851:
9852: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9853: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Attributes - Header Level Attributes'||sql%ROWCOUNT,1,'Y');
9854: END IF;
9855:
9856:
9857: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

9854: END IF;
9855:
9856:
9857: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9858: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');
9859: 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');
9860: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');
9861: END IF;
9862:

Line 9859: 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');

9855:
9856:
9857: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9858: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');
9859: 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');
9860: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');
9861: END IF;
9862:
9863: PROCESS_HDR_TSN(p_qte_header_rec.quote_header_id);

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

9856:
9857: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9858: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');
9859: 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');
9860: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');
9861: END IF;
9862:
9863: PROCESS_HDR_TSN(p_qte_header_rec.quote_header_id);
9864:

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

9865: PROCESS_LN_TSN(p_qte_header_rec.quote_header_id, p_insert_type);
9866:
9867:
9868: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9869: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Ends Here ******************', 1, 'Y');
9870: END IF;
9871:
9872: Elsif p_insert_type = 'NO_HDR' then
9873: /*p_insert_type <> 'HDR'*/

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

9871:
9872: Elsif p_insert_type = 'NO_HDR' then
9873: /*p_insert_type <> 'HDR'*/
9874: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9875: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Only insert line level adjustments and relationships and attribs',1,'Y');
9876: END IF;
9877:
9878: INSERT INTO ASO_PRICE_ADJUSTMENTS
9879: (price_adjustment_id,

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

9976: AND ldets_v.process_code = QP_PREQ_GRP.G_STATUS_NEW
9977: AND nvl(ldets_v.created_from_list_type_code,'X') not in ('PRL','AGR'));
9978:
9979: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
9980: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment '||sql%ROWCOUNT,1,'Y');
9981: END IF;
9982:
9983:
9984: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

10059: AND radj.quote_line_id = rltd_line.line_id
10060: AND radj.modifier_line_id = rltd.related_list_line_id);
10061:
10062: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10063: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Relationships '||sql%ROWCOUNT,1,'Y');
10064: END IF;
10065:
10066:
10067: /*

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

10116: AND QPLAT.LINE_DETAIL_INDEX = LDETS.LINE_DETAIL_INDEX
10117: AND QPLAT.PRICING_STATUS_CODE = QP_PREQ_PUB.G_STATUS_NEW);
10118:
10119: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10120: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment Attributes - Line Level Attributes'||sql%ROWCOUNT,1,'Y');
10121: END IF;
10122:
10123: PROCESS_LN_TSN(p_qte_header_rec.quote_header_id, p_insert_type);
10124:

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

10125: ELSE
10126: /* p_insert_type = 'HDR_ONLY' */
10127:
10128: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10129: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type: '||p_insert_type,1,'Y');
10130: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inserting only header level adjustments',1,'Y');
10131: END IF;
10132:
10133: INSERT INTO ASO_PRICE_ADJUSTMENTS

Line 10130: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inserting only header level adjustments',1,'Y');

10126: /* p_insert_type = 'HDR_ONLY' */
10127:
10128: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10129: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_insert_type: '||p_insert_type,1,'Y');
10130: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Inserting only header level adjustments',1,'Y');
10131: END IF;
10132:
10133: INSERT INTO ASO_PRICE_ADJUSTMENTS
10134: (price_adjustment_id,

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

10230: AND nvl(ldets_v.created_from_list_type_code,'X') not in ('PRL','AGR')
10231: AND ldets_v.modifier_level_code = 'ORDER');
10232:
10233: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10234: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert into Adjustment '||sql%ROWCOUNT,1,'Y');
10235: END IF;
10236:
10237:
10238: -- Added hint to fix perf bug 5614878.

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

10282: AND QPLAT.LINE_DETAIL_INDEX = LDETS.LINE_DETAIL_INDEX
10283: AND QPLAT.PRICING_STATUS_CODE = QP_PREQ_PUB.G_STATUS_NEW);
10284:
10285: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10286: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Insert Adjustment Attributes - Header Level Attributes'||sql%ROWCOUNT,1,'Y');
10287: END IF;
10288:
10289: PROCESS_HDR_TSN(p_qte_header_rec.quote_header_id);
10290:

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

10398:
10399: end if;--l_db_line_counter<>0
10400: /***********************************************************
10401: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10402: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');
10403: 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');
10404: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');
10405: END IF;
10406:

Line 10403: 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');

10399: end if;--l_db_line_counter<>0
10400: /***********************************************************
10401: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10402: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');
10403: 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');
10404: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');
10405: END IF;
10406:
10407: If p_insert_type = 'HDR' then

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

10400: /***********************************************************
10401: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10402: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Starts Here ******************', 1, 'Y');
10403: 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');
10404: aso_debug_pub.add('ASO_PRICING_CORE_PVT: p_insert_type :'||p_insert_type, 1, 'Y');
10405: END IF;
10406:
10407: If p_insert_type = 'HDR' then
10408:

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

10411: PROCESS_LN_TSN(p_qte_header_rec.quote_header_id);
10412:
10413:
10414: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10415: aso_debug_pub.add('ASO_PRICING_CORE_PVT:************ TERM SUBSTITUTION Ends Here ******************', 1, 'Y');
10416: END IF;
10417: end if;
10418: *******************************************/
10419:

Line 10434: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');

10430:
10431: for l in 1 ..x_msg_count loop
10432: x_msg_data := fnd_msg_pub.get( p_msg_index => l, p_encoded => 'F');
10433: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10434: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');
10435: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');
10436: END IF;
10437: end loop;
10438:

Line 10435: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');

10431: for l in 1 ..x_msg_count loop
10432: x_msg_data := fnd_msg_pub.get( p_msg_index => l, p_encoded => 'F');
10433: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10434: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');
10435: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');
10436: END IF;
10437: end loop;
10438:
10439: END Copy_Price_To_Quote;

Line 10450: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Modify_Global_PlsIndex_Table ',1,'Y');

10446: l_global_tbl QP_PREQ_GRP.pls_integer_type;
10447: BEGIN
10448: l_global_tbl.delete;
10449: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10450: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Modify_Global_PlsIndex_Table ',1,'Y');
10451: END IF;
10452:
10453: For i in 1..p_global_tbl.count LOOP
10454: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

10451: END IF;
10452:
10453: For i in 1..p_global_tbl.count LOOP
10454: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10455: aso_debug_pub.add('ASO_PRICING_CORE_PVT:i:'||i,1,'Y');
10456: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');
10457: END IF;
10458:
10459: If p_global_tbl(i) = 1 then

Line 10456: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');

10452:
10453: For i in 1..p_global_tbl.count LOOP
10454: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10455: aso_debug_pub.add('ASO_PRICING_CORE_PVT:i:'||i,1,'Y');
10456: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');
10457: END IF;
10458:
10459: If p_global_tbl(i) = 1 then
10460: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 10465: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_search_tbl(p_global_tbl(i)):'||p_search_tbl(p_global_tbl(i)),1,'Y');

10461: aso_debug_pub.add('This is a header record value assigned 1',1,'Y');
10462: END IF;
10463: l_global_tbl(i) := 1;
10464: Else
10465: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_search_tbl(p_global_tbl(i)):'||p_search_tbl(p_global_tbl(i)),1,'Y');
10466: l_global_tbl(i) := p_search_tbl(p_global_tbl(i));
10467: End If;
10468: END LOOP;--End for loop
10469: RETURN l_global_tbl;

Line 10482: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Modify_Global_NumIndex_Table ',1,'Y');

10478: l_global_tbl QP_PREQ_GRP.NUMBER_TYPE;
10479: BEGIN
10480: l_global_tbl.delete;
10481: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10482: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Modify_Global_NumIndex_Table ',1,'Y');
10483: END IF;
10484:
10485: For i in 1..p_global_tbl.count LOOP
10486: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

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

10483: END IF;
10484:
10485: For i in 1..p_global_tbl.count LOOP
10486: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10487: aso_debug_pub.add('ASO_PRICING_CORE_PVT:i:'||i,1,'Y');
10488: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');
10489: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_search_tbl(p_global_tbl(i)):'||p_search_tbl(p_global_tbl(i)),1,'Y');
10490: END IF;
10491: l_global_tbl(i) := p_search_tbl(p_global_tbl(i));

Line 10488: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');

10484:
10485: For i in 1..p_global_tbl.count LOOP
10486: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10487: aso_debug_pub.add('ASO_PRICING_CORE_PVT:i:'||i,1,'Y');
10488: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');
10489: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_search_tbl(p_global_tbl(i)):'||p_search_tbl(p_global_tbl(i)),1,'Y');
10490: END IF;
10491: l_global_tbl(i) := p_search_tbl(p_global_tbl(i));
10492: END LOOP;--End for loop

Line 10489: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_search_tbl(p_global_tbl(i)):'||p_search_tbl(p_global_tbl(i)),1,'Y');

10485: For i in 1..p_global_tbl.count LOOP
10486: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10487: aso_debug_pub.add('ASO_PRICING_CORE_PVT:i:'||i,1,'Y');
10488: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_global_tbl(i):'||p_global_tbl(i),1,'Y');
10489: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_search_tbl(p_global_tbl(i)):'||p_search_tbl(p_global_tbl(i)),1,'Y');
10490: END IF;
10491: l_global_tbl(i) := p_search_tbl(p_global_tbl(i));
10492: END LOOP;--End for loop
10493: RETURN l_global_tbl;

Line 10544: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges ',1,'Y');

10540: FND_MSG_PUB.initialize;
10541: END IF;
10542:
10543: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10544: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges ',1,'Y');
10545: END IF;
10546:
10547: x_return_status := FND_API.G_RET_STS_SUCCESS;
10548: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 10549: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges:p_control_rec.pricing_event: '

10545: END IF;
10546:
10547: x_return_status := FND_API.G_RET_STS_SUCCESS;
10548: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10549: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges:p_control_rec.pricing_event: '
10550: ||p_control_rec.pricing_event,1,'Y');
10551: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges:p_control_rec.calculate_flag: '
10552: ||p_control_rec.calculate_flag,1,'Y');
10553: END IF;

Line 10551: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges:p_control_rec.calculate_flag: '

10547: x_return_status := FND_API.G_RET_STS_SUCCESS;
10548: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10549: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges:p_control_rec.pricing_event: '
10550: ||p_control_rec.pricing_event,1,'Y');
10551: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_Charges:p_control_rec.calculate_flag: '
10552: ||p_control_rec.calculate_flag,1,'Y');
10553: END IF;
10554:
10555: If (p_control_rec.pricing_event = 'BATCH') OR (p_control_rec.pricing_event = 'ORDER') then

Line 10559: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_SHIPMENTS:l_hdr_shipping_charge: '

10555: If (p_control_rec.pricing_event = 'BATCH') OR (p_control_rec.pricing_event = 'ORDER') then
10556:
10557: l_hdr_shipping_charge := ASO_SHIPPING_INT.Get_Header_Freight_Charges(p_qte_header_rec.quote_header_id);
10558: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10559: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_SHIPMENTS:l_hdr_shipping_charge: '
10560: ||l_hdr_shipping_charge,1,'Y');
10561: END IF;
10562: UPDATE ASO_SHIPMENTS
10563: SET SHIP_QUOTE_PRICE = l_hdr_shipping_charge,

Line 10579: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_SHIPMENTS:quote_line_id: '||ls_qte_line_tbl(i).quote_line_id

10575: FOR i IN 1..ls_qte_line_tbl.count LOOP
10576: l_line_shipping_charge := ASO_SHIPPING_INT.get_line_freight_charges
10577: (p_qte_header_rec.quote_header_id,ls_qte_line_tbl(i).quote_line_id);
10578: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10579: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_SHIPMENTS:quote_line_id: '||ls_qte_line_tbl(i).quote_line_id
10580: ||' line charge for the quote line:'||l_line_shipping_charge,1,'Y');
10581: END IF;
10582:
10583: UPDATE ASO_SHIPMENTS

Line 10594: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Update Shipment info and before calling get_line_freight_charges Ends', 1, 'Y');

10590: AND QUOTE_LINE_ID = ls_qte_line_tbl(i).quote_line_id;
10591: END LOOP;
10592:
10593: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10594: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Update Shipment info and before calling get_line_freight_charges Ends', 1, 'Y');
10595: 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');
10596: END IF;
10597:
10598: OPEN c_qte_sum;

Line 10595: 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');

10591: END LOOP;
10592:
10593: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10594: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Update Shipment info and before calling get_line_freight_charges Ends', 1, 'Y');
10595: 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');
10596: END IF;
10597:
10598: OPEN c_qte_sum;
10599: FETCH c_qte_sum INTO l_total_list_price, l_ln_total_discount;

Line 10601: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_QUOTE_HEADERS_ALL l_total_list_price:'||l_total_list_price, 1, 'Y');

10597:
10598: OPEN c_qte_sum;
10599: FETCH c_qte_sum INTO l_total_list_price, l_ln_total_discount;
10600: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10601: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_QUOTE_HEADERS_ALL l_total_list_price:'||l_total_list_price, 1, 'Y');
10602: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_QUOTE_HEADERS_ALL l_ln_total_discount:'||l_ln_total_discount,1,'Y');
10603: END IF;
10604: CLOSE c_qte_sum;
10605: UPDATE ASO_QUOTE_HEADERS_ALL

Line 10602: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_QUOTE_HEADERS_ALL l_ln_total_discount:'||l_ln_total_discount,1,'Y');

10598: OPEN c_qte_sum;
10599: FETCH c_qte_sum INTO l_total_list_price, l_ln_total_discount;
10600: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10601: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_QUOTE_HEADERS_ALL l_total_list_price:'||l_total_list_price, 1, 'Y');
10602: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Update ASO_QUOTE_HEADERS_ALL l_ln_total_discount:'||l_ln_total_discount,1,'Y');
10603: END IF;
10604: CLOSE c_qte_sum;
10605: UPDATE ASO_QUOTE_HEADERS_ALL
10606: SET total_list_price = l_total_list_price,

Line 10641: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');

10637:
10638: for l in 1 ..x_msg_count loop
10639: x_msg_data := fnd_msg_pub.get( p_msg_index => l, p_encoded => 'F');
10640: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10641: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');
10642: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');
10643: END IF;
10644: end loop;
10645:

Line 10642: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');

10638: for l in 1 ..x_msg_count loop
10639: x_msg_data := fnd_msg_pub.get( p_msg_index => l, p_encoded => 'F');
10640: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10641: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');
10642: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');
10643: END IF;
10644: end loop;
10645:
10646: END Process_Charges;

Line 10685: px_line_index_search_tbl ASO_PRICING_CORE_PVT.Index_Link_Tbl_Type;

10681: l_adj_search_tbl Index_Link_Tbl_Type;
10682: l_qte_line_id_tbl JTF_NUMBER_TABLE;
10683: l_qte_adj_id_tbl JTF_NUMBER_TABLE;
10684: l_price_index Number;
10685: px_line_index_search_tbl ASO_PRICING_CORE_PVT.Index_Link_Tbl_Type;
10686: l_global_pls_tbl QP_PREQ_GRP.pls_integer_type;
10687: l_global_num_tbl QP_PREQ_GRP.NUMBER_TYPE;
10688: l_parent_line_id NUMBER;
10689: l_def_profile_value VARCHAR2(3);

Line 10929: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_PRG ',1,'Y');

10925: FND_MSG_PUB.initialize;
10926: END IF;
10927:
10928: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10929: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Start Process_PRG ',1,'Y');
10930: END IF;
10931:
10932: x_return_status := FND_API.G_RET_STS_SUCCESS;
10933:

Line 10942: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PROCESS_STATUS: '

10938:
10939: /*Prepraring for Update_Quote Call*/
10940: FOR C_PRG_LINES_TMP_REC in C_PRG_LINES_TMP Loop
10941: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10942: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PROCESS_STATUS: '
10943: ||C_PRG_LINES_TMP_REC.PROCESS_STATUS,1,'Y');
10944: END IF;
10945:
10946: /*Setting up the line record*/

Line 10957: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_INDEX: '||C_PRG_LINES_TMP_REC.LINE_INDEX,1,'Y');

10953: l_qte_line_tbl(l_line_counter).quote_line_id := C_PRG_LINES_TMP_REC.line_id;
10954: end if;
10955:
10956: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10957: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_INDEX: '||C_PRG_LINES_TMP_REC.LINE_INDEX,1,'Y');
10958: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.VALUE_FROM(inventory_item_id): '
10959: ||C_PRG_LINES_TMP_REC.VALUE_FROM,1,'Y');
10960: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_QUANTITY: '
10961: ||C_PRG_LINES_TMP_REC.LINE_QUANTITY,1,'Y');

Line 10958: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.VALUE_FROM(inventory_item_id): '

10954: end if;
10955:
10956: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10957: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_INDEX: '||C_PRG_LINES_TMP_REC.LINE_INDEX,1,'Y');
10958: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.VALUE_FROM(inventory_item_id): '
10959: ||C_PRG_LINES_TMP_REC.VALUE_FROM,1,'Y');
10960: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_QUANTITY: '
10961: ||C_PRG_LINES_TMP_REC.LINE_QUANTITY,1,'Y');
10962: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UOM_CODE: '

Line 10960: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_QUANTITY: '

10956: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
10957: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_INDEX: '||C_PRG_LINES_TMP_REC.LINE_INDEX,1,'Y');
10958: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.VALUE_FROM(inventory_item_id): '
10959: ||C_PRG_LINES_TMP_REC.VALUE_FROM,1,'Y');
10960: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_QUANTITY: '
10961: ||C_PRG_LINES_TMP_REC.LINE_QUANTITY,1,'Y');
10962: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UOM_CODE: '
10963: ||C_PRG_LINES_TMP_REC.LINE_UOM_CODE,1,'Y');
10964: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID: '

Line 10962: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UOM_CODE: '

10958: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.VALUE_FROM(inventory_item_id): '
10959: ||C_PRG_LINES_TMP_REC.VALUE_FROM,1,'Y');
10960: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_QUANTITY: '
10961: ||C_PRG_LINES_TMP_REC.LINE_QUANTITY,1,'Y');
10962: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UOM_CODE: '
10963: ||C_PRG_LINES_TMP_REC.LINE_UOM_CODE,1,'Y');
10964: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID: '
10965: ||C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID,1,'Y');
10966: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.CURRENCY_CODE: '

Line 10964: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID: '

10960: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_QUANTITY: '
10961: ||C_PRG_LINES_TMP_REC.LINE_QUANTITY,1,'Y');
10962: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UOM_CODE: '
10963: ||C_PRG_LINES_TMP_REC.LINE_UOM_CODE,1,'Y');
10964: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID: '
10965: ||C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID,1,'Y');
10966: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.CURRENCY_CODE: '
10967: ||C_PRG_LINES_TMP_REC.CURRENCY_CODE,1,'Y');
10968: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE: '

Line 10966: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.CURRENCY_CODE: '

10962: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UOM_CODE: '
10963: ||C_PRG_LINES_TMP_REC.LINE_UOM_CODE,1,'Y');
10964: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID: '
10965: ||C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID,1,'Y');
10966: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.CURRENCY_CODE: '
10967: ||C_PRG_LINES_TMP_REC.CURRENCY_CODE,1,'Y');
10968: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE: '
10969: ||C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE,1,'Y');
10970: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE: '

Line 10968: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE: '

10964: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID: '
10965: ||C_PRG_LINES_TMP_REC.PRICE_LIST_HEADER_ID,1,'Y');
10966: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.CURRENCY_CODE: '
10967: ||C_PRG_LINES_TMP_REC.CURRENCY_CODE,1,'Y');
10968: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE: '
10969: ||C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE,1,'Y');
10970: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE: '
10971: ||C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE,1,'Y');
10972: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_uom_code: '

Line 10970: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE: '

10966: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.CURRENCY_CODE: '
10967: ||C_PRG_LINES_TMP_REC.CURRENCY_CODE,1,'Y');
10968: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE: '
10969: ||C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE,1,'Y');
10970: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE: '
10971: ||C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE,1,'Y');
10972: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_uom_code: '
10973: ||C_PRG_LINES_TMP_REC.priced_uom_code,1,'Y');
10974: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_quantity: '

Line 10972: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_uom_code: '

10968: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE: '
10969: ||C_PRG_LINES_TMP_REC.ORDER_UOM_SELLING_PRICE,1,'Y');
10970: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE: '
10971: ||C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE,1,'Y');
10972: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_uom_code: '
10973: ||C_PRG_LINES_TMP_REC.priced_uom_code,1,'Y');
10974: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_quantity: '
10975: ||C_PRG_LINES_TMP_REC.priced_quantity,1,'Y');
10976: END IF;

Line 10974: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_quantity: '

10970: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE: '
10971: ||C_PRG_LINES_TMP_REC.LINE_UNIT_PRICE,1,'Y');
10972: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_uom_code: '
10973: ||C_PRG_LINES_TMP_REC.priced_uom_code,1,'Y');
10974: aso_debug_pub.add('ASO_PRICING_CORE_PVT:C_PRG_LINES_TMP_REC.priced_quantity: '
10975: ||C_PRG_LINES_TMP_REC.priced_quantity,1,'Y');
10976: END IF;
10977:
10978: l_qte_line_tbl(l_line_counter).Pricing_Line_Type_Indicator:= 'F';

Line 11011: aso_debug_pub.add('ASO_PRICING_CORE_PVT: C_PRG_RLTD_INFO_REC.related_line_detail_index:'

11007: For C_PRG_DISCOUNT_DTL_REC in C_PRG_DISCOUNT_DTL(C_PRG_LINES_TMP_REC.line_index,
11008: C_PRG_RLTD_INFO_REC.related_line_detail_index) loop
11009: IF l_adj_search_tbl.exists(C_PRG_RLTD_INFO_REC.related_line_detail_index) then
11010: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11011: aso_debug_pub.add('ASO_PRICING_CORE_PVT: C_PRG_RLTD_INFO_REC.related_line_detail_index:'
11012: ||C_PRG_RLTD_INFO_REC.related_line_detail_index||' already inserted',1,'Y');
11013: END IF;
11014: l_adj_exists := 'Y';
11015: ELSE

Line 11017: aso_debug_pub.add('ASO_PRICING_CORE_PVT: C_PRG_RLTD_INFO_REC.related_line_detail_index:'

11013: END IF;
11014: l_adj_exists := 'Y';
11015: ELSE
11016: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11017: aso_debug_pub.add('ASO_PRICING_CORE_PVT: C_PRG_RLTD_INFO_REC.related_line_detail_index:'
11018: ||C_PRG_RLTD_INFO_REC.related_line_detail_index,1,'Y');
11019: END IF;
11020: l_adj_search_tbl(C_PRG_RLTD_INFO_REC.related_line_detail_index) := l_adj_counter;
11021: l_Price_Adjustment_Tbl(l_adj_counter).operation_code := l_qte_line_tbl(l_line_counter).operation_code;

Line 11025: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RECORD:',1,'Y');

11021: l_Price_Adjustment_Tbl(l_adj_counter).operation_code := l_qte_line_tbl(l_line_counter).operation_code;
11022: l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index := l_line_counter;
11023:
11024: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11025: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RECORD:',1,'Y');
11026: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operation_code: '
11027: ||l_Price_Adjustment_Tbl(l_adj_counter).operation_code,1,'Y');
11028: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index: '
11029: ||l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index,1,'Y');

Line 11026: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operation_code: '

11022: l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index := l_line_counter;
11023:
11024: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11025: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RECORD:',1,'Y');
11026: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operation_code: '
11027: ||l_Price_Adjustment_Tbl(l_adj_counter).operation_code,1,'Y');
11028: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index: '
11029: ||l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index,1,'Y');
11030: END IF;

Line 11028: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index: '

11024: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11025: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RECORD:',1,'Y');
11026: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operation_code: '
11027: ||l_Price_Adjustment_Tbl(l_adj_counter).operation_code,1,'Y');
11028: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index: '
11029: ||l_Price_Adjustment_Tbl(l_adj_counter).qte_line_index,1,'Y');
11030: END IF;
11031: l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id := p_qte_header_rec.quote_header_id;
11032: l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id := C_PRG_DISCOUNT_DTL_REC.list_header_id;

Line 11070: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id: '

11066: l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty := C_PRG_DISCOUNT_DTL_REC.operand_value;
11067: l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty := C_PRG_DISCOUNT_DTL_REC.adjustment_amount;
11068:
11069: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11070: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id: '
11071: ||l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id,1,'Y');
11072: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id: '
11073: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id,1,'Y');
11074: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id: '

Line 11072: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id: '

11068:
11069: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11070: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id: '
11071: ||l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id,1,'Y');
11072: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id: '
11073: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id,1,'Y');
11074: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id: '
11075: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id,1,'Y');
11076: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code: '

Line 11074: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id: '

11070: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id: '
11071: ||l_Price_Adjustment_Tbl(l_adj_counter).quote_header_id,1,'Y');
11072: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id: '
11073: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id,1,'Y');
11074: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id: '
11075: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id,1,'Y');
11076: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code: '
11077: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code,1,'Y');
11078: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand: '

Line 11076: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code: '

11072: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id: '
11073: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_header_id,1,'Y');
11074: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id: '
11075: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id,1,'Y');
11076: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code: '
11077: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code,1,'Y');
11078: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand: '
11079: ||l_Price_Adjustment_Tbl(l_adj_counter).operand,1,'Y');
11080: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator: '

Line 11078: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand: '

11074: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id: '
11075: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_id,1,'Y');
11076: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code: '
11077: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code,1,'Y');
11078: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand: '
11079: ||l_Price_Adjustment_Tbl(l_adj_counter).operand,1,'Y');
11080: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator: '
11081: ||l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator,1,'Y');
11082: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag: '

Line 11080: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator: '

11076: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code: '
11077: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_line_type_code,1,'Y');
11078: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand: '
11079: ||l_Price_Adjustment_Tbl(l_adj_counter).operand,1,'Y');
11080: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator: '
11081: ||l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator,1,'Y');
11082: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag: '
11083: ||l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag,1,'Y');
11084: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag: '

Line 11082: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag: '

11078: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand: '
11079: ||l_Price_Adjustment_Tbl(l_adj_counter).operand,1,'Y');
11080: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator: '
11081: ||l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator,1,'Y');
11082: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag: '
11083: ||l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag,1,'Y');
11084: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag: '
11085: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag,1,'Y');
11086: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).updated_flag: '

Line 11084: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag: '

11080: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator: '
11081: ||l_Price_Adjustment_Tbl(l_adj_counter).arithmetic_operator,1,'Y');
11082: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag: '
11083: ||l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag,1,'Y');
11084: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag: '
11085: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag,1,'Y');
11086: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).updated_flag: '
11087: ||l_Price_Adjustment_Tbl(l_adj_counter).updated_flag,1,'Y');
11088: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).applied_flag: '

Line 11086: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).updated_flag: '

11082: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag: '
11083: ||l_Price_Adjustment_Tbl(l_adj_counter).automatic_flag,1,'Y');
11084: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag: '
11085: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag,1,'Y');
11086: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).updated_flag: '
11087: ||l_Price_Adjustment_Tbl(l_adj_counter).updated_flag,1,'Y');
11088: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).applied_flag: '
11089: ||l_Price_Adjustment_Tbl(l_adj_counter).applied_flag,1,'Y');
11090: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount: '

Line 11088: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).applied_flag: '

11084: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag: '
11085: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowable_flag,1,'Y');
11086: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).updated_flag: '
11087: ||l_Price_Adjustment_Tbl(l_adj_counter).updated_flag,1,'Y');
11088: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).applied_flag: '
11089: ||l_Price_Adjustment_Tbl(l_adj_counter).applied_flag,1,'Y');
11090: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount: '
11091: ||l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount,1,'Y');
11092: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code: '

Line 11090: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount: '

11086: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).updated_flag: '
11087: ||l_Price_Adjustment_Tbl(l_adj_counter).updated_flag,1,'Y');
11088: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).applied_flag: '
11089: ||l_Price_Adjustment_Tbl(l_adj_counter).applied_flag,1,'Y');
11090: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount: '
11091: ||l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount,1,'Y');
11092: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code: '
11093: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code,1,'Y');
11094: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowed: '

Line 11092: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code: '

11088: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).applied_flag: '
11089: ||l_Price_Adjustment_Tbl(l_adj_counter).applied_flag,1,'Y');
11090: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount: '
11091: ||l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount,1,'Y');
11092: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code: '
11093: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code,1,'Y');
11094: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowed: '
11095: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowed,1,'Y');
11096: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty: '

Line 11094: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowed: '

11090: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount: '
11091: ||l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount,1,'Y');
11092: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code: '
11093: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code,1,'Y');
11094: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowed: '
11095: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowed,1,'Y');
11096: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty: '
11097: ||l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty,1,'Y');
11098: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty: '

Line 11096: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty: '

11092: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code: '
11093: ||l_Price_Adjustment_Tbl(l_adj_counter).modifier_level_code,1,'Y');
11094: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowed: '
11095: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowed,1,'Y');
11096: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty: '
11097: ||l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty,1,'Y');
11098: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty: '
11099: ||l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty,1,'Y');
11100: END IF;

Line 11098: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty: '

11094: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).update_allowed: '
11095: ||l_Price_Adjustment_Tbl(l_adj_counter).update_allowed,1,'Y');
11096: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty: '
11097: ||l_Price_Adjustment_Tbl(l_adj_counter).operand_per_pqty,1,'Y');
11098: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty: '
11099: ||l_Price_Adjustment_Tbl(l_adj_counter).adjusted_amount_per_pqty,1,'Y');
11100: END IF;
11101: -- l_Price_Adj_Attr_Tbl
11102: For C_ADJ_ATTR_DTL_REC in C_ADJ_ATTR_DTL(C_PRG_LINES_TMP_REC.line_index,

Line 11113: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX:'

11109: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO := C_ADJ_ATTR_DTL_REC.VALUE_TO;
11110: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR := C_ADJ_ATTR_DTL_REC.COMPARISON_OPERATOR;
11111: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE := C_ADJ_ATTR_DTL_REC.FLEX_TITLE;
11112: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11113: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX:'
11114: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX,1,'Y');
11115: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE:'
11116: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE,1,'Y');
11117: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT:'

Line 11115: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE:'

11111: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE := C_ADJ_ATTR_DTL_REC.FLEX_TITLE;
11112: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11113: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX:'
11114: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX,1,'Y');
11115: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE:'
11116: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE,1,'Y');
11117: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT:'
11118: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT,1,'Y');
11119: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE:'

Line 11117: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT:'

11113: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX:'
11114: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICE_ADJ_INDEX,1,'Y');
11115: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE:'
11116: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE,1,'Y');
11117: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT:'
11118: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT,1,'Y');
11119: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE:'
11120: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE,1,'Y');
11121: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM:'

Line 11119: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE:'

11115: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE:'
11116: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).OPERATION_CODE,1,'Y');
11117: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT:'
11118: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT,1,'Y');
11119: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE:'
11120: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE,1,'Y');
11121: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM:'
11122: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM,1,'Y');
11123: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO:'

Line 11121: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM:'

11117: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT:'
11118: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_CONTEXT,1,'Y');
11119: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE:'
11120: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE,1,'Y');
11121: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM:'
11122: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM,1,'Y');
11123: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO:'
11124: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO,1,'Y');
11125: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR:'

Line 11123: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO:'

11119: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE:'
11120: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTRIBUTE,1,'Y');
11121: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM:'
11122: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM,1,'Y');
11123: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO:'
11124: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO,1,'Y');
11125: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR:'
11126: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR,1,'Y');
11127: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE:'

Line 11125: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR:'

11121: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM:'
11122: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_FROM,1,'Y');
11123: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO:'
11124: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO,1,'Y');
11125: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR:'
11126: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR,1,'Y');
11127: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE:'
11128: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE,1,'Y');
11129:

Line 11127: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE:'

11123: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO:'
11124: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).PRICING_ATTR_VALUE_TO,1,'Y');
11125: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR:'
11126: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).COMPARISON_OPERATOR,1,'Y');
11127: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE:'
11128: ||l_Price_Adj_Attr_Tbl(l_adj_attr_counter).FLEX_TITLE,1,'Y');
11129:
11130: END IF;
11131: l_adj_attr_counter := l_adj_attr_counter + 1;

Line 11142: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Parent Line index C_PRG_RLTD_INFO_REC.line_index:'

11138: l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code := l_qte_line_tbl(l_line_counter).operation_code;
11139:
11140: --First get the quote line id of the parent record.
11141: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11142: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Parent Line index C_PRG_RLTD_INFO_REC.line_index:'
11143: ||C_PRG_RLTD_INFO_REC.line_index,1,'Y');
11144: END IF;
11145: SELECT LINE_ID
11146: INTO l_parent_line_id

Line 11150: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_parent_line_id:'||l_parent_line_id,1,'Y');

11146: INTO l_parent_line_id
11147: FROM QP_PREQ_LINES_TMP
11148: WHERE LINE_INDEX = C_PRG_RLTD_INFO_REC.line_index;
11149: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11150: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_parent_line_id:'||l_parent_line_id,1,'Y');
11151: END IF;
11152: l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID := l_parent_line_id;
11153:
11154: /*Need to get price adjustment id of the parent record*/

Line 11163: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RELATIONSHIP RECORD:',1,'Y');

11159: 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);
11160: --l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index := l_adj_counter;
11161:
11162: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11163: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RELATIONSHIP RECORD:',1,'Y');
11164: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code:'
11165: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code,1,'Y');
11166: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID:'
11167: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID,1,'Y');

Line 11164: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code:'

11160: --l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index := l_adj_counter;
11161:
11162: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11163: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RELATIONSHIP RECORD:',1,'Y');
11164: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code:'
11165: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code,1,'Y');
11166: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID:'
11167: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID,1,'Y');
11168: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id:'

Line 11166: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID:'

11162: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11163: aso_debug_pub.add('ASO_PRICING_CORE_PVT:ADJUSTMENT RELATIONSHIP RECORD:',1,'Y');
11164: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code:'
11165: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code,1,'Y');
11166: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID:'
11167: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID,1,'Y');
11168: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id:'
11169: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id,1,'Y');
11170: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index:'

Line 11168: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id:'

11164: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code:'
11165: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).operation_code,1,'Y');
11166: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID:'
11167: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID,1,'Y');
11168: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id:'
11169: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id,1,'Y');
11170: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index:'
11171: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index,1,'Y');
11172: END IF;

Line 11170: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index:'

11166: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID:'
11167: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).QUOTE_LINE_ID,1,'Y');
11168: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id:'
11169: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).price_adjustment_id,1,'Y');
11170: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index:'
11171: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index,1,'Y');
11172: END IF;
11173:
11174: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 11175: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_line_counter:'||l_line_counter,1,'Y');

11171: ||l_Price_Adj_Rltship_Tbl(l_rltn_counter).rltd_price_adj_index,1,'Y');
11172: END IF;
11173:
11174: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11175: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_line_counter:'||l_line_counter,1,'Y');
11176: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_adj_counter:'||l_adj_counter,1,'Y');
11177: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_rltn_counter:'||l_rltn_counter,1,'Y');
11178: END IF;
11179: If l_adj_exists = 'N' then

Line 11176: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_adj_counter:'||l_adj_counter,1,'Y');

11172: END IF;
11173:
11174: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11175: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_line_counter:'||l_line_counter,1,'Y');
11176: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_adj_counter:'||l_adj_counter,1,'Y');
11177: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_rltn_counter:'||l_rltn_counter,1,'Y');
11178: END IF;
11179: If l_adj_exists = 'N' then
11180: l_adj_counter := l_adj_counter + 1;

Line 11177: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_rltn_counter:'||l_rltn_counter,1,'Y');

11173:
11174: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11175: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_line_counter:'||l_line_counter,1,'Y');
11176: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_adj_counter:'||l_adj_counter,1,'Y');
11177: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_rltn_counter:'||l_rltn_counter,1,'Y');
11178: END IF;
11179: If l_adj_exists = 'N' then
11180: l_adj_counter := l_adj_counter + 1;
11181: End If;

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

11194: End Loop;--C_PRG_LINES_TMP_REC
11195:
11196: /*Call update quote if l_qte_line_tbl.count is >0*/
11197: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11198: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_tbl.count:'||nvl(l_qte_line_tbl.count,0),1,'Y');
11199: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl.count:'||nvl(l_Price_Adjustment_Tbl.count,0),1,'Y');
11200: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl.count:'||nvl(l_Price_Adj_Rltship_Tbl.count,0),1,'Y');
11201: END IF;
11202:

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

11195:
11196: /*Call update quote if l_qte_line_tbl.count is >0*/
11197: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11198: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_tbl.count:'||nvl(l_qte_line_tbl.count,0),1,'Y');
11199: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl.count:'||nvl(l_Price_Adjustment_Tbl.count,0),1,'Y');
11200: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl.count:'||nvl(l_Price_Adj_Rltship_Tbl.count,0),1,'Y');
11201: END IF;
11202:
11203: If l_qte_line_tbl.count > 0 then

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

11196: /*Call update quote if l_qte_line_tbl.count is >0*/
11197: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11198: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_tbl.count:'||nvl(l_qte_line_tbl.count,0),1,'Y');
11199: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adjustment_Tbl.count:'||nvl(l_Price_Adjustment_Tbl.count,0),1,'Y');
11200: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_Price_Adj_Rltship_Tbl.count:'||nvl(l_Price_Adj_Rltship_Tbl.count,0),1,'Y');
11201: END IF;
11202:
11203: If l_qte_line_tbl.count > 0 then
11204:

Line 11206: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Calling Update Quote for PRG lines',1,'Y');

11202:
11203: If l_qte_line_tbl.count > 0 then
11204:
11205: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11206: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Calling Update Quote for PRG lines',1,'Y');
11207: END IF;
11208:
11209:
11210: /*Setting up Header Rec*/

Line 11233: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_def_profile_value - ASO_ENABLE_DEFAULTING_RULE:'||l_def_profile_value,1,'Y');

11229:
11230: -- Setting up the Control record for Update quote
11231: l_def_profile_value := FND_PROFILE.value('ASO_ENABLE_DEFAULTING_RULE');
11232: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11233: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_def_profile_value - ASO_ENABLE_DEFAULTING_RULE:'||l_def_profile_value,1,'Y');
11234: END IF;
11235: If l_def_profile_value = 'Y' then
11236: l_pub_control_rec.DEFAULTING_FWK_FLAG := 'Y';
11237: l_pub_control_rec.DEFAULTING_FLAG := FND_API.G_TRUE;

Line 11283: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote X_Return_Status:'||X_Return_Status,1,'Y');

11279: X_Msg_Count => x_Msg_Count,
11280: X_Msg_Data => x_Msg_Data);
11281:
11282: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11283: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote X_Return_Status:'||X_Return_Status,1,'Y');
11284: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote X_Msg_Count:'||X_Msg_Count,1,'Y');
11285: END IF;
11286:
11287: IF x_return_status = FND_API.G_RET_STS_ERROR then

Line 11284: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote X_Msg_Count:'||X_Msg_Count,1,'Y');

11280: X_Msg_Data => x_Msg_Data);
11281:
11282: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11283: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote X_Return_Status:'||X_Return_Status,1,'Y');
11284: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote X_Msg_Count:'||X_Msg_Count,1,'Y');
11285: END IF;
11286:
11287: IF x_return_status = FND_API.G_RET_STS_ERROR then
11288: raise FND_API.G_EXC_ERROR;

Line 11295: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote:lx_Qte_Line_Tbl(i).quote_line_id:'

11291: END IF;
11292:
11293: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11294: For i in 1..lx_Qte_Line_Tbl.count loop
11295: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote:lx_Qte_Line_Tbl(i).quote_line_id:'
11296: ||lx_Qte_Line_Tbl(i).quote_line_id,1,'Y');
11297: End loop;
11298: END IF;
11299: x_Qte_Line_Tbl := lx_Qte_Line_Tbl;

Line 11301: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote:Count of x_Qte_Line_Tbl.count:'

11297: End loop;
11298: END IF;
11299: x_Qte_Line_Tbl := lx_Qte_Line_Tbl;
11300: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11301: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Update Quote:Count of x_Qte_Line_Tbl.count:'
11302: ||x_Qte_Line_Tbl.count,1,'Y');
11303: END IF;
11304: end If;--l_qte_line_tbl.count > 1
11305:

Line 11309: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;

11305:
11306: If l_track_var = 'Y' then
11307: If p_control_rec.prg_reprice_mode = 'F' then
11308:
11309: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;
11310:
11311: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11312: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where just free lines are passed',1,'Y');
11313: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.request_type:'||p_control_rec.request_type,1,'Y');

Line 11312: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where just free lines are passed',1,'Y');

11308:
11309: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;
11310:
11311: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11312: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where just free lines are passed',1,'Y');
11313: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.request_type:'||p_control_rec.request_type,1,'Y');
11314: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.pricing_event:'||p_control_rec.pricing_event,1,'Y');
11315: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_header_rec.quote_header_id:'||p_qte_header_rec.quote_header_id,1,'Y');
11316: END IF;

Line 11313: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.request_type:'||p_control_rec.request_type,1,'Y');

11309: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;
11310:
11311: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11312: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where just free lines are passed',1,'Y');
11313: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.request_type:'||p_control_rec.request_type,1,'Y');
11314: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.pricing_event:'||p_control_rec.pricing_event,1,'Y');
11315: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_header_rec.quote_header_id:'||p_qte_header_rec.quote_header_id,1,'Y');
11316: END IF;
11317: l_price_index := 1;

Line 11314: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.pricing_event:'||p_control_rec.pricing_event,1,'Y');

11310:
11311: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11312: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where just free lines are passed',1,'Y');
11313: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.request_type:'||p_control_rec.request_type,1,'Y');
11314: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.pricing_event:'||p_control_rec.pricing_event,1,'Y');
11315: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_header_rec.quote_header_id:'||p_qte_header_rec.quote_header_id,1,'Y');
11316: END IF;
11317: l_price_index := 1;
11318:

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

11311: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11312: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where just free lines are passed',1,'Y');
11313: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.request_type:'||p_control_rec.request_type,1,'Y');
11314: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.pricing_event:'||p_control_rec.pricing_event,1,'Y');
11315: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_header_rec.quote_header_id:'||p_qte_header_rec.quote_header_id,1,'Y');
11316: END IF;
11317: l_price_index := 1;
11318:
11319: ASO_PRICING_CORE_PVT.Print_G_Header_Rec;

Line 11319: ASO_PRICING_CORE_PVT.Print_G_Header_Rec;

11315: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_qte_header_rec.quote_header_id:'||p_qte_header_rec.quote_header_id,1,'Y');
11316: END IF;
11317: l_price_index := 1;
11318:
11319: ASO_PRICING_CORE_PVT.Print_G_Header_Rec;
11320:
11321: QP_Price_Request_Context.Set_Request_Id;
11322:
11323: QP_ATTR_MAPPING_PUB.Build_Contexts (

Line 11332: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');

11328: p_check_line_flag => 'N',
11329: x_pass_line => x_pass_line);
11330:
11331: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11332: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');
11333: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Header_To_Request...',1,'Y');
11334: END IF;
11335:
11336: ASO_PRICING_CORE_PVT.Copy_Header_To_Request(

Line 11333: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Header_To_Request...',1,'Y');

11329: x_pass_line => x_pass_line);
11330:
11331: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11332: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');
11333: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Header_To_Request...',1,'Y');
11334: END IF;
11335:
11336: ASO_PRICING_CORE_PVT.Copy_Header_To_Request(
11337: p_Request_Type => p_control_rec.request_type,

Line 11336: ASO_PRICING_CORE_PVT.Copy_Header_To_Request(

11332: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');
11333: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Header_To_Request...',1,'Y');
11334: END IF;
11335:
11336: ASO_PRICING_CORE_PVT.Copy_Header_To_Request(
11337: p_Request_Type => p_control_rec.request_type,
11338: p_price_line_index => l_price_index,
11339: px_index_counter => 1);
11340:

Line 11342: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Append_asked_for...',1,'Y');

11338: p_price_line_index => l_price_index,
11339: px_index_counter => 1);
11340:
11341: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11342: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Append_asked_for...',1,'Y');
11343: END IF;
11344:
11345: lx_index_counter:= 1;
11346: ASO_PRICING_CORE_PVT.Append_asked_for(

Line 11346: ASO_PRICING_CORE_PVT.Append_asked_for(

11342: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Append_asked_for...',1,'Y');
11343: END IF;
11344:
11345: lx_index_counter:= 1;
11346: ASO_PRICING_CORE_PVT.Append_asked_for(
11347: p_pricing_event => p_control_rec.pricing_event,
11348: p_price_line_index => l_price_index,
11349: p_header_id => p_qte_header_rec.quote_header_id,
11350: px_index_counter => lx_index_counter);

Line 11353: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Append Ask for lx_index_counter:'

11349: p_header_id => p_qte_header_rec.quote_header_id,
11350: px_index_counter => lx_index_counter);
11351:
11352: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11353: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Append Ask for lx_index_counter:'
11354: ||lx_index_counter,1,'Y');
11355: END IF;
11356: --increment the line index
11357: l_price_index:= l_price_index+1;

Line 11365: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of ASO UTL PVT Query_Pricing_Line_Rows...',1,'Y');

11361: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11362: aso_debug_pub.add('************************ HEADER LEVEL ENDS *******************************',1,'Y');
11363: aso_debug_pub.add(' ',1,'Y');
11364: aso_debug_pub.add('************************ LINE LEVEL BEGINS *******************************',1,'Y');
11365: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of ASO UTL PVT Query_Pricing_Line_Rows...',1,'Y');
11366: END IF;
11367:
11368: For i in 1..lx_Qte_Line_Tbl.count loop
11369: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 11370: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Query_Qte_Line_Row utility lx_Qte_Line_Tbl(i).quote_line_id:'

11366: END IF;
11367:
11368: For i in 1..lx_Qte_Line_Tbl.count loop
11369: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11370: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Query_Qte_Line_Row utility lx_Qte_Line_Tbl(i).quote_line_id:'
11371: ||lx_Qte_Line_Tbl(i).quote_line_id,1,'Y');
11372: END IF;
11373: l_qte_line_rec := ASO_UTILITY_PVT.Query_Qte_Line_Row(lx_Qte_Line_Tbl(i).quote_line_id);
11374:

Line 11376: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Query_Shipment_Rows..',1,'Y');

11372: END IF;
11373: l_qte_line_rec := ASO_UTILITY_PVT.Query_Qte_Line_Row(lx_Qte_Line_Tbl(i).quote_line_id);
11374:
11375: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11376: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Query_Shipment_Rows..',1,'Y');
11377: END IF;
11378: l_shipment_tbl := ASO_UTILITY_PVT.Query_Shipment_Rows
11379: (p_qte_header_rec.quote_header_id, lx_Qte_Line_Tbl(i).quote_line_id);
11380: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 11381: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_shipment_tbl.count :'

11377: END IF;
11378: l_shipment_tbl := ASO_UTILITY_PVT.Query_Shipment_Rows
11379: (p_qte_header_rec.quote_header_id, lx_Qte_Line_Tbl(i).quote_line_id);
11380: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11381: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_shipment_tbl.count :'
11382: ||NVL(l_shipment_tbl.count,0),1,'Y');
11383: END IF;
11384: IF l_shipment_tbl.count = 1 THEN
11385: l_shipment_rec := l_shipment_tbl(1);

Line 11391: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Set_Global_Rec - Line Level...', 1, 'Y');

11387: l_shipment_rec := ASO_QUOTE_PUB.G_Miss_Shipment_rec;
11388: END IF;
11389:
11390: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11391: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Set_Global_Rec - Line Level...', 1, 'Y');
11392: END IF;
11393: ASO_PRICING_INT.G_LINE_REC := ASO_PRICING_CORE_PVT.Set_Global_Rec (
11394: p_qte_line_rec => l_qte_line_rec,
11395: p_qte_line_dtl_rec => l_qte_line_dtl_rec,

Line 11393: ASO_PRICING_INT.G_LINE_REC := ASO_PRICING_CORE_PVT.Set_Global_Rec (

11389:
11390: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11391: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Set_Global_Rec - Line Level...', 1, 'Y');
11392: END IF;
11393: ASO_PRICING_INT.G_LINE_REC := ASO_PRICING_CORE_PVT.Set_Global_Rec (
11394: p_qte_line_rec => l_qte_line_rec,
11395: p_qte_line_dtl_rec => l_qte_line_dtl_rec,
11396: p_shipment_rec => l_shipment_rec);
11397:

Line 11398: ASO_PRICING_CORE_PVT.Print_G_Line_Rec;

11394: p_qte_line_rec => l_qte_line_rec,
11395: p_qte_line_dtl_rec => l_qte_line_dtl_rec,
11396: p_shipment_rec => l_shipment_rec);
11397:
11398: ASO_PRICING_CORE_PVT.Print_G_Line_Rec;
11399:
11400: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11401: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of QP Build_Contexts - Line Level...',1,'Y');
11402: END IF;

Line 11401: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of QP Build_Contexts - Line Level...',1,'Y');

11397:
11398: ASO_PRICING_CORE_PVT.Print_G_Line_Rec;
11399:
11400: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11401: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of QP Build_Contexts - Line Level...',1,'Y');
11402: END IF;
11403:
11404: QP_ATTR_MAPPING_PUB.Build_Contexts (
11405: p_request_type_code => p_control_rec.request_type,

Line 11414: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');

11410: p_price_list_validated_flag => 'N',
11411: x_pass_line => x_pass_line);
11412:
11413: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11414: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');
11415: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Line_To_Request...',1,'Y');
11416: END IF;
11417:
11418: ASO_PRICING_CORE_PVT.Copy_Line_To_Request(

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

11411: x_pass_line => x_pass_line);
11412:
11413: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11414: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');
11415: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Line_To_Request...',1,'Y');
11416: END IF;
11417:
11418: ASO_PRICING_CORE_PVT.Copy_Line_To_Request(
11419: p_Request_Type => p_control_rec.request_type,

Line 11418: ASO_PRICING_CORE_PVT.Copy_Line_To_Request(

11414: aso_debug_pub.add('ASO_PRICING_CORE_PVT: x_pass_line: '||nvl(x_pass_line,'null'),1,'Y');
11415: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Line_To_Request...',1,'Y');
11416: END IF;
11417:
11418: ASO_PRICING_CORE_PVT.Copy_Line_To_Request(
11419: p_Request_Type => p_control_rec.request_type,
11420: p_price_line_index => l_price_index,
11421: px_index_counter => i+1);
11422:

Line 11425: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Append_asked_for...',1,'Y');

11421: px_index_counter => i+1);
11422:
11423:
11424: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11425: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Append_asked_for...',1,'Y');
11426: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Append Ask for lx_index_counter:'
11427: ||lx_index_counter,1,'Y');
11428: END IF;
11429: l_index_counter := lx_index_counter;

Line 11426: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Append Ask for lx_index_counter:'

11422:
11423:
11424: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11425: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Append_asked_for...',1,'Y');
11426: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Append Ask for lx_index_counter:'
11427: ||lx_index_counter,1,'Y');
11428: END IF;
11429: l_index_counter := lx_index_counter;
11430: ASO_PRICING_CORE_PVT.Append_asked_for(

Line 11430: ASO_PRICING_CORE_PVT.Append_asked_for(

11426: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Before Append Ask for lx_index_counter:'
11427: ||lx_index_counter,1,'Y');
11428: END IF;
11429: l_index_counter := lx_index_counter;
11430: ASO_PRICING_CORE_PVT.Append_asked_for(
11431: p_pricing_event => p_control_rec.pricing_event,
11432: p_price_line_index => l_price_index,
11433: p_header_id => p_qte_header_rec.quote_header_id,
11434: p_line_id => l_qte_line_rec.quote_line_id,

Line 11437: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Append Ask for lx_index_counter:'

11433: p_header_id => p_qte_header_rec.quote_header_id,
11434: p_line_id => l_qte_line_rec.quote_line_id,
11435: px_index_counter => lx_index_counter);
11436: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11437: aso_debug_pub.add('ASO_PRICING_CORE_PVT:After Append Ask for lx_index_counter:'
11438: ||lx_index_counter,1,'Y');
11439: END IF;
11440: If lx_index_counter = 0 then
11441: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

Line 11442: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Assigning the value of l_index_counter back to lx_index_counter:'

11438: ||lx_index_counter,1,'Y');
11439: END IF;
11440: If lx_index_counter = 0 then
11441: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11442: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Assigning the value of l_index_counter back to lx_index_counter:'
11443: || l_index_counter,1,'Y');
11444: END IF;
11445: lx_index_counter := l_index_counter;
11446: end if;

Line 11451: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of l_qte_line_id_tbl.extend...',1,'Y');

11447:
11448: /*Store all the quote_line_id processed*/
11449: IF l_Qte_Line_id_tbl.EXISTS(1) THEN
11450: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11451: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of l_qte_line_id_tbl.extend...',1,'Y');
11452: END IF;
11453: l_Qte_Line_id_tbl.extend;
11454: l_Qte_Line_id_tbl(l_Qte_Line_id_tbl.count) := lx_Qte_Line_Tbl(i).quote_line_id;
11455: ELSE

Line 11457: aso_debug_pub.add('ASO_PRICING_CORE_PVT: First quote_line_id in l_qte_line_id_tbl',1,'Y');

11453: l_Qte_Line_id_tbl.extend;
11454: l_Qte_Line_id_tbl(l_Qte_Line_id_tbl.count) := lx_Qte_Line_Tbl(i).quote_line_id;
11455: ELSE
11456: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11457: aso_debug_pub.add('ASO_PRICING_CORE_PVT: First quote_line_id in l_qte_line_id_tbl',1,'Y');
11458: END IF;
11459: l_Qte_Line_id_tbl := JTF_NUMBER_TABLE(lx_Qte_Line_Tbl(i).quote_line_id);
11460: END IF;
11461:

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

11466: end loop;--line loop for lx_Qte_Line_Tbl
11467:
11468: /*Need to find OUT what adjustments and relationships need to be passed*/
11469: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11470: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Query_Price_Adjustments...',1,'Y');
11471: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_line_id_tbl.count :'
11472: ||NVL(l_qte_line_id_tbl.count,0),1,'Y');
11473: If NVL(l_qte_line_id_tbl.count,0) > 0 then
11474: For i in 1..l_qte_line_id_tbl.count loop

Line 11471: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_line_id_tbl.count :'

11467:
11468: /*Need to find OUT what adjustments and relationships need to be passed*/
11469: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11470: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Query_Price_Adjustments...',1,'Y');
11471: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_line_id_tbl.count :'
11472: ||NVL(l_qte_line_id_tbl.count,0),1,'Y');
11473: If NVL(l_qte_line_id_tbl.count,0) > 0 then
11474: For i in 1..l_qte_line_id_tbl.count loop
11475: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_id_tbl(i):'||l_qte_line_id_tbl(i),1,'Y');

Line 11475: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_id_tbl(i):'||l_qte_line_id_tbl(i),1,'Y');

11471: aso_debug_pub.add('ASO_PRICING_CORE_PVT: l_qte_line_id_tbl.count :'
11472: ||NVL(l_qte_line_id_tbl.count,0),1,'Y');
11473: If NVL(l_qte_line_id_tbl.count,0) > 0 then
11474: For i in 1..l_qte_line_id_tbl.count loop
11475: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_id_tbl(i):'||l_qte_line_id_tbl(i),1,'Y');
11476: end loop;
11477: End If;
11478: END IF;
11479: ASO_PRICING_CORE_PVT.Query_Price_Adj_Line

Line 11479: ASO_PRICING_CORE_PVT.Query_Price_Adj_Line

11475: aso_debug_pub.add('ASO_PRICING_CORE_PVT:l_qte_line_id_tbl(i):'||l_qte_line_id_tbl(i),1,'Y');
11476: end loop;
11477: End If;
11478: END IF;
11479: ASO_PRICING_CORE_PVT.Query_Price_Adj_Line
11480: (p_quote_header_id => p_qte_header_rec.quote_header_id,
11481: p_qte_line_id_tbl => l_qte_line_id_tbl,
11482: x_adj_id_tbl => l_qte_adj_id_tbl);
11483:

Line 11488: l_global_pls_tbl := ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL;

11484: /*In the second call we are not going to delete any adjustments and relationships and attributes*/
11485:
11486:
11487: --Need to modify the global index table of pls integer types
11488: l_global_pls_tbl := ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL;
11489: ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_PlsIndex_Table(
11490: p_global_tbl => l_global_pls_tbl,
11491: p_search_tbl => px_line_index_search_tbl);
11492: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL;

Line 11489: ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_PlsIndex_Table(

11485:
11486:
11487: --Need to modify the global index table of pls integer types
11488: l_global_pls_tbl := ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL;
11489: ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_PlsIndex_Table(
11490: p_global_tbl => l_global_pls_tbl,
11491: p_search_tbl => px_line_index_search_tbl);
11492: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL;
11493: ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(

Line 11492: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL;

11488: l_global_pls_tbl := ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL;
11489: ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_PlsIndex_Table(
11490: p_global_tbl => l_global_pls_tbl,
11491: p_search_tbl => px_line_index_search_tbl);
11492: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL;
11493: ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(
11494: p_global_tbl => l_global_num_tbl,
11495: p_search_tbl => px_line_index_search_tbl);
11496: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL;

Line 11493: ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(

11489: ASO_PRICING_CORE_PVT.G_LDET_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_PlsIndex_Table(
11490: p_global_tbl => l_global_pls_tbl,
11491: p_search_tbl => px_line_index_search_tbl);
11492: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL;
11493: ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(
11494: p_global_tbl => l_global_num_tbl,
11495: p_search_tbl => px_line_index_search_tbl);
11496: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL;
11497: ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(

Line 11496: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL;

11492: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL;
11493: ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(
11494: p_global_tbl => l_global_num_tbl,
11495: p_search_tbl => px_line_index_search_tbl);
11496: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL;
11497: ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(
11498: p_global_tbl => l_global_num_tbl,
11499: p_search_tbl => px_line_index_search_tbl);
11500:

Line 11497: ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(

11493: ASO_PRICING_CORE_PVT.G_RLTD_LINE_INDEX_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(
11494: p_global_tbl => l_global_num_tbl,
11495: p_search_tbl => px_line_index_search_tbl);
11496: l_global_num_tbl := ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL;
11497: ASO_PRICING_CORE_PVT.G_RLTD_RELATED_LINE_IND_TBL:= ASO_PRICING_CORE_PVT.Modify_Global_NumIndex_Table(
11498: p_global_tbl => l_global_num_tbl,
11499: p_search_tbl => px_line_index_search_tbl);
11500:
11501:

Line 11503: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Populate_QP_Temp_tables...',1,'Y');

11499: p_search_tbl => px_line_index_search_tbl);
11500:
11501:
11502: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11503: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Populate_QP_Temp_tables...',1,'Y');
11504: END IF;
11505: ASO_PRICING_CORE_PVT.populate_qp_temp_tables;
11506:
11507:

Line 11505: ASO_PRICING_CORE_PVT.populate_qp_temp_tables;

11501:
11502: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11503: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Populate_QP_Temp_tables...',1,'Y');
11504: END IF;
11505: ASO_PRICING_CORE_PVT.populate_qp_temp_tables;
11506:
11507:
11508: -- Set the control rec for QP
11509:

Line 11521: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of QP_PREQ_PUB.PRICE_REQUEST second implicit call', 1, 'Y');

11517: l_req_control_rec.REQUEST_TYPE_CODE := p_control_rec.request_type;
11518: l_req_control_rec.rounding_flag := 'Q';
11519:
11520: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11521: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of QP_PREQ_PUB.PRICE_REQUEST second implicit call', 1, 'Y');
11522: END IF;
11523:
11524: /* Change for populating QP_PREQ_GRP.CONTROL_RECORD_TYPE.ORG_ID Yogeshwar (MOAC) */
11525:

Line 11547: aso_debug_pub.add('ASO_PRICING_CORE_PVT: End of QP_PREQ_PUB.PRICE_REQUEST', 1, 'Y');

11543: RAISE FND_API.G_EXC_ERROR;
11544: END IF;
11545:
11546: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11547: aso_debug_pub.add('ASO_PRICING_CORE_PVT: End of QP_PREQ_PUB.PRICE_REQUEST', 1, 'Y');
11548: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status:'
11549: ||l_return_status, 1, 'Y');
11550: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status_text '
11551: ||l_return_status_text,1,'Y');

Line 11548: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status:'

11544: END IF;
11545:
11546: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11547: aso_debug_pub.add('ASO_PRICING_CORE_PVT: End of QP_PREQ_PUB.PRICE_REQUEST', 1, 'Y');
11548: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status:'
11549: ||l_return_status, 1, 'Y');
11550: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status_text '
11551: ||l_return_status_text,1,'Y');
11552: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Price_To_Quote...',1,'Y');

Line 11550: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status_text '

11546: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11547: aso_debug_pub.add('ASO_PRICING_CORE_PVT: End of QP_PREQ_PUB.PRICE_REQUEST', 1, 'Y');
11548: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status:'
11549: ||l_return_status, 1, 'Y');
11550: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status_text '
11551: ||l_return_status_text,1,'Y');
11552: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Price_To_Quote...',1,'Y');
11553: END IF;
11554:

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

11548: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status:'
11549: ||l_return_status, 1, 'Y');
11550: aso_debug_pub.add('ASO_PRICING_CORE_PVT: After PRICE_REQUEST l_return_status_text '
11551: ||l_return_status_text,1,'Y');
11552: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Price_To_Quote...',1,'Y');
11553: END IF;
11554:
11555: ASO_PRICING_CORE_PVT.Copy_Price_To_Quote(
11556: P_Api_Version_Number => 1.0,

Line 11555: ASO_PRICING_CORE_PVT.Copy_Price_To_Quote(

11551: ||l_return_status_text,1,'Y');
11552: aso_debug_pub.add('ASO_PRICING_CORE_PVT: Start of Copy_Price_To_Quote...',1,'Y');
11553: END IF;
11554:
11555: ASO_PRICING_CORE_PVT.Copy_Price_To_Quote(
11556: P_Api_Version_Number => 1.0,
11557: P_Init_Msg_List => FND_API.G_FALSE,
11558: P_Commit => FND_API.G_FALSE,
11559: p_control_rec => p_control_rec,

Line 11573: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;

11569:
11570: else --p_control_rec.prg_reprice_mode = 'A'
11571: /* we need to make the second call with all the lines*/
11572:
11573: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;
11574:
11575: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11576: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where all lines are passed',1,'Y');
11577: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.price_mode:'||p_control_rec.price_mode,1,'Y');

Line 11576: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where all lines are passed',1,'Y');

11572:
11573: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;
11574:
11575: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11576: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where all lines are passed',1,'Y');
11577: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.price_mode:'||p_control_rec.price_mode,1,'Y');
11578: END IF;
11579: If (p_control_rec.price_mode = 'ENTIRE_QUOTE') then
11580: ASO_PRICING_FLOWS_PVT.Price_Entire_Quote(

Line 11577: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.price_mode:'||p_control_rec.price_mode,1,'Y');

11573: ASO_PRICING_CORE_PVT.Initialize_Global_Tables;
11574:
11575: IF aso_debug_pub.g_debug_flag = 'Y' THEN
11576: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Second call to pricing where all lines are passed',1,'Y');
11577: aso_debug_pub.add('ASO_PRICING_CORE_PVT:p_control_rec.price_mode:'||p_control_rec.price_mode,1,'Y');
11578: END IF;
11579: If (p_control_rec.price_mode = 'ENTIRE_QUOTE') then
11580: ASO_PRICING_FLOWS_PVT.Price_Entire_Quote(
11581: P_Api_Version_Number => P_Api_Version_Number,

Line 11632: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');

11628:
11629: for l in 1 ..x_msg_count loop
11630: x_msg_data := fnd_msg_pub.get( p_msg_index => l, p_encoded => 'F');
11631: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11632: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');
11633: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');
11634: END IF;
11635: end loop;
11636:

Line 11633: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');

11629: for l in 1 ..x_msg_count loop
11630: x_msg_data := fnd_msg_pub.get( p_msg_index => l, p_encoded => 'F');
11631: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
11632: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_data, 1, 'Y');
11633: aso_debug_pub.add('ASO_PRICING_CORE_PVT:Messge count and get '||x_msg_count, 1, 'Y');
11634: END IF;
11635: end loop;
11636:
11637: END Process_PRG;

Line 11642: End ASO_PRICING_CORE_PVT;

11638:
11639:
11640:
11641:
11642: End ASO_PRICING_CORE_PVT;