DBA Data[Home] [Help]

APPS.ASO_QUOTE_LINES_PVT dependencies on ASO_DEBUG_PUB

Line 118: IF aso_debug_pub.g_debug_flag = 'Y' THEN

114:
115:
116: -- creating a row in the aso_quote_lines_all table
117: -- set id to null because table handler will not generate a new value.
118: IF aso_debug_pub.g_debug_flag = 'Y' THEN
119: ASO_DEBUG_PUB.add('organization_id is '||nvl(to_char(p_qte_line_rec.organization_id),'null') , 1, 'Y');
120: aso_debug_pub.add('Insert_Quote_lines - Begin ', 1, 'Y');
121: END IF;
122:

Line 119: ASO_DEBUG_PUB.add('organization_id is '||nvl(to_char(p_qte_line_rec.organization_id),'null') , 1, 'Y');

115:
116: -- creating a row in the aso_quote_lines_all table
117: -- set id to null because table handler will not generate a new value.
118: IF aso_debug_pub.g_debug_flag = 'Y' THEN
119: ASO_DEBUG_PUB.add('organization_id is '||nvl(to_char(p_qte_line_rec.organization_id),'null') , 1, 'Y');
120: aso_debug_pub.add('Insert_Quote_lines - Begin ', 1, 'Y');
121: END IF;
122:
123:

Line 120: aso_debug_pub.add('Insert_Quote_lines - Begin ', 1, 'Y');

116: -- creating a row in the aso_quote_lines_all table
117: -- set id to null because table handler will not generate a new value.
118: IF aso_debug_pub.g_debug_flag = 'Y' THEN
119: ASO_DEBUG_PUB.add('organization_id is '||nvl(to_char(p_qte_line_rec.organization_id),'null') , 1, 'Y');
120: aso_debug_pub.add('Insert_Quote_lines - Begin ', 1, 'Y');
121: END IF;
122:
123:
124:

Line 226: IF aso_debug_pub.g_debug_flag = 'Y' THEN

222: p_CONFIG_MODEL_TYPE => p_qte_line_rec.CONFIG_MODEL_TYPE
223: );
224:
225:
226: IF aso_debug_pub.g_debug_flag = 'Y' THEN
227: aso_debug_pub.add('quote_lines ' || nvl(to_char(x_qte_line_rec.quote_line_id),'null'), 1, 'Y' );
228: aso_debug_pub.add('Insert_Quote_lines - quote_line.insert_row ', 1, 'N');
229: end if;
230: -- insert rows into the quote line details table

Line 227: aso_debug_pub.add('quote_lines ' || nvl(to_char(x_qte_line_rec.quote_line_id),'null'), 1, 'Y' );

223: );
224:
225:
226: IF aso_debug_pub.g_debug_flag = 'Y' THEN
227: aso_debug_pub.add('quote_lines ' || nvl(to_char(x_qte_line_rec.quote_line_id),'null'), 1, 'Y' );
228: aso_debug_pub.add('Insert_Quote_lines - quote_line.insert_row ', 1, 'N');
229: end if;
230: -- insert rows into the quote line details table
231: FOR i in 1..p_qte_line_dtl_tbl.count LOOP

Line 228: aso_debug_pub.add('Insert_Quote_lines - quote_line.insert_row ', 1, 'N');

224:
225:
226: IF aso_debug_pub.g_debug_flag = 'Y' THEN
227: aso_debug_pub.add('quote_lines ' || nvl(to_char(x_qte_line_rec.quote_line_id),'null'), 1, 'Y' );
228: aso_debug_pub.add('Insert_Quote_lines - quote_line.insert_row ', 1, 'N');
229: end if;
230: -- insert rows into the quote line details table
231: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
232: l_qte_line_dtl_rec := p_qte_line_dtl_tbl(i);

Line 331: IF aso_debug_pub.g_debug_flag = 'Y' THEN

327: p_ato_line_id => l_qte_line_dtl_rec.ato_line_id,
328: p_component_sequence_id => l_qte_line_dtl_rec.component_sequence_id
329: );
330: END LOOP;
331: IF aso_debug_pub.g_debug_flag = 'Y' THEN
332: aso_debug_pub.add('Insert_Quote_lines - quote_line_details.insert_row '|| x_return_status, 1, 'N');
333: end if;
334:
335: -- if service is immediate create a relationship line

Line 332: aso_debug_pub.add('Insert_Quote_lines - quote_line_details.insert_row '|| x_return_status, 1, 'N');

328: p_component_sequence_id => l_qte_line_dtl_rec.component_sequence_id
329: );
330: END LOOP;
331: IF aso_debug_pub.g_debug_flag = 'Y' THEN
332: aso_debug_pub.add('Insert_Quote_lines - quote_line_details.insert_row '|| x_return_status, 1, 'N');
333: end if;
334:
335: -- if service is immediate create a relationship line
336:

Line 337: IF aso_debug_pub.g_debug_flag = 'Y' THEN

333: end if;
334:
335: -- if service is immediate create a relationship line
336:
337: IF aso_debug_pub.g_debug_flag = 'Y' THEN
338: aso_debug_pub.add('service item is ' || x_return_status, 1, 'Y');
339: end if;
340:
341: IF l_qte_line_dtl_rec.service_ref_type_code = 'QUOTE' THEN

Line 338: aso_debug_pub.add('service item is ' || x_return_status, 1, 'Y');

334:
335: -- if service is immediate create a relationship line
336:
337: IF aso_debug_pub.g_debug_flag = 'Y' THEN
338: aso_debug_pub.add('service item is ' || x_return_status, 1, 'Y');
339: end if;
340:
341: IF l_qte_line_dtl_rec.service_ref_type_code = 'QUOTE' THEN
342:

Line 366: IF aso_debug_pub.g_debug_flag = 'Y' THEN

362:
363:
364:
365: -- check for duplicate promotions, see bug 4521799
366: IF aso_debug_pub.g_debug_flag = 'Y' THEN
367: aso_debug_pub.add('Before calling Validate_Promotion price_attr_tbl.count: '|| p_price_attributes_tbl.count, 1, 'Y');
368: END IF;
369:
370: ASO_VALIDATE_PVT.Validate_Promotion (

Line 367: aso_debug_pub.add('Before calling Validate_Promotion price_attr_tbl.count: '|| p_price_attributes_tbl.count, 1, 'Y');

363:
364:
365: -- check for duplicate promotions, see bug 4521799
366: IF aso_debug_pub.g_debug_flag = 'Y' THEN
367: aso_debug_pub.add('Before calling Validate_Promotion price_attr_tbl.count: '|| p_price_attributes_tbl.count, 1, 'Y');
368: END IF;
369:
370: ASO_VALIDATE_PVT.Validate_Promotion (
371: P_Api_Version_Number => 1.0,

Line 380: IF aso_debug_pub.g_debug_flag = 'Y' THEN

376: x_return_status => x_return_status,
377: x_msg_count => x_msg_count,
378: x_msg_data => x_msg_data);
379:
380: IF aso_debug_pub.g_debug_flag = 'Y' THEN
381: aso_debug_pub.add('after calling Validate_Promotion ', 1, 'Y');
382: aso_debug_pub.add('Validate_Promotion Return Status: '||x_return_status, 1, 'Y');
383: END IF;
384:

Line 381: aso_debug_pub.add('after calling Validate_Promotion ', 1, 'Y');

377: x_msg_count => x_msg_count,
378: x_msg_data => x_msg_data);
379:
380: IF aso_debug_pub.g_debug_flag = 'Y' THEN
381: aso_debug_pub.add('after calling Validate_Promotion ', 1, 'Y');
382: aso_debug_pub.add('Validate_Promotion Return Status: '||x_return_status, 1, 'Y');
383: END IF;
384:
385: if x_return_status <> fnd_api.g_ret_sts_success then

Line 382: aso_debug_pub.add('Validate_Promotion Return Status: '||x_return_status, 1, 'Y');

378: x_msg_data => x_msg_data);
379:
380: IF aso_debug_pub.g_debug_flag = 'Y' THEN
381: aso_debug_pub.add('after calling Validate_Promotion ', 1, 'Y');
382: aso_debug_pub.add('Validate_Promotion Return Status: '||x_return_status, 1, 'Y');
383: END IF;
384:
385: if x_return_status <> fnd_api.g_ret_sts_success then
386: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

Line 550: IF aso_debug_pub.g_debug_flag = 'Y' THEN

546: );
547:
548: END LOOP;
549:
550: IF aso_debug_pub.g_debug_flag = 'Y' THEN
551: aso_debug_pub.add('Insert_Quote_lines - price_attr.insert_row ', 1, 'N');
552: end if;
553:
554: --- insert into salescredit table

Line 551: aso_debug_pub.add('Insert_Quote_lines - price_attr.insert_row ', 1, 'N');

547:
548: END LOOP;
549:
550: IF aso_debug_pub.g_debug_flag = 'Y' THEN
551: aso_debug_pub.add('Insert_Quote_lines - price_attr.insert_row ', 1, 'N');
552: end if;
553:
554: --- insert into salescredit table
555:

Line 630: IF aso_debug_pub.g_debug_flag = 'Y' THEN

626: l_shipment_rec.freight_terms_code_from := l_shipment_rec.freight_terms_code;
627: x_shipment_tbl(i).ship_method_code_from := l_shipment_rec.ship_method_code_from;
628: x_shipment_tbl(i).freight_terms_code_from := l_shipment_rec.freight_terms_code_from;
629:
630: IF aso_debug_pub.g_debug_flag = 'Y' THEN
631: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- p_shipment_tbl(1).ship_method_code'||p_shipment_tbl(1).ship_method_code, 1, 'Y');
632: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- p_shipment_tbl(1).freight_terms_code'||p_shipment_tbl(1).freight_terms_code, 1, 'Y');
633: END IF;
634:

Line 631: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- p_shipment_tbl(1).ship_method_code'||p_shipment_tbl(1).ship_method_code, 1, 'Y');

627: x_shipment_tbl(i).ship_method_code_from := l_shipment_rec.ship_method_code_from;
628: x_shipment_tbl(i).freight_terms_code_from := l_shipment_rec.freight_terms_code_from;
629:
630: IF aso_debug_pub.g_debug_flag = 'Y' THEN
631: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- p_shipment_tbl(1).ship_method_code'||p_shipment_tbl(1).ship_method_code, 1, 'Y');
632: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- p_shipment_tbl(1).freight_terms_code'||p_shipment_tbl(1).freight_terms_code, 1, 'Y');
633: END IF;
634:
635: ASO_SHIPMENTS_PKG.Insert_Row(

Line 632: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- p_shipment_tbl(1).freight_terms_code'||p_shipment_tbl(1).freight_terms_code, 1, 'Y');

628: x_shipment_tbl(i).freight_terms_code_from := l_shipment_rec.freight_terms_code_from;
629:
630: IF aso_debug_pub.g_debug_flag = 'Y' THEN
631: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- p_shipment_tbl(1).ship_method_code'||p_shipment_tbl(1).ship_method_code, 1, 'Y');
632: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- p_shipment_tbl(1).freight_terms_code'||p_shipment_tbl(1).freight_terms_code, 1, 'Y');
633: END IF;
634:
635: ASO_SHIPMENTS_PKG.Insert_Row(
636: px_SHIPMENT_ID => x_shipment_tbl(i).SHIPMENT_ID,

Line 740: IF aso_debug_pub.g_debug_flag = 'Y' THEN

736: END LOOP;
737:
738:
739: END LOOP;
740: IF aso_debug_pub.g_debug_flag = 'Y' THEN
741: aso_debug_pub.add('Insert_Quote_lines - shipments.insert_row ', 1, 'N');
742: end if;
743:
744: FOR i IN 1..l_Freight_Charge_Tbl.count LOOP

Line 741: aso_debug_pub.add('Insert_Quote_lines - shipments.insert_row ', 1, 'N');

737:
738:
739: END LOOP;
740: IF aso_debug_pub.g_debug_flag = 'Y' THEN
741: aso_debug_pub.add('Insert_Quote_lines - shipments.insert_row ', 1, 'N');
742: end if;
743:
744: FOR i IN 1..l_Freight_Charge_Tbl.count LOOP
745: l_freight_charge_rec := l_freight_charge_tbl(i);

Line 787: IF aso_debug_pub.g_debug_flag = 'Y' THEN

783: p_ATTRIBUTE14 => l_freight_charge_rec.ATTRIBUTE14,
784: p_ATTRIBUTE15 => l_freight_charge_rec.ATTRIBUTE15);
785:
786: END LOOP;
787: IF aso_debug_pub.g_debug_flag = 'Y' THEN
788: aso_debug_pub.add('Insert_Quote_lines - after frieght.insert_row '||x_return_status, 1, 'N');
789: end if;
790:
791: FOR i IN 1..P_tax_detail_Tbl.count LOOP

Line 788: aso_debug_pub.add('Insert_Quote_lines - after frieght.insert_row '||x_return_status, 1, 'N');

784: p_ATTRIBUTE15 => l_freight_charge_rec.ATTRIBUTE15);
785:
786: END LOOP;
787: IF aso_debug_pub.g_debug_flag = 'Y' THEN
788: aso_debug_pub.add('Insert_Quote_lines - after frieght.insert_row '||x_return_status, 1, 'N');
789: end if;
790:
791: FOR i IN 1..P_tax_detail_Tbl.count LOOP
792: l_tax_detail_rec := l_tax_detail_tbl(i);

Line 847: IF aso_debug_pub.g_debug_flag = 'Y' THEN

843: p_OBJECT_VERSION_NUMBER => l_tax_detail_rec.OBJECT_VERSION_NUMBER,
844: p_TAX_RATE_ID => l_tax_detail_rec.TAX_RATE_ID
845: );
846: END LOOP;
847: IF aso_debug_pub.g_debug_flag = 'Y' THEN
848: aso_debug_pub.add('Insert_Quote_lines - after tax_details.insert_row '|| x_return_status, 1, 'N');
849: end if;
850:
851: FOR i IN 1..l_Price_Adj_Tbl.count LOOP

Line 848: aso_debug_pub.add('Insert_Quote_lines - after tax_details.insert_row '|| x_return_status, 1, 'N');

844: p_TAX_RATE_ID => l_tax_detail_rec.TAX_RATE_ID
845: );
846: END LOOP;
847: IF aso_debug_pub.g_debug_flag = 'Y' THEN
848: aso_debug_pub.add('Insert_Quote_lines - after tax_details.insert_row '|| x_return_status, 1, 'N');
849: end if;
850:
851: FOR i IN 1..l_Price_Adj_Tbl.count LOOP
852: l_price_adj_rec := l_price_adj_tbl(i);

Line 964: IF aso_debug_pub.g_debug_flag = 'Y' THEN

960: END IF;
961: END LOOP;
962:
963: END LOOP;
964: IF aso_debug_pub.g_debug_flag = 'Y' THEN
965: aso_debug_pub.add('Insert_Quote_lines - after price_adj.insert_row ', 1, 'N');
966: end if;
967:
968:

Line 965: aso_debug_pub.add('Insert_Quote_lines - after price_adj.insert_row ', 1, 'N');

961: END LOOP;
962:
963: END LOOP;
964: IF aso_debug_pub.g_debug_flag = 'Y' THEN
965: aso_debug_pub.add('Insert_Quote_lines - after price_adj.insert_row ', 1, 'N');
966: end if;
967:
968:
969: x_price_adj_attr_tbl := l_price_adj_attr_tbl;

Line 1002: IF aso_debug_pub.g_debug_flag = 'Y' THEN

998: );
999:
1000: END LOOP;
1001:
1002: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1003: aso_debug_pub.add('Insert_Quote_lines - price_adj_attr.insert_row ', 1, 'N');
1004: end if;
1005:
1006:

Line 1003: aso_debug_pub.add('Insert_Quote_lines - price_adj_attr.insert_row ', 1, 'N');

999:
1000: END LOOP;
1001:
1002: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1003: aso_debug_pub.add('Insert_Quote_lines - price_adj_attr.insert_row ', 1, 'N');
1004: end if;
1005:
1006:
1007: FOR i IN 1..l_Payment_Tbl.count LOOP

Line 1015: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1011: l_payment_rec.quote_header_id := p_qte_line_rec.quote_header_id;
1012: x_payment_tbl(i) := l_payment_rec;
1013: l_payment_rec.payment_term_id_from := l_payment_tbl(i).payment_term_id;
1014:
1015: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1016: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows l_payment_tbl(i).payment_term_id'||l_payment_tbl(i).payment_term_id, 1, 'Y');
1017: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows l_payment_rec.PAYMENT_TERM_ID_FROM'||l_payment_rec.PAYMENT_TERM_ID_FROM, 1, 'Y');
1018: END IF;
1019: -- BC4J Fix

Line 1016: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows l_payment_tbl(i).payment_term_id'||l_payment_tbl(i).payment_term_id, 1, 'Y');

1012: x_payment_tbl(i) := l_payment_rec;
1013: l_payment_rec.payment_term_id_from := l_payment_tbl(i).payment_term_id;
1014:
1015: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1016: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows l_payment_tbl(i).payment_term_id'||l_payment_tbl(i).payment_term_id, 1, 'Y');
1017: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows l_payment_rec.PAYMENT_TERM_ID_FROM'||l_payment_rec.PAYMENT_TERM_ID_FROM, 1, 'Y');
1018: END IF;
1019: -- BC4J Fix
1020: --x_payment_tbl(i).PAYMENT_ID := NULL;

Line 1017: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows l_payment_rec.PAYMENT_TERM_ID_FROM'||l_payment_rec.PAYMENT_TERM_ID_FROM, 1, 'Y');

1013: l_payment_rec.payment_term_id_from := l_payment_tbl(i).payment_term_id;
1014:
1015: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1016: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows l_payment_tbl(i).payment_term_id'||l_payment_tbl(i).payment_term_id, 1, 'Y');
1017: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows l_payment_rec.PAYMENT_TERM_ID_FROM'||l_payment_rec.PAYMENT_TERM_ID_FROM, 1, 'Y');
1018: END IF;
1019: -- BC4J Fix
1020: --x_payment_tbl(i).PAYMENT_ID := NULL;
1021: x_payment_tbl(i).PAYMENT_TERM_ID_FROM := l_payment_rec.PAYMENT_TERM_ID_FROM;

Line 1025: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1021: x_payment_tbl(i).PAYMENT_TERM_ID_FROM := l_payment_rec.PAYMENT_TERM_ID_FROM;
1022:
1023: -- Suyog Payments Changes
1024:
1025: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1026: aso_debug_pub.add('Insert_Quote_Line_Rows: Before call to create_payment_row ', 1, 'Y');
1027: END IF;
1028:
1029: aso_payment_int.create_payment_row(p_payment_rec => l_payment_rec ,

Line 1026: aso_debug_pub.add('Insert_Quote_Line_Rows: Before call to create_payment_row ', 1, 'Y');

1022:
1023: -- Suyog Payments Changes
1024:
1025: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1026: aso_debug_pub.add('Insert_Quote_Line_Rows: Before call to create_payment_row ', 1, 'Y');
1027: END IF;
1028:
1029: aso_payment_int.create_payment_row(p_payment_rec => l_payment_rec ,
1030: x_payment_rec => x_payment_tbl(i),

Line 1035: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1031: x_return_status => x_return_status,
1032: x_msg_count => x_msg_count,
1033: x_msg_data => x_msg_data);
1034:
1035: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1036: aso_debug_pub.add('Insert_Quote_Line_Rows: After call to create_payment_row: x_return_status: '||x_return_status, 1, 'Y');
1037: END IF;
1038:
1039: if x_return_status <> fnd_api.g_ret_sts_success then

Line 1036: aso_debug_pub.add('Insert_Quote_Line_Rows: After call to create_payment_row: x_return_status: '||x_return_status, 1, 'Y');

1032: x_msg_count => x_msg_count,
1033: x_msg_data => x_msg_data);
1034:
1035: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1036: aso_debug_pub.add('Insert_Quote_Line_Rows: After call to create_payment_row: x_return_status: '||x_return_status, 1, 'Y');
1037: END IF;
1038:
1039: if x_return_status <> fnd_api.g_ret_sts_success then
1040: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

Line 1054: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1050:
1051: -- End Suyog Payment Changes
1052: END LOOP;
1053:
1054: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1055: aso_debug_pub.add('Insert_Quote_lines - payment.insert_row ', 1, 'N');
1056: end if;
1057:
1058: -- insert rows into aso_shipments_tbl

Line 1055: aso_debug_pub.add('Insert_Quote_lines - payment.insert_row ', 1, 'N');

1051: -- End Suyog Payment Changes
1052: END LOOP;
1053:
1054: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1055: aso_debug_pub.add('Insert_Quote_lines - payment.insert_row ', 1, 'N');
1056: end if;
1057:
1058: -- insert rows into aso_shipments_tbl
1059:

Line 1144: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1140: p_END_DATE_ACTIVE => l_LINE_ATTRIBS_rec.END_DATE_ACTIVE,
1141: P_OBJECT_VERSION_NUMBER => l_LINE_ATTRIBS_rec.OBJECT_VERSION_NUMBER);
1142: END LOOP;
1143:
1144: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1145: aso_debug_pub.add('Insert_Quote_lines - line_attribs.insert_row ', 1, 'N');
1146: end if;
1147:
1148: -- Change START

Line 1145: aso_debug_pub.add('Insert_Quote_lines - line_attribs.insert_row ', 1, 'N');

1141: P_OBJECT_VERSION_NUMBER => l_LINE_ATTRIBS_rec.OBJECT_VERSION_NUMBER);
1142: END LOOP;
1143:
1144: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1145: aso_debug_pub.add('Insert_Quote_lines - line_attribs.insert_row ', 1, 'N');
1146: end if;
1147:
1148: -- Change START
1149: -- Release 12 TAP Changes

Line 1157: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1153: -- Finding the quote number
1154: open get_quote_number(X_Qte_Line_Rec.QUOTE_HEADER_ID);
1155: fetch get_quote_number into l_quote_number;
1156: if get_quote_number%FOUND then
1157: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1158: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.Insert_Quote_lines : Calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, quote number : ' || l_quote_number, 1, 'Y');
1159: END IF;
1160:
1161: -- Call to insert record in ASO_CHANGED_QUOTES

Line 1158: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.Insert_Quote_lines : Calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, quote number : ' || l_quote_number, 1, 'Y');

1154: open get_quote_number(X_Qte_Line_Rec.QUOTE_HEADER_ID);
1155: fetch get_quote_number into l_quote_number;
1156: if get_quote_number%FOUND then
1157: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1158: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.Insert_Quote_lines : Calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, quote number : ' || l_quote_number, 1, 'Y');
1159: END IF;
1160:
1161: -- Call to insert record in ASO_CHANGED_QUOTES
1162: ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES(l_quote_number);

Line 1348: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1344: l_Price_Attributes_Tbl := p_Price_Attributes_Tbl ;
1345: l_Price_Adj_Attr_Tbl := p_Price_Adj_Attr_Tbl ;
1346: l_Line_Attribs_Ext_Tbl := p_Line_Attribs_Ext_Tbl;
1347:
1348: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1349: aso_debug_pub.add('Populate_Quote_lines - Begin ', 1, 'Y');
1350: end if;
1351:
1352: -- default quantity for every shipment line is 1

Line 1349: aso_debug_pub.add('Populate_Quote_lines - Begin ', 1, 'Y');

1345: l_Price_Adj_Attr_Tbl := p_Price_Adj_Attr_Tbl ;
1346: l_Line_Attribs_Ext_Tbl := p_Line_Attribs_Ext_Tbl;
1347:
1348: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1349: aso_debug_pub.add('Populate_Quote_lines - Begin ', 1, 'Y');
1350: end if;
1351:
1352: -- default quantity for every shipment line is 1
1353:

Line 1394: if aso_debug_pub.g_debug_flag = 'Y' then

1390: END IF;
1391:
1392: END IF;
1393:
1394: if aso_debug_pub.g_debug_flag = 'Y' then
1395: aso_debug_pub.add('Populate_Quote_lines: l_qte_line_rec.organization_id: '||l_qte_line_rec.organization_id);
1396: end if;
1397:
1398: END IF;

Line 1395: aso_debug_pub.add('Populate_Quote_lines: l_qte_line_rec.organization_id: '||l_qte_line_rec.organization_id);

1391:
1392: END IF;
1393:
1394: if aso_debug_pub.g_debug_flag = 'Y' then
1395: aso_debug_pub.add('Populate_Quote_lines: l_qte_line_rec.organization_id: '||l_qte_line_rec.organization_id);
1396: end if;
1397:
1398: END IF;
1399:

Line 1436: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1432: IF l_qte_line_rec.charge_periodicity_code is NULL OR l_qte_line_rec.charge_periodicity_code = FND_API.G_MISS_CHAR THEN
1433:
1434: l_master_organization_id := oe_sys_parameters.value(param_name => 'MASTER_ORGANIZATION_ID', p_org_id => l_qte_line_rec.org_id);
1435:
1436: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1437: aso_debug_pub.add('Populate_Quote_lines: l_master_organization_id: '|| l_master_organization_id, 1, 'N');
1438: END IF;
1439:
1440: OPEN c_periodicity(l_qte_line_rec.inventory_item_id, l_master_organization_id);

Line 1437: aso_debug_pub.add('Populate_Quote_lines: l_master_organization_id: '|| l_master_organization_id, 1, 'N');

1433:
1434: l_master_organization_id := oe_sys_parameters.value(param_name => 'MASTER_ORGANIZATION_ID', p_org_id => l_qte_line_rec.org_id);
1435:
1436: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1437: aso_debug_pub.add('Populate_Quote_lines: l_master_organization_id: '|| l_master_organization_id, 1, 'N');
1438: END IF;
1439:
1440: OPEN c_periodicity(l_qte_line_rec.inventory_item_id, l_master_organization_id);
1441: FETCH c_periodicity INTO l_qte_line_rec.charge_periodicity_code;

Line 1444: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1440: OPEN c_periodicity(l_qte_line_rec.inventory_item_id, l_master_organization_id);
1441: FETCH c_periodicity INTO l_qte_line_rec.charge_periodicity_code;
1442:
1443: IF c_periodicity%NOTFOUND THEN
1444: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1445: aso_debug_pub.add('Populate_Quote_lines: IF c_periodicity%NOTFOUND invitem'||l_qte_line_rec.inventory_item_id, 1, 'N');
1446: END IF;
1447: END IF;
1448:

Line 1445: aso_debug_pub.add('Populate_Quote_lines: IF c_periodicity%NOTFOUND invitem'||l_qte_line_rec.inventory_item_id, 1, 'N');

1441: FETCH c_periodicity INTO l_qte_line_rec.charge_periodicity_code;
1442:
1443: IF c_periodicity%NOTFOUND THEN
1444: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1445: aso_debug_pub.add('Populate_Quote_lines: IF c_periodicity%NOTFOUND invitem'||l_qte_line_rec.inventory_item_id, 1, 'N');
1446: END IF;
1447: END IF;
1448:
1449: close c_periodicity;

Line 1451: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1447: END IF;
1448:
1449: close c_periodicity;
1450:
1451: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1452: aso_debug_pub.add('Populate_Quote_lines: l_qte_line_rec.charge_periodicity_code: '|| l_qte_line_rec.charge_periodicity_code, 1, 'N');
1453: END IF;
1454: END IF;
1455: end if;

Line 1452: aso_debug_pub.add('Populate_Quote_lines: l_qte_line_rec.charge_periodicity_code: '|| l_qte_line_rec.charge_periodicity_code, 1, 'N');

1448:
1449: close c_periodicity;
1450:
1451: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1452: aso_debug_pub.add('Populate_Quote_lines: l_qte_line_rec.charge_periodicity_code: '|| l_qte_line_rec.charge_periodicity_code, 1, 'N');
1453: END IF;
1454: END IF;
1455: end if;
1456:

Line 1529: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1525: --if ((p_control_rec.defaulting_fwk_flag = 'N') and (l_installment_option = 'ENABLE_PAYNOW')) THEN
1526:
1527: if (l_payment_term_id is not null and l_payment_term_id <> fnd_api.g_miss_num) then
1528:
1529: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1530: aso_debug_pub.add('Populate_Quote_lines:Setting the payment term for line from item master ', 1, 'N');
1531: END IF;
1532:
1533: IF (l_payment_tbl.count = 0) THEN

Line 1530: aso_debug_pub.add('Populate_Quote_lines:Setting the payment term for line from item master ', 1, 'N');

1526:
1527: if (l_payment_term_id is not null and l_payment_term_id <> fnd_api.g_miss_num) then
1528:
1529: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1530: aso_debug_pub.add('Populate_Quote_lines:Setting the payment term for line from item master ', 1, 'N');
1531: END IF;
1532:
1533: IF (l_payment_tbl.count = 0) THEN
1534: l_payment_tbl(1).operation_code := 'CREATE';

Line 1562: if aso_debug_pub.g_debug_flag = 'Y' THEN

1558: l_qte_line_rec.config_model_type := l_config_model_type;
1559: END IF;
1560:
1561: --Default Service Item Flag and Serviceable Product Flag
1562: if aso_debug_pub.g_debug_flag = 'Y' THEN
1563: aso_debug_pub.add('Populate_Quote_lines CREATE- l_service_item_flag is '||l_service_item_flag, 1, 'N');
1564: aso_debug_pub.add('Populate_Quote_lines CREATE- l_serviceable_product_flag is '||l_serviceable_product_flag, 1, 'N');
1565: end if;
1566:

Line 1563: aso_debug_pub.add('Populate_Quote_lines CREATE- l_service_item_flag is '||l_service_item_flag, 1, 'N');

1559: END IF;
1560:
1561: --Default Service Item Flag and Serviceable Product Flag
1562: if aso_debug_pub.g_debug_flag = 'Y' THEN
1563: aso_debug_pub.add('Populate_Quote_lines CREATE- l_service_item_flag is '||l_service_item_flag, 1, 'N');
1564: aso_debug_pub.add('Populate_Quote_lines CREATE- l_serviceable_product_flag is '||l_serviceable_product_flag, 1, 'N');
1565: end if;
1566:
1567: l_qte_line_rec.service_item_flag := nvl(l_service_item_flag,'N');

Line 1564: aso_debug_pub.add('Populate_Quote_lines CREATE- l_serviceable_product_flag is '||l_serviceable_product_flag, 1, 'N');

1560:
1561: --Default Service Item Flag and Serviceable Product Flag
1562: if aso_debug_pub.g_debug_flag = 'Y' THEN
1563: aso_debug_pub.add('Populate_Quote_lines CREATE- l_service_item_flag is '||l_service_item_flag, 1, 'N');
1564: aso_debug_pub.add('Populate_Quote_lines CREATE- l_serviceable_product_flag is '||l_serviceable_product_flag, 1, 'N');
1565: end if;
1566:
1567: l_qte_line_rec.service_item_flag := nvl(l_service_item_flag,'N');
1568: l_qte_line_rec.serviceable_product_flag := nvl(l_serviceable_product_flag,'N');

Line 1607: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1603: ELSE
1604: l_customer_id := l_party;
1605: END IF;
1606:
1607: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1608: aso_debug_pub.add('Populate_Quote_lines:Create :before get service attr ', 1, 'N');
1609: end if;
1610:
1611: ASO_SERVICE_CONTRACTS_INT.Get_service_attributes(

Line 1608: aso_debug_pub.add('Populate_Quote_lines:Create :before get service attr ', 1, 'N');

1604: l_customer_id := l_party;
1605: END IF;
1606:
1607: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1608: aso_debug_pub.add('Populate_Quote_lines:Create :before get service attr ', 1, 'N');
1609: end if;
1610:
1611: ASO_SERVICE_CONTRACTS_INT.Get_service_attributes(
1612: P_Api_Version_Number => 1,

Line 1620: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1616: X_msg_Count => X_msg_Count,
1617: X_msg_Data => X_msg_Data,
1618: X_Return_Status => X_Return_Status);
1619:
1620: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1621: aso_debug_pub.add('Populate_Quote_lines:Create :after get service attr '||X_Return_Status, 1, 'N');
1622: end if;
1623:
1624: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 1621: aso_debug_pub.add('Populate_Quote_lines:Create :after get service attr '||X_Return_Status, 1, 'N');

1617: X_msg_Data => X_msg_Data,
1618: X_Return_Status => X_Return_Status);
1619:
1620: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1621: aso_debug_pub.add('Populate_Quote_lines:Create :after get service attr '||X_Return_Status, 1, 'N');
1622: end if;
1623:
1624: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1625: RAISE FND_API.G_EXC_ERROR;

Line 1630: if aso_debug_pub.g_debug_flag = 'Y' THEN

1626: END IF;
1627:
1628: -- New code begins 04/26/2002
1629:
1630: if aso_debug_pub.g_debug_flag = 'Y' THEN
1631: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl.count: '|| l_qte_line_dtl_tbl.count,1,'N');
1632: aso_debug_pub.add('Populate_quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count,1,'N');
1633: end if;
1634:

Line 1631: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl.count: '|| l_qte_line_dtl_tbl.count,1,'N');

1627:
1628: -- New code begins 04/26/2002
1629:
1630: if aso_debug_pub.g_debug_flag = 'Y' THEN
1631: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl.count: '|| l_qte_line_dtl_tbl.count,1,'N');
1632: aso_debug_pub.add('Populate_quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count,1,'N');
1633: end if;
1634:
1635: l_call_get_duration := FND_API.G_FALSE;

Line 1632: aso_debug_pub.add('Populate_quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count,1,'N');

1628: -- New code begins 04/26/2002
1629:
1630: if aso_debug_pub.g_debug_flag = 'Y' THEN
1631: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl.count: '|| l_qte_line_dtl_tbl.count,1,'N');
1632: aso_debug_pub.add('Populate_quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count,1,'N');
1633: end if;
1634:
1635: l_call_get_duration := FND_API.G_FALSE;
1636:

Line 1639: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1635: l_call_get_duration := FND_API.G_FALSE;
1636:
1637: IF l_qte_line_rec.end_date_active is NOT NULL AND l_qte_line_rec.end_date_active = FND_API.G_MISS_DATE THEN
1638:
1639: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1640: aso_debug_pub.add('Populate_quote_lines: First IF cond G_MISS_DATE', 1, 'N');
1641: end if;
1642:
1643: IF l_qte_line_dtl_tbl.count > 0 THEN

Line 1640: aso_debug_pub.add('Populate_quote_lines: First IF cond G_MISS_DATE', 1, 'N');

1636:
1637: IF l_qte_line_rec.end_date_active is NOT NULL AND l_qte_line_rec.end_date_active = FND_API.G_MISS_DATE THEN
1638:
1639: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1640: aso_debug_pub.add('Populate_quote_lines: First IF cond G_MISS_DATE', 1, 'N');
1641: end if;
1642:
1643: IF l_qte_line_dtl_tbl.count > 0 THEN
1644: l_qte_line_rec.end_date_active := null;

Line 1654: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1650: END IF;
1651: RAISE FND_API.G_EXC_ERROR;
1652: END IF;
1653:
1654: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1655: aso_debug_pub.add('Populate_quote_lines: l_qte_line_rec.end_date_active: '|| l_qte_line_rec.end_date_active,1,'N');
1656: end if;
1657:
1658: IF l_qte_line_dtl_tbl(1).Service_Duration is NOT NULL AND l_qte_line_dtl_tbl(1).Service_Duration = FND_API.G_MISS_NUM THEN

Line 1655: aso_debug_pub.add('Populate_quote_lines: l_qte_line_rec.end_date_active: '|| l_qte_line_rec.end_date_active,1,'N');

1651: RAISE FND_API.G_EXC_ERROR;
1652: END IF;
1653:
1654: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1655: aso_debug_pub.add('Populate_quote_lines: l_qte_line_rec.end_date_active: '|| l_qte_line_rec.end_date_active,1,'N');
1656: end if;
1657:
1658: IF l_qte_line_dtl_tbl(1).Service_Duration is NOT NULL AND l_qte_line_dtl_tbl(1).Service_Duration = FND_API.G_MISS_NUM THEN
1659: l_qte_line_dtl_tbl(1).Service_Duration := null;

Line 1662: if aso_debug_pub.g_debug_flag = 'Y' THEN

1658: IF l_qte_line_dtl_tbl(1).Service_Duration is NOT NULL AND l_qte_line_dtl_tbl(1).Service_Duration = FND_API.G_MISS_NUM THEN
1659: l_qte_line_dtl_tbl(1).Service_Duration := null;
1660: END IF;
1661:
1662: if aso_debug_pub.g_debug_flag = 'Y' THEN
1663: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration,1,'N');
1664: end if;
1665:
1666: IF l_qte_line_dtl_tbl(1).Service_period is NOT NULL AND l_qte_line_dtl_tbl(1).Service_period = FND_API.G_MISS_CHAR THEN

Line 1663: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration,1,'N');

1659: l_qte_line_dtl_tbl(1).Service_Duration := null;
1660: END IF;
1661:
1662: if aso_debug_pub.g_debug_flag = 'Y' THEN
1663: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration,1,'N');
1664: end if;
1665:
1666: IF l_qte_line_dtl_tbl(1).Service_period is NOT NULL AND l_qte_line_dtl_tbl(1).Service_period = FND_API.G_MISS_CHAR THEN
1667: l_qte_line_dtl_tbl(1).Service_period := null;

Line 1670: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1666: IF l_qte_line_dtl_tbl(1).Service_period is NOT NULL AND l_qte_line_dtl_tbl(1).Service_period = FND_API.G_MISS_CHAR THEN
1667: l_qte_line_dtl_tbl(1).Service_period := null;
1668: END IF;
1669:
1670: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1671: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_period: '|| l_qte_line_dtl_tbl(1).Service_period,1,'N');
1672: end if;
1673:
1674: IF l_qte_line_dtl_tbl(1).service_coterminate_flag is NOT NULL AND l_qte_line_dtl_tbl(1).service_coterminate_flag <> FND_API.G_MISS_CHAR THEN

Line 1671: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_period: '|| l_qte_line_dtl_tbl(1).Service_period,1,'N');

1667: l_qte_line_dtl_tbl(1).Service_period := null;
1668: END IF;
1669:
1670: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1671: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_period: '|| l_qte_line_dtl_tbl(1).Service_period,1,'N');
1672: end if;
1673:
1674: IF l_qte_line_dtl_tbl(1).service_coterminate_flag is NOT NULL AND l_qte_line_dtl_tbl(1).service_coterminate_flag <> FND_API.G_MISS_CHAR THEN
1675: l_qte_line_dtl_tbl(1).service_coterminate_flag := null;

Line 1678: if aso_debug_pub.g_debug_flag = 'Y' THEN

1674: IF l_qte_line_dtl_tbl(1).service_coterminate_flag is NOT NULL AND l_qte_line_dtl_tbl(1).service_coterminate_flag <> FND_API.G_MISS_CHAR THEN
1675: l_qte_line_dtl_tbl(1).service_coterminate_flag := null;
1676: END IF;
1677:
1678: if aso_debug_pub.g_debug_flag = 'Y' THEN
1679: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).service_coterminate_flag: '|| l_qte_line_dtl_tbl(1).service_coterminate_flag,1,'N');
1680: end if;
1681:
1682: ELSIF l_qte_line_rec.end_date_active IS NOT NULL AND l_qte_line_dtl_tbl.count = 0 THEN

Line 1679: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).service_coterminate_flag: '|| l_qte_line_dtl_tbl(1).service_coterminate_flag,1,'N');

1675: l_qte_line_dtl_tbl(1).service_coterminate_flag := null;
1676: END IF;
1677:
1678: if aso_debug_pub.g_debug_flag = 'Y' THEN
1679: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).service_coterminate_flag: '|| l_qte_line_dtl_tbl(1).service_coterminate_flag,1,'N');
1680: end if;
1681:
1682: ELSIF l_qte_line_rec.end_date_active IS NOT NULL AND l_qte_line_dtl_tbl.count = 0 THEN
1683:

Line 1684: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1680: end if;
1681:
1682: ELSIF l_qte_line_rec.end_date_active IS NOT NULL AND l_qte_line_dtl_tbl.count = 0 THEN
1683:
1684: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1685: aso_debug_pub.add('Populate_quote_lines: ELSIF Cond not G_MISS_DATE but not null', 1, 'N');
1686: end if;
1687:
1688: ASO_Service_Contracts_INT.Get_Duration(

Line 1685: aso_debug_pub.add('Populate_quote_lines: ELSIF Cond not G_MISS_DATE but not null', 1, 'N');

1681:
1682: ELSIF l_qte_line_rec.end_date_active IS NOT NULL AND l_qte_line_dtl_tbl.count = 0 THEN
1683:
1684: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1685: aso_debug_pub.add('Populate_quote_lines: ELSIF Cond not G_MISS_DATE but not null', 1, 'N');
1686: end if;
1687:
1688: ASO_Service_Contracts_INT.Get_Duration(
1689: P_Api_Version_Number => 1.0,

Line 1708: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1704: l_qte_line_dtl_tbl(1).Service_Duration := l_qte_line_dtl_tbl_out(1).Service_Duration;
1705: l_qte_line_dtl_tbl(1).service_period := l_qte_line_dtl_tbl_out(1).service_period;
1706: l_qte_line_rec.end_date_active := l_qte_line_rec_out.end_date_active;
1707:
1708: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1709: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
1710: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_rec.end_date_active: '||l_qte_line_rec.end_date_active, 1, 'N');
1711: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).service_period: '||l_qte_line_dtl_tbl(1).service_period, 1, 'N');
1712: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).Service_Duration: '||l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');

Line 1709: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');

1705: l_qte_line_dtl_tbl(1).service_period := l_qte_line_dtl_tbl_out(1).service_period;
1706: l_qte_line_rec.end_date_active := l_qte_line_rec_out.end_date_active;
1707:
1708: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1709: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
1710: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_rec.end_date_active: '||l_qte_line_rec.end_date_active, 1, 'N');
1711: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).service_period: '||l_qte_line_dtl_tbl(1).service_period, 1, 'N');
1712: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).Service_Duration: '||l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
1713: end if;

Line 1710: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_rec.end_date_active: '||l_qte_line_rec.end_date_active, 1, 'N');

1706: l_qte_line_rec.end_date_active := l_qte_line_rec_out.end_date_active;
1707:
1708: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1709: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
1710: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_rec.end_date_active: '||l_qte_line_rec.end_date_active, 1, 'N');
1711: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).service_period: '||l_qte_line_dtl_tbl(1).service_period, 1, 'N');
1712: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).Service_Duration: '||l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
1713: end if;
1714:

Line 1711: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).service_period: '||l_qte_line_dtl_tbl(1).service_period, 1, 'N');

1707:
1708: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1709: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
1710: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_rec.end_date_active: '||l_qte_line_rec.end_date_active, 1, 'N');
1711: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).service_period: '||l_qte_line_dtl_tbl(1).service_period, 1, 'N');
1712: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).Service_Duration: '||l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
1713: end if;
1714:
1715: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 1712: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).Service_Duration: '||l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');

1708: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1709: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
1710: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_rec.end_date_active: '||l_qte_line_rec.end_date_active, 1, 'N');
1711: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).service_period: '||l_qte_line_dtl_tbl(1).service_period, 1, 'N');
1712: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).Service_Duration: '||l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
1713: end if;
1714:
1715: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1716: RAISE FND_API.G_EXC_ERROR;

Line 1721: if aso_debug_pub.g_debug_flag = 'Y' THEN

1717: END IF;
1718:
1719: ELSIF l_qte_line_rec.end_date_active IS NULL AND l_qte_line_dtl_tbl.count = 0 THEN
1720:
1721: if aso_debug_pub.g_debug_flag = 'Y' THEN
1722: aso_debug_pub.add('Populate_quote_lines: ELSEIF Cond end date IS NULL and l_qte_line_dtl_tbl.count = 0', 1, 'N');
1723: end if;
1724:
1725: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 1722: aso_debug_pub.add('Populate_quote_lines: ELSEIF Cond end date IS NULL and l_qte_line_dtl_tbl.count = 0', 1, 'N');

1718:
1719: ELSIF l_qte_line_rec.end_date_active IS NULL AND l_qte_line_dtl_tbl.count = 0 THEN
1720:
1721: if aso_debug_pub.g_debug_flag = 'Y' THEN
1722: aso_debug_pub.add('Populate_quote_lines: ELSEIF Cond end date IS NULL and l_qte_line_dtl_tbl.count = 0', 1, 'N');
1723: end if;
1724:
1725: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
1726: FND_MESSAGE.Set_Name('ASO', 'ASO_API_MISSING_SRV_INFO5');

Line 1734: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1730: RAISE FND_API.G_EXC_ERROR;
1731:
1732: ELSE
1733:
1734: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1735: aso_debug_pub.add('Populate_quote_lines: ELSE Cond not end date NULL', 1, 'N');
1736: end if;
1737:
1738: l_call_get_duration := FND_API.G_TRUE;

Line 1735: aso_debug_pub.add('Populate_quote_lines: ELSE Cond not end date NULL', 1, 'N');

1731:
1732: ELSE
1733:
1734: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1735: aso_debug_pub.add('Populate_quote_lines: ELSE Cond not end date NULL', 1, 'N');
1736: end if;
1737:
1738: l_call_get_duration := FND_API.G_TRUE;
1739:

Line 1760: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1756: END IF;
1757:
1758: END IF;
1759:
1760: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1761: aso_debug_pub.add('Populate_quote_lines: Before call to Get_Duration: l_call_get_duration: '||l_call_get_duration,1,'N');
1762: end if;
1763:
1764: IF l_call_get_duration = FND_API.G_TRUE THEN

Line 1761: aso_debug_pub.add('Populate_quote_lines: Before call to Get_Duration: l_call_get_duration: '||l_call_get_duration,1,'N');

1757:
1758: END IF;
1759:
1760: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1761: aso_debug_pub.add('Populate_quote_lines: Before call to Get_Duration: l_call_get_duration: '||l_call_get_duration,1,'N');
1762: end if;
1763:
1764: IF l_call_get_duration = FND_API.G_TRUE THEN
1765:

Line 1766: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1762: end if;
1763:
1764: IF l_call_get_duration = FND_API.G_TRUE THEN
1765:
1766: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1767: aso_debug_pub.add('Populate_quote_lines: Inside IF l_call_get_duration = FND_API.G_TRUE Cond ', 1, 'N');
1768: end if;
1769:
1770: ASO_Service_Contracts_INT.Get_Duration(

Line 1767: aso_debug_pub.add('Populate_quote_lines: Inside IF l_call_get_duration = FND_API.G_TRUE Cond ', 1, 'N');

1763:
1764: IF l_call_get_duration = FND_API.G_TRUE THEN
1765:
1766: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1767: aso_debug_pub.add('Populate_quote_lines: Inside IF l_call_get_duration = FND_API.G_TRUE Cond ', 1, 'N');
1768: end if;
1769:
1770: ASO_Service_Contracts_INT.Get_Duration(
1771: P_Api_Version_Number => 1.0,

Line 1790: if aso_debug_pub.g_debug_flag = 'Y' THEN

1786: l_qte_line_dtl_tbl(1).Service_Duration := l_qte_line_dtl_tbl_out(1).Service_Duration;
1787: l_qte_line_dtl_tbl(1).service_period := l_qte_line_dtl_tbl_out(1).service_period;
1788: l_qte_line_rec.end_date_active := l_qte_line_rec_out.end_date_active;
1789:
1790: if aso_debug_pub.g_debug_flag = 'Y' THEN
1791: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
1792: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_rec.end_date_active: '||l_qte_line_rec.end_date_active, 1, 'N');
1793: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).service_period: '||l_qte_line_dtl_tbl(1).service_period, 1, 'N');
1794: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).Service_Duration: '||l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');

Line 1791: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');

1787: l_qte_line_dtl_tbl(1).service_period := l_qte_line_dtl_tbl_out(1).service_period;
1788: l_qte_line_rec.end_date_active := l_qte_line_rec_out.end_date_active;
1789:
1790: if aso_debug_pub.g_debug_flag = 'Y' THEN
1791: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
1792: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_rec.end_date_active: '||l_qte_line_rec.end_date_active, 1, 'N');
1793: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).service_period: '||l_qte_line_dtl_tbl(1).service_period, 1, 'N');
1794: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).Service_Duration: '||l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
1795: end if;

Line 1792: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_rec.end_date_active: '||l_qte_line_rec.end_date_active, 1, 'N');

1788: l_qte_line_rec.end_date_active := l_qte_line_rec_out.end_date_active;
1789:
1790: if aso_debug_pub.g_debug_flag = 'Y' THEN
1791: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
1792: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_rec.end_date_active: '||l_qte_line_rec.end_date_active, 1, 'N');
1793: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).service_period: '||l_qte_line_dtl_tbl(1).service_period, 1, 'N');
1794: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).Service_Duration: '||l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
1795: end if;
1796:

Line 1793: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).service_period: '||l_qte_line_dtl_tbl(1).service_period, 1, 'N');

1789:
1790: if aso_debug_pub.g_debug_flag = 'Y' THEN
1791: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
1792: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_rec.end_date_active: '||l_qte_line_rec.end_date_active, 1, 'N');
1793: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).service_period: '||l_qte_line_dtl_tbl(1).service_period, 1, 'N');
1794: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).Service_Duration: '||l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
1795: end if;
1796:
1797: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 1794: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).Service_Duration: '||l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');

1790: if aso_debug_pub.g_debug_flag = 'Y' THEN
1791: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
1792: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_rec.end_date_active: '||l_qte_line_rec.end_date_active, 1, 'N');
1793: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).service_period: '||l_qte_line_dtl_tbl(1).service_period, 1, 'N');
1794: aso_debug_pub.add('After call to ASO Get_Duration: l_qte_line_dtl_tbl(1).Service_Duration: '||l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
1795: end if;
1796:
1797: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1798: RAISE FND_API.G_EXC_ERROR;

Line 1809: if aso_debug_pub.g_debug_flag = 'Y' then

1805: --populate the config_item_id and bom_sort_order column values from cz_config_details_v
1806: --view if the calling application is passing config_header_id, config_revision_num and
1807: --component_code values. Fix for Bug#2980130
1808:
1809: if aso_debug_pub.g_debug_flag = 'Y' then
1810: aso_debug_pub.add('Before populating config_item_id,bom_sort_order. Operation_code = CREATE');
1811: aso_debug_pub.add('l_qte_line_dtl_tbl.count: ' || l_qte_line_dtl_tbl.count);
1812: end if;
1813:

Line 1810: aso_debug_pub.add('Before populating config_item_id,bom_sort_order. Operation_code = CREATE');

1806: --view if the calling application is passing config_header_id, config_revision_num and
1807: --component_code values. Fix for Bug#2980130
1808:
1809: if aso_debug_pub.g_debug_flag = 'Y' then
1810: aso_debug_pub.add('Before populating config_item_id,bom_sort_order. Operation_code = CREATE');
1811: aso_debug_pub.add('l_qte_line_dtl_tbl.count: ' || l_qte_line_dtl_tbl.count);
1812: end if;
1813:
1814: for i in 1 .. l_qte_line_dtl_tbl.count loop

Line 1811: aso_debug_pub.add('l_qte_line_dtl_tbl.count: ' || l_qte_line_dtl_tbl.count);

1807: --component_code values. Fix for Bug#2980130
1808:
1809: if aso_debug_pub.g_debug_flag = 'Y' then
1810: aso_debug_pub.add('Before populating config_item_id,bom_sort_order. Operation_code = CREATE');
1811: aso_debug_pub.add('l_qte_line_dtl_tbl.count: ' || l_qte_line_dtl_tbl.count);
1812: end if;
1813:
1814: for i in 1 .. l_qte_line_dtl_tbl.count loop
1815:

Line 1816: if aso_debug_pub.g_debug_flag = 'Y' then

1812: end if;
1813:
1814: for i in 1 .. l_qte_line_dtl_tbl.count loop
1815:
1816: if aso_debug_pub.g_debug_flag = 'Y' then
1817: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);
1818: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);
1819: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);
1820: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);

Line 1817: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);

1813:
1814: for i in 1 .. l_qte_line_dtl_tbl.count loop
1815:
1816: if aso_debug_pub.g_debug_flag = 'Y' then
1817: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);
1818: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);
1819: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);
1820: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
1821: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);

Line 1818: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);

1814: for i in 1 .. l_qte_line_dtl_tbl.count loop
1815:
1816: if aso_debug_pub.g_debug_flag = 'Y' then
1817: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);
1818: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);
1819: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);
1820: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
1821: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
1822: end if;

Line 1819: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);

1815:
1816: if aso_debug_pub.g_debug_flag = 'Y' then
1817: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);
1818: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);
1819: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);
1820: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
1821: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
1822: end if;
1823:

Line 1820: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);

1816: if aso_debug_pub.g_debug_flag = 'Y' then
1817: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);
1818: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);
1819: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);
1820: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
1821: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
1822: end if;
1823:
1824: if ( l_qte_line_dtl_tbl(i).config_header_id is not null and

Line 1821: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);

1817: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);
1818: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);
1819: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);
1820: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
1821: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
1822: end if;
1823:
1824: if ( l_qte_line_dtl_tbl(i).config_header_id is not null and
1825: l_qte_line_dtl_tbl(i).config_header_id <> fnd_api.g_miss_num ) and

Line 1838: if aso_debug_pub.g_debug_flag = 'Y' then

1834: l_qte_line_dtl_tbl(i).component_code );
1835:
1836: fetch c_config_item_id into l_qte_line_dtl_tbl(i).config_item_id, l_qte_line_dtl_tbl(i).bom_sort_order;
1837:
1838: if aso_debug_pub.g_debug_flag = 'Y' then
1839: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
1840: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
1841: end if;
1842:

Line 1839: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);

1835:
1836: fetch c_config_item_id into l_qte_line_dtl_tbl(i).config_item_id, l_qte_line_dtl_tbl(i).bom_sort_order;
1837:
1838: if aso_debug_pub.g_debug_flag = 'Y' then
1839: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
1840: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
1841: end if;
1842:
1843: if c_config_item_id%notfound then

Line 1840: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);

1836: fetch c_config_item_id into l_qte_line_dtl_tbl(i).config_item_id, l_qte_line_dtl_tbl(i).bom_sort_order;
1837:
1838: if aso_debug_pub.g_debug_flag = 'Y' then
1839: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
1840: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
1841: end if;
1842:
1843: if c_config_item_id%notfound then
1844:

Line 1845: if aso_debug_pub.g_debug_flag = 'Y' then

1841: end if;
1842:
1843: if c_config_item_id%notfound then
1844:
1845: if aso_debug_pub.g_debug_flag = 'Y' then
1846: aso_debug_pub.add('Inside c_config_item_id%notfound cond.');
1847: end if;
1848:
1849: close c_config_item_id;

Line 1846: aso_debug_pub.add('Inside c_config_item_id%notfound cond.');

1842:
1843: if c_config_item_id%notfound then
1844:
1845: if aso_debug_pub.g_debug_flag = 'Y' then
1846: aso_debug_pub.add('Inside c_config_item_id%notfound cond.');
1847: end if;
1848:
1849: close c_config_item_id;
1850: raise fnd_api.g_exc_error;

Line 1863: if aso_debug_pub.g_debug_flag = 'Y' then

1859: l_qte_line_dtl_tbl(i).config_item_id );
1860:
1861: fetch c_bom_sort_order into l_qte_line_dtl_tbl(i).bom_sort_order;
1862:
1863: if aso_debug_pub.g_debug_flag = 'Y' then
1864: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
1865: end if;
1866:
1867: if c_bom_sort_order%notfound then

Line 1864: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);

1860:
1861: fetch c_bom_sort_order into l_qte_line_dtl_tbl(i).bom_sort_order;
1862:
1863: if aso_debug_pub.g_debug_flag = 'Y' then
1864: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
1865: end if;
1866:
1867: if c_bom_sort_order%notfound then
1868:

Line 1869: if aso_debug_pub.g_debug_flag = 'Y' then

1865: end if;
1866:
1867: if c_bom_sort_order%notfound then
1868:
1869: if aso_debug_pub.g_debug_flag = 'Y' then
1870: aso_debug_pub.add('Inside c_bom_sort_order%notfound cond.');
1871: end if;
1872:
1873: close c_bom_sort_order;

Line 1870: aso_debug_pub.add('Inside c_bom_sort_order%notfound cond.');

1866:
1867: if c_bom_sort_order%notfound then
1868:
1869: if aso_debug_pub.g_debug_flag = 'Y' then
1870: aso_debug_pub.add('Inside c_bom_sort_order%notfound cond.');
1871: end if;
1872:
1873: close c_bom_sort_order;
1874: raise fnd_api.g_exc_error;

Line 1901: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1897:
1898: OPEN c_line_number(l_qte_line_dtl_tbl(1).service_ref_line_id);
1899: FETCH c_line_number INTO l_serviceable_line_number;
1900:
1901: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1902: aso_debug_pub.add('Populate_quote_lines: l_serviceable_line_number: '|| l_serviceable_line_number);
1903: end if;
1904:
1905: IF c_line_number%FOUND AND l_serviceable_line_number IS NOT NULL THEN

Line 1902: aso_debug_pub.add('Populate_quote_lines: l_serviceable_line_number: '|| l_serviceable_line_number);

1898: OPEN c_line_number(l_qte_line_dtl_tbl(1).service_ref_line_id);
1899: FETCH c_line_number INTO l_serviceable_line_number;
1900:
1901: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1902: aso_debug_pub.add('Populate_quote_lines: l_serviceable_line_number: '|| l_serviceable_line_number);
1903: end if;
1904:
1905: IF c_line_number%FOUND AND l_serviceable_line_number IS NOT NULL THEN
1906: l_qte_line_rec.line_number := l_serviceable_line_number;

Line 1909: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1905: IF c_line_number%FOUND AND l_serviceable_line_number IS NOT NULL THEN
1906: l_qte_line_rec.line_number := l_serviceable_line_number;
1907: ELSE
1908:
1909: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1910: aso_debug_pub.add('Line Number does not exist for the serviceable item of the service');
1911: end if;
1912: END IF;
1913:

Line 1910: aso_debug_pub.add('Line Number does not exist for the serviceable item of the service');

1906: l_qte_line_rec.line_number := l_serviceable_line_number;
1907: ELSE
1908:
1909: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1910: aso_debug_pub.add('Line Number does not exist for the serviceable item of the service');
1911: end if;
1912: END IF;
1913:
1914: CLOSE c_line_number;

Line 1931: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1927:
1928: open c_line_number(l_qte_line_dtl_tbl(1).ref_line_id);
1929: fetch c_line_number into l_qte_line_rec.line_number;
1930:
1931: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1932: aso_debug_pub.add('Populate_quote_lines: parent line_number: '|| l_qte_line_rec.line_number);
1933: end if;
1934:
1935: IF c_line_number%notfound THEN

Line 1932: aso_debug_pub.add('Populate_quote_lines: parent line_number: '|| l_qte_line_rec.line_number);

1928: open c_line_number(l_qte_line_dtl_tbl(1).ref_line_id);
1929: fetch c_line_number into l_qte_line_rec.line_number;
1930:
1931: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1932: aso_debug_pub.add('Populate_quote_lines: parent line_number: '|| l_qte_line_rec.line_number);
1933: end if;
1934:
1935: IF c_line_number%notfound THEN
1936:

Line 1937: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1933: end if;
1934:
1935: IF c_line_number%notfound THEN
1936:
1937: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1938: aso_debug_pub.add('parent line number does not exist for this child line');
1939: end if;
1940:
1941: ELSIF l_qte_line_rec.line_number is null THEN

Line 1938: aso_debug_pub.add('parent line number does not exist for this child line');

1934:
1935: IF c_line_number%notfound THEN
1936:
1937: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1938: aso_debug_pub.add('parent line number does not exist for this child line');
1939: end if;
1940:
1941: ELSIF l_qte_line_rec.line_number is null THEN
1942:

Line 1943: IF aso_debug_pub.g_debug_flag = 'Y' THEN

1939: end if;
1940:
1941: ELSIF l_qte_line_rec.line_number is null THEN
1942:
1943: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1944: aso_debug_pub.add('parent line_number of this child line is null');
1945: end if;
1946:
1947: END IF;

Line 1944: aso_debug_pub.add('parent line_number of this child line is null');

1940:
1941: ELSIF l_qte_line_rec.line_number is null THEN
1942:
1943: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1944: aso_debug_pub.add('parent line_number of this child line is null');
1945: end if;
1946:
1947: END IF;
1948:

Line 1973: if aso_debug_pub.g_debug_flag = 'Y' THEN

1969: l_qte_line_rec.line_number := l_line_number + 10000;
1970:
1971: END IF;
1972:
1973: if aso_debug_pub.g_debug_flag = 'Y' THEN
1974: aso_debug_pub.add('Populate_Quote_lines - line_number: '||l_qte_line_rec.line_number, 1, 'N');
1975: end if;
1976:
1977: -- there should be atleast one shipment record for every quote line record

Line 1974: aso_debug_pub.add('Populate_Quote_lines - line_number: '||l_qte_line_rec.line_number, 1, 'N');

1970:
1971: END IF;
1972:
1973: if aso_debug_pub.g_debug_flag = 'Y' THEN
1974: aso_debug_pub.add('Populate_Quote_lines - line_number: '||l_qte_line_rec.line_number, 1, 'N');
1975: end if;
1976:
1977: -- there should be atleast one shipment record for every quote line record
1978:

Line 2027: if aso_debug_pub.g_debug_flag = 'Y' then

2023: if l_qte_line_rec.inventory_item_id = fnd_api.g_miss_num then
2024: l_qte_line_rec.inventory_item_id := l_inventory_item_id;
2025: end if;
2026:
2027: if aso_debug_pub.g_debug_flag = 'Y' then
2028: aso_debug_pub.add('populate_quote_line: operation_code: UPDATE');
2029: aso_debug_pub.add('l_qte_line_rec.organization_id: '||l_qte_line_rec.organization_id);
2030: aso_debug_pub.add('l_qte_line_rec.inventory_item_id: '||l_qte_line_rec.inventory_item_id);
2031: end if;

Line 2028: aso_debug_pub.add('populate_quote_line: operation_code: UPDATE');

2024: l_qte_line_rec.inventory_item_id := l_inventory_item_id;
2025: end if;
2026:
2027: if aso_debug_pub.g_debug_flag = 'Y' then
2028: aso_debug_pub.add('populate_quote_line: operation_code: UPDATE');
2029: aso_debug_pub.add('l_qte_line_rec.organization_id: '||l_qte_line_rec.organization_id);
2030: aso_debug_pub.add('l_qte_line_rec.inventory_item_id: '||l_qte_line_rec.inventory_item_id);
2031: end if;
2032:

Line 2029: aso_debug_pub.add('l_qte_line_rec.organization_id: '||l_qte_line_rec.organization_id);

2025: end if;
2026:
2027: if aso_debug_pub.g_debug_flag = 'Y' then
2028: aso_debug_pub.add('populate_quote_line: operation_code: UPDATE');
2029: aso_debug_pub.add('l_qte_line_rec.organization_id: '||l_qte_line_rec.organization_id);
2030: aso_debug_pub.add('l_qte_line_rec.inventory_item_id: '||l_qte_line_rec.inventory_item_id);
2031: end if;
2032:
2033: --End of change for Bug#2930734

Line 2030: aso_debug_pub.add('l_qte_line_rec.inventory_item_id: '||l_qte_line_rec.inventory_item_id);

2026:
2027: if aso_debug_pub.g_debug_flag = 'Y' then
2028: aso_debug_pub.add('populate_quote_line: operation_code: UPDATE');
2029: aso_debug_pub.add('l_qte_line_rec.organization_id: '||l_qte_line_rec.organization_id);
2030: aso_debug_pub.add('l_qte_line_rec.inventory_item_id: '||l_qte_line_rec.inventory_item_id);
2031: end if;
2032:
2033: --End of change for Bug#2930734
2034:

Line 2118: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2114: fetch c_item1 into l_uom_code, l_service_item_flag, l_serviceable_product_flag, l_ship_model_complete_flag, l_payment_term_id, l_config_model_type;
2115:
2116: if (c_item1%notfound) then
2117:
2118: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2119: aso_debug_pub.add('Populate_Quote_lines: c_item1%NOTFOUND true, raising error', 1, 'N');
2120: END IF;
2121:
2122: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 2119: aso_debug_pub.add('Populate_Quote_lines: c_item1%NOTFOUND true, raising error', 1, 'N');

2115:
2116: if (c_item1%notfound) then
2117:
2118: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2119: aso_debug_pub.add('Populate_Quote_lines: c_item1%NOTFOUND true, raising error', 1, 'N');
2120: END IF;
2121:
2122: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
2123: FND_MESSAGE.Set_Name('ASO', 'ASO_API_MISSING_INFO');

Line 2135: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2131: end if;
2132:
2133: close c_item1;
2134:
2135: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2136: aso_debug_pub.add('Populate_Quote_lines: l_uom_code: '|| l_uom_code, 1, 'N');
2137: aso_debug_pub.add('Populate_Quote_lines: l_service_item_flag: '|| l_service_item_flag, 1, 'N');
2138: aso_debug_pub.add('Populate_Quote_lines: l_serviceable_product_flag: '|| l_serviceable_product_flag, 1, 'N');
2139: aso_debug_pub.add('Populate_Quote_lines: l_ship_model_complete_flag: '|| l_ship_model_complete_flag, 1, 'N');

Line 2136: aso_debug_pub.add('Populate_Quote_lines: l_uom_code: '|| l_uom_code, 1, 'N');

2132:
2133: close c_item1;
2134:
2135: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2136: aso_debug_pub.add('Populate_Quote_lines: l_uom_code: '|| l_uom_code, 1, 'N');
2137: aso_debug_pub.add('Populate_Quote_lines: l_service_item_flag: '|| l_service_item_flag, 1, 'N');
2138: aso_debug_pub.add('Populate_Quote_lines: l_serviceable_product_flag: '|| l_serviceable_product_flag, 1, 'N');
2139: aso_debug_pub.add('Populate_Quote_lines: l_ship_model_complete_flag: '|| l_ship_model_complete_flag, 1, 'N');
2140: aso_debug_pub.add('Populate_Quote_lines: l_payment_term_id: '|| l_payment_term_id, 1, 'N');

Line 2137: aso_debug_pub.add('Populate_Quote_lines: l_service_item_flag: '|| l_service_item_flag, 1, 'N');

2133: close c_item1;
2134:
2135: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2136: aso_debug_pub.add('Populate_Quote_lines: l_uom_code: '|| l_uom_code, 1, 'N');
2137: aso_debug_pub.add('Populate_Quote_lines: l_service_item_flag: '|| l_service_item_flag, 1, 'N');
2138: aso_debug_pub.add('Populate_Quote_lines: l_serviceable_product_flag: '|| l_serviceable_product_flag, 1, 'N');
2139: aso_debug_pub.add('Populate_Quote_lines: l_ship_model_complete_flag: '|| l_ship_model_complete_flag, 1, 'N');
2140: aso_debug_pub.add('Populate_Quote_lines: l_payment_term_id: '|| l_payment_term_id, 1, 'N');
2141: aso_debug_pub.add('Populate_Quote_lines: l_config_model_type: '|| l_config_model_type, 1, 'N');

Line 2138: aso_debug_pub.add('Populate_Quote_lines: l_serviceable_product_flag: '|| l_serviceable_product_flag, 1, 'N');

2134:
2135: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2136: aso_debug_pub.add('Populate_Quote_lines: l_uom_code: '|| l_uom_code, 1, 'N');
2137: aso_debug_pub.add('Populate_Quote_lines: l_service_item_flag: '|| l_service_item_flag, 1, 'N');
2138: aso_debug_pub.add('Populate_Quote_lines: l_serviceable_product_flag: '|| l_serviceable_product_flag, 1, 'N');
2139: aso_debug_pub.add('Populate_Quote_lines: l_ship_model_complete_flag: '|| l_ship_model_complete_flag, 1, 'N');
2140: aso_debug_pub.add('Populate_Quote_lines: l_payment_term_id: '|| l_payment_term_id, 1, 'N');
2141: aso_debug_pub.add('Populate_Quote_lines: l_config_model_type: '|| l_config_model_type, 1, 'N');
2142: END IF;

Line 2139: aso_debug_pub.add('Populate_Quote_lines: l_ship_model_complete_flag: '|| l_ship_model_complete_flag, 1, 'N');

2135: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2136: aso_debug_pub.add('Populate_Quote_lines: l_uom_code: '|| l_uom_code, 1, 'N');
2137: aso_debug_pub.add('Populate_Quote_lines: l_service_item_flag: '|| l_service_item_flag, 1, 'N');
2138: aso_debug_pub.add('Populate_Quote_lines: l_serviceable_product_flag: '|| l_serviceable_product_flag, 1, 'N');
2139: aso_debug_pub.add('Populate_Quote_lines: l_ship_model_complete_flag: '|| l_ship_model_complete_flag, 1, 'N');
2140: aso_debug_pub.add('Populate_Quote_lines: l_payment_term_id: '|| l_payment_term_id, 1, 'N');
2141: aso_debug_pub.add('Populate_Quote_lines: l_config_model_type: '|| l_config_model_type, 1, 'N');
2142: END IF;
2143:

Line 2140: aso_debug_pub.add('Populate_Quote_lines: l_payment_term_id: '|| l_payment_term_id, 1, 'N');

2136: aso_debug_pub.add('Populate_Quote_lines: l_uom_code: '|| l_uom_code, 1, 'N');
2137: aso_debug_pub.add('Populate_Quote_lines: l_service_item_flag: '|| l_service_item_flag, 1, 'N');
2138: aso_debug_pub.add('Populate_Quote_lines: l_serviceable_product_flag: '|| l_serviceable_product_flag, 1, 'N');
2139: aso_debug_pub.add('Populate_Quote_lines: l_ship_model_complete_flag: '|| l_ship_model_complete_flag, 1, 'N');
2140: aso_debug_pub.add('Populate_Quote_lines: l_payment_term_id: '|| l_payment_term_id, 1, 'N');
2141: aso_debug_pub.add('Populate_Quote_lines: l_config_model_type: '|| l_config_model_type, 1, 'N');
2142: END IF;
2143:
2144:

Line 2141: aso_debug_pub.add('Populate_Quote_lines: l_config_model_type: '|| l_config_model_type, 1, 'N');

2137: aso_debug_pub.add('Populate_Quote_lines: l_service_item_flag: '|| l_service_item_flag, 1, 'N');
2138: aso_debug_pub.add('Populate_Quote_lines: l_serviceable_product_flag: '|| l_serviceable_product_flag, 1, 'N');
2139: aso_debug_pub.add('Populate_Quote_lines: l_ship_model_complete_flag: '|| l_ship_model_complete_flag, 1, 'N');
2140: aso_debug_pub.add('Populate_Quote_lines: l_payment_term_id: '|| l_payment_term_id, 1, 'N');
2141: aso_debug_pub.add('Populate_Quote_lines: l_config_model_type: '|| l_config_model_type, 1, 'N');
2142: END IF;
2143:
2144:
2145: IF nvl(l_service_item_flag,'N') = 'Y' THEN

Line 2188: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2184: IF (C_service_item%NOTFOUND) THEN
2185:
2186: CLOSE C_service_item;
2187:
2188: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2189: aso_debug_pub.add('Populate_Quote_lines: C_service_item%NOTFOUND true, raising error', 1, 'N');
2190: END IF;
2191:
2192: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 2189: aso_debug_pub.add('Populate_Quote_lines: C_service_item%NOTFOUND true, raising error', 1, 'N');

2185:
2186: CLOSE C_service_item;
2187:
2188: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2189: aso_debug_pub.add('Populate_Quote_lines: C_service_item%NOTFOUND true, raising error', 1, 'N');
2190: END IF;
2191:
2192: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
2193: FND_MESSAGE.Set_Name('ASO', 'ASO_API_MISSING_INFO');

Line 2204: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2200: END IF;
2201:
2202: CLOSE C_service_item;
2203:
2204: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2205: aso_debug_pub.add('Populate_Quote_lines: l_start_date: '|| l_start_date, 1, 'N');
2206: aso_debug_pub.add('Populate_Quote_lines: l_end_date: '|| l_end_date, 1, 'N');
2207: aso_debug_pub.add('Populate_Quote_lines: l_service_duration: '|| l_service_duration, 1, 'N');
2208: aso_debug_pub.add('Populate_Quote_lines: l_service_period: '|| l_service_period, 1, 'N');

Line 2205: aso_debug_pub.add('Populate_Quote_lines: l_start_date: '|| l_start_date, 1, 'N');

2201:
2202: CLOSE C_service_item;
2203:
2204: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2205: aso_debug_pub.add('Populate_Quote_lines: l_start_date: '|| l_start_date, 1, 'N');
2206: aso_debug_pub.add('Populate_Quote_lines: l_end_date: '|| l_end_date, 1, 'N');
2207: aso_debug_pub.add('Populate_Quote_lines: l_service_duration: '|| l_service_duration, 1, 'N');
2208: aso_debug_pub.add('Populate_Quote_lines: l_service_period: '|| l_service_period, 1, 'N');
2209: aso_debug_pub.add('Populate_Quote_lines: l_coterminate_flag: '|| l_coterminate_flag, 1, 'N');

Line 2206: aso_debug_pub.add('Populate_Quote_lines: l_end_date: '|| l_end_date, 1, 'N');

2202: CLOSE C_service_item;
2203:
2204: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2205: aso_debug_pub.add('Populate_Quote_lines: l_start_date: '|| l_start_date, 1, 'N');
2206: aso_debug_pub.add('Populate_Quote_lines: l_end_date: '|| l_end_date, 1, 'N');
2207: aso_debug_pub.add('Populate_Quote_lines: l_service_duration: '|| l_service_duration, 1, 'N');
2208: aso_debug_pub.add('Populate_Quote_lines: l_service_period: '|| l_service_period, 1, 'N');
2209: aso_debug_pub.add('Populate_Quote_lines: l_coterminate_flag: '|| l_coterminate_flag, 1, 'N');
2210: aso_debug_pub.add('Populate_Quote_lines: l_customer_id: '|| l_customer_id, 1, 'N');

Line 2207: aso_debug_pub.add('Populate_Quote_lines: l_service_duration: '|| l_service_duration, 1, 'N');

2203:
2204: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2205: aso_debug_pub.add('Populate_Quote_lines: l_start_date: '|| l_start_date, 1, 'N');
2206: aso_debug_pub.add('Populate_Quote_lines: l_end_date: '|| l_end_date, 1, 'N');
2207: aso_debug_pub.add('Populate_Quote_lines: l_service_duration: '|| l_service_duration, 1, 'N');
2208: aso_debug_pub.add('Populate_Quote_lines: l_service_period: '|| l_service_period, 1, 'N');
2209: aso_debug_pub.add('Populate_Quote_lines: l_coterminate_flag: '|| l_coterminate_flag, 1, 'N');
2210: aso_debug_pub.add('Populate_Quote_lines: l_customer_id: '|| l_customer_id, 1, 'N');
2211: aso_debug_pub.add('Populate_Quote_lines: l_party: '|| l_party, 1, 'N');

Line 2208: aso_debug_pub.add('Populate_Quote_lines: l_service_period: '|| l_service_period, 1, 'N');

2204: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2205: aso_debug_pub.add('Populate_Quote_lines: l_start_date: '|| l_start_date, 1, 'N');
2206: aso_debug_pub.add('Populate_Quote_lines: l_end_date: '|| l_end_date, 1, 'N');
2207: aso_debug_pub.add('Populate_Quote_lines: l_service_duration: '|| l_service_duration, 1, 'N');
2208: aso_debug_pub.add('Populate_Quote_lines: l_service_period: '|| l_service_period, 1, 'N');
2209: aso_debug_pub.add('Populate_Quote_lines: l_coterminate_flag: '|| l_coterminate_flag, 1, 'N');
2210: aso_debug_pub.add('Populate_Quote_lines: l_customer_id: '|| l_customer_id, 1, 'N');
2211: aso_debug_pub.add('Populate_Quote_lines: l_party: '|| l_party, 1, 'N');
2212: aso_debug_pub.add('Populate_Quote_lines:Update :before call to ASO_SERVICE_CONTRACTS_INT.Get_service_attributes', 1, 'N');

Line 2209: aso_debug_pub.add('Populate_Quote_lines: l_coterminate_flag: '|| l_coterminate_flag, 1, 'N');

2205: aso_debug_pub.add('Populate_Quote_lines: l_start_date: '|| l_start_date, 1, 'N');
2206: aso_debug_pub.add('Populate_Quote_lines: l_end_date: '|| l_end_date, 1, 'N');
2207: aso_debug_pub.add('Populate_Quote_lines: l_service_duration: '|| l_service_duration, 1, 'N');
2208: aso_debug_pub.add('Populate_Quote_lines: l_service_period: '|| l_service_period, 1, 'N');
2209: aso_debug_pub.add('Populate_Quote_lines: l_coterminate_flag: '|| l_coterminate_flag, 1, 'N');
2210: aso_debug_pub.add('Populate_Quote_lines: l_customer_id: '|| l_customer_id, 1, 'N');
2211: aso_debug_pub.add('Populate_Quote_lines: l_party: '|| l_party, 1, 'N');
2212: aso_debug_pub.add('Populate_Quote_lines:Update :before call to ASO_SERVICE_CONTRACTS_INT.Get_service_attributes', 1, 'N');
2213: END IF;

Line 2210: aso_debug_pub.add('Populate_Quote_lines: l_customer_id: '|| l_customer_id, 1, 'N');

2206: aso_debug_pub.add('Populate_Quote_lines: l_end_date: '|| l_end_date, 1, 'N');
2207: aso_debug_pub.add('Populate_Quote_lines: l_service_duration: '|| l_service_duration, 1, 'N');
2208: aso_debug_pub.add('Populate_Quote_lines: l_service_period: '|| l_service_period, 1, 'N');
2209: aso_debug_pub.add('Populate_Quote_lines: l_coterminate_flag: '|| l_coterminate_flag, 1, 'N');
2210: aso_debug_pub.add('Populate_Quote_lines: l_customer_id: '|| l_customer_id, 1, 'N');
2211: aso_debug_pub.add('Populate_Quote_lines: l_party: '|| l_party, 1, 'N');
2212: aso_debug_pub.add('Populate_Quote_lines:Update :before call to ASO_SERVICE_CONTRACTS_INT.Get_service_attributes', 1, 'N');
2213: END IF;
2214:

Line 2211: aso_debug_pub.add('Populate_Quote_lines: l_party: '|| l_party, 1, 'N');

2207: aso_debug_pub.add('Populate_Quote_lines: l_service_duration: '|| l_service_duration, 1, 'N');
2208: aso_debug_pub.add('Populate_Quote_lines: l_service_period: '|| l_service_period, 1, 'N');
2209: aso_debug_pub.add('Populate_Quote_lines: l_coterminate_flag: '|| l_coterminate_flag, 1, 'N');
2210: aso_debug_pub.add('Populate_Quote_lines: l_customer_id: '|| l_customer_id, 1, 'N');
2211: aso_debug_pub.add('Populate_Quote_lines: l_party: '|| l_party, 1, 'N');
2212: aso_debug_pub.add('Populate_Quote_lines:Update :before call to ASO_SERVICE_CONTRACTS_INT.Get_service_attributes', 1, 'N');
2213: END IF;
2214:
2215: ASO_SERVICE_CONTRACTS_INT.Get_service_attributes( P_Api_Version_Number => 1,

Line 2212: aso_debug_pub.add('Populate_Quote_lines:Update :before call to ASO_SERVICE_CONTRACTS_INT.Get_service_attributes', 1, 'N');

2208: aso_debug_pub.add('Populate_Quote_lines: l_service_period: '|| l_service_period, 1, 'N');
2209: aso_debug_pub.add('Populate_Quote_lines: l_coterminate_flag: '|| l_coterminate_flag, 1, 'N');
2210: aso_debug_pub.add('Populate_Quote_lines: l_customer_id: '|| l_customer_id, 1, 'N');
2211: aso_debug_pub.add('Populate_Quote_lines: l_party: '|| l_party, 1, 'N');
2212: aso_debug_pub.add('Populate_Quote_lines:Update :before call to ASO_SERVICE_CONTRACTS_INT.Get_service_attributes', 1, 'N');
2213: END IF;
2214:
2215: ASO_SERVICE_CONTRACTS_INT.Get_service_attributes( P_Api_Version_Number => 1,
2216: P_init_msg_list => FND_API.G_FALSE,

Line 2223: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2219: X_msg_Count => X_msg_Count,
2220: X_msg_Data => X_msg_Data,
2221: X_Return_Status => X_Return_Status );
2222:
2223: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2224: aso_debug_pub.add('Populate_Quote_lines:after call to Get_service_attributes: X_Return_Status: '|| X_Return_Status, 1, 'N');
2225: end if;
2226:
2227: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 2224: aso_debug_pub.add('Populate_Quote_lines:after call to Get_service_attributes: X_Return_Status: '|| X_Return_Status, 1, 'N');

2220: X_msg_Data => X_msg_Data,
2221: X_Return_Status => X_Return_Status );
2222:
2223: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2224: aso_debug_pub.add('Populate_Quote_lines:after call to Get_service_attributes: X_Return_Status: '|| X_Return_Status, 1, 'N');
2225: end if;
2226:
2227: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2228: RAISE FND_API.G_EXC_ERROR;

Line 2233: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2229: END IF;
2230:
2231: --print the input parameter values
2232:
2233: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2234:
2235: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_rec.start_date_active: '|| p_qte_line_rec.start_date_active, 1, 'N');
2236: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_rec.end_date_active: '|| p_qte_line_rec.end_date_active, 1, 'N');
2237: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count, 1, 'N');

Line 2235: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_rec.start_date_active: '|| p_qte_line_rec.start_date_active, 1, 'N');

2231: --print the input parameter values
2232:
2233: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2234:
2235: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_rec.start_date_active: '|| p_qte_line_rec.start_date_active, 1, 'N');
2236: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_rec.end_date_active: '|| p_qte_line_rec.end_date_active, 1, 'N');
2237: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count, 1, 'N');
2238:
2239: IF l_qte_line_dtl_tbl.count > 0 THEN

Line 2236: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_rec.end_date_active: '|| p_qte_line_rec.end_date_active, 1, 'N');

2232:
2233: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2234:
2235: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_rec.start_date_active: '|| p_qte_line_rec.start_date_active, 1, 'N');
2236: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_rec.end_date_active: '|| p_qte_line_rec.end_date_active, 1, 'N');
2237: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count, 1, 'N');
2238:
2239: IF l_qte_line_dtl_tbl.count > 0 THEN
2240:

Line 2237: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count, 1, 'N');

2233: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2234:
2235: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_rec.start_date_active: '|| p_qte_line_rec.start_date_active, 1, 'N');
2236: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_rec.end_date_active: '|| p_qte_line_rec.end_date_active, 1, 'N');
2237: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count, 1, 'N');
2238:
2239: IF l_qte_line_dtl_tbl.count > 0 THEN
2240:
2241: aso_debug_pub.add('p_qte_line_dtl_tbl(1).Service_Duration: '|| p_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');

Line 2241: aso_debug_pub.add('p_qte_line_dtl_tbl(1).Service_Duration: '|| p_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');

2237: aso_debug_pub.add('Populate_Quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count, 1, 'N');
2238:
2239: IF l_qte_line_dtl_tbl.count > 0 THEN
2240:
2241: aso_debug_pub.add('p_qte_line_dtl_tbl(1).Service_Duration: '|| p_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
2242: aso_debug_pub.add('p_qte_line_dtl_tbl(1).service_period: '|| p_qte_line_dtl_tbl(1).service_period, 1, 'N');
2243: aso_debug_pub.add('p_qte_line_dtl_tbl(1).service_coterminate_flag: '|| p_qte_line_dtl_tbl(1).service_coterminate_flag, 1, 'N');
2244:
2245: end if;

Line 2242: aso_debug_pub.add('p_qte_line_dtl_tbl(1).service_period: '|| p_qte_line_dtl_tbl(1).service_period, 1, 'N');

2238:
2239: IF l_qte_line_dtl_tbl.count > 0 THEN
2240:
2241: aso_debug_pub.add('p_qte_line_dtl_tbl(1).Service_Duration: '|| p_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
2242: aso_debug_pub.add('p_qte_line_dtl_tbl(1).service_period: '|| p_qte_line_dtl_tbl(1).service_period, 1, 'N');
2243: aso_debug_pub.add('p_qte_line_dtl_tbl(1).service_coterminate_flag: '|| p_qte_line_dtl_tbl(1).service_coterminate_flag, 1, 'N');
2244:
2245: end if;
2246:

Line 2243: aso_debug_pub.add('p_qte_line_dtl_tbl(1).service_coterminate_flag: '|| p_qte_line_dtl_tbl(1).service_coterminate_flag, 1, 'N');

2239: IF l_qte_line_dtl_tbl.count > 0 THEN
2240:
2241: aso_debug_pub.add('p_qte_line_dtl_tbl(1).Service_Duration: '|| p_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
2242: aso_debug_pub.add('p_qte_line_dtl_tbl(1).service_period: '|| p_qte_line_dtl_tbl(1).service_period, 1, 'N');
2243: aso_debug_pub.add('p_qte_line_dtl_tbl(1).service_coterminate_flag: '|| p_qte_line_dtl_tbl(1).service_coterminate_flag, 1, 'N');
2244:
2245: end if;
2246:
2247: END IF;

Line 2252: if aso_debug_pub.g_debug_flag = 'Y' then

2248:
2249:
2250: --Now check which service attribute value has changed
2251:
2252: if aso_debug_pub.g_debug_flag = 'Y' then
2253: aso_debug_pub.add('Populate_quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count, 1, 'N');
2254: end if;
2255:
2256: if p_qte_line_dtl_tbl.count = 0 then

Line 2253: aso_debug_pub.add('Populate_quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count, 1, 'N');

2249:
2250: --Now check which service attribute value has changed
2251:
2252: if aso_debug_pub.g_debug_flag = 'Y' then
2253: aso_debug_pub.add('Populate_quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count, 1, 'N');
2254: end if;
2255:
2256: if p_qte_line_dtl_tbl.count = 0 then
2257:

Line 2260: if aso_debug_pub.g_debug_flag = 'Y' then

2256: if p_qte_line_dtl_tbl.count = 0 then
2257:
2258: l_qte_line_dtl_tbl := aso_utility_pvt.Query_Line_Dtl_Rows(l_qte_line_rec.quote_line_id);
2259:
2260: if aso_debug_pub.g_debug_flag = 'Y' then
2261: aso_debug_pub.add('After querying line detail tbl from db: l_qte_line_dtl_tbl.count: '|| l_qte_line_dtl_tbl.count, 1, 'N');
2262: end if;
2263:
2264: if l_qte_line_dtl_tbl.count = 0 then

Line 2261: aso_debug_pub.add('After querying line detail tbl from db: l_qte_line_dtl_tbl.count: '|| l_qte_line_dtl_tbl.count, 1, 'N');

2257:
2258: l_qte_line_dtl_tbl := aso_utility_pvt.Query_Line_Dtl_Rows(l_qte_line_rec.quote_line_id);
2259:
2260: if aso_debug_pub.g_debug_flag = 'Y' then
2261: aso_debug_pub.add('After querying line detail tbl from db: l_qte_line_dtl_tbl.count: '|| l_qte_line_dtl_tbl.count, 1, 'N');
2262: end if;
2263:
2264: if l_qte_line_dtl_tbl.count = 0 then
2265:

Line 2281: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2277: end if;
2278:
2279: end if;
2280:
2281: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2282: aso_debug_pub.add('Populate_quote_lines: l_qte_line_rec.start_date_active: '|| l_qte_line_rec.start_date_active,1,'N');
2283: aso_debug_pub.add('Populate_quote_lines: l_qte_line_rec.end_date_active: '|| l_qte_line_rec.end_date_active,1,'N');
2284: end if;
2285:

Line 2282: aso_debug_pub.add('Populate_quote_lines: l_qte_line_rec.start_date_active: '|| l_qte_line_rec.start_date_active,1,'N');

2278:
2279: end if;
2280:
2281: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2282: aso_debug_pub.add('Populate_quote_lines: l_qte_line_rec.start_date_active: '|| l_qte_line_rec.start_date_active,1,'N');
2283: aso_debug_pub.add('Populate_quote_lines: l_qte_line_rec.end_date_active: '|| l_qte_line_rec.end_date_active,1,'N');
2284: end if;
2285:
2286: IF p_qte_line_rec.start_date_active = FND_API.G_MISS_DATE THEN

Line 2283: aso_debug_pub.add('Populate_quote_lines: l_qte_line_rec.end_date_active: '|| l_qte_line_rec.end_date_active,1,'N');

2279: end if;
2280:
2281: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2282: aso_debug_pub.add('Populate_quote_lines: l_qte_line_rec.start_date_active: '|| l_qte_line_rec.start_date_active,1,'N');
2283: aso_debug_pub.add('Populate_quote_lines: l_qte_line_rec.end_date_active: '|| l_qte_line_rec.end_date_active,1,'N');
2284: end if;
2285:
2286: IF p_qte_line_rec.start_date_active = FND_API.G_MISS_DATE THEN
2287: l_qte_line_rec.start_date_active := l_start_date;

Line 2294: if aso_debug_pub.g_debug_flag = 'Y' then

2290: IF p_qte_line_rec.end_date_active = FND_API.G_MISS_DATE THEN
2291: l_qte_line_rec.end_date_active := null;
2292: END IF;
2293:
2294: if aso_debug_pub.g_debug_flag = 'Y' then
2295: aso_debug_pub.add('Populate_quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count, 1, 'N');
2296: end if;
2297:
2298: if p_qte_line_dtl_tbl.count > 0 then

Line 2295: aso_debug_pub.add('Populate_quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count, 1, 'N');

2291: l_qte_line_rec.end_date_active := null;
2292: END IF;
2293:
2294: if aso_debug_pub.g_debug_flag = 'Y' then
2295: aso_debug_pub.add('Populate_quote_lines: p_qte_line_dtl_tbl.count: '|| p_qte_line_dtl_tbl.count, 1, 'N');
2296: end if;
2297:
2298: if p_qte_line_dtl_tbl.count > 0 then
2299:

Line 2318: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2314: IF l_customer_id is NULL OR l_customer_id = FND_API.G_MISS_NUM THEN
2315: l_customer_id := l_party;
2316: END IF;
2317:
2318: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2319: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration,1,'N');
2320: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_period: '|| l_qte_line_dtl_tbl(1).Service_period,1,'N');
2321: aso_debug_pub.add('l_qte_line_dtl_tbl(1).service_coterminate_flag: '|| l_qte_line_dtl_tbl(1).service_coterminate_flag,1,'N');
2322: aso_debug_pub.add('Populate_quote_lines: Before call to Get_Duration: l_call_get_duration: '||l_call_get_duration,1,'N');

Line 2319: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration,1,'N');

2315: l_customer_id := l_party;
2316: END IF;
2317:
2318: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2319: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration,1,'N');
2320: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_period: '|| l_qte_line_dtl_tbl(1).Service_period,1,'N');
2321: aso_debug_pub.add('l_qte_line_dtl_tbl(1).service_coterminate_flag: '|| l_qte_line_dtl_tbl(1).service_coterminate_flag,1,'N');
2322: aso_debug_pub.add('Populate_quote_lines: Before call to Get_Duration: l_call_get_duration: '||l_call_get_duration,1,'N');
2323: end if;

Line 2320: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_period: '|| l_qte_line_dtl_tbl(1).Service_period,1,'N');

2316: END IF;
2317:
2318: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2319: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration,1,'N');
2320: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_period: '|| l_qte_line_dtl_tbl(1).Service_period,1,'N');
2321: aso_debug_pub.add('l_qte_line_dtl_tbl(1).service_coterminate_flag: '|| l_qte_line_dtl_tbl(1).service_coterminate_flag,1,'N');
2322: aso_debug_pub.add('Populate_quote_lines: Before call to Get_Duration: l_call_get_duration: '||l_call_get_duration,1,'N');
2323: end if;
2324:

Line 2321: aso_debug_pub.add('l_qte_line_dtl_tbl(1).service_coterminate_flag: '|| l_qte_line_dtl_tbl(1).service_coterminate_flag,1,'N');

2317:
2318: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2319: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration,1,'N');
2320: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_period: '|| l_qte_line_dtl_tbl(1).Service_period,1,'N');
2321: aso_debug_pub.add('l_qte_line_dtl_tbl(1).service_coterminate_flag: '|| l_qte_line_dtl_tbl(1).service_coterminate_flag,1,'N');
2322: aso_debug_pub.add('Populate_quote_lines: Before call to Get_Duration: l_call_get_duration: '||l_call_get_duration,1,'N');
2323: end if;
2324:
2325:

Line 2322: aso_debug_pub.add('Populate_quote_lines: Before call to Get_Duration: l_call_get_duration: '||l_call_get_duration,1,'N');

2318: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2319: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration,1,'N');
2320: aso_debug_pub.add('Populate_quote_lines: l_qte_line_dtl_tbl(1).Service_period: '|| l_qte_line_dtl_tbl(1).Service_period,1,'N');
2321: aso_debug_pub.add('l_qte_line_dtl_tbl(1).service_coterminate_flag: '|| l_qte_line_dtl_tbl(1).service_coterminate_flag,1,'N');
2322: aso_debug_pub.add('Populate_quote_lines: Before call to Get_Duration: l_call_get_duration: '||l_call_get_duration,1,'N');
2323: end if;
2324:
2325:
2326: ASO_Service_Contracts_INT.Get_Duration(

Line 2346: if aso_debug_pub.g_debug_flag = 'Y' then

2342: l_qte_line_dtl_tbl(1).Service_Duration := l_qte_line_dtl_tbl_out(1).Service_Duration;
2343: l_qte_line_dtl_tbl(1).service_period := l_qte_line_dtl_tbl_out(1).service_period;
2344: l_qte_line_rec.end_date_active := l_qte_line_rec_out.end_date_active;
2345:
2346: if aso_debug_pub.g_debug_flag = 'Y' then
2347: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
2348: aso_debug_pub.add('l_qte_line_rec.end_date_active: '|| l_qte_line_rec.end_date_active, 1, 'N');
2349: aso_debug_pub.add('l_qte_line_dtl_tbl(1).service_period: '|| l_qte_line_dtl_tbl(1).service_period, 1, 'N');
2350: aso_debug_pub.add('l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');

Line 2347: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');

2343: l_qte_line_dtl_tbl(1).service_period := l_qte_line_dtl_tbl_out(1).service_period;
2344: l_qte_line_rec.end_date_active := l_qte_line_rec_out.end_date_active;
2345:
2346: if aso_debug_pub.g_debug_flag = 'Y' then
2347: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
2348: aso_debug_pub.add('l_qte_line_rec.end_date_active: '|| l_qte_line_rec.end_date_active, 1, 'N');
2349: aso_debug_pub.add('l_qte_line_dtl_tbl(1).service_period: '|| l_qte_line_dtl_tbl(1).service_period, 1, 'N');
2350: aso_debug_pub.add('l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
2351: end if;

Line 2348: aso_debug_pub.add('l_qte_line_rec.end_date_active: '|| l_qte_line_rec.end_date_active, 1, 'N');

2344: l_qte_line_rec.end_date_active := l_qte_line_rec_out.end_date_active;
2345:
2346: if aso_debug_pub.g_debug_flag = 'Y' then
2347: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
2348: aso_debug_pub.add('l_qte_line_rec.end_date_active: '|| l_qte_line_rec.end_date_active, 1, 'N');
2349: aso_debug_pub.add('l_qte_line_dtl_tbl(1).service_period: '|| l_qte_line_dtl_tbl(1).service_period, 1, 'N');
2350: aso_debug_pub.add('l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
2351: end if;
2352:

Line 2349: aso_debug_pub.add('l_qte_line_dtl_tbl(1).service_period: '|| l_qte_line_dtl_tbl(1).service_period, 1, 'N');

2345:
2346: if aso_debug_pub.g_debug_flag = 'Y' then
2347: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
2348: aso_debug_pub.add('l_qte_line_rec.end_date_active: '|| l_qte_line_rec.end_date_active, 1, 'N');
2349: aso_debug_pub.add('l_qte_line_dtl_tbl(1).service_period: '|| l_qte_line_dtl_tbl(1).service_period, 1, 'N');
2350: aso_debug_pub.add('l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
2351: end if;
2352:
2353: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 2350: aso_debug_pub.add('l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');

2346: if aso_debug_pub.g_debug_flag = 'Y' then
2347: aso_debug_pub.add('Populate_Quote_lines: After call to ASO Get_Duration x_return_status: '||X_Return_Status, 1, 'N');
2348: aso_debug_pub.add('l_qte_line_rec.end_date_active: '|| l_qte_line_rec.end_date_active, 1, 'N');
2349: aso_debug_pub.add('l_qte_line_dtl_tbl(1).service_period: '|| l_qte_line_dtl_tbl(1).service_period, 1, 'N');
2350: aso_debug_pub.add('l_qte_line_dtl_tbl(1).Service_Duration: '|| l_qte_line_dtl_tbl(1).Service_Duration, 1, 'N');
2351: end if;
2352:
2353: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2354: RAISE FND_API.G_EXC_ERROR;

Line 2371: if aso_debug_pub.g_debug_flag = 'Y' then

2367:
2368: OPEN c_line_number(l_qte_line_dtl_tbl(1).service_ref_line_id);
2369: FETCH c_line_number INTO l_serviceable_line_number;
2370:
2371: if aso_debug_pub.g_debug_flag = 'Y' then
2372: aso_debug_pub.add('Populate_quote_lines: l_serviceable_line_number: '|| l_serviceable_line_number);
2373: end if;
2374:
2375: IF c_line_number%FOUND AND l_serviceable_line_number IS NOT NULL THEN

Line 2372: aso_debug_pub.add('Populate_quote_lines: l_serviceable_line_number: '|| l_serviceable_line_number);

2368: OPEN c_line_number(l_qte_line_dtl_tbl(1).service_ref_line_id);
2369: FETCH c_line_number INTO l_serviceable_line_number;
2370:
2371: if aso_debug_pub.g_debug_flag = 'Y' then
2372: aso_debug_pub.add('Populate_quote_lines: l_serviceable_line_number: '|| l_serviceable_line_number);
2373: end if;
2374:
2375: IF c_line_number%FOUND AND l_serviceable_line_number IS NOT NULL THEN
2376: l_qte_line_rec.line_number := l_serviceable_line_number;

Line 2378: if aso_debug_pub.g_debug_flag = 'Y' then

2374:
2375: IF c_line_number%FOUND AND l_serviceable_line_number IS NOT NULL THEN
2376: l_qte_line_rec.line_number := l_serviceable_line_number;
2377: ELSE
2378: if aso_debug_pub.g_debug_flag = 'Y' then
2379: aso_debug_pub.add('Line Number does not exist for the serviceable item of the service');
2380: end if;
2381: END IF;
2382:

Line 2379: aso_debug_pub.add('Line Number does not exist for the serviceable item of the service');

2375: IF c_line_number%FOUND AND l_serviceable_line_number IS NOT NULL THEN
2376: l_qte_line_rec.line_number := l_serviceable_line_number;
2377: ELSE
2378: if aso_debug_pub.g_debug_flag = 'Y' then
2379: aso_debug_pub.add('Line Number does not exist for the serviceable item of the service');
2380: end if;
2381: END IF;
2382:
2383: CLOSE c_line_number;

Line 2396: if aso_debug_pub.g_debug_flag = 'Y' then

2392: --populate the config_item_id and bom_sort_order column values from cz_config_details_v
2393: --view if the calling application is passing config_header_id, config_revision_num and
2394: --component_code values. Fix for Bug#2980130
2395:
2396: if aso_debug_pub.g_debug_flag = 'Y' then
2397:
2398: aso_debug_pub.add('Before populating config_item_id,bom_sort_order. Operation_code = UPDATE');
2399: aso_debug_pub.add('l_qte_line_dtl_tbl.count: ' || l_qte_line_dtl_tbl.count);
2400:

Line 2398: aso_debug_pub.add('Before populating config_item_id,bom_sort_order. Operation_code = UPDATE');

2394: --component_code values. Fix for Bug#2980130
2395:
2396: if aso_debug_pub.g_debug_flag = 'Y' then
2397:
2398: aso_debug_pub.add('Before populating config_item_id,bom_sort_order. Operation_code = UPDATE');
2399: aso_debug_pub.add('l_qte_line_dtl_tbl.count: ' || l_qte_line_dtl_tbl.count);
2400:
2401: end if;
2402:

Line 2399: aso_debug_pub.add('l_qte_line_dtl_tbl.count: ' || l_qte_line_dtl_tbl.count);

2395:
2396: if aso_debug_pub.g_debug_flag = 'Y' then
2397:
2398: aso_debug_pub.add('Before populating config_item_id,bom_sort_order. Operation_code = UPDATE');
2399: aso_debug_pub.add('l_qte_line_dtl_tbl.count: ' || l_qte_line_dtl_tbl.count);
2400:
2401: end if;
2402:
2403: for i in 1 .. l_qte_line_dtl_tbl.count loop

Line 2405: if aso_debug_pub.g_debug_flag = 'Y' then

2401: end if;
2402:
2403: for i in 1 .. l_qte_line_dtl_tbl.count loop
2404:
2405: if aso_debug_pub.g_debug_flag = 'Y' then
2406:
2407: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);
2408: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);
2409: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);

Line 2407: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);

2403: for i in 1 .. l_qte_line_dtl_tbl.count loop
2404:
2405: if aso_debug_pub.g_debug_flag = 'Y' then
2406:
2407: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);
2408: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);
2409: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);
2410: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
2411: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);

Line 2408: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);

2404:
2405: if aso_debug_pub.g_debug_flag = 'Y' then
2406:
2407: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);
2408: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);
2409: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);
2410: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
2411: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
2412:

Line 2409: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);

2405: if aso_debug_pub.g_debug_flag = 'Y' then
2406:
2407: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);
2408: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);
2409: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);
2410: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
2411: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
2412:
2413: end if;

Line 2410: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);

2406:
2407: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);
2408: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);
2409: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);
2410: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
2411: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
2412:
2413: end if;
2414:

Line 2411: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);

2407: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_header_id: '||l_qte_line_dtl_tbl(i).config_header_id);
2408: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_revision_num: '||l_qte_line_dtl_tbl(i).config_revision_num);
2409: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').component_code: '||l_qte_line_dtl_tbl(i).component_code);
2410: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
2411: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
2412:
2413: end if;
2414:
2415: if ( l_qte_line_dtl_tbl(i).config_header_id is not null and

Line 2433: if aso_debug_pub.g_debug_flag = 'Y' then

2429:
2430: fetch c_config_item_id into l_qte_line_dtl_tbl(i).config_item_id,
2431: l_qte_line_dtl_tbl(i).bom_sort_order;
2432:
2433: if aso_debug_pub.g_debug_flag = 'Y' then
2434:
2435: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
2436: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
2437:

Line 2435: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);

2431: l_qte_line_dtl_tbl(i).bom_sort_order;
2432:
2433: if aso_debug_pub.g_debug_flag = 'Y' then
2434:
2435: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
2436: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
2437:
2438: end if;
2439:

Line 2436: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);

2432:
2433: if aso_debug_pub.g_debug_flag = 'Y' then
2434:
2435: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').config_item_id: '||l_qte_line_dtl_tbl(i).config_item_id);
2436: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
2437:
2438: end if;
2439:
2440: if c_config_item_id%notfound then

Line 2442: if aso_debug_pub.g_debug_flag = 'Y' then

2438: end if;
2439:
2440: if c_config_item_id%notfound then
2441:
2442: if aso_debug_pub.g_debug_flag = 'Y' then
2443: aso_debug_pub.add('Inside c_config_item_id%notfound cond.');
2444: end if;
2445:
2446: close c_config_item_id;

Line 2443: aso_debug_pub.add('Inside c_config_item_id%notfound cond.');

2439:
2440: if c_config_item_id%notfound then
2441:
2442: if aso_debug_pub.g_debug_flag = 'Y' then
2443: aso_debug_pub.add('Inside c_config_item_id%notfound cond.');
2444: end if;
2445:
2446: close c_config_item_id;
2447: raise fnd_api.g_exc_error;

Line 2462: if aso_debug_pub.g_debug_flag = 'Y' then

2458: l_qte_line_dtl_tbl(i).config_item_id );
2459:
2460: fetch c_bom_sort_order into l_qte_line_dtl_tbl(i).bom_sort_order;
2461:
2462: if aso_debug_pub.g_debug_flag = 'Y' then
2463:
2464: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
2465:
2466: end if;

Line 2464: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);

2460: fetch c_bom_sort_order into l_qte_line_dtl_tbl(i).bom_sort_order;
2461:
2462: if aso_debug_pub.g_debug_flag = 'Y' then
2463:
2464: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').bom_sort_order: '||l_qte_line_dtl_tbl(i).bom_sort_order);
2465:
2466: end if;
2467:
2468: if c_bom_sort_order%notfound then

Line 2470: if aso_debug_pub.g_debug_flag = 'Y' then

2466: end if;
2467:
2468: if c_bom_sort_order%notfound then
2469:
2470: if aso_debug_pub.g_debug_flag = 'Y' then
2471: aso_debug_pub.add('Inside c_bom_sort_order%notfound cond.');
2472: end if;
2473:
2474: close c_bom_sort_order;

Line 2471: aso_debug_pub.add('Inside c_bom_sort_order%notfound cond.');

2467:
2468: if c_bom_sort_order%notfound then
2469:
2470: if aso_debug_pub.g_debug_flag = 'Y' then
2471: aso_debug_pub.add('Inside c_bom_sort_order%notfound cond.');
2472: end if;
2473:
2474: close c_bom_sort_order;
2475: raise fnd_api.g_exc_error;

Line 2492: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2488:
2489: END IF; -- operation code 'update'
2490:
2491:
2492: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2493: aso_debug_pub.add('Populate_Quote_lines:Update :after update '||X_Return_Status, 1, 'N');
2494: end if;
2495:
2496:

Line 2493: aso_debug_pub.add('Populate_Quote_lines:Update :after update '||X_Return_Status, 1, 'N');

2489: END IF; -- operation code 'update'
2490:
2491:
2492: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2493: aso_debug_pub.add('Populate_Quote_lines:Update :after update '||X_Return_Status, 1, 'N');
2494: end if;
2495:
2496:
2497: X_Qte_Line_Rec := l_qte_line_rec;

Line 2769: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2765:
2766: -- Initialize API return status to SUCCESS
2767: x_return_status := FND_API.G_RET_STS_SUCCESS;
2768:
2769: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2770: aso_debug_pub.add('Create_Quote_lines - Begin ', 1, 'Y');
2771: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
2772: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
2773: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');

Line 2770: aso_debug_pub.add('Create_Quote_lines - Begin ', 1, 'Y');

2766: -- Initialize API return status to SUCCESS
2767: x_return_status := FND_API.G_RET_STS_SUCCESS;
2768:
2769: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2770: aso_debug_pub.add('Create_Quote_lines - Begin ', 1, 'Y');
2771: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
2772: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
2773: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
2774: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');

Line 2771: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');

2767: x_return_status := FND_API.G_RET_STS_SUCCESS;
2768:
2769: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2770: aso_debug_pub.add('Create_Quote_lines - Begin ', 1, 'Y');
2771: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
2772: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
2773: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
2774: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
2775: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');

Line 2772: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');

2768:
2769: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2770: aso_debug_pub.add('Create_Quote_lines - Begin ', 1, 'Y');
2771: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
2772: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
2773: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
2774: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
2775: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
2776: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');

Line 2773: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');

2769: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2770: aso_debug_pub.add('Create_Quote_lines - Begin ', 1, 'Y');
2771: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
2772: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
2773: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
2774: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
2775: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
2776: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
2777: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');

Line 2774: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');

2770: aso_debug_pub.add('Create_Quote_lines - Begin ', 1, 'Y');
2771: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
2772: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
2773: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
2774: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
2775: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
2776: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
2777: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
2778: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');

Line 2775: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');

2771: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
2772: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
2773: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
2774: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
2775: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
2776: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
2777: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
2778: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
2779: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');

Line 2776: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');

2772: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
2773: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
2774: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
2775: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
2776: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
2777: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
2778: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
2779: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
2780: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');

Line 2777: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');

2773: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
2774: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
2775: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
2776: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
2777: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
2778: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
2779: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
2780: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
2781: --aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(P_Qte_Line_Rec.QUOTE_LINE_ID,'null'),1,'N');

Line 2778: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');

2774: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
2775: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
2776: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
2777: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
2778: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
2779: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
2780: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
2781: --aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(P_Qte_Line_Rec.QUOTE_LINE_ID,'null'),1,'N');
2782: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');

Line 2779: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');

2775: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
2776: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
2777: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
2778: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
2779: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
2780: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
2781: --aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(P_Qte_Line_Rec.QUOTE_LINE_ID,'null'),1,'N');
2782: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
2783: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');

Line 2780: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');

2776: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
2777: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
2778: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
2779: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
2780: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
2781: --aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(P_Qte_Line_Rec.QUOTE_LINE_ID,'null'),1,'N');
2782: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
2783: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
2784: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');

Line 2781: --aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(P_Qte_Line_Rec.QUOTE_LINE_ID,'null'),1,'N');

2777: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
2778: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
2779: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
2780: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
2781: --aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(P_Qte_Line_Rec.QUOTE_LINE_ID,'null'),1,'N');
2782: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
2783: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
2784: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
2785: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');

Line 2782: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');

2778: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
2779: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
2780: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
2781: --aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(P_Qte_Line_Rec.QUOTE_LINE_ID,'null'),1,'N');
2782: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
2783: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
2784: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
2785: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
2786: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');

Line 2783: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');

2779: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
2780: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
2781: --aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(P_Qte_Line_Rec.QUOTE_LINE_ID,'null'),1,'N');
2782: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
2783: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
2784: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
2785: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
2786: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
2787: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');

Line 2784: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');

2780: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
2781: --aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(P_Qte_Line_Rec.QUOTE_LINE_ID,'null'),1,'N');
2782: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
2783: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
2784: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
2785: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
2786: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
2787: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
2788: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');

Line 2785: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');

2781: --aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(P_Qte_Line_Rec.QUOTE_LINE_ID,'null'),1,'N');
2782: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
2783: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
2784: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
2785: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
2786: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
2787: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
2788: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
2789: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');

Line 2786: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');

2782: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
2783: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
2784: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
2785: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
2786: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
2787: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
2788: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
2789: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
2790: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');

Line 2787: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');

2783: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
2784: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
2785: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
2786: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
2787: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
2788: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
2789: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
2790: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
2791: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');

Line 2788: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');

2784: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
2785: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
2786: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
2787: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
2788: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
2789: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
2790: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
2791: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
2792: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');

Line 2789: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');

2785: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
2786: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
2787: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
2788: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
2789: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
2790: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
2791: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
2792: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
2793: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');

Line 2790: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');

2786: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
2787: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
2788: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
2789: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
2790: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
2791: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
2792: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
2793: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
2794: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');

Line 2791: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');

2787: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
2788: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
2789: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
2790: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
2791: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
2792: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
2793: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
2794: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
2795: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');

Line 2792: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');

2788: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
2789: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
2790: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
2791: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
2792: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
2793: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
2794: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
2795: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
2796: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');

Line 2793: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');

2789: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
2790: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
2791: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
2792: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
2793: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
2794: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
2795: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
2796: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
2797: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));

Line 2794: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');

2790: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
2791: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
2792: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
2793: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
2794: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
2795: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
2796: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
2797: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));
2798: end if;

Line 2795: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');

2791: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
2792: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
2793: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
2794: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
2795: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
2796: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
2797: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));
2798: end if;
2799: --

Line 2796: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');

2792: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
2793: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
2794: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
2795: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
2796: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
2797: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));
2798: end if;
2799: --
2800: -- API body

Line 2797: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));

2793: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
2794: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
2795: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
2796: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
2797: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));
2798: end if;
2799: --
2800: -- API body
2801: --

Line 2823: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2819:
2820: Open C_Get_quote( p_qte_line_rec.QUOTE_HEADER_ID);
2821: Fetch C_Get_quote into l_LAST_UPDATE_DATE, l_qte_status_id, l_quote_number, l_hd_discount_percent;
2822:
2823: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2824: aso_debug_pub.add('After c_get_quote',1,'N');
2825: aso_debug_pub.add('l_qte_status_id: '||nvl(to_char(l_qte_status_id),'null'),1,'N');
2826: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
2827: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');

Line 2824: aso_debug_pub.add('After c_get_quote',1,'N');

2820: Open C_Get_quote( p_qte_line_rec.QUOTE_HEADER_ID);
2821: Fetch C_Get_quote into l_LAST_UPDATE_DATE, l_qte_status_id, l_quote_number, l_hd_discount_percent;
2822:
2823: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2824: aso_debug_pub.add('After c_get_quote',1,'N');
2825: aso_debug_pub.add('l_qte_status_id: '||nvl(to_char(l_qte_status_id),'null'),1,'N');
2826: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
2827: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');
2828: end if;

Line 2825: aso_debug_pub.add('l_qte_status_id: '||nvl(to_char(l_qte_status_id),'null'),1,'N');

2821: Fetch C_Get_quote into l_LAST_UPDATE_DATE, l_qte_status_id, l_quote_number, l_hd_discount_percent;
2822:
2823: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2824: aso_debug_pub.add('After c_get_quote',1,'N');
2825: aso_debug_pub.add('l_qte_status_id: '||nvl(to_char(l_qte_status_id),'null'),1,'N');
2826: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
2827: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');
2828: end if;
2829:

Line 2826: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');

2822:
2823: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2824: aso_debug_pub.add('After c_get_quote',1,'N');
2825: aso_debug_pub.add('l_qte_status_id: '||nvl(to_char(l_qte_status_id),'null'),1,'N');
2826: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
2827: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');
2828: end if;
2829:
2830:

Line 2827: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');

2823: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2824: aso_debug_pub.add('After c_get_quote',1,'N');
2825: aso_debug_pub.add('l_qte_status_id: '||nvl(to_char(l_qte_status_id),'null'),1,'N');
2826: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
2827: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');
2828: end if;
2829:
2830:
2831: If ( C_Get_quote%NOTFOUND) Then

Line 2842: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2838: raise FND_API.G_EXC_ERROR;
2839: END IF;
2840: Close C_Get_quote;
2841:
2842: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2843: aso_debug_pub.add('After C_Get_quote Cursor call ',1,'N');
2844: end if;
2845:
2846: If (l_last_update_date is NULL or l_last_update_date = FND_API.G_MISS_Date ) Then

Line 2843: aso_debug_pub.add('After C_Get_quote Cursor call ',1,'N');

2839: END IF;
2840: Close C_Get_quote;
2841:
2842: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2843: aso_debug_pub.add('After C_Get_quote Cursor call ',1,'N');
2844: end if;
2845:
2846: If (l_last_update_date is NULL or l_last_update_date = FND_API.G_MISS_Date ) Then
2847: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 2866: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2862: END IF;
2863: raise FND_API.G_EXC_ERROR;
2864: End if;
2865:
2866: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2867: aso_debug_pub.add('After Last update date validation',1,'N');
2868: end if;
2869:
2870: Open c_qte_status (l_qte_status_id);

Line 2867: aso_debug_pub.add('After Last update date validation',1,'N');

2863: raise FND_API.G_EXC_ERROR;
2864: End if;
2865:
2866: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2867: aso_debug_pub.add('After Last update date validation',1,'N');
2868: end if;
2869:
2870: Open c_qte_status (l_qte_status_id);
2871: Fetch C_qte_status into l_update_allowed, l_auto_version;

Line 2873: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2869:
2870: Open c_qte_status (l_qte_status_id);
2871: Fetch C_qte_status into l_update_allowed, l_auto_version;
2872:
2873: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2874: aso_debug_pub.add('after c_qte_status',1,'N');
2875: aso_debug_pub.add('l_update_allowed: '|| nvl(l_update_allowed,'null'),1,'N');
2876: aso_debug_pub.add('l_auto_version: '|| nvl(l_auto_version,'null'),1,'N');
2877: end if;

Line 2874: aso_debug_pub.add('after c_qte_status',1,'N');

2870: Open c_qte_status (l_qte_status_id);
2871: Fetch C_qte_status into l_update_allowed, l_auto_version;
2872:
2873: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2874: aso_debug_pub.add('after c_qte_status',1,'N');
2875: aso_debug_pub.add('l_update_allowed: '|| nvl(l_update_allowed,'null'),1,'N');
2876: aso_debug_pub.add('l_auto_version: '|| nvl(l_auto_version,'null'),1,'N');
2877: end if;
2878:

Line 2875: aso_debug_pub.add('l_update_allowed: '|| nvl(l_update_allowed,'null'),1,'N');

2871: Fetch C_qte_status into l_update_allowed, l_auto_version;
2872:
2873: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2874: aso_debug_pub.add('after c_qte_status',1,'N');
2875: aso_debug_pub.add('l_update_allowed: '|| nvl(l_update_allowed,'null'),1,'N');
2876: aso_debug_pub.add('l_auto_version: '|| nvl(l_auto_version,'null'),1,'N');
2877: end if;
2878:
2879: -- hyang quote_status

Line 2876: aso_debug_pub.add('l_auto_version: '|| nvl(l_auto_version,'null'),1,'N');

2872:
2873: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2874: aso_debug_pub.add('after c_qte_status',1,'N');
2875: aso_debug_pub.add('l_update_allowed: '|| nvl(l_update_allowed,'null'),1,'N');
2876: aso_debug_pub.add('l_auto_version: '|| nvl(l_auto_version,'null'),1,'N');
2877: end if;
2878:
2879: -- hyang quote_status
2880: -- removed checking of update_allowed_flag

Line 2884: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2880: -- removed checking of update_allowed_flag
2881: -- end of hyang quote_status
2882: Close c_qte_status;
2883:
2884: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2885: aso_debug_pub.add('After c_qte_status cursor call',1,'N');
2886: end if;
2887:
2888: --If the control rec does not set auto version to 'Y' then it should not be versioned

Line 2885: aso_debug_pub.add('After c_qte_status cursor call',1,'N');

2881: -- end of hyang quote_status
2882: Close c_qte_status;
2883:
2884: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2885: aso_debug_pub.add('After c_qte_status cursor call',1,'N');
2886: end if;
2887:
2888: --If the control rec does not set auto version to 'Y' then it should not be versioned
2889:

Line 2928: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2924: X_Msg_Count => x_msg_count,
2925: X_Msg_Data => x_msg_data
2926: );
2927:
2928: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2929: aso_debug_pub.add('Create_Quote_Lines: After copy_quote l_return_status: '|| l_return_status);
2930: aso_debug_pub.add('Create_Quote_Lines: After copy_quote x_quote_header_id: '|| x_quote_header_id);
2931: aso_debug_pub.add('Create_Quote_Lines: After copy_quote l_qte_nbr: '|| l_qte_nbr);
2932: end if;

Line 2929: aso_debug_pub.add('Create_Quote_Lines: After copy_quote l_return_status: '|| l_return_status);

2925: X_Msg_Data => x_msg_data
2926: );
2927:
2928: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2929: aso_debug_pub.add('Create_Quote_Lines: After copy_quote l_return_status: '|| l_return_status);
2930: aso_debug_pub.add('Create_Quote_Lines: After copy_quote x_quote_header_id: '|| x_quote_header_id);
2931: aso_debug_pub.add('Create_Quote_Lines: After copy_quote l_qte_nbr: '|| l_qte_nbr);
2932: end if;
2933:

Line 2930: aso_debug_pub.add('Create_Quote_Lines: After copy_quote x_quote_header_id: '|| x_quote_header_id);

2926: );
2927:
2928: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2929: aso_debug_pub.add('Create_Quote_Lines: After copy_quote l_return_status: '|| l_return_status);
2930: aso_debug_pub.add('Create_Quote_Lines: After copy_quote x_quote_header_id: '|| x_quote_header_id);
2931: aso_debug_pub.add('Create_Quote_Lines: After copy_quote l_qte_nbr: '|| l_qte_nbr);
2932: end if;
2933:
2934: IF (l_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

Line 2931: aso_debug_pub.add('Create_Quote_Lines: After copy_quote l_qte_nbr: '|| l_qte_nbr);

2927:
2928: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2929: aso_debug_pub.add('Create_Quote_Lines: After copy_quote l_return_status: '|| l_return_status);
2930: aso_debug_pub.add('Create_Quote_Lines: After copy_quote x_quote_header_id: '|| x_quote_header_id);
2931: aso_debug_pub.add('Create_Quote_Lines: After copy_quote l_qte_nbr: '|| l_qte_nbr);
2932: end if;
2933:
2934: IF (l_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN
2935:

Line 2986: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2982: FETCH c_header_org INTO l_header_org_id,l_quote_type;
2983: CLOSE c_header_org;
2984:
2985:
2986: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2987: aso_debug_pub.add('Create_Quote_Line: l_header_org_id'||l_header_org_id, 1, 'Y');
2988: aso_debug_pub.add('Create_Quote_Line:l_quote_type'||l_quote_type, 1, 'Y');
2989: aso_debug_pub.add('Create_Quote_Line: Before defaulting framework', 1, 'Y');
2990: aso_debug_pub.add('Create_Quote_Line: populate defaulting control record from the line control record', 1, 'Y');

Line 2987: aso_debug_pub.add('Create_Quote_Line: l_header_org_id'||l_header_org_id, 1, 'Y');

2983: CLOSE c_header_org;
2984:
2985:
2986: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2987: aso_debug_pub.add('Create_Quote_Line: l_header_org_id'||l_header_org_id, 1, 'Y');
2988: aso_debug_pub.add('Create_Quote_Line:l_quote_type'||l_quote_type, 1, 'Y');
2989: aso_debug_pub.add('Create_Quote_Line: Before defaulting framework', 1, 'Y');
2990: aso_debug_pub.add('Create_Quote_Line: populate defaulting control record from the line control record', 1, 'Y');
2991: END IF ;

Line 2988: aso_debug_pub.add('Create_Quote_Line:l_quote_type'||l_quote_type, 1, 'Y');

2984:
2985:
2986: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2987: aso_debug_pub.add('Create_Quote_Line: l_header_org_id'||l_header_org_id, 1, 'Y');
2988: aso_debug_pub.add('Create_Quote_Line:l_quote_type'||l_quote_type, 1, 'Y');
2989: aso_debug_pub.add('Create_Quote_Line: Before defaulting framework', 1, 'Y');
2990: aso_debug_pub.add('Create_Quote_Line: populate defaulting control record from the line control record', 1, 'Y');
2991: END IF ;
2992:

Line 2989: aso_debug_pub.add('Create_Quote_Line: Before defaulting framework', 1, 'Y');

2985:
2986: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2987: aso_debug_pub.add('Create_Quote_Line: l_header_org_id'||l_header_org_id, 1, 'Y');
2988: aso_debug_pub.add('Create_Quote_Line:l_quote_type'||l_quote_type, 1, 'Y');
2989: aso_debug_pub.add('Create_Quote_Line: Before defaulting framework', 1, 'Y');
2990: aso_debug_pub.add('Create_Quote_Line: populate defaulting control record from the line control record', 1, 'Y');
2991: END IF ;
2992:
2993: l_def_control_rec.Dependency_Flag := p_control_rec.Dependency_Flag;

Line 2990: aso_debug_pub.add('Create_Quote_Line: populate defaulting control record from the line control record', 1, 'Y');

2986: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2987: aso_debug_pub.add('Create_Quote_Line: l_header_org_id'||l_header_org_id, 1, 'Y');
2988: aso_debug_pub.add('Create_Quote_Line:l_quote_type'||l_quote_type, 1, 'Y');
2989: aso_debug_pub.add('Create_Quote_Line: Before defaulting framework', 1, 'Y');
2990: aso_debug_pub.add('Create_Quote_Line: populate defaulting control record from the line control record', 1, 'Y');
2991: END IF ;
2992:
2993: l_def_control_rec.Dependency_Flag := p_control_rec.Dependency_Flag;
2994: l_def_control_rec.Defaulting_Flag := p_control_rec.Defaulting_Flag;

Line 2998: IF aso_debug_pub.g_debug_flag = 'Y' THEN

2994: l_def_control_rec.Defaulting_Flag := p_control_rec.Defaulting_Flag;
2995: l_def_control_rec.Application_Type_Code := p_control_rec.Application_Type_Code;
2996: l_def_control_rec.Defaulting_Flow_Code := 'CREATE';
2997:
2998: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2999: aso_debug_pub.add('Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
3000: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
3001: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
3002: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');

Line 2999: aso_debug_pub.add('Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');

2995: l_def_control_rec.Application_Type_Code := p_control_rec.Application_Type_Code;
2996: l_def_control_rec.Defaulting_Flow_Code := 'CREATE';
2997:
2998: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2999: aso_debug_pub.add('Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
3000: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
3001: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
3002: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
3003: aso_debug_pub.add('Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');

Line 3000: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');

2996: l_def_control_rec.Defaulting_Flow_Code := 'CREATE';
2997:
2998: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2999: aso_debug_pub.add('Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
3000: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
3001: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
3002: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
3003: aso_debug_pub.add('Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
3004: END IF ;

Line 3001: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');

2997:
2998: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2999: aso_debug_pub.add('Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
3000: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
3001: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
3002: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
3003: aso_debug_pub.add('Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
3004: END IF ;
3005:

Line 3002: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');

2998: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2999: aso_debug_pub.add('Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
3000: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
3001: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
3002: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
3003: aso_debug_pub.add('Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
3004: END IF ;
3005:
3006: IF l_def_control_rec.application_type_code = 'QUOTING HTML' OR l_def_control_rec.application_type_code = 'QUOTING FORM' THEN

Line 3003: aso_debug_pub.add('Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');

2999: aso_debug_pub.add('Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
3000: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
3001: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
3002: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
3003: aso_debug_pub.add('Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
3004: END IF ;
3005:
3006: IF l_def_control_rec.application_type_code = 'QUOTING HTML' OR l_def_control_rec.application_type_code = 'QUOTING FORM' THEN
3007: l_db_object_name := ASO_QUOTE_HEADERS_PVT.G_QUOTE_LINE_DB_NAME;

Line 3014: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3010: ELSE
3011: l_control_rec.Defaulting_Fwk_Flag := 'N';
3012: END IF;
3013:
3014: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3015: aso_debug_pub.add('Pick '||l_db_object_name ||' based on calling application '||l_def_control_rec.application_type_code, 1, 'Y');
3016: END IF ;
3017:
3018: IF p_shipment_tbl.count > 0 THEN

Line 3015: aso_debug_pub.add('Pick '||l_db_object_name ||' based on calling application '||l_def_control_rec.application_type_code, 1, 'Y');

3011: l_control_rec.Defaulting_Fwk_Flag := 'N';
3012: END IF;
3013:
3014: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3015: aso_debug_pub.add('Pick '||l_db_object_name ||' based on calling application '||l_def_control_rec.application_type_code, 1, 'Y');
3016: END IF ;
3017:
3018: IF p_shipment_tbl.count > 0 THEN
3019: l_shipment_rec := p_shipment_tbl(1);

Line 3026: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3022: IF p_payment_tbl.count > 0 THEN
3023: l_payment_rec := p_payment_tbl(1);
3024: END IF;
3025:
3026: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3027: aso_debug_pub.add('Create_Quote_Line - Before Calling Default_Entity procedure', 1, 'Y');
3028: END IF ;
3029:
3030: IF l_control_rec.defaulting_fwk_flag = 'Y' AND nvl(l_quote_type,'X') <> 'T' THEN

Line 3027: aso_debug_pub.add('Create_Quote_Line - Before Calling Default_Entity procedure', 1, 'Y');

3023: l_payment_rec := p_payment_tbl(1);
3024: END IF;
3025:
3026: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3027: aso_debug_pub.add('Create_Quote_Line - Before Calling Default_Entity procedure', 1, 'Y');
3028: END IF ;
3029:
3030: IF l_control_rec.defaulting_fwk_flag = 'Y' AND nvl(l_quote_type,'X') <> 'T' THEN
3031:

Line 3057: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3053: x_return_status => x_return_status,
3054: x_msg_count => x_msg_count,
3055: x_msg_data => x_msg_data);
3056:
3057: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3058: aso_debug_pub.add('Create_Quote_line: After call to ASO_DEFAULTING_INT.Default_Entity', 1, 'Y');
3059: aso_debug_pub.add('Create_Quote_line: x_return_status: '|| x_return_status, 1, 'Y');
3060: end if;
3061:

Line 3058: aso_debug_pub.add('Create_Quote_line: After call to ASO_DEFAULTING_INT.Default_Entity', 1, 'Y');

3054: x_msg_count => x_msg_count,
3055: x_msg_data => x_msg_data);
3056:
3057: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3058: aso_debug_pub.add('Create_Quote_line: After call to ASO_DEFAULTING_INT.Default_Entity', 1, 'Y');
3059: aso_debug_pub.add('Create_Quote_line: x_return_status: '|| x_return_status, 1, 'Y');
3060: end if;
3061:
3062: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 3059: aso_debug_pub.add('Create_Quote_line: x_return_status: '|| x_return_status, 1, 'Y');

3055: x_msg_data => x_msg_data);
3056:
3057: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3058: aso_debug_pub.add('Create_Quote_line: After call to ASO_DEFAULTING_INT.Default_Entity', 1, 'Y');
3059: aso_debug_pub.add('Create_Quote_line: x_return_status: '|| x_return_status, 1, 'Y');
3060: end if;
3061:
3062: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3063:

Line 3127: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3123: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
3124: RAISE FND_API.G_EXC_ERROR;
3125: END IF;
3126:
3127: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3128: aso_debug_pub.add('Create_Quote_lines - after validate_party ', 1, 'N');
3129: end if;
3130:
3131: -- price list must exist and be active in OE_PRICE_LISTS

Line 3128: aso_debug_pub.add('Create_Quote_lines - after validate_party ', 1, 'N');

3124: RAISE FND_API.G_EXC_ERROR;
3125: END IF;
3126:
3127: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3128: aso_debug_pub.add('Create_Quote_lines - after validate_party ', 1, 'N');
3129: end if;
3130:
3131: -- price list must exist and be active in OE_PRICE_LISTS
3132: ASO_VALIDATE_PVT.Validate_PriceList (

Line 3202: if aso_debug_pub.g_debug_flag = 'Y' then

3198:
3199:
3200: FOR i in 1..p_sales_credit_tbl.count LOOP
3201:
3202: if aso_debug_pub.g_debug_flag = 'Y' then
3203: aso_debug_pub.add('p_sales_credit_tbl('||i||').operation_code: '|| p_sales_credit_tbl(i).operation_code,1,'Y');
3204: end if;
3205:
3206: if (p_sales_credit_tbl(i).operation_code = 'CREATE' or p_sales_credit_tbl(i).operation_code = 'UPDATE') then

Line 3203: aso_debug_pub.add('p_sales_credit_tbl('||i||').operation_code: '|| p_sales_credit_tbl(i).operation_code,1,'Y');

3199:
3200: FOR i in 1..p_sales_credit_tbl.count LOOP
3201:
3202: if aso_debug_pub.g_debug_flag = 'Y' then
3203: aso_debug_pub.add('p_sales_credit_tbl('||i||').operation_code: '|| p_sales_credit_tbl(i).operation_code,1,'Y');
3204: end if;
3205:
3206: if (p_sales_credit_tbl(i).operation_code = 'CREATE' or p_sales_credit_tbl(i).operation_code = 'UPDATE') then
3207:

Line 3373: if aso_debug_pub.g_debug_flag = 'Y' THEN

3369: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
3370: RAISE FND_API.G_EXC_ERROR;
3371: END IF;
3372:
3373: if aso_debug_pub.g_debug_flag = 'Y' THEN
3374: aso_debug_pub.add('Create_Quote_lines - After validate_UOM_code ', 1, 'N');
3375: end if;
3376:
3377: ASO_VALIDATE_PVT.Validate_For_GreaterEndDate (

Line 3374: aso_debug_pub.add('Create_Quote_lines - After validate_UOM_code ', 1, 'N');

3370: RAISE FND_API.G_EXC_ERROR;
3371: END IF;
3372:
3373: if aso_debug_pub.g_debug_flag = 'Y' THEN
3374: aso_debug_pub.add('Create_Quote_lines - After validate_UOM_code ', 1, 'N');
3375: end if;
3376:
3377: ASO_VALIDATE_PVT.Validate_For_GreaterEndDate (
3378: p_init_msg_list => FND_API.G_FALSE,

Line 3435: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3431: END IF;
3432: END LOOP;
3433:
3434: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
3435: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3436: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_header_id: '|| p_qte_line_dtl_tbl(i).config_header_id,1,'N');
3437: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_revision_num: '|| p_qte_line_dtl_tbl(i).config_revision_num,1,'N');
3438: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
3439: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_item_id: '|| p_qte_line_dtl_tbl(i).config_item_id,1,'N');

Line 3436: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_header_id: '|| p_qte_line_dtl_tbl(i).config_header_id,1,'N');

3432: END LOOP;
3433:
3434: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
3435: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3436: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_header_id: '|| p_qte_line_dtl_tbl(i).config_header_id,1,'N');
3437: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_revision_num: '|| p_qte_line_dtl_tbl(i).config_revision_num,1,'N');
3438: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
3439: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_item_id: '|| p_qte_line_dtl_tbl(i).config_item_id,1,'N');
3440: end if;

Line 3437: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_revision_num: '|| p_qte_line_dtl_tbl(i).config_revision_num,1,'N');

3433:
3434: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
3435: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3436: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_header_id: '|| p_qte_line_dtl_tbl(i).config_header_id,1,'N');
3437: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_revision_num: '|| p_qte_line_dtl_tbl(i).config_revision_num,1,'N');
3438: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
3439: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_item_id: '|| p_qte_line_dtl_tbl(i).config_item_id,1,'N');
3440: end if;
3441:

Line 3438: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');

3434: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
3435: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3436: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_header_id: '|| p_qte_line_dtl_tbl(i).config_header_id,1,'N');
3437: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_revision_num: '|| p_qte_line_dtl_tbl(i).config_revision_num,1,'N');
3438: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
3439: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_item_id: '|| p_qte_line_dtl_tbl(i).config_item_id,1,'N');
3440: end if;
3441:
3442: -- We will add config_item_id when we will implement solution model

Line 3439: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_item_id: '|| p_qte_line_dtl_tbl(i).config_item_id,1,'N');

3435: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3436: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_header_id: '|| p_qte_line_dtl_tbl(i).config_header_id,1,'N');
3437: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_revision_num: '|| p_qte_line_dtl_tbl(i).config_revision_num,1,'N');
3438: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
3439: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Create_Quote_Lines:config_item_id: '|| p_qte_line_dtl_tbl(i).config_item_id,1,'N');
3440: end if;
3441:
3442: -- We will add config_item_id when we will implement solution model
3443: IF ((p_qte_line_dtl_tbl(i).config_header_id IS NOT NULL AND

Line 3459: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3455: x_return_status => x_return_status,
3456: x_msg_count => x_msg_count,
3457: x_msg_data => x_msg_data);
3458:
3459: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3460: aso_debug_pub.add('Create_Quote_Lines after Validate_Configuration :x_return_status:'||x_return_status,1,'N');
3461: end if;
3462: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
3463: RAISE FND_API.G_EXC_ERROR;

Line 3460: aso_debug_pub.add('Create_Quote_Lines after Validate_Configuration :x_return_status:'||x_return_status,1,'N');

3456: x_msg_count => x_msg_count,
3457: x_msg_data => x_msg_data);
3458:
3459: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3460: aso_debug_pub.add('Create_Quote_Lines after Validate_Configuration :x_return_status:'||x_return_status,1,'N');
3461: end if;
3462: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
3463: RAISE FND_API.G_EXC_ERROR;
3464: END IF;

Line 3518: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3514: -- new validation for ship_from_org_id
3515:
3516: IF lx_ln_shipment_tbl.count > 0 THEN
3517:
3518: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3519: aso_debug_pub.add('Create_Quote_Lines: Before Validate_ship_from_org_ID', 1, 'Y');
3520: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_header_id: '||lx_qte_line_rec.quote_header_id, 1, 'Y');
3521: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_line_id: '||lx_qte_line_rec.quote_line_id, 1, 'Y');
3522: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).quote_line_id: '||lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');

Line 3519: aso_debug_pub.add('Create_Quote_Lines: Before Validate_ship_from_org_ID', 1, 'Y');

3515:
3516: IF lx_ln_shipment_tbl.count > 0 THEN
3517:
3518: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3519: aso_debug_pub.add('Create_Quote_Lines: Before Validate_ship_from_org_ID', 1, 'Y');
3520: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_header_id: '||lx_qte_line_rec.quote_header_id, 1, 'Y');
3521: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_line_id: '||lx_qte_line_rec.quote_line_id, 1, 'Y');
3522: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).quote_line_id: '||lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
3523: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.inventory_item_id: '||lx_qte_line_rec.inventory_item_id, 1, 'Y');

Line 3520: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_header_id: '||lx_qte_line_rec.quote_header_id, 1, 'Y');

3516: IF lx_ln_shipment_tbl.count > 0 THEN
3517:
3518: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3519: aso_debug_pub.add('Create_Quote_Lines: Before Validate_ship_from_org_ID', 1, 'Y');
3520: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_header_id: '||lx_qte_line_rec.quote_header_id, 1, 'Y');
3521: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_line_id: '||lx_qte_line_rec.quote_line_id, 1, 'Y');
3522: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).quote_line_id: '||lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
3523: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.inventory_item_id: '||lx_qte_line_rec.inventory_item_id, 1, 'Y');
3524: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).ship_from_org_id: '||lx_ln_shipment_tbl(1).ship_from_org_id, 1, 'Y');

Line 3521: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_line_id: '||lx_qte_line_rec.quote_line_id, 1, 'Y');

3517:
3518: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3519: aso_debug_pub.add('Create_Quote_Lines: Before Validate_ship_from_org_ID', 1, 'Y');
3520: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_header_id: '||lx_qte_line_rec.quote_header_id, 1, 'Y');
3521: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_line_id: '||lx_qte_line_rec.quote_line_id, 1, 'Y');
3522: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).quote_line_id: '||lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
3523: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.inventory_item_id: '||lx_qte_line_rec.inventory_item_id, 1, 'Y');
3524: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).ship_from_org_id: '||lx_ln_shipment_tbl(1).ship_from_org_id, 1, 'Y');
3525: end if;

Line 3522: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).quote_line_id: '||lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');

3518: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3519: aso_debug_pub.add('Create_Quote_Lines: Before Validate_ship_from_org_ID', 1, 'Y');
3520: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_header_id: '||lx_qte_line_rec.quote_header_id, 1, 'Y');
3521: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_line_id: '||lx_qte_line_rec.quote_line_id, 1, 'Y');
3522: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).quote_line_id: '||lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
3523: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.inventory_item_id: '||lx_qte_line_rec.inventory_item_id, 1, 'Y');
3524: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).ship_from_org_id: '||lx_ln_shipment_tbl(1).ship_from_org_id, 1, 'Y');
3525: end if;
3526:

Line 3523: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.inventory_item_id: '||lx_qte_line_rec.inventory_item_id, 1, 'Y');

3519: aso_debug_pub.add('Create_Quote_Lines: Before Validate_ship_from_org_ID', 1, 'Y');
3520: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_header_id: '||lx_qte_line_rec.quote_header_id, 1, 'Y');
3521: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_line_id: '||lx_qte_line_rec.quote_line_id, 1, 'Y');
3522: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).quote_line_id: '||lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
3523: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.inventory_item_id: '||lx_qte_line_rec.inventory_item_id, 1, 'Y');
3524: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).ship_from_org_id: '||lx_ln_shipment_tbl(1).ship_from_org_id, 1, 'Y');
3525: end if;
3526:
3527: IF lx_ln_shipment_tbl(1).ship_from_org_id IS NOT NULL AND lx_ln_shipment_tbl(1).ship_from_org_id <> FND_API.G_MISS_NUM THEN

Line 3524: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).ship_from_org_id: '||lx_ln_shipment_tbl(1).ship_from_org_id, 1, 'Y');

3520: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_header_id: '||lx_qte_line_rec.quote_header_id, 1, 'Y');
3521: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.quote_line_id: '||lx_qte_line_rec.quote_line_id, 1, 'Y');
3522: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).quote_line_id: '||lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
3523: aso_debug_pub.add('Create_Quote_Lines: lx_qte_line_rec.inventory_item_id: '||lx_qte_line_rec.inventory_item_id, 1, 'Y');
3524: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).ship_from_org_id: '||lx_ln_shipment_tbl(1).ship_from_org_id, 1, 'Y');
3525: end if;
3526:
3527: IF lx_ln_shipment_tbl(1).ship_from_org_id IS NOT NULL AND lx_ln_shipment_tbl(1).ship_from_org_id <> FND_API.G_MISS_NUM THEN
3528: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 3528: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3524: aso_debug_pub.add('Create_Quote_Lines: lx_ln_shipment_tbl(1).ship_from_org_id: '||lx_ln_shipment_tbl(1).ship_from_org_id, 1, 'Y');
3525: end if;
3526:
3527: IF lx_ln_shipment_tbl(1).ship_from_org_id IS NOT NULL AND lx_ln_shipment_tbl(1).ship_from_org_id <> FND_API.G_MISS_NUM THEN
3528: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3529: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID', 1, 'Y');
3530: end if;
3531: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(
3532: P_qte_line_rec => lx_qte_line_rec,

Line 3529: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID', 1, 'Y');

3525: end if;
3526:
3527: IF lx_ln_shipment_tbl(1).ship_from_org_id IS NOT NULL AND lx_ln_shipment_tbl(1).ship_from_org_id <> FND_API.G_MISS_NUM THEN
3528: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3529: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID', 1, 'Y');
3530: end if;
3531: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(
3532: P_qte_line_rec => lx_qte_line_rec,
3533: P_Shipment_rec => lx_ln_shipment_tbl(1),

Line 3536: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3532: P_qte_line_rec => lx_qte_line_rec,
3533: P_Shipment_rec => lx_ln_shipment_tbl(1),
3534: x_return_status => x_return_status);
3535:
3536: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3537: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID', 1, 'Y');
3538: end if;
3539: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3540: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 3537: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID', 1, 'Y');

3533: P_Shipment_rec => lx_ln_shipment_tbl(1),
3534: x_return_status => x_return_status);
3535:
3536: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3537: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID', 1, 'Y');
3538: end if;
3539: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3540: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3541: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID: <> SUCCESS', 1, 'Y');

Line 3540: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3536: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3537: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID', 1, 'Y');
3538: end if;
3539: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3540: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3541: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID: <> SUCCESS', 1, 'Y');
3542: end if;
3543:
3544: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 3541: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID: <> SUCCESS', 1, 'Y');

3537: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID', 1, 'Y');
3538: end if;
3539: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3540: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3541: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID: <> SUCCESS', 1, 'Y');
3542: end if;
3543:
3544: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
3545: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SHIP_FROM_ORG_ID');

Line 3568: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3564: IF l_hd_shipment_tbl.count = 1 THEN
3565: l_hd_shipment_rec := l_hd_shipment_tbl(1);
3566: END IF;
3567:
3568: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3569: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: lx_qte_line_rec.quote_header_id: '||lx_qte_line_rec.quote_header_id, 1, 'Y');
3570: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: lx_qte_line_rec.inventory_item_id: '||lx_qte_line_rec.inventory_item_id, 1, 'Y');
3571: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: l_hd_shipment_rec.ship_from_org_id: '||l_hd_shipment_rec.ship_from_org_id, 1, 'Y');
3572: end if;

Line 3569: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: lx_qte_line_rec.quote_header_id: '||lx_qte_line_rec.quote_header_id, 1, 'Y');

3565: l_hd_shipment_rec := l_hd_shipment_tbl(1);
3566: END IF;
3567:
3568: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3569: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: lx_qte_line_rec.quote_header_id: '||lx_qte_line_rec.quote_header_id, 1, 'Y');
3570: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: lx_qte_line_rec.inventory_item_id: '||lx_qte_line_rec.inventory_item_id, 1, 'Y');
3571: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: l_hd_shipment_rec.ship_from_org_id: '||l_hd_shipment_rec.ship_from_org_id, 1, 'Y');
3572: end if;
3573:

Line 3570: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: lx_qte_line_rec.inventory_item_id: '||lx_qte_line_rec.inventory_item_id, 1, 'Y');

3566: END IF;
3567:
3568: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3569: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: lx_qte_line_rec.quote_header_id: '||lx_qte_line_rec.quote_header_id, 1, 'Y');
3570: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: lx_qte_line_rec.inventory_item_id: '||lx_qte_line_rec.inventory_item_id, 1, 'Y');
3571: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: l_hd_shipment_rec.ship_from_org_id: '||l_hd_shipment_rec.ship_from_org_id, 1, 'Y');
3572: end if;
3573:
3574: IF l_hd_shipment_rec.ship_from_org_id IS NOT NULL AND l_hd_shipment_rec.ship_from_org_id <> FND_API.G_MISS_NUM THEN

Line 3571: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: l_hd_shipment_rec.ship_from_org_id: '||l_hd_shipment_rec.ship_from_org_id, 1, 'Y');

3567:
3568: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3569: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: lx_qte_line_rec.quote_header_id: '||lx_qte_line_rec.quote_header_id, 1, 'Y');
3570: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: lx_qte_line_rec.inventory_item_id: '||lx_qte_line_rec.inventory_item_id, 1, 'Y');
3571: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: l_hd_shipment_rec.ship_from_org_id: '||l_hd_shipment_rec.ship_from_org_id, 1, 'Y');
3572: end if;
3573:
3574: IF l_hd_shipment_rec.ship_from_org_id IS NOT NULL AND l_hd_shipment_rec.ship_from_org_id <> FND_API.G_MISS_NUM THEN
3575: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 3575: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3571: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID: l_hd_shipment_rec.ship_from_org_id: '||l_hd_shipment_rec.ship_from_org_id, 1, 'Y');
3572: end if;
3573:
3574: IF l_hd_shipment_rec.ship_from_org_id IS NOT NULL AND l_hd_shipment_rec.ship_from_org_id <> FND_API.G_MISS_NUM THEN
3575: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3576: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID (no ln_shipment_tbl)', 1, 'Y');
3577: end if;
3578: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(
3579: P_Qte_Line_rec => lx_qte_line_rec,

Line 3576: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID (no ln_shipment_tbl)', 1, 'Y');

3572: end if;
3573:
3574: IF l_hd_shipment_rec.ship_from_org_id IS NOT NULL AND l_hd_shipment_rec.ship_from_org_id <> FND_API.G_MISS_NUM THEN
3575: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3576: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: before Validate_ship_from_org_ID (no ln_shipment_tbl)', 1, 'Y');
3577: end if;
3578: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(
3579: P_Qte_Line_rec => lx_qte_line_rec,
3580: P_Shipment_rec => l_hd_shipment_rec,

Line 3584: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3580: P_Shipment_rec => l_hd_shipment_rec,
3581: x_return_status => x_return_status
3582: );
3583:
3584: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3585: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID (no ln_shipment_tbl)', 1, 'Y');
3586: end if;
3587: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3588: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 3585: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID (no ln_shipment_tbl)', 1, 'Y');

3581: x_return_status => x_return_status
3582: );
3583:
3584: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3585: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID (no ln_shipment_tbl)', 1, 'Y');
3586: end if;
3587: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3588: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3589: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID: <> SUCCESS', 1, 'Y');

Line 3588: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3584: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3585: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID (no ln_shipment_tbl)', 1, 'Y');
3586: end if;
3587: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3588: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3589: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID: <> SUCCESS', 1, 'Y');
3590: end if;
3591:
3592: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 3589: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID: <> SUCCESS', 1, 'Y');

3585: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID (no ln_shipment_tbl)', 1, 'Y');
3586: end if;
3587: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3588: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3589: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_Lines: after Validate_ship_from_org_ID: <> SUCCESS', 1, 'Y');
3590: end if;
3591:
3592: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
3593: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SHIP_FROM_ORG_ID');

Line 3610: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3606:
3607:
3608: END IF;
3609:
3610: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3611: aso_debug_pub.add('Create_Quote_lines - before populate_quote_line ', 1, 'Y');
3612: end if;
3613:
3614: Populate_Quote_Line(

Line 3611: aso_debug_pub.add('Create_Quote_lines - before populate_quote_line ', 1, 'Y');

3607:
3608: END IF;
3609:
3610: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3611: aso_debug_pub.add('Create_Quote_lines - before populate_quote_line ', 1, 'Y');
3612: end if;
3613:
3614: Populate_Quote_Line(
3615: P_Qte_Line_Rec => lx_qte_line_rec ,

Line 3650: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3646: -- of the payment validation which is done later
3647: l_orig_payment_tbl := l_Payment_Tbl;
3648:
3649: -- check return status
3650: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3651: aso_debug_pub.add('Create_Quote_lines - after populate_quote_line '||x_return_status, 1, 'Y');
3652: end if;
3653:
3654: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 3651: aso_debug_pub.add('Create_Quote_lines - after populate_quote_line '||x_return_status, 1, 'Y');

3647: l_orig_payment_tbl := l_Payment_Tbl;
3648:
3649: -- check return status
3650: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3651: aso_debug_pub.add('Create_Quote_lines - after populate_quote_line '||x_return_status, 1, 'Y');
3652: end if;
3653:
3654: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
3655: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 3675: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3671: open c_container_item_check(l_qte_line_rec.inventory_item_id, l_Qte_Line_Rec.organization_id);
3672: fetch c_container_item_check into l_container_item_flag;
3673: close c_container_item_check;
3674:
3675: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3676: ASO_DEBUG_PUB.add(' l_container_item_flag = '|| l_container_item_flag , 1, 'Y');
3677: END IF;
3678:
3679:

Line 3676: ASO_DEBUG_PUB.add(' l_container_item_flag = '|| l_container_item_flag , 1, 'Y');

3672: fetch c_container_item_check into l_container_item_flag;
3673: close c_container_item_check;
3674:
3675: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3676: ASO_DEBUG_PUB.add(' l_container_item_flag = '|| l_container_item_flag , 1, 'Y');
3677: END IF;
3678:
3679:
3680: IF ( l_qte_line_rec.item_type_code = 'MDL' and l_container_item_flag = 'N' ) THEN

Line 3706: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3702: END IF;
3703:
3704: --inter entity validations
3705:
3706: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3707: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: CREATE_QUOTE_LINES: Begin Inter entity validations');
3708: end if;
3709:
3710: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN

Line 3707: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: CREATE_QUOTE_LINES: Begin Inter entity validations');

3703:
3704: --inter entity validations
3705:
3706: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3707: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: CREATE_QUOTE_LINES: Begin Inter entity validations');
3708: end if;
3709:
3710: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN
3711:

Line 3712: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3708: end if;
3709:
3710: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN
3711:
3712: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3713: ASO_DEBUG_PUB.add('cq organization_id = '||nvl(to_char(l_Qte_Line_Rec.organization_id),'null') , 1, 'Y');
3714: ASO_DEBUG_PUB.add('cq Inventory_item_id = '||l_qte_line_rec.inventory_item_id, 1, 'Y');
3715: END IF;
3716:

Line 3713: ASO_DEBUG_PUB.add('cq organization_id = '||nvl(to_char(l_Qte_Line_Rec.organization_id),'null') , 1, 'Y');

3709:
3710: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN
3711:
3712: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3713: ASO_DEBUG_PUB.add('cq organization_id = '||nvl(to_char(l_Qte_Line_Rec.organization_id),'null') , 1, 'Y');
3714: ASO_DEBUG_PUB.add('cq Inventory_item_id = '||l_qte_line_rec.inventory_item_id, 1, 'Y');
3715: END IF;
3716:
3717: -- validate inventory item id. item should be active

Line 3714: ASO_DEBUG_PUB.add('cq Inventory_item_id = '||l_qte_line_rec.inventory_item_id, 1, 'Y');

3710: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN
3711:
3712: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3713: ASO_DEBUG_PUB.add('cq organization_id = '||nvl(to_char(l_Qte_Line_Rec.organization_id),'null') , 1, 'Y');
3714: ASO_DEBUG_PUB.add('cq Inventory_item_id = '||l_qte_line_rec.inventory_item_id, 1, 'Y');
3715: END IF;
3716:
3717: -- validate inventory item id. item should be active
3718: ASO_VALIDATE_PVT.Validate_Inventory_Item(

Line 3734: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3730: if (l_Shipment_Tbl.count > 0 ) then
3731:
3732: IF (l_Shipment_Tbl(1).ship_method_code is not null and l_Shipment_Tbl(1).ship_method_code <> fnd_api.g_miss_char) then
3733:
3734: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3735: aso_debug_pub.add('Create_Quote_lines - before validate ship_method_code ', 1, 'N');
3736: end if;
3737: ASO_VALIDATE_PVT.validate_ship_method_code
3738: (

Line 3735: aso_debug_pub.add('Create_Quote_lines - before validate ship_method_code ', 1, 'N');

3731:
3732: IF (l_Shipment_Tbl(1).ship_method_code is not null and l_Shipment_Tbl(1).ship_method_code <> fnd_api.g_miss_char) then
3733:
3734: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3735: aso_debug_pub.add('Create_Quote_lines - before validate ship_method_code ', 1, 'N');
3736: end if;
3737: ASO_VALIDATE_PVT.validate_ship_method_code
3738: (
3739: p_init_msg_list => fnd_api.g_false,

Line 3749: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3745: x_return_status => x_return_status,
3746: x_msg_count => x_msg_count,
3747: x_msg_data => x_msg_data);
3748:
3749: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3750: aso_debug_pub.add('Create_Quote_lines - After validate ship_method_code ', 1, 'N');
3751: end if;
3752:
3753: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 3750: aso_debug_pub.add('Create_Quote_lines - After validate ship_method_code ', 1, 'N');

3746: x_msg_count => x_msg_count,
3747: x_msg_data => x_msg_data);
3748:
3749: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3750: aso_debug_pub.add('Create_Quote_lines - After validate ship_method_code ', 1, 'N');
3751: end if;
3752:
3753: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
3754: RAISE FND_API.G_EXC_ERROR;

Line 3852: if aso_debug_pub.g_debug_flag = 'Y' then

3848: raise fnd_api.g_exc_error;
3849:
3850: else
3851:
3852: if aso_debug_pub.g_debug_flag = 'Y' then
3853: aso_debug_pub.add('CREATE_QUOTE_LINES: Before calling aso_validate_pvt.validate_service_ref_line_id');
3854: end if;
3855:
3856: aso_validate_pvt.validate_service_ref_line_id (

Line 3853: aso_debug_pub.add('CREATE_QUOTE_LINES: Before calling aso_validate_pvt.validate_service_ref_line_id');

3849:
3850: else
3851:
3852: if aso_debug_pub.g_debug_flag = 'Y' then
3853: aso_debug_pub.add('CREATE_QUOTE_LINES: Before calling aso_validate_pvt.validate_service_ref_line_id');
3854: end if;
3855:
3856: aso_validate_pvt.validate_service_ref_line_id (
3857: p_init_msg_list => fnd_api.g_false,

Line 3865: if aso_debug_pub.g_debug_flag = 'Y' then

3861: x_return_status => x_return_status,
3862: x_msg_count => x_msg_count,
3863: x_msg_data => x_msg_data);
3864:
3865: if aso_debug_pub.g_debug_flag = 'Y' then
3866: aso_debug_pub.add('CREATE_QUOTE_LINES: After calling aso_validate_pvt.validate_service_ref_line_id');
3867: aso_debug_pub.add('CREATE_QUOTE_LINES: x_return_status: '|| x_return_status);
3868: end if;
3869:

Line 3866: aso_debug_pub.add('CREATE_QUOTE_LINES: After calling aso_validate_pvt.validate_service_ref_line_id');

3862: x_msg_count => x_msg_count,
3863: x_msg_data => x_msg_data);
3864:
3865: if aso_debug_pub.g_debug_flag = 'Y' then
3866: aso_debug_pub.add('CREATE_QUOTE_LINES: After calling aso_validate_pvt.validate_service_ref_line_id');
3867: aso_debug_pub.add('CREATE_QUOTE_LINES: x_return_status: '|| x_return_status);
3868: end if;
3869:
3870: if x_return_status <> fnd_api.g_ret_sts_success then

Line 3867: aso_debug_pub.add('CREATE_QUOTE_LINES: x_return_status: '|| x_return_status);

3863: x_msg_data => x_msg_data);
3864:
3865: if aso_debug_pub.g_debug_flag = 'Y' then
3866: aso_debug_pub.add('CREATE_QUOTE_LINES: After calling aso_validate_pvt.validate_service_ref_line_id');
3867: aso_debug_pub.add('CREATE_QUOTE_LINES: x_return_status: '|| x_return_status);
3868: end if;
3869:
3870: if x_return_status <> fnd_api.g_ret_sts_success then
3871: raise fnd_api.g_exc_error;

Line 3884: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3880: END LOOP;
3881:
3882: END IF;
3883:
3884: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3885: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: CREATE_QUOTE_LINES: End of Inter entity validations');
3886: end if;
3887:
3888:

Line 3885: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: CREATE_QUOTE_LINES: End of Inter entity validations');

3881:
3882: END IF;
3883:
3884: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3885: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: CREATE_QUOTE_LINES: End of Inter entity validations');
3886: end if;
3887:
3888:
3889: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 3904: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3900:
3901: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row(l_qte_line_rec.QUOTE_HEADER_ID);
3902:
3903: -- IF NVL(FND_PROFILE.value('ASO_TCA_VALIDATE'),'N') = 'Y' THEN
3904: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3905: aso_debug_pub.add('Validation level is set',1,'N');
3906: end if;
3907:
3908: ASO_CHECK_TCA_PVT.check_line_account_info(

Line 3905: aso_debug_pub.add('Validation level is set',1,'N');

3901: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row(l_qte_line_rec.QUOTE_HEADER_ID);
3902:
3903: -- IF NVL(FND_PROFILE.value('ASO_TCA_VALIDATE'),'N') = 'Y' THEN
3904: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3905: aso_debug_pub.add('Validation level is set',1,'N');
3906: end if;
3907:
3908: ASO_CHECK_TCA_PVT.check_line_account_info(
3909: p_api_version => 1.0,

Line 3935: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

3931:
3932: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
3933: RAISE FND_API.G_EXC_ERROR;
3934: END IF;
3935: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3936: aso_debug_pub.add('after order type'|| x_return_status, 1, 'Y');
3937: END IF;
3938:
3939:

Line 3936: aso_debug_pub.add('after order type'|| x_return_status, 1, 'Y');

3932: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
3933: RAISE FND_API.G_EXC_ERROR;
3934: END IF;
3935: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3936: aso_debug_pub.add('after order type'|| x_return_status, 1, 'Y');
3937: END IF;
3938:
3939:
3940: If (p_qte_header_rec.order_type_id = FND_API.G_MISS_NUM )then -- [This is for backward compatibility]

Line 3960: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

3956: RAISE FND_API.G_EXC_ERROR;
3957: END IF;
3958: End if;
3959:
3960: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3961: aso_debug_pub.add('x_return_status for Validate_ln_type_for_ord_type'|| x_return_status, 1, 'Y');
3962: END IF;
3963:
3964: aso_validate_pvt.Validate_po_line_number

Line 3961: aso_debug_pub.add('x_return_status for Validate_ln_type_for_ord_type'|| x_return_status, 1, 'Y');

3957: END IF;
3958: End if;
3959:
3960: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3961: aso_debug_pub.add('x_return_status for Validate_ln_type_for_ord_type'|| x_return_status, 1, 'Y');
3962: END IF;
3963:
3964: aso_validate_pvt.Validate_po_line_number
3965: (

Line 3977: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

3973: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
3974: RAISE FND_API.G_EXC_ERROR;
3975: END IF;
3976:
3977: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3978: aso_debug_pub.add('x_return_status for Validate_po_line_number'|| x_return_status, 1, 'Y');
3979: END IF;
3980:
3981:

Line 3978: aso_debug_pub.add('x_return_status for Validate_po_line_number'|| x_return_status, 1, 'Y');

3974: RAISE FND_API.G_EXC_ERROR;
3975: END IF;
3976:
3977: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
3978: aso_debug_pub.add('x_return_status for Validate_po_line_number'|| x_return_status, 1, 'Y');
3979: END IF;
3980:
3981:
3982: ASO_TRADEIN_PVT.Validate_Line_Tradein(

Line 3994: IF aso_debug_pub.g_debug_flag = 'Y' THEN

3990: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
3991: RAISE FND_API.G_EXC_ERROR;
3992: END IF;
3993:
3994: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3995: aso_debug_pub.add('ASO_QUOTE_LINES Create_Quote_lines - after validate_line_tradein '||x_return_status, 1, 'Y');
3996: end if;
3997:
3998: ASO_TRADEIN_PVT.Validate_IB_Return_Qty(

Line 3995: aso_debug_pub.add('ASO_QUOTE_LINES Create_Quote_lines - after validate_line_tradein '||x_return_status, 1, 'Y');

3991: RAISE FND_API.G_EXC_ERROR;
3992: END IF;
3993:
3994: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3995: aso_debug_pub.add('ASO_QUOTE_LINES Create_Quote_lines - after validate_line_tradein '||x_return_status, 1, 'Y');
3996: end if;
3997:
3998: ASO_TRADEIN_PVT.Validate_IB_Return_Qty(
3999: p_init_msg_list => FND_API.G_FALSE,

Line 4009: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4005:
4006: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
4007: RAISE FND_API.G_EXC_ERROR;
4008: END IF;
4009: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4010: aso_debug_pub.add('ASO_QUOTE_LINES Create_Quote_lines - after validate_IB_Return_Qty '||x_return_status, 1, 'Y');
4011: end if;
4012:
4013: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN

Line 4010: aso_debug_pub.add('ASO_QUOTE_LINES Create_Quote_lines - after validate_IB_Return_Qty '||x_return_status, 1, 'Y');

4006: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
4007: RAISE FND_API.G_EXC_ERROR;
4008: END IF;
4009: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4010: aso_debug_pub.add('ASO_QUOTE_LINES Create_Quote_lines - after validate_IB_Return_Qty '||x_return_status, 1, 'Y');
4011: end if;
4012:
4013: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN
4014: ASO_VALIDATE_PVT.Validate_Sales_Credit_Return(

Line 4027: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4023: END IF;
4024: END IF;
4025:
4026: -- EDU
4027: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4028: aso_debug_pub.add('Create_Quote_Line - before Validate_Agreement:l_qte_line_rec.Agreement_Id: '||l_qte_line_rec.Agreement_Id, 1, 'N');
4029: end if;
4030:
4031: IF (l_qte_line_rec.Agreement_Id IS NOT NULL AND

Line 4028: aso_debug_pub.add('Create_Quote_Line - before Validate_Agreement:l_qte_line_rec.Agreement_Id: '||l_qte_line_rec.Agreement_Id, 1, 'N');

4024: END IF;
4025:
4026: -- EDU
4027: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4028: aso_debug_pub.add('Create_Quote_Line - before Validate_Agreement:l_qte_line_rec.Agreement_Id: '||l_qte_line_rec.Agreement_Id, 1, 'N');
4029: end if;
4030:
4031: IF (l_qte_line_rec.Agreement_Id IS NOT NULL AND
4032: l_qte_line_rec.Agreement_Id <> FND_API.G_MISS_NUM) THEN

Line 4039: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4035: P_Agreement_Id => l_qte_line_rec.Agreement_Id,
4036: x_return_status => x_return_status,
4037: x_msg_count => x_msg_count,
4038: x_msg_data => x_msg_data);
4039: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4040: aso_debug_pub.add('Create_Quote_Line - after Validate_Agreement:x_return_status: '||x_return_status, 1, 'N');
4041: end if;
4042:
4043: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 4040: aso_debug_pub.add('Create_Quote_Line - after Validate_Agreement:x_return_status: '||x_return_status, 1, 'N');

4036: x_return_status => x_return_status,
4037: x_msg_count => x_msg_count,
4038: x_msg_data => x_msg_data);
4039: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4040: aso_debug_pub.add('Create_Quote_Line - after Validate_Agreement:x_return_status: '||x_return_status, 1, 'N');
4041: end if;
4042:
4043: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
4044: RAISE FND_API.G_EXC_ERROR;

Line 4047: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4043: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
4044: RAISE FND_API.G_EXC_ERROR;
4045: END IF;
4046: END IF;
4047: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4048: aso_debug_pub.add('Create_Quote - after Validate_Agreement:l_qte_line_rec.UOM_Code: '||l_qte_line_rec.UOM_Code,1, 'N');
4049: aso_debug_pub.add('Create_Quote - after Validate_Agreement:l_qte_line_rec.Quantity: '||l_qte_line_rec.Quantity,1, 'N');
4050: end if;
4051: IF l_qte_line_rec.UOM_Code = 'ENR' THEN

Line 4048: aso_debug_pub.add('Create_Quote - after Validate_Agreement:l_qte_line_rec.UOM_Code: '||l_qte_line_rec.UOM_Code,1, 'N');

4044: RAISE FND_API.G_EXC_ERROR;
4045: END IF;
4046: END IF;
4047: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4048: aso_debug_pub.add('Create_Quote - after Validate_Agreement:l_qte_line_rec.UOM_Code: '||l_qte_line_rec.UOM_Code,1, 'N');
4049: aso_debug_pub.add('Create_Quote - after Validate_Agreement:l_qte_line_rec.Quantity: '||l_qte_line_rec.Quantity,1, 'N');
4050: end if;
4051: IF l_qte_line_rec.UOM_Code = 'ENR' THEN
4052: IF l_qte_line_rec.Quantity <> 1 THEN

Line 4049: aso_debug_pub.add('Create_Quote - after Validate_Agreement:l_qte_line_rec.Quantity: '||l_qte_line_rec.Quantity,1, 'N');

4045: END IF;
4046: END IF;
4047: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4048: aso_debug_pub.add('Create_Quote - after Validate_Agreement:l_qte_line_rec.UOM_Code: '||l_qte_line_rec.UOM_Code,1, 'N');
4049: aso_debug_pub.add('Create_Quote - after Validate_Agreement:l_qte_line_rec.Quantity: '||l_qte_line_rec.Quantity,1, 'N');
4050: end if;
4051: IF l_qte_line_rec.UOM_Code = 'ENR' THEN
4052: IF l_qte_line_rec.Quantity <> 1 THEN
4053: x_return_status := FND_API.G_RET_STS_ERROR;

Line 4066: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4062:
4063: -- Validate the invoice to cust party id and payment info, if any
4064: IF l_payment_tbl.count = 0 then
4065: l_payment_tbl := aso_utility_pvt.Query_Payment_Rows( p_qte_line_rec.QUOTE_HEADER_ID,p_qte_line_rec.quote_line_id);
4066: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4067: aso_debug_pub.add('Before calling Validate_cc_info payment_tbl count is: '|| l_payment_tbl.count, 1, 'Y');
4068: END IF;
4069: End if;
4070:

Line 4067: aso_debug_pub.add('Before calling Validate_cc_info payment_tbl count is: '|| l_payment_tbl.count, 1, 'Y');

4063: -- Validate the invoice to cust party id and payment info, if any
4064: IF l_payment_tbl.count = 0 then
4065: l_payment_tbl := aso_utility_pvt.Query_Payment_Rows( p_qte_line_rec.QUOTE_HEADER_ID,p_qte_line_rec.quote_line_id);
4066: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4067: aso_debug_pub.add('Before calling Validate_cc_info payment_tbl count is: '|| l_payment_tbl.count, 1, 'Y');
4068: END IF;
4069: End if;
4070:
4071: IF l_payment_tbl.count > 0 then

Line 4074: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4070:
4071: IF l_payment_tbl.count > 0 then
4072: l_payment_rec := l_payment_tbl(1);
4073: IF l_payment_rec.payment_type_code = 'CREDIT_CARD' THEN
4074: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4075: aso_debug_pub.add('Before calling Validate_cc_info ', 1, 'Y');
4076: END IF;
4077: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row (p_qte_line_rec.Quote_Header_Id );
4078:

Line 4075: aso_debug_pub.add('Before calling Validate_cc_info ', 1, 'Y');

4071: IF l_payment_tbl.count > 0 then
4072: l_payment_rec := l_payment_tbl(1);
4073: IF l_payment_rec.payment_type_code = 'CREDIT_CARD' THEN
4074: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4075: aso_debug_pub.add('Before calling Validate_cc_info ', 1, 'Y');
4076: END IF;
4077: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row (p_qte_line_rec.Quote_Header_Id );
4078:
4079: aso_validate_pvt.Validate_cc_info

Line 4089: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4085: x_return_status => x_return_status,
4086: x_msg_count => x_msg_count,
4087: x_msg_data => x_msg_data);
4088:
4089: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4090: aso_debug_pub.add('after calling Validate_cc_info ', 1, 'Y');
4091: aso_debug_pub.add('Validate_cc_info Return Status: '||x_return_status, 1, 'Y');
4092: END IF;
4093:

Line 4090: aso_debug_pub.add('after calling Validate_cc_info ', 1, 'Y');

4086: x_msg_count => x_msg_count,
4087: x_msg_data => x_msg_data);
4088:
4089: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4090: aso_debug_pub.add('after calling Validate_cc_info ', 1, 'Y');
4091: aso_debug_pub.add('Validate_cc_info Return Status: '||x_return_status, 1, 'Y');
4092: END IF;
4093:
4094: if x_return_status <> fnd_api.g_ret_sts_success then

Line 4091: aso_debug_pub.add('Validate_cc_info Return Status: '||x_return_status, 1, 'Y');

4087: x_msg_data => x_msg_data);
4088:
4089: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4090: aso_debug_pub.add('after calling Validate_cc_info ', 1, 'Y');
4091: aso_debug_pub.add('Validate_cc_info Return Status: '||x_return_status, 1, 'Y');
4092: END IF;
4093:
4094: if x_return_status <> fnd_api.g_ret_sts_success then
4095: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

Line 4152: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4148: RAISE FND_API.G_EXC_ERROR;
4149: END IF;
4150: END IF;
4151:
4152: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4153: aso_debug_pub.add('Create_Quote_lines - after insert_quote_line_rows '||x_return_status, 1, 'Y');
4154: end if;
4155:
4156: -- Service line quantity update Bmishra 01/09/02

Line 4153: aso_debug_pub.add('Create_Quote_lines - after insert_quote_line_rows '||x_return_status, 1, 'Y');

4149: END IF;
4150: END IF;
4151:
4152: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4153: aso_debug_pub.add('Create_Quote_lines - after insert_quote_line_rows '||x_return_status, 1, 'Y');
4154: end if;
4155:
4156: -- Service line quantity update Bmishra 01/09/02
4157: l_call_update := FND_API.G_FALSE;

Line 4161: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4157: l_call_update := FND_API.G_FALSE;
4158: OPEN c_service (X_Qte_Line_Rec.quote_line_id);
4159:
4160: FETCH c_service INTO l_service_item_flag, l_serviceable_product_flag;
4161: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4162: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_lines: l_service_item_flag'||l_service_item_flag,1, 'N');
4163: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_lines: l_serviceable_product_flag'||l_serviceable_product_flag,1, 'N');
4164: end if;
4165: IF c_service%FOUND THEN

Line 4162: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_lines: l_service_item_flag'||l_service_item_flag,1, 'N');

4158: OPEN c_service (X_Qte_Line_Rec.quote_line_id);
4159:
4160: FETCH c_service INTO l_service_item_flag, l_serviceable_product_flag;
4161: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4162: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_lines: l_service_item_flag'||l_service_item_flag,1, 'N');
4163: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_lines: l_serviceable_product_flag'||l_serviceable_product_flag,1, 'N');
4164: end if;
4165: IF c_service%FOUND THEN
4166: CLOSE c_service;

Line 4163: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_lines: l_serviceable_product_flag'||l_serviceable_product_flag,1, 'N');

4159:
4160: FETCH c_service INTO l_service_item_flag, l_serviceable_product_flag;
4161: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4162: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_lines: l_service_item_flag'||l_service_item_flag,1, 'N');
4163: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_lines: l_serviceable_product_flag'||l_serviceable_product_flag,1, 'N');
4164: end if;
4165: IF c_service%FOUND THEN
4166: CLOSE c_service;
4167: IF l_service_item_flag = 'Y' THEN

Line 4175: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4171: l_service := FND_API.G_FALSE;
4172: l_call_update := FND_API.G_TRUE;
4173: END IF;
4174:
4175: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4176: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_lines: l_call_update'||l_call_update,1, 'N');
4177: end if;
4178:
4179: IF l_call_update = FND_API.G_TRUE THEN

Line 4176: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_lines: l_call_update'||l_call_update,1, 'N');

4172: l_call_update := FND_API.G_TRUE;
4173: END IF;
4174:
4175: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4176: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Create_Quote_lines: l_call_update'||l_call_update,1, 'N');
4177: end if;
4178:
4179: IF l_call_update = FND_API.G_TRUE THEN
4180: ASO_QUOTE_LINES_PVT.service_item_qty_update

Line 4185: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4181: (p_qte_line_rec => X_Qte_Line_Rec ,
4182: p_service_item_flag => l_service,
4183: x_return_status => X_return_status
4184: );
4185: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4186: aso_debug_pub.add('Create_Quote_lines - after call to ASO_QUOTE_LINES_PVT.service_item_qty_update '|| x_return_status, 1, 'Y');
4187: end if;
4188: END IF;
4189: ELSE

Line 4186: aso_debug_pub.add('Create_Quote_lines - after call to ASO_QUOTE_LINES_PVT.service_item_qty_update '|| x_return_status, 1, 'Y');

4182: p_service_item_flag => l_service,
4183: x_return_status => X_return_status
4184: );
4185: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4186: aso_debug_pub.add('Create_Quote_lines - after call to ASO_QUOTE_LINES_PVT.service_item_qty_update '|| x_return_status, 1, 'Y');
4187: end if;
4188: END IF;
4189: ELSE
4190: CLOSE c_service;

Line 4191: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4187: end if;
4188: END IF;
4189: ELSE
4190: CLOSE c_service;
4191: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4192: aso_debug_pub.add('Create_quote_lines, Item not found in inventry',1,'N');
4193: end if;
4194: END IF;
4195:

Line 4192: aso_debug_pub.add('Create_quote_lines, Item not found in inventry',1,'N');

4188: END IF;
4189: ELSE
4190: CLOSE c_service;
4191: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4192: aso_debug_pub.add('Create_quote_lines, Item not found in inventry',1,'N');
4193: end if;
4194: END IF;
4195:
4196:

Line 4198: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4194: END IF;
4195:
4196:
4197: -- sales credits
4198: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4199: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: X_Qte_Line_Rec.quote_header_id: '||X_Qte_Line_Rec.quote_header_id,1,'N');
4200: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: X_Qte_Line_Rec.quote_line_id: '||X_Qte_Line_Rec.quote_line_id,1,'N');
4201: end if;
4202:

Line 4199: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: X_Qte_Line_Rec.quote_header_id: '||X_Qte_Line_Rec.quote_header_id,1,'N');

4195:
4196:
4197: -- sales credits
4198: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4199: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: X_Qte_Line_Rec.quote_header_id: '||X_Qte_Line_Rec.quote_header_id,1,'N');
4200: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: X_Qte_Line_Rec.quote_line_id: '||X_Qte_Line_Rec.quote_line_id,1,'N');
4201: end if;
4202:
4203: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN

Line 4200: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: X_Qte_Line_Rec.quote_line_id: '||X_Qte_Line_Rec.quote_line_id,1,'N');

4196:
4197: -- sales credits
4198: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4199: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: X_Qte_Line_Rec.quote_header_id: '||X_Qte_Line_Rec.quote_header_id,1,'N');
4200: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: X_Qte_Line_Rec.quote_line_id: '||X_Qte_Line_Rec.quote_line_id,1,'N');
4201: end if;
4202:
4203: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN
4204: IF x_sales_credit_tbl.count > 0 THEN

Line 4321: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4317: ,x_msg_count => l_msg_count
4318: ,x_msg_data => l_msg_data
4319: ,x_site_use_id => l_invoice_org_id
4320: );
4321: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4322: aso_debug_pub.add('Create_Quote_lines - after create_acct_site_uses- invoice_org_id: '||nvl(to_char(l_invoice_org_id),'null'), 1, 'N');
4323: end if;
4324: IF L_Return_Status <> FND_API.G_RET_STS_SUCCESS THEN
4325: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR)

Line 4322: aso_debug_pub.add('Create_Quote_lines - after create_acct_site_uses- invoice_org_id: '||nvl(to_char(l_invoice_org_id),'null'), 1, 'N');

4318: ,x_msg_data => l_msg_data
4319: ,x_site_use_id => l_invoice_org_id
4320: );
4321: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4322: aso_debug_pub.add('Create_Quote_lines - after create_acct_site_uses- invoice_org_id: '||nvl(to_char(l_invoice_org_id),'null'), 1, 'N');
4323: end if;
4324: IF L_Return_Status <> FND_API.G_RET_STS_SUCCESS THEN
4325: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR)
4326: THEN

Line 4377: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4373: X_Msg_Count => x_msg_count ,
4374: X_Msg_Data => x_msg_data );
4375:
4376:
4377: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4378: aso_debug_pub.add('Create_Quote_lines - after_calculate_tax- tax_amount: '||nvl(to_char(x_tax_amount),'null'), 1, 'N');
4379: end if;
4380:
4381: if l_tax_detail_tbl.count > 0 then

Line 4378: aso_debug_pub.add('Create_Quote_lines - after_calculate_tax- tax_amount: '||nvl(to_char(x_tax_amount),'null'), 1, 'N');

4374: X_Msg_Data => x_msg_data );
4375:
4376:
4377: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4378: aso_debug_pub.add('Create_Quote_lines - after_calculate_tax- tax_amount: '||nvl(to_char(x_tax_amount),'null'), 1, 'N');
4379: end if;
4380:
4381: if l_tax_detail_tbl.count > 0 then
4382: x_tax_detail_tbl(i) := l_tax_detail_tbl(1);

Line 4468: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4464: -- IF calculate_Freight_Charge = 'N', not summation on line level freight charge,
4465: -- just take the value of p_qte_rec.total_freight_charge
4466: -- how can i get the calc_tax_flag and calc_freight_charge_flag ??
4467:
4468: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4469: aso_debug_pub.add('Create_Quote_lines - before update_quote_total '||l_return_status, 1, 'Y');
4470: end if;
4471:
4472: ASO_QUOTE_HEADERS_PVT.Update_Quote_Total (

Line 4469: aso_debug_pub.add('Create_Quote_lines - before update_quote_total '||l_return_status, 1, 'Y');

4465: -- just take the value of p_qte_rec.total_freight_charge
4466: -- how can i get the calc_tax_flag and calc_freight_charge_flag ??
4467:
4468: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4469: aso_debug_pub.add('Create_Quote_lines - before update_quote_total '||l_return_status, 1, 'Y');
4470: end if;
4471:
4472: ASO_QUOTE_HEADERS_PVT.Update_Quote_Total (
4473: P_Qte_Header_id => x_Qte_line_rec.quote_header_id,

Line 4518: IF aso_debug_pub.g_debug_flag = 'Y' THEN

4514: INTO l_quote_number
4515: FROM aso_quote_headers_all -- bug 8968033
4516: WHERE quote_header_id = x_Qte_line_rec.quote_header_id ;
4517:
4518: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4519: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.Create_Quote_lines : Calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, quote number : ' || l_quote_number, 1, 'Y');
4520: END IF;
4521:
4522: -- Call to insert record in ASO_CHANGED_QUOTES

Line 4519: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.Create_Quote_lines : Calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, quote number : ' || l_quote_number, 1, 'Y');

4515: FROM aso_quote_headers_all -- bug 8968033
4516: WHERE quote_header_id = x_Qte_line_rec.quote_header_id ;
4517:
4518: IF aso_debug_pub.g_debug_flag = 'Y' THEN
4519: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.Create_Quote_lines : Calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, quote number : ' || l_quote_number, 1, 'Y');
4520: END IF;
4521:
4522: -- Call to insert record in ASO_CHANGED_QUOTES
4523: ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES(l_quote_number);

Line 4963: if aso_debug_pub.g_debug_flag = 'Y' THEN

4959:
4960: -- Initialize API return status to SUCCESS
4961: x_return_status := FND_API.G_RET_STS_SUCCESS;
4962:
4963: if aso_debug_pub.g_debug_flag = 'Y' THEN
4964: aso_debug_pub.add('Update_Quote_line - Begin ', 1, 'Y');
4965: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4966: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4967: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');

Line 4964: aso_debug_pub.add('Update_Quote_line - Begin ', 1, 'Y');

4960: -- Initialize API return status to SUCCESS
4961: x_return_status := FND_API.G_RET_STS_SUCCESS;
4962:
4963: if aso_debug_pub.g_debug_flag = 'Y' THEN
4964: aso_debug_pub.add('Update_Quote_line - Begin ', 1, 'Y');
4965: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4966: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4967: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4968: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');

Line 4965: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');

4961: x_return_status := FND_API.G_RET_STS_SUCCESS;
4962:
4963: if aso_debug_pub.g_debug_flag = 'Y' THEN
4964: aso_debug_pub.add('Update_Quote_line - Begin ', 1, 'Y');
4965: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4966: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4967: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4968: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4969: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');

Line 4966: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');

4962:
4963: if aso_debug_pub.g_debug_flag = 'Y' THEN
4964: aso_debug_pub.add('Update_Quote_line - Begin ', 1, 'Y');
4965: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4966: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4967: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4968: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4969: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4970: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');

Line 4967: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');

4963: if aso_debug_pub.g_debug_flag = 'Y' THEN
4964: aso_debug_pub.add('Update_Quote_line - Begin ', 1, 'Y');
4965: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4966: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4967: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4968: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4969: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4970: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4971: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');

Line 4968: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');

4964: aso_debug_pub.add('Update_Quote_line - Begin ', 1, 'Y');
4965: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4966: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4967: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4968: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4969: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4970: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4971: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4972: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');

Line 4969: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');

4965: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4966: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4967: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4968: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4969: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4970: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4971: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4972: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4973: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');

Line 4970: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');

4966: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4967: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4968: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4969: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4970: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4971: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4972: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4973: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4974: aso_debug_pub.add('P_Control_Rec.Change_Customer_flag: '||nvl(P_Control_Rec.Change_Customer_flag,'null'),1,'N'); -- Code change for Quoting Usability Sun ER

Line 4971: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');

4967: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4968: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4969: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4970: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4971: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4972: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4973: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4974: aso_debug_pub.add('P_Control_Rec.Change_Customer_flag: '||nvl(P_Control_Rec.Change_Customer_flag,'null'),1,'N'); -- Code change for Quoting Usability Sun ER
4975: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');

Line 4972: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');

4968: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4969: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4970: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4971: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4972: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4973: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4974: aso_debug_pub.add('P_Control_Rec.Change_Customer_flag: '||nvl(P_Control_Rec.Change_Customer_flag,'null'),1,'N'); -- Code change for Quoting Usability Sun ER
4975: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4976: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');

Line 4973: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');

4969: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4970: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4971: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4972: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4973: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4974: aso_debug_pub.add('P_Control_Rec.Change_Customer_flag: '||nvl(P_Control_Rec.Change_Customer_flag,'null'),1,'N'); -- Code change for Quoting Usability Sun ER
4975: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4976: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4977: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');

Line 4974: aso_debug_pub.add('P_Control_Rec.Change_Customer_flag: '||nvl(P_Control_Rec.Change_Customer_flag,'null'),1,'N'); -- Code change for Quoting Usability Sun ER

4970: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4971: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4972: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4973: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4974: aso_debug_pub.add('P_Control_Rec.Change_Customer_flag: '||nvl(P_Control_Rec.Change_Customer_flag,'null'),1,'N'); -- Code change for Quoting Usability Sun ER
4975: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4976: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4977: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4978: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');

Line 4975: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');

4971: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4972: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4973: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4974: aso_debug_pub.add('P_Control_Rec.Change_Customer_flag: '||nvl(P_Control_Rec.Change_Customer_flag,'null'),1,'N'); -- Code change for Quoting Usability Sun ER
4975: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4976: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4977: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4978: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4979: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');

Line 4976: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');

4972: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4973: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4974: aso_debug_pub.add('P_Control_Rec.Change_Customer_flag: '||nvl(P_Control_Rec.Change_Customer_flag,'null'),1,'N'); -- Code change for Quoting Usability Sun ER
4975: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4976: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4977: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4978: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4979: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4980: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');

Line 4977: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');

4973: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4974: aso_debug_pub.add('P_Control_Rec.Change_Customer_flag: '||nvl(P_Control_Rec.Change_Customer_flag,'null'),1,'N'); -- Code change for Quoting Usability Sun ER
4975: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4976: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4977: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4978: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4979: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4980: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
4981: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');

Line 4978: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');

4974: aso_debug_pub.add('P_Control_Rec.Change_Customer_flag: '||nvl(P_Control_Rec.Change_Customer_flag,'null'),1,'N'); -- Code change for Quoting Usability Sun ER
4975: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4976: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4977: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4978: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4979: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4980: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
4981: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
4982: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');

Line 4979: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');

4975: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4976: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4977: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4978: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4979: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4980: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
4981: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
4982: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
4983: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');

Line 4980: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');

4976: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4977: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4978: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4979: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4980: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
4981: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
4982: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
4983: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
4984: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');

Line 4981: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');

4977: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4978: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4979: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4980: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
4981: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
4982: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
4983: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
4984: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4985: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');

Line 4982: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');

4978: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4979: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4980: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
4981: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
4982: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
4983: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
4984: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4985: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4986: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');

Line 4983: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');

4979: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4980: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
4981: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
4982: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
4983: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
4984: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4985: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4986: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4987: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');

Line 4984: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');

4980: aso_debug_pub.add('P_Qte_Line_Rec.ORDER_LINE_TYPE_ID: '||nvl(to_char(P_Qte_Line_Rec.ORDER_LINE_TYPE_ID),'null'),1,'N');
4981: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
4982: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
4983: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
4984: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4985: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4986: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4987: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4988: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');

Line 4985: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');

4981: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_SITE_ID),'null'),1,'N');
4982: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
4983: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
4984: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4985: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4986: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4987: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4988: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4989: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');

Line 4986: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');

4982: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_PARTY_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_PARTY_ID),'null'),1,'N');
4983: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
4984: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4985: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4986: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4987: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4988: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4989: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
4990: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');

Line 4987: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');

4983: aso_debug_pub.add('P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID: '||nvl(to_char(P_Qte_Line_Rec.INVOICE_TO_CUST_ACCOUNT_ID),'null'),1,'N');
4984: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4985: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4986: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4987: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4988: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4989: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
4990: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
4991: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');

Line 4988: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');

4984: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4985: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4986: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4987: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4988: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4989: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
4990: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
4991: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
4992: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));

Line 4989: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');

4985: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4986: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4987: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4988: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4989: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
4990: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
4991: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
4992: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));
4993: end if;

Line 4990: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');

4986: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4987: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4988: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4989: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
4990: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
4991: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
4992: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));
4993: end if;
4994:

Line 4991: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');

4987: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4988: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4989: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
4990: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
4991: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
4992: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));
4993: end if;
4994:
4995: --

Line 4992: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));

4988: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4989: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_LINE_ID),'null'),1,'N');
4990: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
4991: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
4992: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));
4993: end if;
4994:
4995: --
4996: -- API body

Line 5033: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5029:
5030: Open C_Get_quote( p_qte_line_rec.QUOTE_LINE_ID);
5031: Fetch C_Get_quote into l_LAST_UPDATE_DATE, l_qte_status_id, l_quote_number, l_hd_discount_percent,l_quote_exp_date;
5032:
5033: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5034: aso_debug_pub.add('After c_get_quote',1,'N');
5035: aso_debug_pub.add('l_qte_status_id: '||l_qte_status_id,1,'N');
5036: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
5037: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');

Line 5034: aso_debug_pub.add('After c_get_quote',1,'N');

5030: Open C_Get_quote( p_qte_line_rec.QUOTE_LINE_ID);
5031: Fetch C_Get_quote into l_LAST_UPDATE_DATE, l_qte_status_id, l_quote_number, l_hd_discount_percent,l_quote_exp_date;
5032:
5033: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5034: aso_debug_pub.add('After c_get_quote',1,'N');
5035: aso_debug_pub.add('l_qte_status_id: '||l_qte_status_id,1,'N');
5036: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
5037: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');
5038: end if;

Line 5035: aso_debug_pub.add('l_qte_status_id: '||l_qte_status_id,1,'N');

5031: Fetch C_Get_quote into l_LAST_UPDATE_DATE, l_qte_status_id, l_quote_number, l_hd_discount_percent,l_quote_exp_date;
5032:
5033: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5034: aso_debug_pub.add('After c_get_quote',1,'N');
5035: aso_debug_pub.add('l_qte_status_id: '||l_qte_status_id,1,'N');
5036: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
5037: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');
5038: end if;
5039:

Line 5036: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');

5032:
5033: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5034: aso_debug_pub.add('After c_get_quote',1,'N');
5035: aso_debug_pub.add('l_qte_status_id: '||l_qte_status_id,1,'N');
5036: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
5037: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');
5038: end if;
5039:
5040: If ( C_Get_quote%NOTFOUND) Then

Line 5037: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');

5033: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5034: aso_debug_pub.add('After c_get_quote',1,'N');
5035: aso_debug_pub.add('l_qte_status_id: '||l_qte_status_id,1,'N');
5036: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
5037: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');
5038: end if;
5039:
5040: If ( C_Get_quote%NOTFOUND) Then
5041: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 5051: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5047: raise FND_API.G_EXC_ERROR;
5048: END IF;
5049: Close C_Get_quote;
5050:
5051: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5052: aso_debug_pub.add('After C_Get_quote Cursor call ',1,'N');
5053: end if;
5054:
5055: If (l_last_update_date is NULL or l_last_update_date = FND_API.G_MISS_Date ) Then

Line 5052: aso_debug_pub.add('After C_Get_quote Cursor call ',1,'N');

5048: END IF;
5049: Close C_Get_quote;
5050:
5051: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5052: aso_debug_pub.add('After C_Get_quote Cursor call ',1,'N');
5053: end if;
5054:
5055: If (l_last_update_date is NULL or l_last_update_date = FND_API.G_MISS_Date ) Then
5056:

Line 5076: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5072: END IF;
5073: raise FND_API.G_EXC_ERROR;
5074: End if;
5075:
5076: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5077: aso_debug_pub.add('After Last update date validation',1,'N');
5078: end if;
5079:
5080: Open c_qte_status (l_qte_status_id);

Line 5077: aso_debug_pub.add('After Last update date validation',1,'N');

5073: raise FND_API.G_EXC_ERROR;
5074: End if;
5075:
5076: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5077: aso_debug_pub.add('After Last update date validation',1,'N');
5078: end if;
5079:
5080: Open c_qte_status (l_qte_status_id);
5081: Fetch C_qte_status into l_update_allowed, l_auto_version;

Line 5083: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5079:
5080: Open c_qte_status (l_qte_status_id);
5081: Fetch C_qte_status into l_update_allowed, l_auto_version;
5082:
5083: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5084: aso_debug_pub.add('after c_qte_status',1,'N');
5085: aso_debug_pub.add('l_update_allowed: '||l_update_allowed,1,'N');
5086: aso_debug_pub.add('l_auto_version: '||l_auto_version,1,'N');
5087: end if;

Line 5084: aso_debug_pub.add('after c_qte_status',1,'N');

5080: Open c_qte_status (l_qte_status_id);
5081: Fetch C_qte_status into l_update_allowed, l_auto_version;
5082:
5083: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5084: aso_debug_pub.add('after c_qte_status',1,'N');
5085: aso_debug_pub.add('l_update_allowed: '||l_update_allowed,1,'N');
5086: aso_debug_pub.add('l_auto_version: '||l_auto_version,1,'N');
5087: end if;
5088: Close c_qte_status;

Line 5085: aso_debug_pub.add('l_update_allowed: '||l_update_allowed,1,'N');

5081: Fetch C_qte_status into l_update_allowed, l_auto_version;
5082:
5083: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5084: aso_debug_pub.add('after c_qte_status',1,'N');
5085: aso_debug_pub.add('l_update_allowed: '||l_update_allowed,1,'N');
5086: aso_debug_pub.add('l_auto_version: '||l_auto_version,1,'N');
5087: end if;
5088: Close c_qte_status;
5089:

Line 5086: aso_debug_pub.add('l_auto_version: '||l_auto_version,1,'N');

5082:
5083: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5084: aso_debug_pub.add('after c_qte_status',1,'N');
5085: aso_debug_pub.add('l_update_allowed: '||l_update_allowed,1,'N');
5086: aso_debug_pub.add('l_auto_version: '||l_auto_version,1,'N');
5087: end if;
5088: Close c_qte_status;
5089:
5090: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 5090: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5086: aso_debug_pub.add('l_auto_version: '||l_auto_version,1,'N');
5087: end if;
5088: Close c_qte_status;
5089:
5090: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5091: aso_debug_pub.add('After c_qte_status cursor call',1,'N');
5092: end if;
5093:
5094: -- the control rec does not set auto version to 'Y' then it should not be versioned

Line 5091: aso_debug_pub.add('After c_qte_status cursor call',1,'N');

5087: end if;
5088: Close c_qte_status;
5089:
5090: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5091: aso_debug_pub.add('After c_qte_status cursor call',1,'N');
5092: end if;
5093:
5094: -- the control rec does not set auto version to 'Y' then it should not be versioned
5095:

Line 5106: if aso_debug_pub.g_debug_flag = 'Y' THEN

5102: ELSE
5103: l_auto_version := 'N';
5104: END IF;
5105:
5106: if aso_debug_pub.g_debug_flag = 'Y' THEN
5107: aso_debug_pub.add('after basic validations'|| x_return_status, 1, 'Y');
5108: end if;
5109:
5110: IF l_auto_version = 'Y' THEN

Line 5107: aso_debug_pub.add('after basic validations'|| x_return_status, 1, 'Y');

5103: l_auto_version := 'N';
5104: END IF;
5105:
5106: if aso_debug_pub.g_debug_flag = 'Y' THEN
5107: aso_debug_pub.add('after basic validations'|| x_return_status, 1, 'Y');
5108: end if;
5109:
5110: IF l_auto_version = 'Y' THEN
5111:

Line 5129: if aso_debug_pub.g_debug_flag = 'Y' then

5125: X_Msg_Count => x_msg_count,
5126: X_Msg_Data => x_msg_data
5127: );
5128:
5129: if aso_debug_pub.g_debug_flag = 'Y' then
5130: aso_debug_pub.add('Update_Quote_Line: After copy_quote');
5131: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
5132: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
5133: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);

Line 5130: aso_debug_pub.add('Update_Quote_Line: After copy_quote');

5126: X_Msg_Data => x_msg_data
5127: );
5128:
5129: if aso_debug_pub.g_debug_flag = 'Y' then
5130: aso_debug_pub.add('Update_Quote_Line: After copy_quote');
5131: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
5132: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
5133: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
5134: end if;

Line 5131: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);

5127: );
5128:
5129: if aso_debug_pub.g_debug_flag = 'Y' then
5130: aso_debug_pub.add('Update_Quote_Line: After copy_quote');
5131: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
5132: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
5133: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
5134: end if;
5135:

Line 5132: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);

5128:
5129: if aso_debug_pub.g_debug_flag = 'Y' then
5130: aso_debug_pub.add('Update_Quote_Line: After copy_quote');
5131: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
5132: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
5133: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
5134: end if;
5135:
5136: update aso_quote_headers_all

Line 5133: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);

5129: if aso_debug_pub.g_debug_flag = 'Y' then
5130: aso_debug_pub.add('Update_Quote_Line: After copy_quote');
5131: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
5132: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
5133: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
5134: end if;
5135:
5136: update aso_quote_headers_all
5137: set quote_version = l_quote_version + 1,

Line 5167: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5163: /* Code change for Quoting Usability Sun ER Start */
5164:
5165: IF P_Control_Rec.Change_Customer_flag = FND_API.G_TRUE THEN
5166:
5167: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5168: aso_debug_pub.add('Update_Quote_Line - P_Control_Rec.Change_Customer_flag is True', 1, 'Y');
5169: END IF ;
5170:
5171: l_line_rec.INVOICE_TO_PARTY_SITE_ID := Null;

Line 5168: aso_debug_pub.add('Update_Quote_Line - P_Control_Rec.Change_Customer_flag is True', 1, 'Y');

5164:
5165: IF P_Control_Rec.Change_Customer_flag = FND_API.G_TRUE THEN
5166:
5167: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5168: aso_debug_pub.add('Update_Quote_Line - P_Control_Rec.Change_Customer_flag is True', 1, 'Y');
5169: END IF ;
5170:
5171: l_line_rec.INVOICE_TO_PARTY_SITE_ID := Null;
5172: l_line_rec.INVOICE_TO_PARTY_ID := Null;

Line 5257: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5253: IF l_ln_payment_tbl.count > 0 THEN
5254: l_payment_rec := l_ln_payment_tbl(1);
5255: END IF;
5256:
5257: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5258: aso_debug_pub.add('Update_Quote_Line: Before defaulting framework', 1, 'Y');
5259: aso_debug_pub.add('Update_Quote_Line: populate defaulting control record from the line control record', 1, 'Y');
5260: END IF ;
5261:

Line 5258: aso_debug_pub.add('Update_Quote_Line: Before defaulting framework', 1, 'Y');

5254: l_payment_rec := l_ln_payment_tbl(1);
5255: END IF;
5256:
5257: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5258: aso_debug_pub.add('Update_Quote_Line: Before defaulting framework', 1, 'Y');
5259: aso_debug_pub.add('Update_Quote_Line: populate defaulting control record from the line control record', 1, 'Y');
5260: END IF ;
5261:
5262: l_def_control_rec.Dependency_Flag := p_control_rec.Dependency_Flag;

Line 5259: aso_debug_pub.add('Update_Quote_Line: populate defaulting control record from the line control record', 1, 'Y');

5255: END IF;
5256:
5257: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5258: aso_debug_pub.add('Update_Quote_Line: Before defaulting framework', 1, 'Y');
5259: aso_debug_pub.add('Update_Quote_Line: populate defaulting control record from the line control record', 1, 'Y');
5260: END IF ;
5261:
5262: l_def_control_rec.Dependency_Flag := p_control_rec.Dependency_Flag;
5263: l_def_control_rec.Defaulting_Flag := p_control_rec.Defaulting_Flag;

Line 5268: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5264: l_def_control_rec.Application_Type_Code := p_control_rec.Application_Type_Code;
5265: l_def_control_rec.Defaulting_Flow_Code := 'UPDATE';
5266: l_def_control_rec.last_update_date := p_control_rec.last_update_date;
5267:
5268: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5269: aso_debug_pub.add('Update_Quote_Line: Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
5270: aso_debug_pub.add('Update_Quote_Line: Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5271: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5272: aso_debug_pub.add('Update_Quote_Line: Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');

Line 5269: aso_debug_pub.add('Update_Quote_Line: Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');

5265: l_def_control_rec.Defaulting_Flow_Code := 'UPDATE';
5266: l_def_control_rec.last_update_date := p_control_rec.last_update_date;
5267:
5268: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5269: aso_debug_pub.add('Update_Quote_Line: Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
5270: aso_debug_pub.add('Update_Quote_Line: Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5271: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5272: aso_debug_pub.add('Update_Quote_Line: Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
5273: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');

Line 5270: aso_debug_pub.add('Update_Quote_Line: Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');

5266: l_def_control_rec.last_update_date := p_control_rec.last_update_date;
5267:
5268: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5269: aso_debug_pub.add('Update_Quote_Line: Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
5270: aso_debug_pub.add('Update_Quote_Line: Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5271: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5272: aso_debug_pub.add('Update_Quote_Line: Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
5273: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
5274: aso_debug_pub.add('Update_Quote_Line: last_update_date: '|| l_def_control_rec.last_update_date, 1, 'Y');

Line 5271: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');

5267:
5268: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5269: aso_debug_pub.add('Update_Quote_Line: Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
5270: aso_debug_pub.add('Update_Quote_Line: Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5271: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5272: aso_debug_pub.add('Update_Quote_Line: Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
5273: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
5274: aso_debug_pub.add('Update_Quote_Line: last_update_date: '|| l_def_control_rec.last_update_date, 1, 'Y');
5275: END IF ;

Line 5272: aso_debug_pub.add('Update_Quote_Line: Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');

5268: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5269: aso_debug_pub.add('Update_Quote_Line: Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
5270: aso_debug_pub.add('Update_Quote_Line: Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5271: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5272: aso_debug_pub.add('Update_Quote_Line: Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
5273: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
5274: aso_debug_pub.add('Update_Quote_Line: last_update_date: '|| l_def_control_rec.last_update_date, 1, 'Y');
5275: END IF ;
5276:

Line 5273: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');

5269: aso_debug_pub.add('Update_Quote_Line: Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
5270: aso_debug_pub.add('Update_Quote_Line: Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5271: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5272: aso_debug_pub.add('Update_Quote_Line: Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
5273: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
5274: aso_debug_pub.add('Update_Quote_Line: last_update_date: '|| l_def_control_rec.last_update_date, 1, 'Y');
5275: END IF ;
5276:
5277: IF l_def_control_rec.application_type_code = 'QUOTING HTML' OR l_def_control_rec.application_type_code = 'QUOTING FORM' THEN

Line 5274: aso_debug_pub.add('Update_Quote_Line: last_update_date: '|| l_def_control_rec.last_update_date, 1, 'Y');

5270: aso_debug_pub.add('Update_Quote_Line: Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5271: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5272: aso_debug_pub.add('Update_Quote_Line: Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
5273: aso_debug_pub.add('Update_Quote_Line: Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
5274: aso_debug_pub.add('Update_Quote_Line: last_update_date: '|| l_def_control_rec.last_update_date, 1, 'Y');
5275: END IF ;
5276:
5277: IF l_def_control_rec.application_type_code = 'QUOTING HTML' OR l_def_control_rec.application_type_code = 'QUOTING FORM' THEN
5278: l_db_object_name := ASO_QUOTE_HEADERS_PVT.G_QUOTE_LINE_DB_NAME;

Line 5285: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5281: ELSE
5282: l_control_rec.Defaulting_Fwk_Flag := 'N';
5283: END IF;
5284:
5285: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5286: aso_debug_pub.add('Pick '||l_db_object_name ||' based on calling application '||l_def_control_rec.application_type_code, 1, 'Y');
5287: END IF ;
5288:
5289: /* Removing Call for defaulting from create_quote_line */ -- un-commented for Quoting Usability Sun ER

Line 5286: aso_debug_pub.add('Pick '||l_db_object_name ||' based on calling application '||l_def_control_rec.application_type_code, 1, 'Y');

5282: l_control_rec.Defaulting_Fwk_Flag := 'N';
5283: END IF;
5284:
5285: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5286: aso_debug_pub.add('Pick '||l_db_object_name ||' based on calling application '||l_def_control_rec.application_type_code, 1, 'Y');
5287: END IF ;
5288:
5289: /* Removing Call for defaulting from create_quote_line */ -- un-commented for Quoting Usability Sun ER
5290:

Line 5291: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5287: END IF ;
5288:
5289: /* Removing Call for defaulting from create_quote_line */ -- un-commented for Quoting Usability Sun ER
5290:
5291: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5292: aso_debug_pub.add('Update_Quote_Line - Before Calling Default_Entity procedure', 1, 'Y');
5293: END IF ;
5294:
5295: ASO_DEFAULTING_INT.Default_Entity ( p_api_version => 1.0,

Line 5292: aso_debug_pub.add('Update_Quote_Line - Before Calling Default_Entity procedure', 1, 'Y');

5288:
5289: /* Removing Call for defaulting from create_quote_line */ -- un-commented for Quoting Usability Sun ER
5290:
5291: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5292: aso_debug_pub.add('Update_Quote_Line - Before Calling Default_Entity procedure', 1, 'Y');
5293: END IF ;
5294:
5295: ASO_DEFAULTING_INT.Default_Entity ( p_api_version => 1.0,
5296: p_control_rec => l_def_control_rec,

Line 5316: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5312: x_return_status => x_return_status,
5313: x_msg_count => x_msg_count,
5314: x_msg_data => x_msg_data );
5315:
5316: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5317: aso_debug_pub.add('Update_Quote_line: After call to ASO_DEFAULTING_INT.Default_Entity', 1, 'Y');
5318: aso_debug_pub.add('Update_Quote_line: x_return_status: '|| x_return_status, 1, 'Y');
5319: End If;
5320:

Line 5317: aso_debug_pub.add('Update_Quote_line: After call to ASO_DEFAULTING_INT.Default_Entity', 1, 'Y');

5313: x_msg_count => x_msg_count,
5314: x_msg_data => x_msg_data );
5315:
5316: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5317: aso_debug_pub.add('Update_Quote_line: After call to ASO_DEFAULTING_INT.Default_Entity', 1, 'Y');
5318: aso_debug_pub.add('Update_Quote_line: x_return_status: '|| x_return_status, 1, 'Y');
5319: End If;
5320:
5321: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5318: aso_debug_pub.add('Update_Quote_line: x_return_status: '|| x_return_status, 1, 'Y');

5314: x_msg_data => x_msg_data );
5315:
5316: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5317: aso_debug_pub.add('Update_Quote_line: After call to ASO_DEFAULTING_INT.Default_Entity', 1, 'Y');
5318: aso_debug_pub.add('Update_Quote_line: x_return_status: '|| x_return_status, 1, 'Y');
5319: End If;
5320:
5321: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5322:

Line 5346: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5342: -- bmishra defaulting framework end
5343:
5344: ELSE
5345:
5346: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5347: aso_debug_pub.add('Update_Quote_Line - l_control_rec.defaulting_fwk_flag is N', 1, 'Y');
5348: END IF ;
5349:
5350: lx_qte_line_rec := l_line_rec;

Line 5347: aso_debug_pub.add('Update_Quote_Line - l_control_rec.defaulting_fwk_flag is N', 1, 'Y');

5343:
5344: ELSE
5345:
5346: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5347: aso_debug_pub.add('Update_Quote_Line - l_control_rec.defaulting_fwk_flag is N', 1, 'Y');
5348: END IF ;
5349:
5350: lx_qte_line_rec := l_line_rec;
5351: lx_ln_shipment_tbl := l_ln_Shipment_Tbl;

Line 5357: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5353: END IF;
5354:
5355: ELSIF P_Control_Rec.Change_Customer_flag = FND_API.G_FALSE THEN
5356:
5357: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5358: aso_debug_pub.add('Update_Quote_Line - P_Control_Rec.Change_Customer_flag is FALSE', 1, 'Y');
5359: END IF ;
5360:
5361: lx_qte_line_rec := p_qte_line_rec;

Line 5358: aso_debug_pub.add('Update_Quote_Line - P_Control_Rec.Change_Customer_flag is FALSE', 1, 'Y');

5354:
5355: ELSIF P_Control_Rec.Change_Customer_flag = FND_API.G_FALSE THEN
5356:
5357: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5358: aso_debug_pub.add('Update_Quote_Line - P_Control_Rec.Change_Customer_flag is FALSE', 1, 'Y');
5359: END IF ;
5360:
5361: lx_qte_line_rec := p_qte_line_rec;
5362: lx_ln_shipment_tbl := p_shipment_tbl;

Line 5367: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5363: lx_ln_payment_tbl := p_payment_tbl;
5364: END IF;
5365: /* Code change for Quoting Usability Sun ER End */
5366:
5367: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5368: aso_debug_pub.add('Update_Quote_line - before validation', 1, 'Y');
5369: aso_debug_pub.add('Update_Quote_line: ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM: '||ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM, 1, 'Y');
5370: end if;
5371:

Line 5368: aso_debug_pub.add('Update_Quote_line - before validation', 1, 'Y');

5364: END IF;
5365: /* Code change for Quoting Usability Sun ER End */
5366:
5367: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5368: aso_debug_pub.add('Update_Quote_line - before validation', 1, 'Y');
5369: aso_debug_pub.add('Update_Quote_line: ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM: '||ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM, 1, 'Y');
5370: end if;
5371:
5372: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN

Line 5369: aso_debug_pub.add('Update_Quote_line: ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM: '||ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM, 1, 'Y');

5365: /* Code change for Quoting Usability Sun ER End */
5366:
5367: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5368: aso_debug_pub.add('Update_Quote_line - before validation', 1, 'Y');
5369: aso_debug_pub.add('Update_Quote_line: ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM: '||ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM, 1, 'Y');
5370: end if;
5371:
5372: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN
5373:

Line 5395: if aso_debug_pub.g_debug_flag = 'Y' THEN

5391: x_return_status => x_return_status,
5392: x_msg_count => x_msg_count,
5393: x_msg_data => x_msg_data);
5394:
5395: if aso_debug_pub.g_debug_flag = 'Y' THEN
5396: aso_debug_pub.add('after validate invoice to party: x_return_status: '||x_return_status, 1, 'N');
5397: end if;
5398:
5399: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5396: aso_debug_pub.add('after validate invoice to party: x_return_status: '||x_return_status, 1, 'N');

5392: x_msg_count => x_msg_count,
5393: x_msg_data => x_msg_data);
5394:
5395: if aso_debug_pub.g_debug_flag = 'Y' THEN
5396: aso_debug_pub.add('after validate invoice to party: x_return_status: '||x_return_status, 1, 'N');
5397: end if;
5398:
5399: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5400: RAISE FND_API.G_EXC_ERROR;

Line 5412: if aso_debug_pub.g_debug_flag = 'Y' THEN

5408: x_return_status => x_return_status,
5409: x_msg_count => x_msg_count,
5410: x_msg_data => x_msg_data);
5411:
5412: if aso_debug_pub.g_debug_flag = 'Y' THEN
5413: aso_debug_pub.add('after validate invoice to party site: x_return_status: '||x_return_status, 1, 'N');
5414: end if;
5415:
5416: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5413: aso_debug_pub.add('after validate invoice to party site: x_return_status: '||x_return_status, 1, 'N');

5409: x_msg_count => x_msg_count,
5410: x_msg_data => x_msg_data);
5411:
5412: if aso_debug_pub.g_debug_flag = 'Y' THEN
5413: aso_debug_pub.add('after validate invoice to party site: x_return_status: '||x_return_status, 1, 'N');
5414: end if;
5415:
5416: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5417: RAISE FND_API.G_EXC_ERROR;

Line 5451: if aso_debug_pub.g_debug_flag = 'Y' THEN

5447:
5448: RAISE FND_API.G_EXC_ERROR;
5449: END IF;
5450:
5451: if aso_debug_pub.g_debug_flag = 'Y' THEN
5452: aso_debug_pub.add('After call to Validate_Quote_Price_Exp: x_return_status: '|| x_return_status, 1, 'Y');
5453: end if;
5454:
5455: -- shp_to_party_id must exist and be active in HZ_PARTIES and have the usage SHIP.

Line 5452: aso_debug_pub.add('After call to Validate_Quote_Price_Exp: x_return_status: '|| x_return_status, 1, 'Y');

5448: RAISE FND_API.G_EXC_ERROR;
5449: END IF;
5450:
5451: if aso_debug_pub.g_debug_flag = 'Y' THEN
5452: aso_debug_pub.add('After call to Validate_Quote_Price_Exp: x_return_status: '|| x_return_status, 1, 'Y');
5453: end if;
5454:
5455: -- shp_to_party_id must exist and be active in HZ_PARTIES and have the usage SHIP.
5456:

Line 5459: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5455: -- shp_to_party_id must exist and be active in HZ_PARTIES and have the usage SHIP.
5456:
5457: For i in 1..lx_ln_shipment_tbl.count LOOP
5458:
5459: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5460: aso_debug_pub.add('before validating ship_to party: '||nvl(to_char(lx_ln_shipment_tbl(i).ship_to_party_id), 'null'),1,'N');
5461: end if;
5462:
5463: ASO_VALIDATE_PVT.Validate_Party (

Line 5460: aso_debug_pub.add('before validating ship_to party: '||nvl(to_char(lx_ln_shipment_tbl(i).ship_to_party_id), 'null'),1,'N');

5456:
5457: For i in 1..lx_ln_shipment_tbl.count LOOP
5458:
5459: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5460: aso_debug_pub.add('before validating ship_to party: '||nvl(to_char(lx_ln_shipment_tbl(i).ship_to_party_id), 'null'),1,'N');
5461: end if;
5462:
5463: ASO_VALIDATE_PVT.Validate_Party (
5464: p_init_msg_list => FND_API.G_FALSE,

Line 5471: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5467: x_return_status => x_return_status,
5468: x_msg_count => x_msg_count,
5469: x_msg_data => x_msg_data);
5470:
5471: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5472: aso_debug_pub.add('after validate ship to party: x_return_status: '||x_return_status, 1, 'N');
5473: end if;
5474:
5475: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5472: aso_debug_pub.add('after validate ship to party: x_return_status: '||x_return_status, 1, 'N');

5468: x_msg_count => x_msg_count,
5469: x_msg_data => x_msg_data);
5470:
5471: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5472: aso_debug_pub.add('after validate ship to party: x_return_status: '||x_return_status, 1, 'N');
5473: end if;
5474:
5475: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5476: RAISE FND_API.G_EXC_ERROR;

Line 5479: if aso_debug_pub.g_debug_flag = 'Y' THEN

5475: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5476: RAISE FND_API.G_EXC_ERROR;
5477: END IF;
5478:
5479: if aso_debug_pub.g_debug_flag = 'Y' THEN
5480: aso_debug_pub.add('before validating ship_to party site: '||nvl(to_char(lx_ln_shipment_tbl(i).ship_to_party_site_id),'null'),1,'N');
5481: end if;
5482:
5483: ASO_VALIDATE_PVT.Validate_PartySite (

Line 5480: aso_debug_pub.add('before validating ship_to party site: '||nvl(to_char(lx_ln_shipment_tbl(i).ship_to_party_site_id),'null'),1,'N');

5476: RAISE FND_API.G_EXC_ERROR;
5477: END IF;
5478:
5479: if aso_debug_pub.g_debug_flag = 'Y' THEN
5480: aso_debug_pub.add('before validating ship_to party site: '||nvl(to_char(lx_ln_shipment_tbl(i).ship_to_party_site_id),'null'),1,'N');
5481: end if;
5482:
5483: ASO_VALIDATE_PVT.Validate_PartySite (
5484: p_init_msg_list => FND_API.G_FALSE,

Line 5492: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5488: x_return_status => x_return_status,
5489: x_msg_count => x_msg_count,
5490: x_msg_data => x_msg_data);
5491:
5492: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5493: aso_debug_pub.add('after validate ship to party site: x_return_status: '||x_return_status, 1, 'N');
5494: end if;
5495:
5496: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5493: aso_debug_pub.add('after validate ship to party site: x_return_status: '||x_return_status, 1, 'N');

5489: x_msg_count => x_msg_count,
5490: x_msg_data => x_msg_data);
5491:
5492: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5493: aso_debug_pub.add('after validate ship to party site: x_return_status: '||x_return_status, 1, 'N');
5494: end if;
5495:
5496: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5497: RAISE FND_API.G_EXC_ERROR;

Line 5510: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5506: x_return_status => x_return_status,
5507: x_msg_count => x_msg_count,
5508: x_msg_data => x_msg_data);
5509:
5510: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5511: aso_debug_pub.add('after marketing source code: x_return_status: '|| x_return_status, 1, 'Y');
5512: end if;
5513:
5514: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5511: aso_debug_pub.add('after marketing source code: x_return_status: '|| x_return_status, 1, 'Y');

5507: x_msg_count => x_msg_count,
5508: x_msg_data => x_msg_data);
5509:
5510: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5511: aso_debug_pub.add('after marketing source code: x_return_status: '|| x_return_status, 1, 'Y');
5512: end if;
5513:
5514: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5515: RAISE FND_API.G_EXC_ERROR;

Line 5528: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5524: x_return_status => x_return_status,
5525: x_msg_count => x_msg_count,
5526: x_msg_data => x_msg_data);
5527:
5528: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5529: aso_debug_pub.add('after service duration: x_return_status: '|| x_return_status, 1, 'Y');
5530: end if;
5531:
5532: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 5529: aso_debug_pub.add('after service duration: x_return_status: '|| x_return_status, 1, 'Y');

5525: x_msg_count => x_msg_count,
5526: x_msg_data => x_msg_data);
5527:
5528: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5529: aso_debug_pub.add('after service duration: x_return_status: '|| x_return_status, 1, 'Y');
5530: end if;
5531:
5532: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
5533: RAISE FND_API.G_EXC_ERROR;

Line 5541: if aso_debug_pub.g_debug_flag = 'Y' then

5537:
5538:
5539: FOR i in 1..p_sales_credit_tbl.count LOOP
5540:
5541: if aso_debug_pub.g_debug_flag = 'Y' then
5542: aso_debug_pub.add('p_sales_credit_tbl('||i||').operation_code: '|| p_sales_credit_tbl(i).operation_code,1,'Y');
5543: end if;
5544:
5545: if (p_sales_credit_tbl(i).operation_code = 'CREATE' or p_sales_credit_tbl(i).operation_code = 'UPDATE') then

Line 5542: aso_debug_pub.add('p_sales_credit_tbl('||i||').operation_code: '|| p_sales_credit_tbl(i).operation_code,1,'Y');

5538:
5539: FOR i in 1..p_sales_credit_tbl.count LOOP
5540:
5541: if aso_debug_pub.g_debug_flag = 'Y' then
5542: aso_debug_pub.add('p_sales_credit_tbl('||i||').operation_code: '|| p_sales_credit_tbl(i).operation_code,1,'Y');
5543: end if;
5544:
5545: if (p_sales_credit_tbl(i).operation_code = 'CREATE' or p_sales_credit_tbl(i).operation_code = 'UPDATE') then
5546:

Line 5714: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5710: l_inventory_item_id := lx_qte_line_rec.inventory_item_id;
5711:
5712: END IF;
5713:
5714: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5715: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_organization_id: '|| l_organization_id, 1, 'N');
5716: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_inventory_item_id: '|| l_inventory_item_id, 1, 'N');
5717: end if;
5718:

Line 5715: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_organization_id: '|| l_organization_id, 1, 'N');

5711:
5712: END IF;
5713:
5714: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5715: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_organization_id: '|| l_organization_id, 1, 'N');
5716: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_inventory_item_id: '|| l_inventory_item_id, 1, 'N');
5717: end if;
5718:
5719:

Line 5716: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_inventory_item_id: '|| l_inventory_item_id, 1, 'N');

5712: END IF;
5713:
5714: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5715: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_organization_id: '|| l_organization_id, 1, 'N');
5716: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_inventory_item_id: '|| l_inventory_item_id, 1, 'N');
5717: end if;
5718:
5719:
5720: -- UOM must exist and should be in ASO_I_UNITS_OF_MEASURE

Line 5754: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5750: END IF;
5751: RAISE FND_API.G_EXC_ERROR;
5752: END IF;
5753:
5754: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5755: aso_debug_pub.add('validate greater end date'|| x_return_status , 1, 'Y');
5756: end if;
5757:
5758: FOR i in 1..p_qte_line_dtl_tbl.count LOOP

Line 5755: aso_debug_pub.add('validate greater end date'|| x_return_status , 1, 'Y');

5751: RAISE FND_API.G_EXC_ERROR;
5752: END IF;
5753:
5754: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5755: aso_debug_pub.add('validate greater end date'|| x_return_status , 1, 'Y');
5756: end if;
5757:
5758: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
5759:

Line 5781: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5777: END IF;
5778:
5779: END LOOP;
5780:
5781: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5782: aso_debug_pub.add('validate returns'|| x_return_status, 1, 'Y');
5783: end if;
5784:
5785: -- tax_exempt_flag must be in 'E', 'R' and 'S'

Line 5782: aso_debug_pub.add('validate returns'|| x_return_status, 1, 'Y');

5778:
5779: END LOOP;
5780:
5781: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5782: aso_debug_pub.add('validate returns'|| x_return_status, 1, 'Y');
5783: end if;
5784:
5785: -- tax_exempt_flag must be in 'E', 'R' and 'S'
5786: -- and tax_exempt_reason_code must exist if tax_exempt_flag is 'E'.

Line 5810: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5806: END IF;
5807:
5808: END LOOP;
5809:
5810: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5811: aso_debug_pub.add('validate tax exemption'|| x_return_status, 1, 'Y');
5812: end if;
5813:
5814: FOR i in 1..p_qte_line_dtl_tbl.count LOOP

Line 5811: aso_debug_pub.add('validate tax exemption'|| x_return_status, 1, 'Y');

5807:
5808: END LOOP;
5809:
5810: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5811: aso_debug_pub.add('validate tax exemption'|| x_return_status, 1, 'Y');
5812: end if;
5813:
5814: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
5815:

Line 5816: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5812: end if;
5813:
5814: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
5815:
5816: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5817: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_header_id: '|| p_qte_line_dtl_tbl(i).config_header_id,1,'N');
5818: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_revision_num: '|| p_qte_line_dtl_tbl(i).config_revision_num,1,'N');
5819: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
5820: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_item_id: '|| p_qte_line_dtl_tbl(i).config_item_id,1,'N');

Line 5817: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_header_id: '|| p_qte_line_dtl_tbl(i).config_header_id,1,'N');

5813:
5814: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
5815:
5816: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5817: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_header_id: '|| p_qte_line_dtl_tbl(i).config_header_id,1,'N');
5818: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_revision_num: '|| p_qte_line_dtl_tbl(i).config_revision_num,1,'N');
5819: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
5820: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_item_id: '|| p_qte_line_dtl_tbl(i).config_item_id,1,'N');
5821: end if;

Line 5818: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_revision_num: '|| p_qte_line_dtl_tbl(i).config_revision_num,1,'N');

5814: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
5815:
5816: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5817: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_header_id: '|| p_qte_line_dtl_tbl(i).config_header_id,1,'N');
5818: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_revision_num: '|| p_qte_line_dtl_tbl(i).config_revision_num,1,'N');
5819: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
5820: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_item_id: '|| p_qte_line_dtl_tbl(i).config_item_id,1,'N');
5821: end if;
5822:

Line 5819: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');

5815:
5816: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5817: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_header_id: '|| p_qte_line_dtl_tbl(i).config_header_id,1,'N');
5818: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_revision_num: '|| p_qte_line_dtl_tbl(i).config_revision_num,1,'N');
5819: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
5820: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_item_id: '|| p_qte_line_dtl_tbl(i).config_item_id,1,'N');
5821: end if;
5822:
5823: IF ((p_qte_line_dtl_tbl(i).config_header_id IS NOT NULL AND

Line 5820: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_item_id: '|| p_qte_line_dtl_tbl(i).config_item_id,1,'N');

5816: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5817: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_header_id: '|| p_qte_line_dtl_tbl(i).config_header_id,1,'N');
5818: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_revision_num: '|| p_qte_line_dtl_tbl(i).config_revision_num,1,'N');
5819: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
5820: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:config_item_id: '|| p_qte_line_dtl_tbl(i).config_item_id,1,'N');
5821: end if;
5822:
5823: IF ((p_qte_line_dtl_tbl(i).config_header_id IS NOT NULL AND
5824: p_qte_line_dtl_tbL(i).config_header_id <> FND_API.G_MISS_NUM) AND

Line 5839: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5835: x_return_status => x_return_status,
5836: x_msg_count => x_msg_count,
5837: x_msg_data => x_msg_data);
5838:
5839: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5840: aso_debug_pub.add('Update_Quote_Lines after Validate_Configuration :x_return_status:'||x_return_status,1, 'N');
5841: end if;
5842:
5843: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 5840: aso_debug_pub.add('Update_Quote_Lines after Validate_Configuration :x_return_status:'||x_return_status,1, 'N');

5836: x_msg_count => x_msg_count,
5837: x_msg_data => x_msg_data);
5838:
5839: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5840: aso_debug_pub.add('Update_Quote_Lines after Validate_Configuration :x_return_status:'||x_return_status,1, 'N');
5841: end if;
5842:
5843: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
5844:

Line 5857: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5853:
5854: END LOOP;
5855:
5856:
5857: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5858: aso_debug_pub.add('validate configuration'|| x_return_status, 1, 'Y');
5859: end if;
5860:
5861: FOR i in 1..p_qte_line_dtl_tbl.count LOOP

Line 5858: aso_debug_pub.add('validate configuration'|| x_return_status, 1, 'Y');

5854: END LOOP;
5855:
5856:
5857: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5858: aso_debug_pub.add('validate configuration'|| x_return_status, 1, 'Y');
5859: end if;
5860:
5861: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
5862:

Line 5884: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5880: END IF;
5881:
5882: END LOOP;
5883:
5884: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5885: aso_debug_pub.add('validate delayed service'|| x_return_status, 1, 'Y');
5886: end if;
5887:
5888: /* commented by bmishra on 12/15/2004 as quote_party_tbl is obsoleted

Line 5885: aso_debug_pub.add('validate delayed service'|| x_return_status, 1, 'Y');

5881:
5882: END LOOP;
5883:
5884: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5885: aso_debug_pub.add('validate delayed service'|| x_return_status, 1, 'Y');
5886: end if;
5887:
5888: /* commented by bmishra on 12/15/2004 as quote_party_tbl is obsoleted
5889:

Line 5924: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5920: END IF;
5921:
5922: IF lx_ln_shipment_tbl.count > 0 THEN
5923:
5924: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5925: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5926: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5927: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5928: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');

Line 5925: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');

5921:
5922: IF lx_ln_shipment_tbl.count > 0 THEN
5923:
5924: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5925: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5926: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5927: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5928: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5929: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');

Line 5926: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');

5922: IF lx_ln_shipment_tbl.count > 0 THEN
5923:
5924: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5925: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5926: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5927: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5928: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5929: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5930: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');

Line 5927: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');

5923:
5924: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5925: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5926: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5927: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5928: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5929: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5930: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5931: aso_debug_pub.add('lx_ln_shipment_tbl(1).ship_from_org_id: '|| lx_ln_shipment_tbl(1).ship_from_org_id,1,'Y');

Line 5928: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');

5924: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5925: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5926: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5927: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5928: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5929: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5930: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5931: aso_debug_pub.add('lx_ln_shipment_tbl(1).ship_from_org_id: '|| lx_ln_shipment_tbl(1).ship_from_org_id,1,'Y');
5932: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');

Line 5929: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');

5925: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5926: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5927: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5928: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5929: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5930: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5931: aso_debug_pub.add('lx_ln_shipment_tbl(1).ship_from_org_id: '|| lx_ln_shipment_tbl(1).ship_from_org_id,1,'Y');
5932: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5933: end if;

Line 5930: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');

5926: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5927: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5928: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5929: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5930: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5931: aso_debug_pub.add('lx_ln_shipment_tbl(1).ship_from_org_id: '|| lx_ln_shipment_tbl(1).ship_from_org_id,1,'Y');
5932: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5933: end if;
5934:

Line 5931: aso_debug_pub.add('lx_ln_shipment_tbl(1).ship_from_org_id: '|| lx_ln_shipment_tbl(1).ship_from_org_id,1,'Y');

5927: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5928: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5929: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5930: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5931: aso_debug_pub.add('lx_ln_shipment_tbl(1).ship_from_org_id: '|| lx_ln_shipment_tbl(1).ship_from_org_id,1,'Y');
5932: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5933: end if;
5934:
5935: IF (l_db_shipment_rec.ship_from_org_id <> lx_ln_shipment_tbl(1).ship_from_org_id) OR

Line 5932: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');

5928: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5929: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5930: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5931: aso_debug_pub.add('lx_ln_shipment_tbl(1).ship_from_org_id: '|| lx_ln_shipment_tbl(1).ship_from_org_id,1,'Y');
5932: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5933: end if;
5934:
5935: IF (l_db_shipment_rec.ship_from_org_id <> lx_ln_shipment_tbl(1).ship_from_org_id) OR
5936: ((l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND

Line 5940: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5936: ((l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND
5937: ((lx_ln_shipment_tbl(1).ship_from_org_id IS NOT NULL) AND
5938: (lx_ln_shipment_tbl(1).ship_from_org_id <> FND_API.G_MISS_NUM))) THEN
5939:
5940: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5941: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5942: end if;
5943:
5944: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(

Line 5941: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');

5937: ((lx_ln_shipment_tbl(1).ship_from_org_id IS NOT NULL) AND
5938: (lx_ln_shipment_tbl(1).ship_from_org_id <> FND_API.G_MISS_NUM))) THEN
5939:
5940: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5941: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5942: end if;
5943:
5944: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(
5945: P_Qte_Line_rec => lx_qte_line_rec,

Line 5949: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5945: P_Qte_Line_rec => lx_qte_line_rec,
5946: P_Shipment_rec => lx_ln_shipment_tbl(1),
5947: x_return_status => x_return_status);
5948:
5949: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5950: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: after Validate_ship_from_org_ID', 1, 'Y');
5951: end if;
5952:
5953: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5950: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: after Validate_ship_from_org_ID', 1, 'Y');

5946: P_Shipment_rec => lx_ln_shipment_tbl(1),
5947: x_return_status => x_return_status);
5948:
5949: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5950: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: after Validate_ship_from_org_ID', 1, 'Y');
5951: end if;
5952:
5953: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5954:

Line 5955: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5951: end if;
5952:
5953: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5954:
5955: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5956: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: after Validate_ship_from_org_ID: <> SUCCESS', 1, 'Y');
5957: end if;
5958:
5959: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 5956: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: after Validate_ship_from_org_ID: <> SUCCESS', 1, 'Y');

5952:
5953: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5954:
5955: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5956: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: after Validate_ship_from_org_ID: <> SUCCESS', 1, 'Y');
5957: end if;
5958:
5959: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
5960: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SHIP_FROM_ORG_ID');

Line 5974: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5970: END IF;
5971:
5972: ELSE
5973:
5974: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5975: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');
5976: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5977: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5978: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');

Line 5975: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');

5971:
5972: ELSE
5973:
5974: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5975: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');
5976: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5977: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5978: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5979: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');

Line 5976: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');

5972: ELSE
5973:
5974: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5975: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');
5976: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5977: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5978: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5979: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5980: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');

Line 5977: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');

5973:
5974: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5975: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');
5976: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5977: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5978: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5979: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5980: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5981: end if;

Line 5978: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');

5974: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5975: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');
5976: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5977: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5978: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5979: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5980: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5981: end if;
5982:

Line 5979: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');

5975: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');
5976: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5977: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5978: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5979: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5980: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5981: end if;
5982:
5983: IF (l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND

Line 5980: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');

5976: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5977: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5978: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5979: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5980: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5981: end if;
5982:
5983: IF (l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND
5984: ((l_db_shipment_rec.ship_from_org_id IS NOT NULL) AND

Line 5987: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5983: IF (l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND
5984: ((l_db_shipment_rec.ship_from_org_id IS NOT NULL) AND
5985: (l_db_shipment_rec.ship_from_org_id <> FND_API.G_MISS_NUM)) THEN
5986:
5987: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5988: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID (no lx_ln_shipment_tbl)', 1, 'Y');
5989: end if;
5990:
5991: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(

Line 5988: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID (no lx_ln_shipment_tbl)', 1, 'Y');

5984: ((l_db_shipment_rec.ship_from_org_id IS NOT NULL) AND
5985: (l_db_shipment_rec.ship_from_org_id <> FND_API.G_MISS_NUM)) THEN
5986:
5987: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5988: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID (no lx_ln_shipment_tbl)', 1, 'Y');
5989: end if;
5990:
5991: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(
5992: P_Qte_Line_rec => lx_qte_line_rec,

Line 5996: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5992: P_Qte_Line_rec => lx_qte_line_rec,
5993: P_Shipment_rec => l_db_shipment_rec,
5994: x_return_status => x_return_status);
5995:
5996: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5997: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID (no lx_ln_shipment_tbl)', 1, 'Y');
5998: end if;
5999:
6000: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5997: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID (no lx_ln_shipment_tbl)', 1, 'Y');

5993: P_Shipment_rec => l_db_shipment_rec,
5994: x_return_status => x_return_status);
5995:
5996: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5997: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID (no lx_ln_shipment_tbl)', 1, 'Y');
5998: end if;
5999:
6000: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6001:

Line 6002: IF aso_debug_pub.g_debug_flag = 'Y' THEN

5998: end if;
5999:
6000: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6001:
6002: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6003: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID: <> SUCCESS (no lx_ln_shipment_tbl)', 1, 'Y');
6004: end if;
6005:
6006: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 6003: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID: <> SUCCESS (no lx_ln_shipment_tbl)', 1, 'Y');

5999:
6000: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6001:
6002: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6003: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID: <> SUCCESS (no lx_ln_shipment_tbl)', 1, 'Y');
6004: end if;
6005:
6006: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
6007: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SHIP_FROM_ORG_ID');

Line 6027: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6023: IF l_hd_shipment_tbl.count = 1 THEN
6024: l_hd_shipment_rec := l_hd_shipment_tbl(1);
6025: END IF;
6026:
6027: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6028: aso_debug_pub.add('before Validate_ship_from_org_ID: l_hd_shipment_rec.ship_from_org_id: '||l_hd_shipment_rec.ship_from_org_id, 1, 'Y');
6029: end if;
6030:
6031: IF (l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND

Line 6028: aso_debug_pub.add('before Validate_ship_from_org_ID: l_hd_shipment_rec.ship_from_org_id: '||l_hd_shipment_rec.ship_from_org_id, 1, 'Y');

6024: l_hd_shipment_rec := l_hd_shipment_tbl(1);
6025: END IF;
6026:
6027: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6028: aso_debug_pub.add('before Validate_ship_from_org_ID: l_hd_shipment_rec.ship_from_org_id: '||l_hd_shipment_rec.ship_from_org_id, 1, 'Y');
6029: end if;
6030:
6031: IF (l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND
6032: ((l_hd_shipment_rec.ship_from_org_id IS NOT NULL) AND

Line 6035: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6031: IF (l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND
6032: ((l_hd_shipment_rec.ship_from_org_id IS NOT NULL) AND
6033: (l_hd_shipment_rec.ship_from_org_id <> FND_API.G_MISS_NUM)) THEN
6034:
6035: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6036: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID (no db_shipment_tbl)', 1, 'Y');
6037: end if;
6038:
6039: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(

Line 6036: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID (no db_shipment_tbl)', 1, 'Y');

6032: ((l_hd_shipment_rec.ship_from_org_id IS NOT NULL) AND
6033: (l_hd_shipment_rec.ship_from_org_id <> FND_API.G_MISS_NUM)) THEN
6034:
6035: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6036: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID (no db_shipment_tbl)', 1, 'Y');
6037: end if;
6038:
6039: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(
6040: P_Qte_Line_rec => lx_qte_line_rec,

Line 6044: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6040: P_Qte_Line_rec => lx_qte_line_rec,
6041: P_Shipment_rec => l_hd_shipment_rec,
6042: x_return_status => x_return_status);
6043:
6044: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6045: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID (no db_shipment_tbl)', 1, 'Y');
6046: end if;
6047:
6048: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 6045: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID (no db_shipment_tbl)', 1, 'Y');

6041: P_Shipment_rec => l_hd_shipment_rec,
6042: x_return_status => x_return_status);
6043:
6044: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6045: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID (no db_shipment_tbl)', 1, 'Y');
6046: end if;
6047:
6048: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6049:

Line 6050: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6046: end if;
6047:
6048: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6049:
6050: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6051: aso_debug_pub.add('after Validate_ship_from_org_ID: <> SUCCESS (no db_shipment_tbl)', 1, 'Y');
6052: end if;
6053:
6054: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 6051: aso_debug_pub.add('after Validate_ship_from_org_ID: <> SUCCESS (no db_shipment_tbl)', 1, 'Y');

6047:
6048: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6049:
6050: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6051: aso_debug_pub.add('after Validate_ship_from_org_ID: <> SUCCESS (no db_shipment_tbl)', 1, 'Y');
6052: end if;
6053:
6054: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
6055: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SHIP_FROM_ORG_ID');

Line 6078: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6074: END IF; --IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_RECORD
6075:
6076:
6077: -- if quantity is decreased check to see if the installation details quantity is not greater than the new quantity
6078: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6079: aso_debug_pub.add('Update_Quote_line - before Inst details and populate_quote_line ', 1, 'N');
6080: end if;
6081:
6082: -- hyang csi change 1935614

Line 6079: aso_debug_pub.add('Update_Quote_line - before Inst details and populate_quote_line ', 1, 'N');

6075:
6076:
6077: -- if quantity is decreased check to see if the installation details quantity is not greater than the new quantity
6078: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6079: aso_debug_pub.add('Update_Quote_line - before Inst details and populate_quote_line ', 1, 'N');
6080: end if;
6081:
6082: -- hyang csi change 1935614
6083:

Line 6134: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6130: END IF;
6131:
6132: END LOOP;
6133:
6134: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6135: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.UOM_Code: '||lx_qte_line_rec.UOM_Code,1, 'N');
6136: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.Quantity: '||lx_qte_line_rec.Quantity,1, 'N');
6137: end if;
6138:

Line 6135: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.UOM_Code: '||lx_qte_line_rec.UOM_Code,1, 'N');

6131:
6132: END LOOP;
6133:
6134: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6135: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.UOM_Code: '||lx_qte_line_rec.UOM_Code,1, 'N');
6136: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.Quantity: '||lx_qte_line_rec.Quantity,1, 'N');
6137: end if;
6138:
6139: IF lx_qte_line_rec.UOM_Code = 'ENR' THEN

Line 6136: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.Quantity: '||lx_qte_line_rec.Quantity,1, 'N');

6132: END LOOP;
6133:
6134: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6135: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.UOM_Code: '||lx_qte_line_rec.UOM_Code,1, 'N');
6136: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.Quantity: '||lx_qte_line_rec.Quantity,1, 'N');
6137: end if;
6138:
6139: IF lx_qte_line_rec.UOM_Code = 'ENR' THEN
6140:

Line 6143: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6139: IF lx_qte_line_rec.UOM_Code = 'ENR' THEN
6140:
6141: IF lx_qte_line_rec.Quantity <> FND_API.G_MISS_NUM THEN
6142:
6143: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6144: aso_debug_pub.add('Update_Quote_Line - Invalid Quantity for EDU: ',1, 'N');
6145: end if;
6146:
6147: x_return_status := FND_API.G_RET_STS_ERROR;

Line 6144: aso_debug_pub.add('Update_Quote_Line - Invalid Quantity for EDU: ',1, 'N');

6140:
6141: IF lx_qte_line_rec.Quantity <> FND_API.G_MISS_NUM THEN
6142:
6143: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6144: aso_debug_pub.add('Update_Quote_Line - Invalid Quantity for EDU: ',1, 'N');
6145: end if;
6146:
6147: x_return_status := FND_API.G_RET_STS_ERROR;
6148: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 6158: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6154: END IF;
6155:
6156: END IF;
6157:
6158: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6159: aso_debug_pub.add('Update_Quote_Line - Before call to Populate_Quote_Line.',1, 'N');
6160: end if;
6161:
6162: Populate_Quote_Line( P_Qte_Line_Rec => lx_qte_line_rec,

Line 6159: aso_debug_pub.add('Update_Quote_Line - Before call to Populate_Quote_Line.',1, 'N');

6155:
6156: END IF;
6157:
6158: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6159: aso_debug_pub.add('Update_Quote_Line - Before call to Populate_Quote_Line.',1, 'N');
6160: end if;
6161:
6162: Populate_Quote_Line( P_Qte_Line_Rec => lx_qte_line_rec,
6163: P_Control_Rec => l_control_rec,

Line 6192: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6188: X_Return_Status => X_return_status,
6189: X_Msg_Count => x_msg_count,
6190: X_Msg_Data => x_msg_data );
6191:
6192: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6193: aso_debug_pub.add('Update_Quote_Line - After call to Populate_Quote_Line: x_return_status: '|| x_return_status ,1, 'N');
6194: end if;
6195:
6196: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 6193: aso_debug_pub.add('Update_Quote_Line - After call to Populate_Quote_Line: x_return_status: '|| x_return_status ,1, 'N');

6189: X_Msg_Count => x_msg_count,
6190: X_Msg_Data => x_msg_data );
6191:
6192: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6193: aso_debug_pub.add('Update_Quote_Line - After call to Populate_Quote_Line: x_return_status: '|| x_return_status ,1, 'N');
6194: end if;
6195:
6196: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6197:

Line 6216: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6212: -- becoz of the payment validation which is done further down
6213: l_orig_payment_tbl := l_Payment_Tbl;
6214:
6215: -- inter entity validations
6216: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6217: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: UPDATE_QUOTE_LINE: Begin Inter entity validations');
6218: end if;
6219:
6220: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN

Line 6217: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: UPDATE_QUOTE_LINE: Begin Inter entity validations');

6213: l_orig_payment_tbl := l_Payment_Tbl;
6214:
6215: -- inter entity validations
6216: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6217: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: UPDATE_QUOTE_LINE: Begin Inter entity validations');
6218: end if;
6219:
6220: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN
6221:

Line 6222: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6218: end if;
6219:
6220: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN
6221:
6222: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6223: ASO_DEBUG_PUB.add('UQ organization_id = '||nvl(to_char(l_Qte_Line_Rec.organization_id),'null') , 1, 'Y');
6224: ASO_DEBUG_PUB.add('UQ Inventory_item_id = '||l_Qte_Line_Rec.inventory_item_id, 1, 'Y');
6225: END IF;
6226:

Line 6223: ASO_DEBUG_PUB.add('UQ organization_id = '||nvl(to_char(l_Qte_Line_Rec.organization_id),'null') , 1, 'Y');

6219:
6220: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN
6221:
6222: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6223: ASO_DEBUG_PUB.add('UQ organization_id = '||nvl(to_char(l_Qte_Line_Rec.organization_id),'null') , 1, 'Y');
6224: ASO_DEBUG_PUB.add('UQ Inventory_item_id = '||l_Qte_Line_Rec.inventory_item_id, 1, 'Y');
6225: END IF;
6226:
6227: IF l_Qte_Line_Rec.inventory_item_id <> FND_API.G_MISS_NUM THEN

Line 6224: ASO_DEBUG_PUB.add('UQ Inventory_item_id = '||l_Qte_Line_Rec.inventory_item_id, 1, 'Y');

6220: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN
6221:
6222: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6223: ASO_DEBUG_PUB.add('UQ organization_id = '||nvl(to_char(l_Qte_Line_Rec.organization_id),'null') , 1, 'Y');
6224: ASO_DEBUG_PUB.add('UQ Inventory_item_id = '||l_Qte_Line_Rec.inventory_item_id, 1, 'Y');
6225: END IF;
6226:
6227: IF l_Qte_Line_Rec.inventory_item_id <> FND_API.G_MISS_NUM THEN
6228:

Line 6242: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6238: RAISE FND_API.G_EXC_ERROR;
6239: END IF;
6240: END IF ;
6241:
6242: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6243: aso_debug_pub.add('after inventory item'|| x_return_status, 1, 'Y');
6244: end if;
6245:
6246: -- bug 5196952

Line 6243: aso_debug_pub.add('after inventory item'|| x_return_status, 1, 'Y');

6239: END IF;
6240: END IF ;
6241:
6242: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6243: aso_debug_pub.add('after inventory item'|| x_return_status, 1, 'Y');
6244: end if;
6245:
6246: -- bug 5196952
6247: if (P_shipment_Tbl.count > 0) then

Line 6251: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6247: if (P_shipment_Tbl.count > 0) then
6248:
6249: IF ( p_shipment_tbl(1).ship_method_code is not null and p_shipment_tbl(1).ship_method_code <> fnd_api.g_miss_char) then
6250:
6251: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6252: aso_debug_pub.add('Update_Quote_line - ship method codeof quote line is being updated ', 1, 'N');
6253: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');
6254: end if;
6255: ASO_VALIDATE_PVT.validate_ship_method_code

Line 6252: aso_debug_pub.add('Update_Quote_line - ship method codeof quote line is being updated ', 1, 'N');

6248:
6249: IF ( p_shipment_tbl(1).ship_method_code is not null and p_shipment_tbl(1).ship_method_code <> fnd_api.g_miss_char) then
6250:
6251: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6252: aso_debug_pub.add('Update_Quote_line - ship method codeof quote line is being updated ', 1, 'N');
6253: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');
6254: end if;
6255: ASO_VALIDATE_PVT.validate_ship_method_code
6256: (

Line 6253: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');

6249: IF ( p_shipment_tbl(1).ship_method_code is not null and p_shipment_tbl(1).ship_method_code <> fnd_api.g_miss_char) then
6250:
6251: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6252: aso_debug_pub.add('Update_Quote_line - ship method codeof quote line is being updated ', 1, 'N');
6253: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');
6254: end if;
6255: ASO_VALIDATE_PVT.validate_ship_method_code
6256: (
6257: p_init_msg_list => fnd_api.g_false,

Line 6267: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6263: x_return_status => x_return_status,
6264: x_msg_count => x_msg_count,
6265: x_msg_data => x_msg_data);
6266:
6267: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6268: aso_debug_pub.add('Update_Quote_line - After validate ship_method_code ', 1, 'N');
6269: end if;
6270:
6271: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 6268: aso_debug_pub.add('Update_Quote_line - After validate ship_method_code ', 1, 'N');

6264: x_msg_count => x_msg_count,
6265: x_msg_data => x_msg_data);
6266:
6267: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6268: aso_debug_pub.add('Update_Quote_line - After validate ship_method_code ', 1, 'N');
6269: end if;
6270:
6271: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6272: RAISE FND_API.G_EXC_ERROR;

Line 6277: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6273: END IF;
6274: end if; -- end if for ship method code check
6275: elsif (lx_qte_line_rec.organization_id is not null and lx_qte_line_rec.organization_id <> fnd_api.g_miss_num and P_shipment_Tbl.count = 0) then
6276: -- this means the organization id on the qte line is being updated, hence need to validate the ship method code again for new organization id
6277: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6278: aso_debug_pub.add('Update_Quote_line - Organization id of quote line is being updated ', 1, 'N');
6279: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');
6280: end if;
6281: ASO_VALIDATE_PVT.validate_ship_method_code

Line 6278: aso_debug_pub.add('Update_Quote_line - Organization id of quote line is being updated ', 1, 'N');

6274: end if; -- end if for ship method code check
6275: elsif (lx_qte_line_rec.organization_id is not null and lx_qte_line_rec.organization_id <> fnd_api.g_miss_num and P_shipment_Tbl.count = 0) then
6276: -- this means the organization id on the qte line is being updated, hence need to validate the ship method code again for new organization id
6277: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6278: aso_debug_pub.add('Update_Quote_line - Organization id of quote line is being updated ', 1, 'N');
6279: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');
6280: end if;
6281: ASO_VALIDATE_PVT.validate_ship_method_code
6282: (

Line 6279: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');

6275: elsif (lx_qte_line_rec.organization_id is not null and lx_qte_line_rec.organization_id <> fnd_api.g_miss_num and P_shipment_Tbl.count = 0) then
6276: -- this means the organization id on the qte line is being updated, hence need to validate the ship method code again for new organization id
6277: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6278: aso_debug_pub.add('Update_Quote_line - Organization id of quote line is being updated ', 1, 'N');
6279: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');
6280: end if;
6281: ASO_VALIDATE_PVT.validate_ship_method_code
6282: (
6283: p_init_msg_list => fnd_api.g_false,

Line 6293: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6289: x_return_status => x_return_status,
6290: x_msg_count => x_msg_count,
6291: x_msg_data => x_msg_data);
6292:
6293: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6294: aso_debug_pub.add('Update_Quote_line - After validate ship_method_code ', 1, 'N');
6295: end if;
6296:
6297: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 6294: aso_debug_pub.add('Update_Quote_line - After validate ship_method_code ', 1, 'N');

6290: x_msg_count => x_msg_count,
6291: x_msg_data => x_msg_data);
6292:
6293: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6294: aso_debug_pub.add('Update_Quote_line - After validate ship_method_code ', 1, 'N');
6295: end if;
6296:
6297: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6298: RAISE FND_API.G_EXC_ERROR;

Line 6347: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6343: x_return_status => x_return_status,
6344: x_msg_count => x_msg_count,
6345: x_msg_data => x_msg_data);
6346:
6347: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6348: aso_debug_pub.add('Update_Quote_line: After Validate_Service: x_return_status: '|| x_return_status);
6349: end if;
6350:
6351: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 6348: aso_debug_pub.add('Update_Quote_line: After Validate_Service: x_return_status: '|| x_return_status);

6344: x_msg_count => x_msg_count,
6345: x_msg_data => x_msg_data);
6346:
6347: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6348: aso_debug_pub.add('Update_Quote_line: After Validate_Service: x_return_status: '|| x_return_status);
6349: end if;
6350:
6351: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6352:

Line 6374: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6370: x_return_status => x_return_status,
6371: x_msg_count => x_msg_count,
6372: x_msg_data => x_msg_data);
6373:
6374: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6375: aso_debug_pub.add('Update_Quote_line: After validate service period: x_return_status: '|| x_return_status);
6376: end if;
6377:
6378: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 6375: aso_debug_pub.add('Update_Quote_line: After validate service period: x_return_status: '|| x_return_status);

6371: x_msg_count => x_msg_count,
6372: x_msg_data => x_msg_data);
6373:
6374: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6375: aso_debug_pub.add('Update_Quote_line: After validate service period: x_return_status: '|| x_return_status);
6376: end if;
6377:
6378: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6379: RAISE FND_API.G_EXC_ERROR;

Line 6410: if aso_debug_pub.g_debug_flag = 'Y' then

6406: END IF;
6407:
6408: --New code for Bug#3280130
6409:
6410: if aso_debug_pub.g_debug_flag = 'Y' then
6411: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);
6412: end if;
6413:
6414: if l_qte_line_dtl_tbl(i).service_ref_line_id is not null and

Line 6411: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);

6407:
6408: --New code for Bug#3280130
6409:
6410: if aso_debug_pub.g_debug_flag = 'Y' then
6411: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);
6412: end if;
6413:
6414: if l_qte_line_dtl_tbl(i).service_ref_line_id is not null and
6415: l_qte_line_dtl_tbl(i).service_ref_line_id <> fnd_api.g_miss_num then

Line 6417: if aso_debug_pub.g_debug_flag = 'Y' then

6413:
6414: if l_qte_line_dtl_tbl(i).service_ref_line_id is not null and
6415: l_qte_line_dtl_tbl(i).service_ref_line_id <> fnd_api.g_miss_num then
6416:
6417: if aso_debug_pub.g_debug_flag = 'Y' then
6418: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_type_code: ' || l_qte_line_dtl_tbl(i).service_ref_type_code);
6419: end if;
6420:
6421: if l_qte_line_dtl_tbl(i).service_ref_type_code is null or

Line 6418: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_type_code: ' || l_qte_line_dtl_tbl(i).service_ref_type_code);

6414: if l_qte_line_dtl_tbl(i).service_ref_line_id is not null and
6415: l_qte_line_dtl_tbl(i).service_ref_line_id <> fnd_api.g_miss_num then
6416:
6417: if aso_debug_pub.g_debug_flag = 'Y' then
6418: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_type_code: ' || l_qte_line_dtl_tbl(i).service_ref_type_code);
6419: end if;
6420:
6421: if l_qte_line_dtl_tbl(i).service_ref_type_code is null or
6422: l_qte_line_dtl_tbl(i).service_ref_type_code = fnd_api.g_miss_char then

Line 6428: if aso_debug_pub.g_debug_flag = 'Y' then

6424: open c_service_ref_type_code( l_qte_line_dtl_tbl(i).quote_line_detail_id );
6425: fetch c_service_ref_type_code into l_service_ref_type_code;
6426: close c_service_ref_type_code;
6427:
6428: if aso_debug_pub.g_debug_flag = 'Y' then
6429: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);
6430: end if;
6431:
6432: if l_service_ref_type_code is null then

Line 6429: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);

6425: fetch c_service_ref_type_code into l_service_ref_type_code;
6426: close c_service_ref_type_code;
6427:
6428: if aso_debug_pub.g_debug_flag = 'Y' then
6429: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);
6430: end if;
6431:
6432: if l_service_ref_type_code is null then
6433:

Line 6453: if aso_debug_pub.g_debug_flag = 'Y' then

6449: l_service_ref_type_code := l_qte_line_dtl_tbl(i).service_ref_type_code;
6450:
6451: end if;
6452:
6453: if aso_debug_pub.g_debug_flag = 'Y' then
6454: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);
6455: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);
6456: aso_debug_pub.add('UPDATE_QUOTE_LINE: Before calling aso_validate_pvt.validate_service_ref_line_id');
6457: end if;

Line 6454: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);

6450:
6451: end if;
6452:
6453: if aso_debug_pub.g_debug_flag = 'Y' then
6454: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);
6455: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);
6456: aso_debug_pub.add('UPDATE_QUOTE_LINE: Before calling aso_validate_pvt.validate_service_ref_line_id');
6457: end if;
6458:

Line 6455: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);

6451: end if;
6452:
6453: if aso_debug_pub.g_debug_flag = 'Y' then
6454: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);
6455: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);
6456: aso_debug_pub.add('UPDATE_QUOTE_LINE: Before calling aso_validate_pvt.validate_service_ref_line_id');
6457: end if;
6458:
6459: aso_validate_pvt.validate_service_ref_line_id (

Line 6456: aso_debug_pub.add('UPDATE_QUOTE_LINE: Before calling aso_validate_pvt.validate_service_ref_line_id');

6452:
6453: if aso_debug_pub.g_debug_flag = 'Y' then
6454: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);
6455: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);
6456: aso_debug_pub.add('UPDATE_QUOTE_LINE: Before calling aso_validate_pvt.validate_service_ref_line_id');
6457: end if;
6458:
6459: aso_validate_pvt.validate_service_ref_line_id (
6460: p_init_msg_list => fnd_api.g_false,

Line 6468: if aso_debug_pub.g_debug_flag = 'Y' then

6464: x_return_status => x_return_status,
6465: x_msg_count => x_msg_count,
6466: x_msg_data => x_msg_data);
6467:
6468: if aso_debug_pub.g_debug_flag = 'Y' then
6469: aso_debug_pub.add('UPDATE_QUOTE_LINE: After calling aso_validate_pvt.validate_service_ref_line_id');
6470: aso_debug_pub.add('UPDATE_QUOTE_LINE: x_return_status: '|| x_return_status);
6471: end if;
6472:

Line 6469: aso_debug_pub.add('UPDATE_QUOTE_LINE: After calling aso_validate_pvt.validate_service_ref_line_id');

6465: x_msg_count => x_msg_count,
6466: x_msg_data => x_msg_data);
6467:
6468: if aso_debug_pub.g_debug_flag = 'Y' then
6469: aso_debug_pub.add('UPDATE_QUOTE_LINE: After calling aso_validate_pvt.validate_service_ref_line_id');
6470: aso_debug_pub.add('UPDATE_QUOTE_LINE: x_return_status: '|| x_return_status);
6471: end if;
6472:
6473: if x_return_status <> fnd_api.g_ret_sts_success then

Line 6470: aso_debug_pub.add('UPDATE_QUOTE_LINE: x_return_status: '|| x_return_status);

6466: x_msg_data => x_msg_data);
6467:
6468: if aso_debug_pub.g_debug_flag = 'Y' then
6469: aso_debug_pub.add('UPDATE_QUOTE_LINE: After calling aso_validate_pvt.validate_service_ref_line_id');
6470: aso_debug_pub.add('UPDATE_QUOTE_LINE: x_return_status: '|| x_return_status);
6471: end if;
6472:
6473: if x_return_status <> fnd_api.g_ret_sts_success then
6474: raise fnd_api.g_exc_error;

Line 6509: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6505: END IF;
6506:
6507: END IF; -- inter entity validation
6508:
6509: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6510: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: UPDATE_QUOTE_LINE: End of Inter entity validations');
6511: end if;
6512:
6513:

Line 6510: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: UPDATE_QUOTE_LINE: End of Inter entity validations');

6506:
6507: END IF; -- inter entity validation
6508:
6509: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6510: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: UPDATE_QUOTE_LINE: End of Inter entity validations');
6511: end if;
6512:
6513:
6514: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 6521: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6517:
6518: -- order_type must exist and be active in OE_ORDER_TYPES
6519: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row(l_Qte_Line_Rec.QUOTE_HEADER_ID);
6520:
6521: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6522: aso_debug_pub.add('Validation level is set',1,'N');
6523: aso_debug_pub.add('l_control_rec.application_type_code: '|| l_control_rec.application_type_code ,1,'N');
6524: end if;
6525:

Line 6522: aso_debug_pub.add('Validation level is set',1,'N');

6518: -- order_type must exist and be active in OE_ORDER_TYPES
6519: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row(l_Qte_Line_Rec.QUOTE_HEADER_ID);
6520:
6521: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6522: aso_debug_pub.add('Validation level is set',1,'N');
6523: aso_debug_pub.add('l_control_rec.application_type_code: '|| l_control_rec.application_type_code ,1,'N');
6524: end if;
6525:
6526: ASO_CHECK_TCA_PVT.check_line_account_info(

Line 6523: aso_debug_pub.add('l_control_rec.application_type_code: '|| l_control_rec.application_type_code ,1,'N');

6519: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row(l_Qte_Line_Rec.QUOTE_HEADER_ID);
6520:
6521: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6522: aso_debug_pub.add('Validation level is set',1,'N');
6523: aso_debug_pub.add('l_control_rec.application_type_code: '|| l_control_rec.application_type_code ,1,'N');
6524: end if;
6525:
6526: ASO_CHECK_TCA_PVT.check_line_account_info(
6527: p_api_version => 1.0,

Line 6552: if aso_debug_pub.g_debug_flag = 'Y' THEN

6548: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6549: RAISE FND_API.G_EXC_ERROR;
6550: END IF;
6551:
6552: if aso_debug_pub.g_debug_flag = 'Y' THEN
6553: aso_debug_pub.add('after order type'|| x_return_status, 1, 'Y');
6554: end if;
6555:
6556: If (p_qte_header_rec.order_type_id = FND_API.G_MISS_NUM) then -- [This is for backward compatibility]

Line 6553: aso_debug_pub.add('after order type'|| x_return_status, 1, 'Y');

6549: RAISE FND_API.G_EXC_ERROR;
6550: END IF;
6551:
6552: if aso_debug_pub.g_debug_flag = 'Y' THEN
6553: aso_debug_pub.add('after order type'|| x_return_status, 1, 'Y');
6554: end if;
6555:
6556: If (p_qte_header_rec.order_type_id = FND_API.G_MISS_NUM) then -- [This is for backward compatibility]
6557: l_db_order_type_id := l_qte_header_rec.order_type_id;

Line 6579: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

6575:
6576: End if;
6577:
6578:
6579: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6580: aso_debug_pub.add('x_return_status for Validate_ln_type_for_ord_type'|| x_return_status, 1, 'Y');
6581: END IF;
6582:
6583:

Line 6580: aso_debug_pub.add('x_return_status for Validate_ln_type_for_ord_type'|| x_return_status, 1, 'Y');

6576: End if;
6577:
6578:
6579: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6580: aso_debug_pub.add('x_return_status for Validate_ln_type_for_ord_type'|| x_return_status, 1, 'Y');
6581: END IF;
6582:
6583:
6584: ASO_TRADEIN_PVT.Validate_Line_Tradein( p_init_msg_list => FND_API.G_FALSE,

Line 6595: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6591: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6592: RAISE FND_API.G_EXC_ERROR;
6593: END IF;
6594:
6595: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6596: aso_debug_pub.add('Update_Quote_Line - after Validate_Line_Tradein:x_return_status: '||x_return_status, 1, 'N');
6597: end if;
6598:
6599: ASO_TRADEIN_PVT.Validate_IB_Return_Qty( p_init_msg_list => FND_API.G_FALSE,

Line 6596: aso_debug_pub.add('Update_Quote_Line - after Validate_Line_Tradein:x_return_status: '||x_return_status, 1, 'N');

6592: RAISE FND_API.G_EXC_ERROR;
6593: END IF;
6594:
6595: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6596: aso_debug_pub.add('Update_Quote_Line - after Validate_Line_Tradein:x_return_status: '||x_return_status, 1, 'N');
6597: end if;
6598:
6599: ASO_TRADEIN_PVT.Validate_IB_Return_Qty( p_init_msg_list => FND_API.G_FALSE,
6600: p_Qte_Line_rec => l_Qte_Line_Rec,

Line 6610: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6606: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6607: RAISE FND_API.G_EXC_ERROR;
6608: END IF;
6609:
6610: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6611: aso_debug_pub.add('Update_Quote_Line - after Validate_IB_Return_Qty:x_return_status: '||x_return_status, 1, 'N');
6612: end if;
6613:
6614: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN

Line 6611: aso_debug_pub.add('Update_Quote_Line - after Validate_IB_Return_Qty:x_return_status: '||x_return_status, 1, 'N');

6607: RAISE FND_API.G_EXC_ERROR;
6608: END IF;
6609:
6610: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6611: aso_debug_pub.add('Update_Quote_Line - after Validate_IB_Return_Qty:x_return_status: '||x_return_status, 1, 'N');
6612: end if;
6613:
6614: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN
6615:

Line 6630: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6626: END IF;
6627:
6628: END IF;
6629:
6630: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6631: aso_debug_pub.add('Update_Quote_Line - before Validate_Agreement:l_Qte_Line_Rec.Agreement_Id: '||l_Qte_Line_Rec.Agreement_Id, 1, 'N');
6632: end if;
6633:
6634: IF (l_Qte_Line_Rec.Agreement_Id IS NOT NULL AND l_Qte_Line_Rec.Agreement_Id <> FND_API.G_MISS_NUM) THEN

Line 6631: aso_debug_pub.add('Update_Quote_Line - before Validate_Agreement:l_Qte_Line_Rec.Agreement_Id: '||l_Qte_Line_Rec.Agreement_Id, 1, 'N');

6627:
6628: END IF;
6629:
6630: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6631: aso_debug_pub.add('Update_Quote_Line - before Validate_Agreement:l_Qte_Line_Rec.Agreement_Id: '||l_Qte_Line_Rec.Agreement_Id, 1, 'N');
6632: end if;
6633:
6634: IF (l_Qte_Line_Rec.Agreement_Id IS NOT NULL AND l_Qte_Line_Rec.Agreement_Id <> FND_API.G_MISS_NUM) THEN
6635:

Line 6643: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6639: x_return_status => x_return_status,
6640: x_msg_count => x_msg_count,
6641: x_msg_data => x_msg_data);
6642:
6643: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6644: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:x_return_status: '||x_return_status, 1, 'N');
6645: end if;
6646:
6647: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 6644: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:x_return_status: '||x_return_status, 1, 'N');

6640: x_msg_count => x_msg_count,
6641: x_msg_data => x_msg_data);
6642:
6643: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6644: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:x_return_status: '||x_return_status, 1, 'N');
6645: end if;
6646:
6647: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6648: RAISE FND_API.G_EXC_ERROR;

Line 6675: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6671:
6672: IF l_payment_tbl.count > 0 then
6673: l_payment_rec := l_payment_tbl(1);
6674: --IF l_payment_rec.payment_type_code = 'CREDIT_CARD' THEN
6675: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6676: aso_debug_pub.add('Before calling Validate_cc_info ', 1, 'Y');
6677: END IF;
6678: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row (l_qte_line_rec.Quote_Header_Id );
6679:

Line 6676: aso_debug_pub.add('Before calling Validate_cc_info ', 1, 'Y');

6672: IF l_payment_tbl.count > 0 then
6673: l_payment_rec := l_payment_tbl(1);
6674: --IF l_payment_rec.payment_type_code = 'CREDIT_CARD' THEN
6675: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6676: aso_debug_pub.add('Before calling Validate_cc_info ', 1, 'Y');
6677: END IF;
6678: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row (l_qte_line_rec.Quote_Header_Id );
6679:
6680: aso_validate_pvt.Validate_cc_info

Line 6690: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6686: x_return_status => x_return_status,
6687: x_msg_count => x_msg_count,
6688: x_msg_data => x_msg_data);
6689:
6690: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6691: aso_debug_pub.add('after calling Validate_cc_info ', 1, 'Y');
6692: aso_debug_pub.add('Validate_cc_info Return Status: '||x_return_status, 1, 'Y');
6693: END IF;
6694:

Line 6691: aso_debug_pub.add('after calling Validate_cc_info ', 1, 'Y');

6687: x_msg_count => x_msg_count,
6688: x_msg_data => x_msg_data);
6689:
6690: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6691: aso_debug_pub.add('after calling Validate_cc_info ', 1, 'Y');
6692: aso_debug_pub.add('Validate_cc_info Return Status: '||x_return_status, 1, 'Y');
6693: END IF;
6694:
6695: if x_return_status <> fnd_api.g_ret_sts_success then

Line 6692: aso_debug_pub.add('Validate_cc_info Return Status: '||x_return_status, 1, 'Y');

6688: x_msg_data => x_msg_data);
6689:
6690: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6691: aso_debug_pub.add('after calling Validate_cc_info ', 1, 'Y');
6692: aso_debug_pub.add('Validate_cc_info Return Status: '||x_return_status, 1, 'Y');
6693: END IF;
6694:
6695: if x_return_status <> fnd_api.g_ret_sts_success then
6696: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

Line 6804: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6800: p_PRICING_QUANTITY => l_qte_line_rec.PRICING_QUANTITY,
6801: p_CONFIG_MODEL_TYPE => l_qte_line_rec.CONFIG_MODEL_TYPE
6802: );
6803:
6804: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6805: aso_debug_pub.add('Update_Quote_line - after line.update ', 1, 'N');
6806: end if;
6807: -- line details
6808:

Line 6805: aso_debug_pub.add('Update_Quote_line - after line.update ', 1, 'N');

6801: p_CONFIG_MODEL_TYPE => l_qte_line_rec.CONFIG_MODEL_TYPE
6802: );
6803:
6804: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6805: aso_debug_pub.add('Update_Quote_line - after line.update ', 1, 'N');
6806: end if;
6807: -- line details
6808:
6809: -- Start Updating Line_category_code and order_line_type_id of configured lines if Model

Line 6811: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6807: -- line details
6808:
6809: -- Start Updating Line_category_code and order_line_type_id of configured lines if Model
6810: -- line Line_category_code and order_line_type_id value has changed Bmishra 02/15/02
6811: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6812: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.line_category_code: '||l_Qte_Line_Rec.line_category_code, 1, 'Y');
6813: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.order_line_type_id: '||l_Qte_Line_Rec.order_line_type_id, 1, 'Y');
6814: end if;
6815: IF (l_Qte_Line_Rec.line_category_code <> FND_API.G_MISS_CHAR) OR

Line 6812: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.line_category_code: '||l_Qte_Line_Rec.line_category_code, 1, 'Y');

6808:
6809: -- Start Updating Line_category_code and order_line_type_id of configured lines if Model
6810: -- line Line_category_code and order_line_type_id value has changed Bmishra 02/15/02
6811: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6812: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.line_category_code: '||l_Qte_Line_Rec.line_category_code, 1, 'Y');
6813: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.order_line_type_id: '||l_Qte_Line_Rec.order_line_type_id, 1, 'Y');
6814: end if;
6815: IF (l_Qte_Line_Rec.line_category_code <> FND_API.G_MISS_CHAR) OR
6816: (l_Qte_Line_Rec.order_line_type_id <> FND_API.G_MISS_NUM) THEN

Line 6813: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.order_line_type_id: '||l_Qte_Line_Rec.order_line_type_id, 1, 'Y');

6809: -- Start Updating Line_category_code and order_line_type_id of configured lines if Model
6810: -- line Line_category_code and order_line_type_id value has changed Bmishra 02/15/02
6811: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6812: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.line_category_code: '||l_Qte_Line_Rec.line_category_code, 1, 'Y');
6813: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.order_line_type_id: '||l_Qte_Line_Rec.order_line_type_id, 1, 'Y');
6814: end if;
6815: IF (l_Qte_Line_Rec.line_category_code <> FND_API.G_MISS_CHAR) OR
6816: (l_Qte_Line_Rec.order_line_type_id <> FND_API.G_MISS_NUM) THEN
6817: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 6817: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6813: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.order_line_type_id: '||l_Qte_Line_Rec.order_line_type_id, 1, 'Y');
6814: end if;
6815: IF (l_Qte_Line_Rec.line_category_code <> FND_API.G_MISS_CHAR) OR
6816: (l_Qte_Line_Rec.order_line_type_id <> FND_API.G_MISS_NUM) THEN
6817: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6818: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.item_type_code: '||l_Qte_Line_Rec.item_type_code, 1, 'Y');
6819: end if;
6820: IF l_Qte_Line_Rec.item_type_code = FND_API.G_MISS_CHAR THEN
6821: OPEN c_item_type_code;

Line 6818: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.item_type_code: '||l_Qte_Line_Rec.item_type_code, 1, 'Y');

6814: end if;
6815: IF (l_Qte_Line_Rec.line_category_code <> FND_API.G_MISS_CHAR) OR
6816: (l_Qte_Line_Rec.order_line_type_id <> FND_API.G_MISS_NUM) THEN
6817: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6818: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.item_type_code: '||l_Qte_Line_Rec.item_type_code, 1, 'Y');
6819: end if;
6820: IF l_Qte_Line_Rec.item_type_code = FND_API.G_MISS_CHAR THEN
6821: OPEN c_item_type_code;
6822: FETCH c_item_type_code INTO l_item_type_code;

Line 6823: IF aso_debug_pub.g_debug_flag = 'Y' THEN

6819: end if;
6820: IF l_Qte_Line_Rec.item_type_code = FND_API.G_MISS_CHAR THEN
6821: OPEN c_item_type_code;
6822: FETCH c_item_type_code INTO l_item_type_code;
6823: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6824: aso_debug_pub.add('Update_Quote_lines - Cursor c_item_type_code: l_item_type_code: '||l_item_type_code, 1, 'Y');
6825: end if;
6826: CLOSE c_item_type_code;
6827: ELSIF l_Qte_Line_Rec.item_type_code = 'MDL' THEN

Line 6824: aso_debug_pub.add('Update_Quote_lines - Cursor c_item_type_code: l_item_type_code: '||l_item_type_code, 1, 'Y');

6820: IF l_Qte_Line_Rec.item_type_code = FND_API.G_MISS_CHAR THEN
6821: OPEN c_item_type_code;
6822: FETCH c_item_type_code INTO l_item_type_code;
6823: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6824: aso_debug_pub.add('Update_Quote_lines - Cursor c_item_type_code: l_item_type_code: '||l_item_type_code, 1, 'Y');
6825: end if;
6826: CLOSE c_item_type_code;
6827: ELSIF l_Qte_Line_Rec.item_type_code = 'MDL' THEN
6828: l_item_type_code := l_Qte_Line_Rec.item_type_code;

Line 6837: if aso_debug_pub.g_debug_flag = 'Y' then

6833: OPEN c_order_line_type_id(l_Qte_Line_Rec.quote_line_id);
6834: FETCH c_order_line_type_id INTO l_line_category_code, l_order_line_type_id,
6835: l_config_header_id, l_config_revision_num;
6836:
6837: if aso_debug_pub.g_debug_flag = 'Y' then
6838:
6839: aso_debug_pub.add('c_order_line_type_id: l_line_category_code: '||l_line_category_code);
6840: aso_debug_pub.add('c_order_line_type_id: l_order_line_type_id: '||l_order_line_type_id);
6841: aso_debug_pub.add('c_order_line_type_id: l_config_header_id: '||l_config_header_id);

Line 6839: aso_debug_pub.add('c_order_line_type_id: l_line_category_code: '||l_line_category_code);

6835: l_config_header_id, l_config_revision_num;
6836:
6837: if aso_debug_pub.g_debug_flag = 'Y' then
6838:
6839: aso_debug_pub.add('c_order_line_type_id: l_line_category_code: '||l_line_category_code);
6840: aso_debug_pub.add('c_order_line_type_id: l_order_line_type_id: '||l_order_line_type_id);
6841: aso_debug_pub.add('c_order_line_type_id: l_config_header_id: '||l_config_header_id);
6842: aso_debug_pub.add('c_order_line_type_id: l_config_revision_num: '||l_config_revision_num);
6843:

Line 6840: aso_debug_pub.add('c_order_line_type_id: l_order_line_type_id: '||l_order_line_type_id);

6836:
6837: if aso_debug_pub.g_debug_flag = 'Y' then
6838:
6839: aso_debug_pub.add('c_order_line_type_id: l_line_category_code: '||l_line_category_code);
6840: aso_debug_pub.add('c_order_line_type_id: l_order_line_type_id: '||l_order_line_type_id);
6841: aso_debug_pub.add('c_order_line_type_id: l_config_header_id: '||l_config_header_id);
6842: aso_debug_pub.add('c_order_line_type_id: l_config_revision_num: '||l_config_revision_num);
6843:
6844: end if;

Line 6841: aso_debug_pub.add('c_order_line_type_id: l_config_header_id: '||l_config_header_id);

6837: if aso_debug_pub.g_debug_flag = 'Y' then
6838:
6839: aso_debug_pub.add('c_order_line_type_id: l_line_category_code: '||l_line_category_code);
6840: aso_debug_pub.add('c_order_line_type_id: l_order_line_type_id: '||l_order_line_type_id);
6841: aso_debug_pub.add('c_order_line_type_id: l_config_header_id: '||l_config_header_id);
6842: aso_debug_pub.add('c_order_line_type_id: l_config_revision_num: '||l_config_revision_num);
6843:
6844: end if;
6845:

Line 6842: aso_debug_pub.add('c_order_line_type_id: l_config_revision_num: '||l_config_revision_num);

6838:
6839: aso_debug_pub.add('c_order_line_type_id: l_line_category_code: '||l_line_category_code);
6840: aso_debug_pub.add('c_order_line_type_id: l_order_line_type_id: '||l_order_line_type_id);
6841: aso_debug_pub.add('c_order_line_type_id: l_config_header_id: '||l_config_header_id);
6842: aso_debug_pub.add('c_order_line_type_id: l_config_revision_num: '||l_config_revision_num);
6843:
6844: end if;
6845:
6846: CLOSE c_order_line_type_id;

Line 6850: if aso_debug_pub.g_debug_flag = 'Y' then

6846: CLOSE c_order_line_type_id;
6847:
6848: BEGIN
6849:
6850: if aso_debug_pub.g_debug_flag = 'Y' then
6851: aso_debug_pub.add('Update_Quote_lines - Updating l_line_category_code of children.');
6852: end if;
6853:
6854: if l_config_header_id is not null and l_config_revision_num is not null then

Line 6851: aso_debug_pub.add('Update_Quote_lines - Updating l_line_category_code of children.');

6847:
6848: BEGIN
6849:
6850: if aso_debug_pub.g_debug_flag = 'Y' then
6851: aso_debug_pub.add('Update_Quote_lines - Updating l_line_category_code of children.');
6852: end if;
6853:
6854: if l_config_header_id is not null and l_config_revision_num is not null then
6855:

Line 6878: if aso_debug_pub.g_debug_flag = 'Y' then

6874:
6875: WHEN OTHERS THEN
6876: x_return_status := FND_API.G_RET_STS_ERROR;
6877:
6878: if aso_debug_pub.g_debug_flag = 'Y' then
6879: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_quote_line: line_category_code
6880: update, inside WHEN OTHERS EXCEPTION');
6881: end if;
6882:

Line 6879: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_quote_line: line_category_code

6875: WHEN OTHERS THEN
6876: x_return_status := FND_API.G_RET_STS_ERROR;
6877:
6878: if aso_debug_pub.g_debug_flag = 'Y' then
6879: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_quote_line: line_category_code
6880: update, inside WHEN OTHERS EXCEPTION');
6881: end if;
6882:
6883:

Line 7150: IF aso_debug_pub.g_debug_flag = 'Y' THEN

7146: p_QUOTE_LINE_DETAIL_ID => l_qte_line_dtl_rec.quote_line_detail_id);
7147: END IF;
7148:
7149: END LOOP;
7150: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7151: aso_debug_pub.add('Update_Quote_line - after line_details.update ', 1, 'Y');
7152: end if;
7153:
7154: -- Service line quantity update Bmishra 01/09/02

Line 7151: aso_debug_pub.add('Update_Quote_line - after line_details.update ', 1, 'Y');

7147: END IF;
7148:
7149: END LOOP;
7150: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7151: aso_debug_pub.add('Update_Quote_line - after line_details.update ', 1, 'Y');
7152: end if;
7153:
7154: -- Service line quantity update Bmishra 01/09/02
7155: l_call_update := FND_API.G_FALSE;

Line 7163: IF aso_debug_pub.g_debug_flag = 'Y' THEN

7159: CLOSE c_inventory_item_id;
7160: END IF;
7161: OPEN c_service (l_Qte_Line_Rec.quote_line_id);
7162: FETCH c_service INTO l_service_item_flag, l_serviceable_product_flag;
7163: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7164: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_service_item_flag'||l_service_item_flag,1,'N');
7165: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_serviceable_product_flag'||l_serviceable_product_flag, 1, 'N');
7166: end if;
7167: IF c_service%FOUND THEN

Line 7164: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_service_item_flag'||l_service_item_flag,1,'N');

7160: END IF;
7161: OPEN c_service (l_Qte_Line_Rec.quote_line_id);
7162: FETCH c_service INTO l_service_item_flag, l_serviceable_product_flag;
7163: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7164: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_service_item_flag'||l_service_item_flag,1,'N');
7165: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_serviceable_product_flag'||l_serviceable_product_flag, 1, 'N');
7166: end if;
7167: IF c_service%FOUND THEN
7168: CLOSE c_service;

Line 7165: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_serviceable_product_flag'||l_serviceable_product_flag, 1, 'N');

7161: OPEN c_service (l_Qte_Line_Rec.quote_line_id);
7162: FETCH c_service INTO l_service_item_flag, l_serviceable_product_flag;
7163: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7164: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_service_item_flag'||l_service_item_flag,1,'N');
7165: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_serviceable_product_flag'||l_serviceable_product_flag, 1, 'N');
7166: end if;
7167: IF c_service%FOUND THEN
7168: CLOSE c_service;
7169: IF l_service_item_flag = 'Y' THEN

Line 7170: IF aso_debug_pub.g_debug_flag = 'Y' THEN

7166: end if;
7167: IF c_service%FOUND THEN
7168: CLOSE c_service;
7169: IF l_service_item_flag = 'Y' THEN
7170: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7171: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: Inside IF l_service_item_flag = Y',1,'N');
7172: end if;
7173: l_service := FND_API.G_TRUE;
7174: l_call_update := FND_API.G_TRUE;

Line 7171: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: Inside IF l_service_item_flag = Y',1,'N');

7167: IF c_service%FOUND THEN
7168: CLOSE c_service;
7169: IF l_service_item_flag = 'Y' THEN
7170: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7171: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: Inside IF l_service_item_flag = Y',1,'N');
7172: end if;
7173: l_service := FND_API.G_TRUE;
7174: l_call_update := FND_API.G_TRUE;
7175: ELSIF l_serviceable_product_flag = 'Y' THEN

Line 7176: IF aso_debug_pub.g_debug_flag = 'Y' THEN

7172: end if;
7173: l_service := FND_API.G_TRUE;
7174: l_call_update := FND_API.G_TRUE;
7175: ELSIF l_serviceable_product_flag = 'Y' THEN
7176: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7177: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: Inside IF l_serviceable_product_flag = Y',
7178: 1,'N');
7179: end if;
7180: l_service := FND_API.G_FALSE;

Line 7177: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: Inside IF l_serviceable_product_flag = Y',

7173: l_service := FND_API.G_TRUE;
7174: l_call_update := FND_API.G_TRUE;
7175: ELSIF l_serviceable_product_flag = 'Y' THEN
7176: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7177: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: Inside IF l_serviceable_product_flag = Y',
7178: 1,'N');
7179: end if;
7180: l_service := FND_API.G_FALSE;
7181: l_call_update := FND_API.G_TRUE;

Line 7184: IF aso_debug_pub.g_debug_flag = 'Y' THEN

7180: l_service := FND_API.G_FALSE;
7181: l_call_update := FND_API.G_TRUE;
7182: END IF;
7183:
7184: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7185: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_call_update'||l_call_update,1,'N');
7186: end if;
7187: IF l_call_update = FND_API.G_TRUE THEN
7188: ASO_QUOTE_LINES_PVT.service_item_qty_update

Line 7185: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_call_update'||l_call_update,1,'N');

7181: l_call_update := FND_API.G_TRUE;
7182: END IF;
7183:
7184: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7185: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_call_update'||l_call_update,1,'N');
7186: end if;
7187: IF l_call_update = FND_API.G_TRUE THEN
7188: ASO_QUOTE_LINES_PVT.service_item_qty_update
7189: (p_qte_line_rec => l_Qte_Line_Rec ,

Line 7193: IF aso_debug_pub.g_debug_flag = 'Y' THEN

7189: (p_qte_line_rec => l_Qte_Line_Rec ,
7190: p_service_item_flag => l_service,
7191: x_return_status => X_return_status
7192: );
7193: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7194: aso_debug_pub.add('Update_Quote_lines - after call to ASO_QUOTE_LINES_PVT.service_item_qty_update '||x_return_status, 1, 'Y');
7195: end if;
7196: END IF;
7197: ELSE

Line 7194: aso_debug_pub.add('Update_Quote_lines - after call to ASO_QUOTE_LINES_PVT.service_item_qty_update '||x_return_status, 1, 'Y');

7190: p_service_item_flag => l_service,
7191: x_return_status => X_return_status
7192: );
7193: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7194: aso_debug_pub.add('Update_Quote_lines - after call to ASO_QUOTE_LINES_PVT.service_item_qty_update '||x_return_status, 1, 'Y');
7195: end if;
7196: END IF;
7197: ELSE
7198: CLOSE c_service;

Line 7199: IF aso_debug_pub.g_debug_flag = 'Y' THEN

7195: end if;
7196: END IF;
7197: ELSE
7198: CLOSE c_service;
7199: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7200: aso_debug_pub.add('Update_quote_lines, Item not found in inventry',1,'N');
7201: end if;
7202: END IF;
7203:

Line 7200: aso_debug_pub.add('Update_quote_lines, Item not found in inventry',1,'N');

7196: END IF;
7197: ELSE
7198: CLOSE c_service;
7199: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7200: aso_debug_pub.add('Update_quote_lines, Item not found in inventry',1,'N');
7201: end if;
7202: END IF;
7203:
7204: -- End of Service line quantity update Bmishra 01/09/02

Line 7316: IF aso_debug_pub.g_debug_flag = 'Y' THEN

7312: END LOOP;
7313:
7314:
7315: -- sales credits
7316: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7317: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_header_id: '||l_qte_line_rec.quote_header_id,1,'N');
7318: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_line_id: '||l_qte_line_rec.quote_line_id,1,'N');
7319: end if;
7320:

Line 7317: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_header_id: '||l_qte_line_rec.quote_header_id,1,'N');

7313:
7314:
7315: -- sales credits
7316: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7317: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_header_id: '||l_qte_line_rec.quote_header_id,1,'N');
7318: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_line_id: '||l_qte_line_rec.quote_line_id,1,'N');
7319: end if;
7320:
7321: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN

Line 7318: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_line_id: '||l_qte_line_rec.quote_line_id,1,'N');

7314:
7315: -- sales credits
7316: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7317: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_header_id: '||l_qte_line_rec.quote_header_id,1,'N');
7318: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_line_id: '||l_qte_line_rec.quote_line_id,1,'N');
7319: end if;
7320:
7321: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN
7322: IF x_sales_credit_tbl.count > 0 THEN

Line 7346: IF aso_debug_pub.g_debug_flag = 'Y' THEN

7342:
7343: -- end sales credits
7344:
7345: -- check for duplicate promotions, see bug 4521799
7346: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7347: aso_debug_pub.add('Before calling Validate_Promotion price_attr_tbl.count: '|| p_price_attributes_tbl.count, 1, 'Y');
7348: END IF;
7349:
7350: ASO_VALIDATE_PVT.Validate_Promotion (

Line 7347: aso_debug_pub.add('Before calling Validate_Promotion price_attr_tbl.count: '|| p_price_attributes_tbl.count, 1, 'Y');

7343: -- end sales credits
7344:
7345: -- check for duplicate promotions, see bug 4521799
7346: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7347: aso_debug_pub.add('Before calling Validate_Promotion price_attr_tbl.count: '|| p_price_attributes_tbl.count, 1, 'Y');
7348: END IF;
7349:
7350: ASO_VALIDATE_PVT.Validate_Promotion (
7351: P_Api_Version_Number => 1.0,

Line 7360: IF aso_debug_pub.g_debug_flag = 'Y' THEN

7356: x_return_status => x_return_status,
7357: x_msg_count => x_msg_count,
7358: x_msg_data => x_msg_data);
7359:
7360: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7361: aso_debug_pub.add('after calling Validate_Promotion ', 1, 'Y');
7362: aso_debug_pub.add('Validate_Promotion Return Status: '||x_return_status, 1, 'Y');
7363: END IF;
7364:

Line 7361: aso_debug_pub.add('after calling Validate_Promotion ', 1, 'Y');

7357: x_msg_count => x_msg_count,
7358: x_msg_data => x_msg_data);
7359:
7360: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7361: aso_debug_pub.add('after calling Validate_Promotion ', 1, 'Y');
7362: aso_debug_pub.add('Validate_Promotion Return Status: '||x_return_status, 1, 'Y');
7363: END IF;
7364:
7365: if x_return_status <> fnd_api.g_ret_sts_success then

Line 7362: aso_debug_pub.add('Validate_Promotion Return Status: '||x_return_status, 1, 'Y');

7358: x_msg_data => x_msg_data);
7359:
7360: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7361: aso_debug_pub.add('after calling Validate_Promotion ', 1, 'Y');
7362: aso_debug_pub.add('Validate_Promotion Return Status: '||x_return_status, 1, 'Y');
7363: END IF;
7364:
7365: if x_return_status <> fnd_api.g_ret_sts_success then
7366: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

Line 7677: IF aso_debug_pub.g_debug_flag = 'Y' THEN

7673: END IF;
7674:
7675: END LOOP;
7676:
7677: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7678: aso_debug_pub.add('Update_Quote_line - after line_price_attribs.update ', 1, 'N');
7679: end if;
7680:
7681:

Line 7678: aso_debug_pub.add('Update_Quote_line - after line_price_attribs.update ', 1, 'N');

7674:
7675: END LOOP;
7676:
7677: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7678: aso_debug_pub.add('Update_Quote_line - after line_price_attribs.update ', 1, 'N');
7679: end if;
7680:
7681:
7682: -- aso_shipments_tbl

Line 7702: IF aso_debug_pub.g_debug_flag = 'Y' THEN

7698: l_shipment_rec.freight_terms_code_from := l_shipment_rec.freight_terms_code;
7699: x_shipment_tbl(i).ship_method_code_from := l_shipment_rec.ship_method_code_from;
7700: x_shipment_tbl(i).freight_terms_code_from := l_shipment_rec.freight_terms_code_from;
7701:
7702: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7703: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- l_shipment_tbl(1).ship_method_code'||l_shipment_tbl(1).ship_method_code, 1, 'Y');
7704: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- l_shipment_tbl(1).freight_terms_code'||l_shipment_tbl(1).freight_terms_code, 1, 'Y');
7705: END IF;
7706:

Line 7703: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- l_shipment_tbl(1).ship_method_code'||l_shipment_tbl(1).ship_method_code, 1, 'Y');

7699: x_shipment_tbl(i).ship_method_code_from := l_shipment_rec.ship_method_code_from;
7700: x_shipment_tbl(i).freight_terms_code_from := l_shipment_rec.freight_terms_code_from;
7701:
7702: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7703: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- l_shipment_tbl(1).ship_method_code'||l_shipment_tbl(1).ship_method_code, 1, 'Y');
7704: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- l_shipment_tbl(1).freight_terms_code'||l_shipment_tbl(1).freight_terms_code, 1, 'Y');
7705: END IF;
7706:
7707: ASO_SHIPMENTS_PKG.Insert_Row(

Line 7704: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- l_shipment_tbl(1).freight_terms_code'||l_shipment_tbl(1).freight_terms_code, 1, 'Y');

7700: x_shipment_tbl(i).freight_terms_code_from := l_shipment_rec.freight_terms_code_from;
7701:
7702: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7703: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- l_shipment_tbl(1).ship_method_code'||l_shipment_tbl(1).ship_method_code, 1, 'Y');
7704: aso_debug_pub.add('Before ASO_SHIPMENTS_PKG.insert_rows Quote Line- l_shipment_tbl(1).freight_terms_code'||l_shipment_tbl(1).freight_terms_code, 1, 'Y');
7705: END IF;
7706:
7707: ASO_SHIPMENTS_PKG.Insert_Row(
7708: px_SHIPMENT_ID => x_shipment_tbl(i).SHIPMENT_ID,

Line 8564: IF aso_debug_pub.g_debug_flag = 'Y' THEN

8560: END LOOP;
8561:
8562:
8563: -- New code to call aso_pricing_int.delete_promotion 07/22/02
8564: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8565: aso_debug_pub.add('Update_Rows: l_Price_Attributes_Tbl.count: '||l_Price_Attributes_Tbl.count,1, 'N');
8566: aso_debug_pub.add('Update_Rows: Before call to aso_pricing_int.Delete_Promotion',1, 'N');
8567: end if;
8568:

Line 8565: aso_debug_pub.add('Update_Rows: l_Price_Attributes_Tbl.count: '||l_Price_Attributes_Tbl.count,1, 'N');

8561:
8562:
8563: -- New code to call aso_pricing_int.delete_promotion 07/22/02
8564: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8565: aso_debug_pub.add('Update_Rows: l_Price_Attributes_Tbl.count: '||l_Price_Attributes_Tbl.count,1, 'N');
8566: aso_debug_pub.add('Update_Rows: Before call to aso_pricing_int.Delete_Promotion',1, 'N');
8567: end if;
8568:
8569: IF l_Price_Attributes_Tbl.count > 0 THEN

Line 8566: aso_debug_pub.add('Update_Rows: Before call to aso_pricing_int.Delete_Promotion',1, 'N');

8562:
8563: -- New code to call aso_pricing_int.delete_promotion 07/22/02
8564: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8565: aso_debug_pub.add('Update_Rows: l_Price_Attributes_Tbl.count: '||l_Price_Attributes_Tbl.count,1, 'N');
8566: aso_debug_pub.add('Update_Rows: Before call to aso_pricing_int.Delete_Promotion',1, 'N');
8567: end if;
8568:
8569: IF l_Price_Attributes_Tbl.count > 0 THEN
8570:

Line 8580: IF aso_debug_pub.g_debug_flag = 'Y' THEN

8576: x_return_status => x_return_status,
8577: x_msg_count => x_msg_count,
8578: x_msg_data => x_msg_data
8579: );
8580: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8581: aso_debug_pub.add('Update_Rows: After call to Delete_Promotion: x_return_status: '||x_return_status,1, 'N');
8582: end if;
8583:
8584: END IF;

Line 8581: aso_debug_pub.add('Update_Rows: After call to Delete_Promotion: x_return_status: '||x_return_status,1, 'N');

8577: x_msg_count => x_msg_count,
8578: x_msg_data => x_msg_data
8579: );
8580: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8581: aso_debug_pub.add('Update_Rows: After call to Delete_Promotion: x_return_status: '||x_return_status,1, 'N');
8582: end if;
8583:
8584: END IF;
8585:

Line 8604: IF aso_debug_pub.g_debug_flag = 'Y' THEN

8600: l_payment_rec.quote_line_id := l_qte_line_rec.quote_line_id;
8601: -- BC4J Fix
8602: -- x_payment_tbl(i).PAYMENT_ID := null;
8603: l_payment_rec.PAYMENT_TERM_ID_FROM := l_payment_tbl(i).payment_term_id;
8604: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8605: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows Quote Line l_payment_tbl(i).payment_term_id'||l_payment_tbl(i).payment_term_id, 1, 'Y');
8606: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows Quote Linel_payment_rec.PAYMENT_TERM_ID_FROM'||l_payment_rec.PAYMENT_TERM_ID_FROM, 1, 'Y');
8607: END IF;
8608:

Line 8605: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows Quote Line l_payment_tbl(i).payment_term_id'||l_payment_tbl(i).payment_term_id, 1, 'Y');

8601: -- BC4J Fix
8602: -- x_payment_tbl(i).PAYMENT_ID := null;
8603: l_payment_rec.PAYMENT_TERM_ID_FROM := l_payment_tbl(i).payment_term_id;
8604: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8605: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows Quote Line l_payment_tbl(i).payment_term_id'||l_payment_tbl(i).payment_term_id, 1, 'Y');
8606: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows Quote Linel_payment_rec.PAYMENT_TERM_ID_FROM'||l_payment_rec.PAYMENT_TERM_ID_FROM, 1, 'Y');
8607: END IF;
8608:
8609: -- Suyog Payments Changes

Line 8606: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows Quote Linel_payment_rec.PAYMENT_TERM_ID_FROM'||l_payment_rec.PAYMENT_TERM_ID_FROM, 1, 'Y');

8602: -- x_payment_tbl(i).PAYMENT_ID := null;
8603: l_payment_rec.PAYMENT_TERM_ID_FROM := l_payment_tbl(i).payment_term_id;
8604: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8605: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows Quote Line l_payment_tbl(i).payment_term_id'||l_payment_tbl(i).payment_term_id, 1, 'Y');
8606: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Insert Rows Quote Linel_payment_rec.PAYMENT_TERM_ID_FROM'||l_payment_rec.PAYMENT_TERM_ID_FROM, 1, 'Y');
8607: END IF;
8608:
8609: -- Suyog Payments Changes
8610:

Line 8611: IF aso_debug_pub.g_debug_flag = 'Y' THEN

8607: END IF;
8608:
8609: -- Suyog Payments Changes
8610:
8611: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8612: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to create_payment_row ', 1, 'Y');
8613: END IF;
8614:
8615: aso_payment_int.create_payment_row(p_payment_rec => l_payment_rec ,

Line 8612: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to create_payment_row ', 1, 'Y');

8608:
8609: -- Suyog Payments Changes
8610:
8611: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8612: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to create_payment_row ', 1, 'Y');
8613: END IF;
8614:
8615: aso_payment_int.create_payment_row(p_payment_rec => l_payment_rec ,
8616: x_payment_rec => x_payment_tbl(i),

Line 8621: IF aso_debug_pub.g_debug_flag = 'Y' THEN

8617: x_return_status => x_return_status,
8618: x_msg_count => x_msg_count,
8619: x_msg_data => x_msg_data);
8620:
8621: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8622: aso_debug_pub.add('Update_Quote_Line_Rows: After call to create_payment_row: x_return_status: '||x_return_status, 1, 'Y');
8623: END IF;
8624:
8625: if x_return_status <> fnd_api.g_ret_sts_success then

Line 8622: aso_debug_pub.add('Update_Quote_Line_Rows: After call to create_payment_row: x_return_status: '||x_return_status, 1, 'Y');

8618: x_msg_count => x_msg_count,
8619: x_msg_data => x_msg_data);
8620:
8621: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8622: aso_debug_pub.add('Update_Quote_Line_Rows: After call to create_payment_row: x_return_status: '||x_return_status, 1, 'Y');
8623: END IF;
8624:
8625: if x_return_status <> fnd_api.g_ret_sts_success then
8626: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

Line 8650: IF aso_debug_pub.g_debug_flag = 'Y' THEN

8646: END LOOP;
8647: ELSE
8648: l_payment_rec.payment_term_id_from := l_payment_rec.payment_term_id;
8649: END IF;
8650: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8651: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Update Rows l_payment_rec.payment_term_id'||l_payment_rec.payment_term_id, 1, 'Y');
8652: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Update Rows l_payment_rec.PAYMENT_TERM_ID_FROM'||l_payment_rec.PAYMENT_TERM_ID_FROM, 1, 'Y');
8653: END IF;
8654:

Line 8651: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Update Rows l_payment_rec.payment_term_id'||l_payment_rec.payment_term_id, 1, 'Y');

8647: ELSE
8648: l_payment_rec.payment_term_id_from := l_payment_rec.payment_term_id;
8649: END IF;
8650: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8651: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Update Rows l_payment_rec.payment_term_id'||l_payment_rec.payment_term_id, 1, 'Y');
8652: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Update Rows l_payment_rec.PAYMENT_TERM_ID_FROM'||l_payment_rec.PAYMENT_TERM_ID_FROM, 1, 'Y');
8653: END IF;
8654:
8655:

Line 8652: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Update Rows l_payment_rec.PAYMENT_TERM_ID_FROM'||l_payment_rec.PAYMENT_TERM_ID_FROM, 1, 'Y');

8648: l_payment_rec.payment_term_id_from := l_payment_rec.payment_term_id;
8649: END IF;
8650: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8651: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Update Rows l_payment_rec.payment_term_id'||l_payment_rec.payment_term_id, 1, 'Y');
8652: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Update Rows l_payment_rec.PAYMENT_TERM_ID_FROM'||l_payment_rec.PAYMENT_TERM_ID_FROM, 1, 'Y');
8653: END IF;
8654:
8655:
8656: -- Suyog Payments Changes

Line 8658: IF aso_debug_pub.g_debug_flag = 'Y' THEN

8654:
8655:
8656: -- Suyog Payments Changes
8657:
8658: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8659: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to update_payment_row ', 1, 'Y');
8660: END IF;
8661:
8662: aso_payment_int.update_payment_row(p_payment_rec => l_payment_rec ,

Line 8659: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to update_payment_row ', 1, 'Y');

8655:
8656: -- Suyog Payments Changes
8657:
8658: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8659: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to update_payment_row ', 1, 'Y');
8660: END IF;
8661:
8662: aso_payment_int.update_payment_row(p_payment_rec => l_payment_rec ,
8663: x_payment_rec => x_payment_tbl(i),

Line 8668: IF aso_debug_pub.g_debug_flag = 'Y' THEN

8664: x_return_status => x_return_status,
8665: x_msg_count => x_msg_count,
8666: x_msg_data => x_msg_data);
8667:
8668: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8669: aso_debug_pub.add('Update_Quote_Line_Rows: After call to update_payment_row: x_return_status: '||x_return_status, 1, 'Y');
8670: END IF;
8671: if x_return_status <> fnd_api.g_ret_sts_success then
8672: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

Line 8669: aso_debug_pub.add('Update_Quote_Line_Rows: After call to update_payment_row: x_return_status: '||x_return_status, 1, 'Y');

8665: x_msg_count => x_msg_count,
8666: x_msg_data => x_msg_data);
8667:
8668: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8669: aso_debug_pub.add('Update_Quote_Line_Rows: After call to update_payment_row: x_return_status: '||x_return_status, 1, 'Y');
8670: END IF;
8671: if x_return_status <> fnd_api.g_ret_sts_success then
8672: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN
8673: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 8688: IF aso_debug_pub.g_debug_flag = 'Y' THEN

8684: ELSIF l_payment_rec.operation_code = 'DELETE' THEN
8685:
8686: -- Suyog Payments Changes
8687:
8688: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8689: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to delete_payment_row ', 1, 'Y');
8690: END IF;
8691:
8692: aso_payment_int.delete_payment_row(p_payment_rec => l_payment_rec ,

Line 8689: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to delete_payment_row ', 1, 'Y');

8685:
8686: -- Suyog Payments Changes
8687:
8688: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8689: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to delete_payment_row ', 1, 'Y');
8690: END IF;
8691:
8692: aso_payment_int.delete_payment_row(p_payment_rec => l_payment_rec ,
8693: x_return_status => x_return_status,

Line 8697: IF aso_debug_pub.g_debug_flag = 'Y' THEN

8693: x_return_status => x_return_status,
8694: x_msg_count => x_msg_count,
8695: x_msg_data => x_msg_data);
8696:
8697: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8698: aso_debug_pub.add('Update_Quote_Line_Rows: After call to delete_payment_row: x_return_status: '||x_return_status, 1, 'Y');
8699: END IF;
8700: if x_return_status <> fnd_api.g_ret_sts_success then
8701: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

Line 8698: aso_debug_pub.add('Update_Quote_Line_Rows: After call to delete_payment_row: x_return_status: '||x_return_status, 1, 'Y');

8694: x_msg_count => x_msg_count,
8695: x_msg_data => x_msg_data);
8696:
8697: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8698: aso_debug_pub.add('Update_Quote_Line_Rows: After call to delete_payment_row: x_return_status: '||x_return_status, 1, 'Y');
8699: END IF;
8700: if x_return_status <> fnd_api.g_ret_sts_success then
8701: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN
8702: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 8730: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN

8726: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
8727: RAISE FND_API.G_EXC_ERROR;
8728: END IF;
8729:
8730: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8731: aso_debug_pub.add('x_return_status for Validate_po_line_number'|| x_return_status, 1, 'Y');
8732: END IF;
8733:
8734:

Line 8731: aso_debug_pub.add('x_return_status for Validate_po_line_number'|| x_return_status, 1, 'Y');

8727: RAISE FND_API.G_EXC_ERROR;
8728: END IF;
8729:
8730: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8731: aso_debug_pub.add('x_return_status for Validate_po_line_number'|| x_return_status, 1, 'Y');
8732: END IF;
8733:
8734:
8735: FOR i IN 1..l_line_attribs_ext_Tbl.count LOOP

Line 8892: IF aso_debug_pub.g_debug_flag = 'Y' THEN

8888: IF (x_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
8889: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8890: END IF;
8891:
8892: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8893: aso_debug_pub.add('Update_Quote_line - before calculate_tax_flag ', 1, 'N');
8894: end if;
8895:
8896: /*

Line 8893: aso_debug_pub.add('Update_Quote_line - before calculate_tax_flag ', 1, 'N');

8889: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8890: END IF;
8891:
8892: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8893: aso_debug_pub.add('Update_Quote_line - before calculate_tax_flag ', 1, 'N');
8894: end if;
8895:
8896: /*
8897: *

Line 8914: IF aso_debug_pub.g_debug_flag = 'Y' THEN

8910: NULL;
8911: END IF;
8912: CLOSE get_cust_acct;
8913:
8914: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8915: aso_debug_pub.add('Cust acct'||l_cust_acct , 1, 'Y');
8916: end if;
8917:
8918: IF (l_Qte_Line_Rec.invoice_to_party_site_id is not NULL

Line 8915: aso_debug_pub.add('Cust acct'||l_cust_acct , 1, 'Y');

8911: END IF;
8912: CLOSE get_cust_acct;
8913:
8914: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8915: aso_debug_pub.add('Cust acct'||l_cust_acct , 1, 'Y');
8916: end if;
8917:
8918: IF (l_Qte_Line_Rec.invoice_to_party_site_id is not NULL
8919: AND l_Qte_Line_Rec.invoice_to_party_site_id <> FND_API.G_MISS_NUM) AND

Line 8921: IF aso_debug_pub.g_debug_flag = 'Y' THEN

8917:
8918: IF (l_Qte_Line_Rec.invoice_to_party_site_id is not NULL
8919: AND l_Qte_Line_Rec.invoice_to_party_site_id <> FND_API.G_MISS_NUM) AND
8920: (l_cust_acct is NOT NULL AND l_cust_acct <> FND_API.G_MISS_NUM) THEN
8921: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8922: aso_debug_pub.add('inside if'||nvl(to_char(l_Qte_Line_Rec.invoice_to_party_site_id),'null'), 1, 'Y' );
8923: end if;
8924:
8925: ASO_PARTY_INT.GET_ACCT_SITE_USES (

Line 8922: aso_debug_pub.add('inside if'||nvl(to_char(l_Qte_Line_Rec.invoice_to_party_site_id),'null'), 1, 'Y' );

8918: IF (l_Qte_Line_Rec.invoice_to_party_site_id is not NULL
8919: AND l_Qte_Line_Rec.invoice_to_party_site_id <> FND_API.G_MISS_NUM) AND
8920: (l_cust_acct is NOT NULL AND l_cust_acct <> FND_API.G_MISS_NUM) THEN
8921: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8922: aso_debug_pub.add('inside if'||nvl(to_char(l_Qte_Line_Rec.invoice_to_party_site_id),'null'), 1, 'Y' );
8923: end if;
8924:
8925: ASO_PARTY_INT.GET_ACCT_SITE_USES (
8926: p_api_version => 1.0

Line 9109: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9105: INTO l_quote_number
9106: FROM aso_quote_headers_all -- bug 8968033
9107: WHERE quote_header_id = l_Qte_Line_Rec.quote_header_id;
9108:
9109: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9110: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.update_quote_line : Calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, quote number : ' || l_quote_number, 1, 'Y');
9111: END IF;
9112:
9113: -- Call to insert record in ASO_CHANGED_QUOTES

Line 9110: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.update_quote_line : Calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, quote number : ' || l_quote_number, 1, 'Y');

9106: FROM aso_quote_headers_all -- bug 8968033
9107: WHERE quote_header_id = l_Qte_Line_Rec.quote_header_id;
9108:
9109: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9110: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.update_quote_line : Calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, quote number : ' || l_quote_number, 1, 'Y');
9111: END IF;
9112:
9113: -- Call to insert record in ASO_CHANGED_QUOTES
9114: ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES(l_quote_number);

Line 9325: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9321: l_payment_tbl ASO_QUOTE_PUB.Payment_Tbl_Type;
9322: l_payment_rec aso_quote_pub.payment_rec_type;
9323: l_qte_number NUMBER ;
9324: BEGIN
9325: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9326: aso_debug_pub.add('Delete_Quote_lines - Begin ', 1, 'Y');
9327: aso_debug_pub.add('Delete_Quote_Line: P_qte_line_Rec.quote_line_id: '||P_qte_line_Rec.quote_line_id);
9328: aso_debug_pub.add('Delete_Quote_Line: P_Update_Header_Flag: '||P_Update_Header_Flag);
9329: end if;

Line 9326: aso_debug_pub.add('Delete_Quote_lines - Begin ', 1, 'Y');

9322: l_payment_rec aso_quote_pub.payment_rec_type;
9323: l_qte_number NUMBER ;
9324: BEGIN
9325: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9326: aso_debug_pub.add('Delete_Quote_lines - Begin ', 1, 'Y');
9327: aso_debug_pub.add('Delete_Quote_Line: P_qte_line_Rec.quote_line_id: '||P_qte_line_Rec.quote_line_id);
9328: aso_debug_pub.add('Delete_Quote_Line: P_Update_Header_Flag: '||P_Update_Header_Flag);
9329: end if;
9330:

Line 9327: aso_debug_pub.add('Delete_Quote_Line: P_qte_line_Rec.quote_line_id: '||P_qte_line_Rec.quote_line_id);

9323: l_qte_number NUMBER ;
9324: BEGIN
9325: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9326: aso_debug_pub.add('Delete_Quote_lines - Begin ', 1, 'Y');
9327: aso_debug_pub.add('Delete_Quote_Line: P_qte_line_Rec.quote_line_id: '||P_qte_line_Rec.quote_line_id);
9328: aso_debug_pub.add('Delete_Quote_Line: P_Update_Header_Flag: '||P_Update_Header_Flag);
9329: end if;
9330:
9331: -- Standard Start of API savepoint

Line 9328: aso_debug_pub.add('Delete_Quote_Line: P_Update_Header_Flag: '||P_Update_Header_Flag);

9324: BEGIN
9325: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9326: aso_debug_pub.add('Delete_Quote_lines - Begin ', 1, 'Y');
9327: aso_debug_pub.add('Delete_Quote_Line: P_qte_line_Rec.quote_line_id: '||P_qte_line_Rec.quote_line_id);
9328: aso_debug_pub.add('Delete_Quote_Line: P_Update_Header_Flag: '||P_Update_Header_Flag);
9329: end if;
9330:
9331: -- Standard Start of API savepoint
9332: SAVEPOINT DELETE_quote_line_PVT;

Line 9372: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9368: open c_pricing_line_type_indicator;
9369: fetch c_pricing_line_type_indicator into l_pricing_line_type_indicator;
9370: close c_pricing_line_type_indicator;
9371:
9372: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9373: aso_debug_pub.add('l_pricing_line_type_indicator: '|| l_pricing_line_type_indicator);
9374: end if;
9375:
9376: IF (p_update_header_flag = 'Y') THEN

Line 9373: aso_debug_pub.add('l_pricing_line_type_indicator: '|| l_pricing_line_type_indicator);

9369: fetch c_pricing_line_type_indicator into l_pricing_line_type_indicator;
9370: close c_pricing_line_type_indicator;
9371:
9372: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9373: aso_debug_pub.add('l_pricing_line_type_indicator: '|| l_pricing_line_type_indicator);
9374: end if;
9375:
9376: IF (p_update_header_flag = 'Y') THEN
9377:

Line 9432: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9428: l_auto_version := 'N';
9429:
9430: END IF;
9431:
9432: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9433: aso_debug_pub.add('Delete_Quote_Line: l_auto_version: '|| l_auto_version);
9434: end if;
9435:
9436:

Line 9433: aso_debug_pub.add('Delete_Quote_Line: l_auto_version: '|| l_auto_version);

9429:
9430: END IF;
9431:
9432: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9433: aso_debug_pub.add('Delete_Quote_Line: l_auto_version: '|| l_auto_version);
9434: end if;
9435:
9436:
9437: IF l_auto_version = 'Y' THEN

Line 9467: if aso_debug_pub.g_debug_flag = 'Y' THEN

9463: X_Msg_Count => x_msg_count,
9464: X_Msg_Data => x_msg_data
9465: );
9466:
9467: if aso_debug_pub.g_debug_flag = 'Y' THEN
9468: aso_debug_pub.add('Delete_Quote_Line: After call to aso_copy_quote_pvt.copy_quote');
9469: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
9470: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
9471: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);

Line 9468: aso_debug_pub.add('Delete_Quote_Line: After call to aso_copy_quote_pvt.copy_quote');

9464: X_Msg_Data => x_msg_data
9465: );
9466:
9467: if aso_debug_pub.g_debug_flag = 'Y' THEN
9468: aso_debug_pub.add('Delete_Quote_Line: After call to aso_copy_quote_pvt.copy_quote');
9469: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
9470: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
9471: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
9472: end if;

Line 9469: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);

9465: );
9466:
9467: if aso_debug_pub.g_debug_flag = 'Y' THEN
9468: aso_debug_pub.add('Delete_Quote_Line: After call to aso_copy_quote_pvt.copy_quote');
9469: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
9470: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
9471: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
9472: end if;
9473:

Line 9470: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);

9466:
9467: if aso_debug_pub.g_debug_flag = 'Y' THEN
9468: aso_debug_pub.add('Delete_Quote_Line: After call to aso_copy_quote_pvt.copy_quote');
9469: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
9470: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
9471: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
9472: end if;
9473:
9474: update aso_quote_headers_all

Line 9471: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);

9467: if aso_debug_pub.g_debug_flag = 'Y' THEN
9468: aso_debug_pub.add('Delete_Quote_Line: After call to aso_copy_quote_pvt.copy_quote');
9469: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
9470: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
9471: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
9472: end if;
9473:
9474: update aso_quote_headers_all
9475: set quote_version = l_quote_version + 1,

Line 9523: if aso_debug_pub.g_debug_flag = 'Y' THEN

9519: aso_price_adjustments b
9520: where a.rltd_price_adj_id = b.price_adjustment_id
9521: and b.quote_line_id = p_qte_line_rec.quote_line_id);
9522:
9523: if aso_debug_pub.g_debug_flag = 'Y' THEN
9524: aso_debug_pub.add('No. of free adjustment lines selected is sql%rowcount: '||sql%rowcount);
9525: end if;
9526:
9527: if aso_debug_pub.g_debug_flag = 'Y' THEN

Line 9524: aso_debug_pub.add('No. of free adjustment lines selected is sql%rowcount: '||sql%rowcount);

9520: where a.rltd_price_adj_id = b.price_adjustment_id
9521: and b.quote_line_id = p_qte_line_rec.quote_line_id);
9522:
9523: if aso_debug_pub.g_debug_flag = 'Y' THEN
9524: aso_debug_pub.add('No. of free adjustment lines selected is sql%rowcount: '||sql%rowcount);
9525: end if;
9526:
9527: if aso_debug_pub.g_debug_flag = 'Y' THEN
9528:

Line 9527: if aso_debug_pub.g_debug_flag = 'Y' THEN

9523: if aso_debug_pub.g_debug_flag = 'Y' THEN
9524: aso_debug_pub.add('No. of free adjustment lines selected is sql%rowcount: '||sql%rowcount);
9525: end if;
9526:
9527: if aso_debug_pub.g_debug_flag = 'Y' THEN
9528:
9529: if adj_id_tbl.count > 0 then
9530:
9531: for i in adj_id_tbl.FIRST..adj_id_tbl.LAST loop

Line 9532: aso_debug_pub.add('adj_id_tbl('||i||'): ' || adj_id_tbl(i));

9528:
9529: if adj_id_tbl.count > 0 then
9530:
9531: for i in adj_id_tbl.FIRST..adj_id_tbl.LAST loop
9532: aso_debug_pub.add('adj_id_tbl('||i||'): ' || adj_id_tbl(i));
9533: end loop;
9534:
9535: end if;
9536:

Line 9548: if aso_debug_pub.g_debug_flag = 'Y' THEN

9544: SET updated_flag = 'Y'
9545: WHERE price_adjustment_id = adj_id_tbl(i)
9546: AND modifier_line_type_code = G_DISCOUNT;
9547:
9548: if aso_debug_pub.g_debug_flag = 'Y' THEN
9549: aso_debug_pub.add('No of adjustment lines updated is sql%rowcount: '||sql%rowcount);
9550: end if;
9551:
9552: end if;

Line 9549: aso_debug_pub.add('No of adjustment lines updated is sql%rowcount: '||sql%rowcount);

9545: WHERE price_adjustment_id = adj_id_tbl(i)
9546: AND modifier_line_type_code = G_DISCOUNT;
9547:
9548: if aso_debug_pub.g_debug_flag = 'Y' THEN
9549: aso_debug_pub.add('No of adjustment lines updated is sql%rowcount: '||sql%rowcount);
9550: end if;
9551:
9552: end if;
9553:

Line 9563: if aso_debug_pub.g_debug_flag = 'Y' THEN

9559: from aso_price_adj_relationships a, aso_price_adjustments b
9560: where a.rltd_price_adj_id = b.price_adjustment_id
9561: and b.quote_line_id = p_qte_line_rec.quote_line_id;
9562:
9563: if aso_debug_pub.g_debug_flag = 'Y' THEN
9564: aso_debug_pub.add('No. of PRG adjustment lines selected is sql%rowcount: '||sql%rowcount);
9565: end if;
9566:
9567: if aso_debug_pub.g_debug_flag = 'Y' THEN

Line 9564: aso_debug_pub.add('No. of PRG adjustment lines selected is sql%rowcount: '||sql%rowcount);

9560: where a.rltd_price_adj_id = b.price_adjustment_id
9561: and b.quote_line_id = p_qte_line_rec.quote_line_id;
9562:
9563: if aso_debug_pub.g_debug_flag = 'Y' THEN
9564: aso_debug_pub.add('No. of PRG adjustment lines selected is sql%rowcount: '||sql%rowcount);
9565: end if;
9566:
9567: if aso_debug_pub.g_debug_flag = 'Y' THEN
9568:

Line 9567: if aso_debug_pub.g_debug_flag = 'Y' THEN

9563: if aso_debug_pub.g_debug_flag = 'Y' THEN
9564: aso_debug_pub.add('No. of PRG adjustment lines selected is sql%rowcount: '||sql%rowcount);
9565: end if;
9566:
9567: if aso_debug_pub.g_debug_flag = 'Y' THEN
9568:
9569: if adj_id_tbl.count > 0 then
9570:
9571: for i in adj_id_tbl.FIRST..adj_id_tbl.LAST loop

Line 9572: aso_debug_pub.add('adj_id_tbl('||i||'): ' || adj_id_tbl(i));

9568:
9569: if adj_id_tbl.count > 0 then
9570:
9571: for i in adj_id_tbl.FIRST..adj_id_tbl.LAST loop
9572: aso_debug_pub.add('adj_id_tbl('||i||'): ' || adj_id_tbl(i));
9573: end loop;
9574:
9575: end if;
9576:

Line 9588: if aso_debug_pub.g_debug_flag = 'Y' THEN

9584: SET updated_flag = 'Y'
9585: WHERE price_adjustment_id = adj_id_tbl(i)
9586: AND modifier_line_type_code = G_PROMO_GOODS_DISCOUNT;
9587:
9588: if aso_debug_pub.g_debug_flag = 'Y' THEN
9589: aso_debug_pub.add('No of PRG adjustment lines updated is sql%rowcount: '||sql%rowcount);
9590: end if;
9591:
9592: end if;

Line 9589: aso_debug_pub.add('No of PRG adjustment lines updated is sql%rowcount: '||sql%rowcount);

9585: WHERE price_adjustment_id = adj_id_tbl(i)
9586: AND modifier_line_type_code = G_PROMO_GOODS_DISCOUNT;
9587:
9588: if aso_debug_pub.g_debug_flag = 'Y' THEN
9589: aso_debug_pub.add('No of PRG adjustment lines updated is sql%rowcount: '||sql%rowcount);
9590: end if;
9591:
9592: end if;
9593:

Line 9598: if aso_debug_pub.g_debug_flag = 'Y' THEN

9594: exception
9595:
9596: when others then
9597:
9598: if aso_debug_pub.g_debug_flag = 'Y' THEN
9599: aso_debug_pub.add('Delete_Quote_Line: Updation of updated_flag column in aso_price_adjustments table failed.');
9600: end if;
9601:
9602: end;

Line 9599: aso_debug_pub.add('Delete_Quote_Line: Updation of updated_flag column in aso_price_adjustments table failed.');

9595:
9596: when others then
9597:
9598: if aso_debug_pub.g_debug_flag = 'Y' THEN
9599: aso_debug_pub.add('Delete_Quote_Line: Updation of updated_flag column in aso_price_adjustments table failed.');
9600: end if;
9601:
9602: end;
9603:

Line 9606: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9602: end;
9603:
9604: end if;
9605:
9606: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9607: aso_debug_pub.add('After updation of updated_flag column in aso_price_adjustments table.', 1, 'Y');
9608: end if;
9609:
9610: --Changes for deleting PRG lines

Line 9607: aso_debug_pub.add('After updation of updated_flag column in aso_price_adjustments table.', 1, 'Y');

9603:
9604: end if;
9605:
9606: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9607: aso_debug_pub.add('After updation of updated_flag column in aso_price_adjustments table.', 1, 'Y');
9608: end if;
9609:
9610: --Changes for deleting PRG lines
9611: open c_prg_lines;

Line 9616: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9612: fetch c_prg_lines into l_modifier_line_type_code;
9613:
9614: if c_prg_lines%found then
9615:
9616: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9617: aso_debug_pub.add('before deleting the PRG lines', 1, 'Y');
9618: end if;
9619:
9620: for row in c_free_lines loop

Line 9617: aso_debug_pub.add('before deleting the PRG lines', 1, 'Y');

9613:
9614: if c_prg_lines%found then
9615:
9616: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9617: aso_debug_pub.add('before deleting the PRG lines', 1, 'Y');
9618: end if;
9619:
9620: for row in c_free_lines loop
9621:

Line 9649: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9645: -- these tables may or may not have any rows
9646: -- ideally exception should be handled by the table handler
9647:
9648:
9649: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9650: aso_debug_pub.add('before deleting the quote line attributes.', 1, 'Y');
9651: end if;
9652:
9653: -- delete quote line attributes

Line 9650: aso_debug_pub.add('before deleting the quote line attributes.', 1, 'Y');

9646: -- ideally exception should be handled by the table handler
9647:
9648:
9649: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9650: aso_debug_pub.add('before deleting the quote line attributes.', 1, 'Y');
9651: end if;
9652:
9653: -- delete quote line attributes
9654: BEGIN

Line 9671: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9667: WHEN NO_DATA_FOUND THEN
9668: null;
9669: END;
9670:
9671: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9672: aso_debug_pub.add('before deleting the quote line relationships.', 1, 'Y');
9673: end if;
9674:
9675: -- delete line relationships

Line 9672: aso_debug_pub.add('before deleting the quote line relationships.', 1, 'Y');

9668: null;
9669: END;
9670:
9671: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9672: aso_debug_pub.add('before deleting the quote line relationships.', 1, 'Y');
9673: end if;
9674:
9675: -- delete line relationships
9676:

Line 9715: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9711: END IF;
9712: RAISE FND_API.G_EXC_ERROR;
9713: END IF;
9714:
9715: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9716: aso_debug_pub.add('before deleting the quote line price adjustments.', 1, 'Y');
9717: end if;
9718:
9719: -- delete price adjustments

Line 9716: aso_debug_pub.add('before deleting the quote line price adjustments.', 1, 'Y');

9712: RAISE FND_API.G_EXC_ERROR;
9713: END IF;
9714:
9715: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9716: aso_debug_pub.add('before deleting the quote line price adjustments.', 1, 'Y');
9717: end if;
9718:
9719: -- delete price adjustments
9720: -- this should once again delete price adj relationships

Line 9733: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9729:
9730: -- delete payments
9731: BEGIN
9732:
9733: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9734: aso_debug_pub.add('Delete_Quote_Line: Before call to delete_payment_row ', 1, 'Y');
9735: END IF;
9736:
9737: l_payment_tbl := aso_utility_pvt.Query_Payment_Rows(p_qte_line_rec.quote_header_id,p_qte_line_rec.quote_line_id);

Line 9734: aso_debug_pub.add('Delete_Quote_Line: Before call to delete_payment_row ', 1, 'Y');

9730: -- delete payments
9731: BEGIN
9732:
9733: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9734: aso_debug_pub.add('Delete_Quote_Line: Before call to delete_payment_row ', 1, 'Y');
9735: END IF;
9736:
9737: l_payment_tbl := aso_utility_pvt.Query_Payment_Rows(p_qte_line_rec.quote_header_id,p_qte_line_rec.quote_line_id);
9738:

Line 9739: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9735: END IF;
9736:
9737: l_payment_tbl := aso_utility_pvt.Query_Payment_Rows(p_qte_line_rec.quote_header_id,p_qte_line_rec.quote_line_id);
9738:
9739: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9740: aso_debug_pub.add('Delete_Quote_Line: l_payment_tbl.count: '|| l_payment_tbl.count, 1, 'Y');
9741: END IF;
9742:
9743: if l_payment_tbl.count > 0 then

Line 9740: aso_debug_pub.add('Delete_Quote_Line: l_payment_tbl.count: '|| l_payment_tbl.count, 1, 'Y');

9736:
9737: l_payment_tbl := aso_utility_pvt.Query_Payment_Rows(p_qte_line_rec.quote_header_id,p_qte_line_rec.quote_line_id);
9738:
9739: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9740: aso_debug_pub.add('Delete_Quote_Line: l_payment_tbl.count: '|| l_payment_tbl.count, 1, 'Y');
9741: END IF;
9742:
9743: if l_payment_tbl.count > 0 then
9744:

Line 9745: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9741: END IF;
9742:
9743: if l_payment_tbl.count > 0 then
9744:
9745: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9746: aso_debug_pub.add('Delete_Quote_Line: Inside if for payment tbl count > 0 ', 1, 'Y');
9747: END IF;
9748:
9749:

Line 9746: aso_debug_pub.add('Delete_Quote_Line: Inside if for payment tbl count > 0 ', 1, 'Y');

9742:
9743: if l_payment_tbl.count > 0 then
9744:
9745: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9746: aso_debug_pub.add('Delete_Quote_Line: Inside if for payment tbl count > 0 ', 1, 'Y');
9747: END IF;
9748:
9749:
9750: if l_payment_tbl(1).trxn_extension_id is not null then

Line 9754: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9750: if l_payment_tbl(1).trxn_extension_id is not null then
9751:
9752: l_payment_rec := l_payment_tbl(1);
9753:
9754: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9755: aso_debug_pub.add('Delete_Quote_Line: Before call to delete_payment_row', 1, 'Y');
9756: END IF;
9757:
9758: aso_payment_int.delete_payment_row(p_payment_rec => l_payment_rec ,

Line 9755: aso_debug_pub.add('Delete_Quote_Line: Before call to delete_payment_row', 1, 'Y');

9751:
9752: l_payment_rec := l_payment_tbl(1);
9753:
9754: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9755: aso_debug_pub.add('Delete_Quote_Line: Before call to delete_payment_row', 1, 'Y');
9756: END IF;
9757:
9758: aso_payment_int.delete_payment_row(p_payment_rec => l_payment_rec ,
9759: x_return_status => x_return_status,

Line 9763: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9759: x_return_status => x_return_status,
9760: x_msg_count => x_msg_count,
9761: x_msg_data => x_msg_data);
9762:
9763: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9764: aso_debug_pub.add('Delete_Quote_Line: After call to delete_payment_row: x_return_status: '||x_return_status, 1, 'Y');
9765: END IF;
9766: if x_return_status <> fnd_api.g_ret_sts_success then
9767: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

Line 9764: aso_debug_pub.add('Delete_Quote_Line: After call to delete_payment_row: x_return_status: '||x_return_status, 1, 'Y');

9760: x_msg_count => x_msg_count,
9761: x_msg_data => x_msg_data);
9762:
9763: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9764: aso_debug_pub.add('Delete_Quote_Line: After call to delete_payment_row: x_return_status: '||x_return_status, 1, 'Y');
9765: END IF;
9766: if x_return_status <> fnd_api.g_ret_sts_success then
9767: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN
9768: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 9778: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9774: end if;
9775:
9776: else
9777:
9778: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9779: aso_debug_pub.add('Delete_Quote_Line: Before calling table handler to delete payment row', 1, 'Y');
9780: END IF;
9781:
9782: aso_payments_pkg.Delete_Row(p_payment_id => l_payment_tbl(1).payment_id);

Line 9779: aso_debug_pub.add('Delete_Quote_Line: Before calling table handler to delete payment row', 1, 'Y');

9775:
9776: else
9777:
9778: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9779: aso_debug_pub.add('Delete_Quote_Line: Before calling table handler to delete payment row', 1, 'Y');
9780: END IF;
9781:
9782: aso_payments_pkg.Delete_Row(p_payment_id => l_payment_tbl(1).payment_id);
9783: end if;

Line 9787: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9783: end if;
9784:
9785: end if;
9786:
9787: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9788: aso_debug_pub.add('Delete_Quote_Line: After deleting the payment row', 1, 'Y');
9789: END IF;
9790:
9791: EXCEPTION

Line 9788: aso_debug_pub.add('Delete_Quote_Line: After deleting the payment row', 1, 'Y');

9784:
9785: end if;
9786:
9787: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9788: aso_debug_pub.add('Delete_Quote_Line: After deleting the payment row', 1, 'Y');
9789: END IF;
9790:
9791: EXCEPTION
9792: WHEN NO_DATA_FOUND THEN

Line 9814: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9810: WHEN NO_DATA_FOUND THEN
9811: null;
9812: END;
9813:
9814: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9815: aso_debug_pub.add('Delete_Quote_Line: Before deleting the sales credits', 1, 'Y');
9816: END IF;
9817:
9818: -- delete salescredits

Line 9815: aso_debug_pub.add('Delete_Quote_Line: Before deleting the sales credits', 1, 'Y');

9811: null;
9812: END;
9813:
9814: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9815: aso_debug_pub.add('Delete_Quote_Line: Before deleting the sales credits', 1, 'Y');
9816: END IF;
9817:
9818: -- delete salescredits
9819: ASO_SALES_CREDITS_PKG.Delete_row(

Line 9822: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9818: -- delete salescredits
9819: ASO_SALES_CREDITS_PKG.Delete_row(
9820: p_QUOTE_LINE_ID => p_qte_line_rec.quote_line_id);
9821:
9822: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9823: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote parties', 1, 'Y');
9824: END IF;
9825:
9826: -- delete quote parties

Line 9823: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote parties', 1, 'Y');

9819: ASO_SALES_CREDITS_PKG.Delete_row(
9820: p_QUOTE_LINE_ID => p_qte_line_rec.quote_line_id);
9821:
9822: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9823: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote parties', 1, 'Y');
9824: END IF;
9825:
9826: -- delete quote parties
9827: ASO_QUOTE_PARTIES_PKG.Delete_row(

Line 9885: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9881:
9882:
9883: END IF; -- 'MDL'
9884:
9885: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9886: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line details', 1, 'Y');
9887: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9888: END IF;
9889:

Line 9886: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line details', 1, 'Y');

9882:
9883: END IF; -- 'MDL'
9884:
9885: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9886: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line details', 1, 'Y');
9887: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9888: END IF;
9889:
9890: -- delete quote line details

Line 9887: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);

9883: END IF; -- 'MDL'
9884:
9885: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9886: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line details', 1, 'Y');
9887: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9888: END IF;
9889:
9890: -- delete quote line details
9891: BEGIN

Line 9968: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9964:
9965: END LOOP;
9966:
9967:
9968: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9969: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line', 1, 'Y');
9970: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9971: END IF;
9972:

Line 9969: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line', 1, 'Y');

9965: END LOOP;
9966:
9967:
9968: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9969: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line', 1, 'Y');
9970: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9971: END IF;
9972:
9973: BEGIN

Line 9970: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);

9966:
9967:
9968: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9969: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line', 1, 'Y');
9970: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9971: END IF;
9972:
9973: BEGIN
9974: ASO_QUOTE_LINES_PKG.Delete_Row( p_quote_line_id => p_qte_line_rec.quote_line_id);

Line 9981: IF aso_debug_pub.g_debug_flag = 'Y' THEN

9977: null;
9978: END;
9979:
9980:
9981: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9982: aso_debug_pub.add('Delete_Quote_Line: After deleting the quote line', 1, 'Y');
9983: END IF;
9984:
9985: IF p_update_header_flag = 'Y' THEN

Line 9982: aso_debug_pub.add('Delete_Quote_Line: After deleting the quote line', 1, 'Y');

9978: END;
9979:
9980:
9981: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9982: aso_debug_pub.add('Delete_Quote_Line: After deleting the quote line', 1, 'Y');
9983: END IF;
9984:
9985: IF p_update_header_flag = 'Y' THEN
9986:

Line 10026: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10022:
10023:
10024: END IF;
10025:
10026: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10027: aso_debug_pub.add('Delete_Quote_Line: Before call to Delete_OTA_Line.');
10028: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
10029: end if;
10030:

Line 10027: aso_debug_pub.add('Delete_Quote_Line: Before call to Delete_OTA_Line.');

10023:
10024: END IF;
10025:
10026: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10027: aso_debug_pub.add('Delete_Quote_Line: Before call to Delete_OTA_Line.');
10028: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
10029: end if;
10030:
10031: ASO_EDUCATION_INT.Delete_OTA_Line(

Line 10028: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);

10024: END IF;
10025:
10026: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10027: aso_debug_pub.add('Delete_Quote_Line: Before call to Delete_OTA_Line.');
10028: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
10029: end if;
10030:
10031: ASO_EDUCATION_INT.Delete_OTA_Line(
10032: P_Init_Msg_List => FND_API.G_FALSE,

Line 10039: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10035: X_Return_Status => l_return_status,
10036: X_Msg_Count => x_msg_count,
10037: X_Msg_Data => x_msg_data);
10038:
10039: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10040: aso_debug_pub.add('Delete_Quote_Line: After call to Delete_OTA_Line.');
10041: aso_debug_pub.add('Delete_Quote_Line: l_return_status: '|| l_return_status);
10042: end if;
10043:

Line 10040: aso_debug_pub.add('Delete_Quote_Line: After call to Delete_OTA_Line.');

10036: X_Msg_Count => x_msg_count,
10037: X_Msg_Data => x_msg_data);
10038:
10039: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10040: aso_debug_pub.add('Delete_Quote_Line: After call to Delete_OTA_Line.');
10041: aso_debug_pub.add('Delete_Quote_Line: l_return_status: '|| l_return_status);
10042: end if;
10043:
10044: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 10041: aso_debug_pub.add('Delete_Quote_Line: l_return_status: '|| l_return_status);

10037: X_Msg_Data => x_msg_data);
10038:
10039: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10040: aso_debug_pub.add('Delete_Quote_Line: After call to Delete_OTA_Line.');
10041: aso_debug_pub.add('Delete_Quote_Line: l_return_status: '|| l_return_status);
10042: end if;
10043:
10044: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
10045: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 10059: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10055: -- Adding the call to insert record in the ASO_CHANGED_QUOTES
10056:
10057: IF ((p_qte_line_rec.quote_header_id is not null) and (p_qte_line_rec.quote_header_id <> FND_API.G_MISS_NUM)) THEN
10058:
10059: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10060: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.delete_quote_line : Before calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, Quote Header ID :' || p_qte_line_rec.quote_header_id, 1, 'Y');
10061: END IF;
10062:
10063: OPEN get_qte_nbr(p_qte_line_rec.quote_header_id);

Line 10060: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.delete_quote_line : Before calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, Quote Header ID :' || p_qte_line_rec.quote_header_id, 1, 'Y');

10056:
10057: IF ((p_qte_line_rec.quote_header_id is not null) and (p_qte_line_rec.quote_header_id <> FND_API.G_MISS_NUM)) THEN
10058:
10059: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10060: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.delete_quote_line : Before calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, Quote Header ID :' || p_qte_line_rec.quote_header_id, 1, 'Y');
10061: END IF;
10062:
10063: OPEN get_qte_nbr(p_qte_line_rec.quote_header_id);
10064: FETCH get_qte_nbr INTO l_qte_number;

Line 10067: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10063: OPEN get_qte_nbr(p_qte_line_rec.quote_header_id);
10064: FETCH get_qte_nbr INTO l_qte_number;
10065: CLOSE get_qte_nbr;
10066:
10067: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10068: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.delete_quote_line : Before calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, quote number : ' || l_qte_number, 1, 'Y');
10069: END IF;
10070:
10071:

Line 10068: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.delete_quote_line : Before calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, quote number : ' || l_qte_number, 1, 'Y');

10064: FETCH get_qte_nbr INTO l_qte_number;
10065: CLOSE get_qte_nbr;
10066:
10067: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10068: aso_debug_pub.add('ASO_QUOTE_LINES_PVT.delete_quote_line : Before calling ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES, quote number : ' || l_qte_number, 1, 'Y');
10069: END IF;
10070:
10071:
10072: -- Call to insert record in ASO_CHANGED_QUOTES

Line 10248: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10244: l_quantity NUMBER;
10245: l_update_flag VARCHAR2(1) := FND_API.G_FALSE;
10246:
10247: Begin
10248: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10249: aso_debug_pub.add('Procedure Service_item_qty_update Starts.', 1, 'Y');
10250: end if;
10251: x_return_status := FND_API.G_RET_STS_SUCCESS;
10252:

Line 10249: aso_debug_pub.add('Procedure Service_item_qty_update Starts.', 1, 'Y');

10245: l_update_flag VARCHAR2(1) := FND_API.G_FALSE;
10246:
10247: Begin
10248: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10249: aso_debug_pub.add('Procedure Service_item_qty_update Starts.', 1, 'Y');
10250: end if;
10251: x_return_status := FND_API.G_RET_STS_SUCCESS;
10252:
10253: IF p_service_item_flag = FND_API.G_FALSE THEN

Line 10254: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10250: end if;
10251: x_return_status := FND_API.G_RET_STS_SUCCESS;
10252:
10253: IF p_service_item_flag = FND_API.G_FALSE THEN
10254: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10255: aso_debug_pub.add('Service_item_qty_update: Inside IF condition p_service_item_flag = FND_API.G_FALSE', 1, 'N');
10256: end if;
10257:
10258: l_qte_line_rec := ASO_UTILITY_PVT.Query_Qte_Line_Row(p_qte_line_rec.quote_line_id);

Line 10255: aso_debug_pub.add('Service_item_qty_update: Inside IF condition p_service_item_flag = FND_API.G_FALSE', 1, 'N');

10251: x_return_status := FND_API.G_RET_STS_SUCCESS;
10252:
10253: IF p_service_item_flag = FND_API.G_FALSE THEN
10254: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10255: aso_debug_pub.add('Service_item_qty_update: Inside IF condition p_service_item_flag = FND_API.G_FALSE', 1, 'N');
10256: end if;
10257:
10258: l_qte_line_rec := ASO_UTILITY_PVT.Query_Qte_Line_Row(p_qte_line_rec.quote_line_id);
10259: begin

Line 10272: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10268:
10269: EXCEPTION
10270: WHEN OTHERS THEN
10271: x_return_status := FND_API.G_RET_STS_ERROR;
10272: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10273: aso_debug_pub.add('Service_item_qty_update:Exception1',1,'N');
10274: end if;
10275: end;
10276: ELSE

Line 10273: aso_debug_pub.add('Service_item_qty_update:Exception1',1,'N');

10269: EXCEPTION
10270: WHEN OTHERS THEN
10271: x_return_status := FND_API.G_RET_STS_ERROR;
10272: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10273: aso_debug_pub.add('Service_item_qty_update:Exception1',1,'N');
10274: end if;
10275: end;
10276: ELSE
10277: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 10277: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10273: aso_debug_pub.add('Service_item_qty_update:Exception1',1,'N');
10274: end if;
10275: end;
10276: ELSE
10277: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10278: aso_debug_pub.add('Service_item_qty_update:ELSE condition of p_service_item_flag = FND_API.G_FALSE', 1, 'N');
10279: end if;
10280: l_qte_line_detail_tbl := ASO_UTILITY_PVT.Query_Line_Dtl_Rows(p_qte_line_rec.quote_line_id);
10281:

Line 10278: aso_debug_pub.add('Service_item_qty_update:ELSE condition of p_service_item_flag = FND_API.G_FALSE', 1, 'N');

10274: end if;
10275: end;
10276: ELSE
10277: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10278: aso_debug_pub.add('Service_item_qty_update:ELSE condition of p_service_item_flag = FND_API.G_FALSE', 1, 'N');
10279: end if;
10280: l_qte_line_detail_tbl := ASO_UTILITY_PVT.Query_Line_Dtl_Rows(p_qte_line_rec.quote_line_id);
10281:
10282: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 10282: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10278: aso_debug_pub.add('Service_item_qty_update:ELSE condition of p_service_item_flag = FND_API.G_FALSE', 1, 'N');
10279: end if;
10280: l_qte_line_detail_tbl := ASO_UTILITY_PVT.Query_Line_Dtl_Rows(p_qte_line_rec.quote_line_id);
10281:
10282: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10283: aso_debug_pub.add('Service_item_qty_update: ASO_UTILITY_PVT.Query_Line_Dtl_Rows', 1, 'N');
10284: end if;
10285:
10286: FOR i IN 1..l_qte_line_detail_tbl.count LOOP

Line 10283: aso_debug_pub.add('Service_item_qty_update: ASO_UTILITY_PVT.Query_Line_Dtl_Rows', 1, 'N');

10279: end if;
10280: l_qte_line_detail_tbl := ASO_UTILITY_PVT.Query_Line_Dtl_Rows(p_qte_line_rec.quote_line_id);
10281:
10282: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10283: aso_debug_pub.add('Service_item_qty_update: ASO_UTILITY_PVT.Query_Line_Dtl_Rows', 1, 'N');
10284: end if;
10285:
10286: FOR i IN 1..l_qte_line_detail_tbl.count LOOP
10287: IF l_qte_line_detail_tbl(i).service_ref_type_code = 'QUOTE' THEN

Line 10290: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10286: FOR i IN 1..l_qte_line_detail_tbl.count LOOP
10287: IF l_qte_line_detail_tbl(i).service_ref_type_code = 'QUOTE' THEN
10288: OPEN C_quantity(l_qte_line_detail_tbl(i).service_ref_line_id);
10289: FETCH C_quantity INTO l_quantity;
10290: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10291: aso_debug_pub.add('Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');
10292: end if;
10293: IF C_quantity%NOTFOUND THEN
10294: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 10291: aso_debug_pub.add('Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');

10287: IF l_qte_line_detail_tbl(i).service_ref_type_code = 'QUOTE' THEN
10288: OPEN C_quantity(l_qte_line_detail_tbl(i).service_ref_line_id);
10289: FETCH C_quantity INTO l_quantity;
10290: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10291: aso_debug_pub.add('Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');
10292: end if;
10293: IF C_quantity%NOTFOUND THEN
10294: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10295: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_quantity%NOTFOUND ', 1, 'N');

Line 10294: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10290: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10291: aso_debug_pub.add('Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');
10292: end if;
10293: IF C_quantity%NOTFOUND THEN
10294: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10295: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_quantity%NOTFOUND ', 1, 'N');
10296: end if;
10297: x_return_status := FND_API.G_RET_STS_ERROR;
10298: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 10295: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_quantity%NOTFOUND ', 1, 'N');

10291: aso_debug_pub.add('Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');
10292: end if;
10293: IF C_quantity%NOTFOUND THEN
10294: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10295: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_quantity%NOTFOUND ', 1, 'N');
10296: end if;
10297: x_return_status := FND_API.G_RET_STS_ERROR;
10298: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
10299: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SERVICE_REF_LINE');

Line 10311: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10307: CLOSE C_quantity;
10308: ELSIF l_qte_line_detail_tbl(i).service_ref_type_code = 'ORDER' THEN
10309: OPEN C_ord_qty(l_qte_line_detail_tbl(i).service_ref_line_id);
10310: FETCH C_ord_qty INTO l_quantity;
10311: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10312: aso_debug_pub.add('Service_item_qty_update: Cursor C_ord_qty: l_quantity: '||l_quantity, 1, 'N');
10313: end if;
10314: IF C_ord_qty%NOTFOUND THEN
10315: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 10312: aso_debug_pub.add('Service_item_qty_update: Cursor C_ord_qty: l_quantity: '||l_quantity, 1, 'N');

10308: ELSIF l_qte_line_detail_tbl(i).service_ref_type_code = 'ORDER' THEN
10309: OPEN C_ord_qty(l_qte_line_detail_tbl(i).service_ref_line_id);
10310: FETCH C_ord_qty INTO l_quantity;
10311: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10312: aso_debug_pub.add('Service_item_qty_update: Cursor C_ord_qty: l_quantity: '||l_quantity, 1, 'N');
10313: end if;
10314: IF C_ord_qty%NOTFOUND THEN
10315: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10316: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_ord_qty%NOTFOUND condition.', 1, 'N');

Line 10315: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10311: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10312: aso_debug_pub.add('Service_item_qty_update: Cursor C_ord_qty: l_quantity: '||l_quantity, 1, 'N');
10313: end if;
10314: IF C_ord_qty%NOTFOUND THEN
10315: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10316: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_ord_qty%NOTFOUND condition.', 1, 'N');
10317: end if;
10318: x_return_status := FND_API.G_RET_STS_ERROR;
10319: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 10316: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_ord_qty%NOTFOUND condition.', 1, 'N');

10312: aso_debug_pub.add('Service_item_qty_update: Cursor C_ord_qty: l_quantity: '||l_quantity, 1, 'N');
10313: end if;
10314: IF C_ord_qty%NOTFOUND THEN
10315: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10316: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_ord_qty%NOTFOUND condition.', 1, 'N');
10317: end if;
10318: x_return_status := FND_API.G_RET_STS_ERROR;
10319: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
10320: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SERVICE_REF_LINE');

Line 10332: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10328: CLOSE C_ord_qty;
10329: ELSIF l_qte_line_detail_tbl(i).service_ref_type_code = 'CUSTOMER_PRODUCT' THEN
10330: OPEN C_cs_qty(l_qte_line_detail_tbl(i).service_ref_line_id);
10331: FETCH C_cs_qty INTO l_quantity;
10332: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10333: aso_debug_pub.add('Service_item_qty_update: Cursor C_cs_qty: l_quantity: '||l_quantity, 1, 'N');
10334: end if;
10335:
10336: IF C_cs_qty%NOTFOUND THEN

Line 10333: aso_debug_pub.add('Service_item_qty_update: Cursor C_cs_qty: l_quantity: '||l_quantity, 1, 'N');

10329: ELSIF l_qte_line_detail_tbl(i).service_ref_type_code = 'CUSTOMER_PRODUCT' THEN
10330: OPEN C_cs_qty(l_qte_line_detail_tbl(i).service_ref_line_id);
10331: FETCH C_cs_qty INTO l_quantity;
10332: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10333: aso_debug_pub.add('Service_item_qty_update: Cursor C_cs_qty: l_quantity: '||l_quantity, 1, 'N');
10334: end if;
10335:
10336: IF C_cs_qty%NOTFOUND THEN
10337: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 10337: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10333: aso_debug_pub.add('Service_item_qty_update: Cursor C_cs_qty: l_quantity: '||l_quantity, 1, 'N');
10334: end if;
10335:
10336: IF C_cs_qty%NOTFOUND THEN
10337: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10338: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_cs_qty%NOTFOUND condition. ', 1, 'N');
10339: end if;
10340: x_return_status := FND_API.G_RET_STS_ERROR;
10341: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 10338: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_cs_qty%NOTFOUND condition. ', 1, 'N');

10334: end if;
10335:
10336: IF C_cs_qty%NOTFOUND THEN
10337: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10338: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_cs_qty%NOTFOUND condition. ', 1, 'N');
10339: end if;
10340: x_return_status := FND_API.G_RET_STS_ERROR;
10341: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
10342: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SERVICE_REF_LINE');

Line 10348: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10344: FND_MESSAGE.Set_Token('VALUE', l_qte_line_detail_tbl(i).service_ref_line_id, FALSE);
10345: FND_MSG_PUB.ADD;
10346: END IF;
10347: ELSE
10348: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10349: aso_debug_pub.add('Service_item_qty_update: cursor C_cs_qty%FOUND ', 1, 'N ');
10350: end if;
10351: l_update_flag := FND_API.G_TRUE;
10352: END IF;

Line 10349: aso_debug_pub.add('Service_item_qty_update: cursor C_cs_qty%FOUND ', 1, 'N ');

10345: FND_MSG_PUB.ADD;
10346: END IF;
10347: ELSE
10348: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10349: aso_debug_pub.add('Service_item_qty_update: cursor C_cs_qty%FOUND ', 1, 'N ');
10350: end if;
10351: l_update_flag := FND_API.G_TRUE;
10352: END IF;
10353: CLOSE C_cs_qty;

Line 10358: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10354: /*** Start: BugNo 8647883: R12.1.2 Service reference SUN ER ***/
10355: ELSIF l_qte_line_detail_tbl(i).service_ref_type_code = 'PRODUCT_CATALOG' THEN
10356: OPEN C_quantity(l_qte_line_detail_tbl(i).quote_line_id);
10357: FETCH C_quantity INTO l_quantity; --using the line qunatity
10358: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10359: aso_debug_pub.add('PRODUCT CATALOG Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');
10360: end if;
10361: IF C_quantity%NOTFOUND THEN
10362: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 10359: aso_debug_pub.add('PRODUCT CATALOG Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');

10355: ELSIF l_qte_line_detail_tbl(i).service_ref_type_code = 'PRODUCT_CATALOG' THEN
10356: OPEN C_quantity(l_qte_line_detail_tbl(i).quote_line_id);
10357: FETCH C_quantity INTO l_quantity; --using the line qunatity
10358: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10359: aso_debug_pub.add('PRODUCT CATALOG Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');
10360: end if;
10361: IF C_quantity%NOTFOUND THEN
10362: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10363: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_quantity%NOTFOUND ', 1, 'N');

Line 10362: IF aso_debug_pub.g_debug_flag = 'Y' THEN

10358: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10359: aso_debug_pub.add('PRODUCT CATALOG Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');
10360: end if;
10361: IF C_quantity%NOTFOUND THEN
10362: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10363: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_quantity%NOTFOUND ', 1, 'N');
10364: end if;
10365: x_return_status := FND_API.G_RET_STS_ERROR;
10366: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 10363: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_quantity%NOTFOUND ', 1, 'N');

10359: aso_debug_pub.add('PRODUCT CATALOG Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');
10360: end if;
10361: IF C_quantity%NOTFOUND THEN
10362: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10363: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_quantity%NOTFOUND ', 1, 'N');
10364: end if;
10365: x_return_status := FND_API.G_RET_STS_ERROR;
10366: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
10367: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SERVICE_REF_LINE');

Line 10395: if aso_debug_pub.g_debug_flag = 'Y' THEN

10391: EXCEPTION
10392: WHEN OTHERS THEN
10393: x_return_status := FND_API.G_RET_STS_ERROR;
10394:
10395: if aso_debug_pub.g_debug_flag = 'Y' THEN
10396: aso_debug_pub.add('Service_item_qty_update:Exception raised when others', 1, 'N');
10397: end if;
10398:
10399: End;

Line 10396: aso_debug_pub.add('Service_item_qty_update:Exception raised when others', 1, 'N');

10392: WHEN OTHERS THEN
10393: x_return_status := FND_API.G_RET_STS_ERROR;
10394:
10395: if aso_debug_pub.g_debug_flag = 'Y' THEN
10396: aso_debug_pub.add('Service_item_qty_update:Exception raised when others', 1, 'N');
10397: end if;
10398:
10399: End;
10400: