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
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
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 4940: if aso_debug_pub.g_debug_flag = 'Y' THEN

4936:
4937: -- Initialize API return status to SUCCESS
4938: x_return_status := FND_API.G_RET_STS_SUCCESS;
4939:
4940: if aso_debug_pub.g_debug_flag = 'Y' THEN
4941: aso_debug_pub.add('Update_Quote_line - Begin ', 1, 'Y');
4942: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4943: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4944: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');

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

4937: -- Initialize API return status to SUCCESS
4938: x_return_status := FND_API.G_RET_STS_SUCCESS;
4939:
4940: if aso_debug_pub.g_debug_flag = 'Y' THEN
4941: aso_debug_pub.add('Update_Quote_line - Begin ', 1, 'Y');
4942: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4943: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4944: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4945: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');

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

4938: x_return_status := FND_API.G_RET_STS_SUCCESS;
4939:
4940: if aso_debug_pub.g_debug_flag = 'Y' THEN
4941: aso_debug_pub.add('Update_Quote_line - Begin ', 1, 'Y');
4942: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4943: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4944: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4945: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4946: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');

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

4939:
4940: if aso_debug_pub.g_debug_flag = 'Y' THEN
4941: aso_debug_pub.add('Update_Quote_line - Begin ', 1, 'Y');
4942: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4943: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4944: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4945: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4946: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4947: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');

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

4940: if aso_debug_pub.g_debug_flag = 'Y' THEN
4941: aso_debug_pub.add('Update_Quote_line - Begin ', 1, 'Y');
4942: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4943: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4944: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4945: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4946: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4947: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4948: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');

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

4941: aso_debug_pub.add('Update_Quote_line - Begin ', 1, 'Y');
4942: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4943: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4944: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4945: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4946: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4947: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4948: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4949: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');

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

4942: aso_debug_pub.add('P_Control_REC.AUTO_VERSION_FLAG: '||nvl(P_Control_REC.AUTO_VERSION_FLAG,'null'),1,'N');
4943: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4944: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4945: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4946: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4947: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4948: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4949: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4950: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');

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

4943: aso_debug_pub.add('P_Control_REC.pricing_request_type: '||nvl(P_Control_REC.pricing_request_type,'null'),1,'N');
4944: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4945: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4946: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4947: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4948: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4949: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4950: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4951: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');

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

4944: aso_debug_pub.add('P_Control_REC.header_pricing_event: '||nvl(P_Control_REC.header_pricing_event,'null'),1,'N');
4945: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4946: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4947: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4948: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4949: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4950: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4951: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4952: 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 4949: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');

4945: aso_debug_pub.add('P_Control_REC.line_pricing_event: '||nvl(P_Control_REC.line_pricing_event,'null'),1,'N');
4946: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4947: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4948: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4949: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4950: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4951: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4952: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4953: 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 4950: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');

4946: aso_debug_pub.add('P_Control_REC.CALCULATE_TAX_FLAG: '||nvl(P_Control_REC.CALCULATE_TAX_FLAG,'null'),1,'N');
4947: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4948: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4949: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4950: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4951: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4952: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4953: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4954: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');

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

4947: aso_debug_pub.add('P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG: '||nvl(P_Control_REC.CALCULATE_FREIGHT_CHARGE_FLAG,'null'),1,'N');
4948: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4949: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4950: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4951: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4952: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4953: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4954: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4955: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');

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

4948: aso_debug_pub.add('P_Control_REC.COPY_TASK_FLAG: '||nvl(P_Control_REC.COPY_TASK_FLAG,'null'),1,'N');
4949: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4950: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4951: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4952: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4953: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4954: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4955: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4956: 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 4953: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');

4949: aso_debug_pub.add('P_Control_REC.COPY_NOTES_FLAG: '||nvl(P_Control_REC.COPY_NOTES_FLAG,'null'),1,'N');
4950: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4951: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4952: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4953: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4954: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4955: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4956: 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');
4957: 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 4954: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');

4950: aso_debug_pub.add('P_Control_REC.COPY_ATT_FLAG: '||nvl(P_Control_REC.COPY_ATT_FLAG,'null'),1,'N');
4951: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4952: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4953: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4954: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4955: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4956: 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');
4957: 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');
4958: 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 4955: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');

4951: aso_debug_pub.add('P_Qte_Line_Rec.OPERATION_CODE: '||nvl(P_Qte_Line_Rec.OPERATION_CODE,'null'),1,'N');
4952: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4953: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4954: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4955: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4956: 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');
4957: 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');
4958: 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');
4959: 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 4956: 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');

4952: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_LINE_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_LINE_ID),'null'),1,'N');
4953: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4954: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4955: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4956: 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');
4957: 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');
4958: 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');
4959: 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');
4960: 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 4957: 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');

4953: aso_debug_pub.add('P_Qte_Line_Rec.QUOTE_HEADER_ID: '||nvl(to_char(P_Qte_Line_Rec.QUOTE_HEADER_ID),'null'),1,'N');
4954: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4955: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4956: 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');
4957: 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');
4958: 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');
4959: 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');
4960: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4961: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');

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

4954: aso_debug_pub.add('P_Qte_Line_Rec.LINE_CATEGORY_CODE: '||nvl(P_Qte_Line_Rec.LINE_CATEGORY_CODE,'null'),1,'N');
4955: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4956: 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');
4957: 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');
4958: 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');
4959: 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');
4960: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4961: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4962: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');

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

4955: aso_debug_pub.add('P_Qte_Line_Rec.ITEM_TYPE_CODE: '||nvl(P_Qte_Line_Rec.ITEM_TYPE_CODE,'null'),1,'N');
4956: 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');
4957: 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');
4958: 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');
4959: 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');
4960: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4961: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4962: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4963: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');

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

4956: 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');
4957: 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');
4958: 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');
4959: 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');
4960: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4961: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4962: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4963: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4964: 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 4961: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');

4957: 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');
4958: 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');
4959: 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');
4960: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4961: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4962: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4963: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4964: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4965: 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 4962: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');

4958: 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');
4959: 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');
4960: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4961: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4962: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4963: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4964: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4965: 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');
4966: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');

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

4959: 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');
4960: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4961: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4962: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4963: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4964: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4965: 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');
4966: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
4967: 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 4964: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');

4960: aso_debug_pub.add('P_Qte_Line_Rec.INVENTORY_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.INVENTORY_ITEM_ID),'null'),1,'N');
4961: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4962: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4963: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4964: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4965: 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');
4966: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
4967: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
4968: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));

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

4961: aso_debug_pub.add('P_Qte_Line_Rec.QUANTITY: '||nvl(to_char(P_Qte_Line_Rec.QUANTITY),'null'),1,'N');
4962: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4963: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4964: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4965: 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');
4966: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
4967: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
4968: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));
4969: end if;

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

4962: aso_debug_pub.add('P_Qte_Line_Rec.UOM_CODE: '||nvl(P_Qte_Line_Rec.UOM_CODE,'null'),1,'N');
4963: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4964: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4965: 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');
4966: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
4967: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
4968: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));
4969: end if;
4970:

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

4963: aso_debug_pub.add('P_Qte_Line_Rec.PRICING_QUANTITY_UOM: '||nvl(P_Qte_Line_Rec.PRICING_QUANTITY_UOM,'null'),1,'N');
4964: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4965: 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');
4966: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
4967: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
4968: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));
4969: end if;
4970:
4971: --

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

4964: aso_debug_pub.add('P_Qte_Line_Rec.PRICE_LIST_ID: '||nvl(to_char(P_Qte_Line_Rec.PRICE_LIST_ID),'null'),1,'N');
4965: 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');
4966: aso_debug_pub.add('P_Qte_Line_Rec.CURRENCY_CODE: '||nvl(P_Qte_Line_Rec.CURRENCY_CODE,'null'),1,'N');
4967: aso_debug_pub.add('P_Qte_Line_Rec.RELATED_ITEM_ID: '||nvl(to_char(P_Qte_Line_Rec.RELATED_ITEM_ID),'null'),1,'N');
4968: aso_debug_pub.add('P_Qte_Line_Rec.org_id: '||nvl(to_char(P_Qte_Line_Rec.org_id),'null'));
4969: end if;
4970:
4971: --
4972: -- API body

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

5005:
5006: Open C_Get_quote( p_qte_line_rec.QUOTE_LINE_ID);
5007: Fetch C_Get_quote into l_LAST_UPDATE_DATE, l_qte_status_id, l_quote_number, l_hd_discount_percent,l_quote_exp_date;
5008:
5009: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5010: aso_debug_pub.add('After c_get_quote',1,'N');
5011: aso_debug_pub.add('l_qte_status_id: '||l_qte_status_id,1,'N');
5012: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
5013: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');

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

5006: Open C_Get_quote( p_qte_line_rec.QUOTE_LINE_ID);
5007: Fetch C_Get_quote into l_LAST_UPDATE_DATE, l_qte_status_id, l_quote_number, l_hd_discount_percent,l_quote_exp_date;
5008:
5009: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5010: aso_debug_pub.add('After c_get_quote',1,'N');
5011: aso_debug_pub.add('l_qte_status_id: '||l_qte_status_id,1,'N');
5012: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
5013: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');
5014: end if;

Line 5011: aso_debug_pub.add('l_qte_status_id: '||l_qte_status_id,1,'N');

5007: Fetch C_Get_quote into l_LAST_UPDATE_DATE, l_qte_status_id, l_quote_number, l_hd_discount_percent,l_quote_exp_date;
5008:
5009: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5010: aso_debug_pub.add('After c_get_quote',1,'N');
5011: aso_debug_pub.add('l_qte_status_id: '||l_qte_status_id,1,'N');
5012: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
5013: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');
5014: end if;
5015:

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

5008:
5009: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5010: aso_debug_pub.add('After c_get_quote',1,'N');
5011: aso_debug_pub.add('l_qte_status_id: '||l_qte_status_id,1,'N');
5012: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
5013: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');
5014: end if;
5015:
5016: If ( C_Get_quote%NOTFOUND) Then

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

5009: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5010: aso_debug_pub.add('After c_get_quote',1,'N');
5011: aso_debug_pub.add('l_qte_status_id: '||l_qte_status_id,1,'N');
5012: aso_debug_pub.add('l_quote_number: '||nvl(to_char(l_quote_number),'null'),1,'N');
5013: aso_debug_pub.add('l_hd_discount_percent: '||nvl(to_char(l_hd_discount_percent),'null'),1,'N');
5014: end if;
5015:
5016: If ( C_Get_quote%NOTFOUND) Then
5017: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

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

5023: raise FND_API.G_EXC_ERROR;
5024: END IF;
5025: Close C_Get_quote;
5026:
5027: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5028: aso_debug_pub.add('After C_Get_quote Cursor call ',1,'N');
5029: end if;
5030:
5031: If (l_last_update_date is NULL or l_last_update_date = FND_API.G_MISS_Date ) Then

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

5024: END IF;
5025: Close C_Get_quote;
5026:
5027: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5028: aso_debug_pub.add('After C_Get_quote Cursor call ',1,'N');
5029: end if;
5030:
5031: If (l_last_update_date is NULL or l_last_update_date = FND_API.G_MISS_Date ) Then
5032:

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

5048: END IF;
5049: raise FND_API.G_EXC_ERROR;
5050: End if;
5051:
5052: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5053: aso_debug_pub.add('After Last update date validation',1,'N');
5054: end if;
5055:
5056: Open c_qte_status (l_qte_status_id);

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

5049: raise FND_API.G_EXC_ERROR;
5050: End if;
5051:
5052: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5053: aso_debug_pub.add('After Last update date validation',1,'N');
5054: end if;
5055:
5056: Open c_qte_status (l_qte_status_id);
5057: Fetch C_qte_status into l_update_allowed, l_auto_version;

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

5055:
5056: Open c_qte_status (l_qte_status_id);
5057: Fetch C_qte_status into l_update_allowed, l_auto_version;
5058:
5059: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5060: aso_debug_pub.add('after c_qte_status',1,'N');
5061: aso_debug_pub.add('l_update_allowed: '||l_update_allowed,1,'N');
5062: aso_debug_pub.add('l_auto_version: '||l_auto_version,1,'N');
5063: end if;

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

5056: Open c_qte_status (l_qte_status_id);
5057: Fetch C_qte_status into l_update_allowed, l_auto_version;
5058:
5059: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5060: aso_debug_pub.add('after c_qte_status',1,'N');
5061: aso_debug_pub.add('l_update_allowed: '||l_update_allowed,1,'N');
5062: aso_debug_pub.add('l_auto_version: '||l_auto_version,1,'N');
5063: end if;
5064: Close c_qte_status;

Line 5061: aso_debug_pub.add('l_update_allowed: '||l_update_allowed,1,'N');

5057: Fetch C_qte_status into l_update_allowed, l_auto_version;
5058:
5059: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5060: aso_debug_pub.add('after c_qte_status',1,'N');
5061: aso_debug_pub.add('l_update_allowed: '||l_update_allowed,1,'N');
5062: aso_debug_pub.add('l_auto_version: '||l_auto_version,1,'N');
5063: end if;
5064: Close c_qte_status;
5065:

Line 5062: aso_debug_pub.add('l_auto_version: '||l_auto_version,1,'N');

5058:
5059: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5060: aso_debug_pub.add('after c_qte_status',1,'N');
5061: aso_debug_pub.add('l_update_allowed: '||l_update_allowed,1,'N');
5062: aso_debug_pub.add('l_auto_version: '||l_auto_version,1,'N');
5063: end if;
5064: Close c_qte_status;
5065:
5066: IF aso_debug_pub.g_debug_flag = 'Y' THEN

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

5062: aso_debug_pub.add('l_auto_version: '||l_auto_version,1,'N');
5063: end if;
5064: Close c_qte_status;
5065:
5066: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5067: aso_debug_pub.add('After c_qte_status cursor call',1,'N');
5068: end if;
5069:
5070: -- the control rec does not set auto version to 'Y' then it should not be versioned

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

5063: end if;
5064: Close c_qte_status;
5065:
5066: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5067: aso_debug_pub.add('After c_qte_status cursor call',1,'N');
5068: end if;
5069:
5070: -- the control rec does not set auto version to 'Y' then it should not be versioned
5071:

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

5078: ELSE
5079: l_auto_version := 'N';
5080: END IF;
5081:
5082: if aso_debug_pub.g_debug_flag = 'Y' THEN
5083: aso_debug_pub.add('after basic validations'|| x_return_status, 1, 'Y');
5084: end if;
5085:
5086: IF l_auto_version = 'Y' THEN

Line 5083: aso_debug_pub.add('after basic validations'|| x_return_status, 1, 'Y');

5079: l_auto_version := 'N';
5080: END IF;
5081:
5082: if aso_debug_pub.g_debug_flag = 'Y' THEN
5083: aso_debug_pub.add('after basic validations'|| x_return_status, 1, 'Y');
5084: end if;
5085:
5086: IF l_auto_version = 'Y' THEN
5087:

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

5101: X_Msg_Count => x_msg_count,
5102: X_Msg_Data => x_msg_data
5103: );
5104:
5105: if aso_debug_pub.g_debug_flag = 'Y' then
5106: aso_debug_pub.add('Update_Quote_Line: After copy_quote');
5107: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
5108: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
5109: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);

Line 5106: aso_debug_pub.add('Update_Quote_Line: After copy_quote');

5102: X_Msg_Data => x_msg_data
5103: );
5104:
5105: if aso_debug_pub.g_debug_flag = 'Y' then
5106: aso_debug_pub.add('Update_Quote_Line: After copy_quote');
5107: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
5108: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
5109: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
5110: end if;

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

5103: );
5104:
5105: if aso_debug_pub.g_debug_flag = 'Y' then
5106: aso_debug_pub.add('Update_Quote_Line: After copy_quote');
5107: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
5108: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
5109: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
5110: end if;
5111:

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

5104:
5105: if aso_debug_pub.g_debug_flag = 'Y' then
5106: aso_debug_pub.add('Update_Quote_Line: After copy_quote');
5107: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
5108: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
5109: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
5110: end if;
5111:
5112: update aso_quote_headers_all

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

5105: if aso_debug_pub.g_debug_flag = 'Y' then
5106: aso_debug_pub.add('Update_Quote_Line: After copy_quote');
5107: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
5108: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
5109: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
5110: end if;
5111:
5112: update aso_quote_headers_all
5113: set quote_version = l_quote_version + 1,

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

5138:
5139:
5140: -- bmishra line defaulting framework begin
5141:
5142: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5143: aso_debug_pub.add('Update_Quote_Line: Before defaulting framework', 1, 'Y');
5144: aso_debug_pub.add('Update_Quote_Line: populate defaulting control record from the line control record', 1, 'Y');
5145: END IF ;
5146:

Line 5143: aso_debug_pub.add('Update_Quote_Line: Before defaulting framework', 1, 'Y');

5139:
5140: -- bmishra line defaulting framework begin
5141:
5142: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5143: aso_debug_pub.add('Update_Quote_Line: Before defaulting framework', 1, 'Y');
5144: aso_debug_pub.add('Update_Quote_Line: populate defaulting control record from the line control record', 1, 'Y');
5145: END IF ;
5146:
5147: l_def_control_rec.Dependency_Flag := p_control_rec.Dependency_Flag;

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

5140: -- bmishra line defaulting framework begin
5141:
5142: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5143: aso_debug_pub.add('Update_Quote_Line: Before defaulting framework', 1, 'Y');
5144: aso_debug_pub.add('Update_Quote_Line: populate defaulting control record from the line control record', 1, 'Y');
5145: END IF ;
5146:
5147: l_def_control_rec.Dependency_Flag := p_control_rec.Dependency_Flag;
5148: l_def_control_rec.Defaulting_Flag := p_control_rec.Defaulting_Flag;

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

5149: l_def_control_rec.Application_Type_Code := p_control_rec.Application_Type_Code;
5150: l_def_control_rec.Defaulting_Flow_Code := 'UPDATE';
5151: l_def_control_rec.last_update_date := p_control_rec.last_update_date;
5152:
5153: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5154: aso_debug_pub.add('Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
5155: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5156: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5157: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');

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

5150: l_def_control_rec.Defaulting_Flow_Code := 'UPDATE';
5151: l_def_control_rec.last_update_date := p_control_rec.last_update_date;
5152:
5153: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5154: aso_debug_pub.add('Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
5155: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5156: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5157: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
5158: aso_debug_pub.add('Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');

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

5151: l_def_control_rec.last_update_date := p_control_rec.last_update_date;
5152:
5153: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5154: aso_debug_pub.add('Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
5155: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5156: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5157: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
5158: aso_debug_pub.add('Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
5159: aso_debug_pub.add('last_update_date: '|| l_def_control_rec.last_update_date, 1, 'Y');

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

5152:
5153: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5154: aso_debug_pub.add('Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
5155: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5156: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5157: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
5158: aso_debug_pub.add('Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
5159: aso_debug_pub.add('last_update_date: '|| l_def_control_rec.last_update_date, 1, 'Y');
5160: END IF ;

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

5153: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5154: aso_debug_pub.add('Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
5155: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5156: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5157: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
5158: aso_debug_pub.add('Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
5159: aso_debug_pub.add('last_update_date: '|| l_def_control_rec.last_update_date, 1, 'Y');
5160: END IF ;
5161:

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

5154: aso_debug_pub.add('Defaulting_Fwk_Flag: '|| p_control_rec.Defaulting_Fwk_Flag, 1, 'Y');
5155: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5156: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5157: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
5158: aso_debug_pub.add('Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
5159: aso_debug_pub.add('last_update_date: '|| l_def_control_rec.last_update_date, 1, 'Y');
5160: END IF ;
5161:
5162: IF l_def_control_rec.application_type_code = 'QUOTING HTML' OR l_def_control_rec.application_type_code = 'QUOTING FORM' THEN

Line 5159: aso_debug_pub.add('last_update_date: '|| l_def_control_rec.last_update_date, 1, 'Y');

5155: aso_debug_pub.add('Dependency_Flag: '|| l_def_control_rec.Dependency_Flag, 1, 'Y');
5156: aso_debug_pub.add('Defaulting_Flag: '|| l_def_control_rec.Defaulting_Flag, 1, 'Y');
5157: aso_debug_pub.add('Application_Type_Code: '|| l_def_control_rec.Application_Type_Code, 1, 'Y');
5158: aso_debug_pub.add('Defaulting_Flow_Code: '|| l_def_control_rec.Defaulting_Flow_Code, 1, 'Y');
5159: aso_debug_pub.add('last_update_date: '|| l_def_control_rec.last_update_date, 1, 'Y');
5160: END IF ;
5161:
5162: IF l_def_control_rec.application_type_code = 'QUOTING HTML' OR l_def_control_rec.application_type_code = 'QUOTING FORM' THEN
5163: l_db_object_name := ASO_QUOTE_HEADERS_PVT.G_QUOTE_LINE_DB_NAME;

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

5166: ELSE
5167: l_control_rec.Defaulting_Fwk_Flag := 'N';
5168: END IF;
5169:
5170: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5171: aso_debug_pub.add('Pick '||l_db_object_name ||' based on calling application '||l_def_control_rec.application_type_code, 1, 'Y');
5172: END IF ;
5173:
5174: IF p_shipment_tbl.count > 0 THEN

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

5167: l_control_rec.Defaulting_Fwk_Flag := 'N';
5168: END IF;
5169:
5170: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5171: aso_debug_pub.add('Pick '||l_db_object_name ||' based on calling application '||l_def_control_rec.application_type_code, 1, 'Y');
5172: END IF ;
5173:
5174: IF p_shipment_tbl.count > 0 THEN
5175: l_shipment_rec := p_shipment_tbl(1);

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

5178: IF p_payment_tbl.count > 0 THEN
5179: l_payment_rec := p_payment_tbl(1);
5180: END IF;
5181:
5182: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5183: aso_debug_pub.add('Update_Quote_Line - Before Calling Default_Entity procedure', 1, 'Y');
5184: END IF ;
5185:
5186: /* Removing Call for defaulting from create_quote_line

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

5179: l_payment_rec := p_payment_tbl(1);
5180: END IF;
5181:
5182: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5183: aso_debug_pub.add('Update_Quote_Line - Before Calling Default_Entity procedure', 1, 'Y');
5184: END IF ;
5185:
5186: /* Removing Call for defaulting from create_quote_line
5187: IF l_control_rec.defaulting_fwk_flag = 'Y' THEN

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

5206: x_return_status => x_return_status,
5207: x_msg_count => x_msg_count,
5208: x_msg_data => x_msg_data);
5209:
5210: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5211: aso_debug_pub.add('Update_Quote_line: After call to ASO_DEFAULTING_INT.Default_Entity', 1, 'Y');
5212: aso_debug_pub.add('Update_Quote_line: x_return_status: '|| x_return_status, 1, 'Y');
5213: end if;
5214:

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

5207: x_msg_count => x_msg_count,
5208: x_msg_data => x_msg_data);
5209:
5210: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5211: aso_debug_pub.add('Update_Quote_line: After call to ASO_DEFAULTING_INT.Default_Entity', 1, 'Y');
5212: aso_debug_pub.add('Update_Quote_line: x_return_status: '|| x_return_status, 1, 'Y');
5213: end if;
5214:
5215: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5212: aso_debug_pub.add('Update_Quote_line: x_return_status: '|| x_return_status, 1, 'Y');

5208: x_msg_data => x_msg_data);
5209:
5210: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5211: aso_debug_pub.add('Update_Quote_line: After call to ASO_DEFAULTING_INT.Default_Entity', 1, 'Y');
5212: aso_debug_pub.add('Update_Quote_line: x_return_status: '|| x_return_status, 1, 'Y');
5213: end if;
5214:
5215: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5216:

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

5245: */
5246:
5247: -- bmishra defaulting framework end
5248:
5249: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5250: aso_debug_pub.add('Update_Quote_line - before validation', 1, 'Y');
5251: aso_debug_pub.add('Update_Quote_line: ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM: '||ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM, 1, 'Y');
5252: end if;
5253:

Line 5250: aso_debug_pub.add('Update_Quote_line - before validation', 1, 'Y');

5246:
5247: -- bmishra defaulting framework end
5248:
5249: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5250: aso_debug_pub.add('Update_Quote_line - before validation', 1, 'Y');
5251: aso_debug_pub.add('Update_Quote_line: ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM: '||ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM, 1, 'Y');
5252: end if;
5253:
5254: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN

Line 5251: aso_debug_pub.add('Update_Quote_line: ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM: '||ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM, 1, 'Y');

5247: -- bmishra defaulting framework end
5248:
5249: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5250: aso_debug_pub.add('Update_Quote_line - before validation', 1, 'Y');
5251: aso_debug_pub.add('Update_Quote_line: ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM: '||ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM, 1, 'Y');
5252: end if;
5253:
5254: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN
5255:

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

5273: x_return_status => x_return_status,
5274: x_msg_count => x_msg_count,
5275: x_msg_data => x_msg_data);
5276:
5277: if aso_debug_pub.g_debug_flag = 'Y' THEN
5278: aso_debug_pub.add('after validate invoice to party: x_return_status: '||x_return_status, 1, 'N');
5279: end if;
5280:
5281: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5278: aso_debug_pub.add('after validate invoice to party: x_return_status: '||x_return_status, 1, 'N');

5274: x_msg_count => x_msg_count,
5275: x_msg_data => x_msg_data);
5276:
5277: if aso_debug_pub.g_debug_flag = 'Y' THEN
5278: aso_debug_pub.add('after validate invoice to party: x_return_status: '||x_return_status, 1, 'N');
5279: end if;
5280:
5281: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5282: RAISE FND_API.G_EXC_ERROR;

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

5290: x_return_status => x_return_status,
5291: x_msg_count => x_msg_count,
5292: x_msg_data => x_msg_data);
5293:
5294: if aso_debug_pub.g_debug_flag = 'Y' THEN
5295: aso_debug_pub.add('after validate invoice to party site: x_return_status: '||x_return_status, 1, 'N');
5296: end if;
5297:
5298: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5295: aso_debug_pub.add('after validate invoice to party site: x_return_status: '||x_return_status, 1, 'N');

5291: x_msg_count => x_msg_count,
5292: x_msg_data => x_msg_data);
5293:
5294: if aso_debug_pub.g_debug_flag = 'Y' THEN
5295: aso_debug_pub.add('after validate invoice to party site: x_return_status: '||x_return_status, 1, 'N');
5296: end if;
5297:
5298: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5299: RAISE FND_API.G_EXC_ERROR;

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

5329:
5330: RAISE FND_API.G_EXC_ERROR;
5331: END IF;
5332:
5333: if aso_debug_pub.g_debug_flag = 'Y' THEN
5334: aso_debug_pub.add('After call to Validate_Quote_Price_Exp: x_return_status: '|| x_return_status, 1, 'Y');
5335: end if;
5336:
5337: -- shp_to_party_id must exist and be active in HZ_PARTIES and have the usage SHIP.

Line 5334: aso_debug_pub.add('After call to Validate_Quote_Price_Exp: x_return_status: '|| x_return_status, 1, 'Y');

5330: RAISE FND_API.G_EXC_ERROR;
5331: END IF;
5332:
5333: if aso_debug_pub.g_debug_flag = 'Y' THEN
5334: aso_debug_pub.add('After call to Validate_Quote_Price_Exp: x_return_status: '|| x_return_status, 1, 'Y');
5335: end if;
5336:
5337: -- shp_to_party_id must exist and be active in HZ_PARTIES and have the usage SHIP.
5338:

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

5337: -- shp_to_party_id must exist and be active in HZ_PARTIES and have the usage SHIP.
5338:
5339: For i in 1..lx_ln_shipment_tbl.count LOOP
5340:
5341: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5342: aso_debug_pub.add('before validating ship_to party: '||nvl(to_char(lx_ln_shipment_tbl(i).ship_to_party_id), 'null'),1,'N');
5343: end if;
5344:
5345: ASO_VALIDATE_PVT.Validate_Party (

Line 5342: aso_debug_pub.add('before validating ship_to party: '||nvl(to_char(lx_ln_shipment_tbl(i).ship_to_party_id), 'null'),1,'N');

5338:
5339: For i in 1..lx_ln_shipment_tbl.count LOOP
5340:
5341: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5342: aso_debug_pub.add('before validating ship_to party: '||nvl(to_char(lx_ln_shipment_tbl(i).ship_to_party_id), 'null'),1,'N');
5343: end if;
5344:
5345: ASO_VALIDATE_PVT.Validate_Party (
5346: p_init_msg_list => FND_API.G_FALSE,

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

5349: x_return_status => x_return_status,
5350: x_msg_count => x_msg_count,
5351: x_msg_data => x_msg_data);
5352:
5353: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5354: aso_debug_pub.add('after validate ship to party: x_return_status: '||x_return_status, 1, 'N');
5355: end if;
5356:
5357: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5354: aso_debug_pub.add('after validate ship to party: x_return_status: '||x_return_status, 1, 'N');

5350: x_msg_count => x_msg_count,
5351: x_msg_data => x_msg_data);
5352:
5353: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5354: aso_debug_pub.add('after validate ship to party: x_return_status: '||x_return_status, 1, 'N');
5355: end if;
5356:
5357: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5358: RAISE FND_API.G_EXC_ERROR;

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

5357: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5358: RAISE FND_API.G_EXC_ERROR;
5359: END IF;
5360:
5361: if aso_debug_pub.g_debug_flag = 'Y' THEN
5362: 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');
5363: end if;
5364:
5365: ASO_VALIDATE_PVT.Validate_PartySite (

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

5358: RAISE FND_API.G_EXC_ERROR;
5359: END IF;
5360:
5361: if aso_debug_pub.g_debug_flag = 'Y' THEN
5362: 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');
5363: end if;
5364:
5365: ASO_VALIDATE_PVT.Validate_PartySite (
5366: p_init_msg_list => FND_API.G_FALSE,

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

5370: x_return_status => x_return_status,
5371: x_msg_count => x_msg_count,
5372: x_msg_data => x_msg_data);
5373:
5374: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5375: aso_debug_pub.add('after validate ship to party site: x_return_status: '||x_return_status, 1, 'N');
5376: end if;
5377:
5378: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5375: aso_debug_pub.add('after validate ship to party site: x_return_status: '||x_return_status, 1, 'N');

5371: x_msg_count => x_msg_count,
5372: x_msg_data => x_msg_data);
5373:
5374: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5375: aso_debug_pub.add('after validate ship to party site: x_return_status: '||x_return_status, 1, 'N');
5376: end if;
5377:
5378: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5379: RAISE FND_API.G_EXC_ERROR;

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

5388: x_return_status => x_return_status,
5389: x_msg_count => x_msg_count,
5390: x_msg_data => x_msg_data);
5391:
5392: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5393: aso_debug_pub.add('after marketing source code: x_return_status: '|| x_return_status, 1, 'Y');
5394: end if;
5395:
5396: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5393: aso_debug_pub.add('after marketing source code: x_return_status: '|| x_return_status, 1, 'Y');

5389: x_msg_count => x_msg_count,
5390: x_msg_data => x_msg_data);
5391:
5392: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5393: aso_debug_pub.add('after marketing source code: x_return_status: '|| x_return_status, 1, 'Y');
5394: end if;
5395:
5396: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5397: RAISE FND_API.G_EXC_ERROR;

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

5406: x_return_status => x_return_status,
5407: x_msg_count => x_msg_count,
5408: x_msg_data => x_msg_data);
5409:
5410: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5411: aso_debug_pub.add('after service duration: x_return_status: '|| x_return_status, 1, 'Y');
5412: end if;
5413:
5414: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 5411: aso_debug_pub.add('after service duration: x_return_status: '|| x_return_status, 1, 'Y');

5407: x_msg_count => x_msg_count,
5408: x_msg_data => x_msg_data);
5409:
5410: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5411: aso_debug_pub.add('after service duration: x_return_status: '|| x_return_status, 1, 'Y');
5412: end if;
5413:
5414: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
5415: RAISE FND_API.G_EXC_ERROR;

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

5419:
5420:
5421: FOR i in 1..p_sales_credit_tbl.count LOOP
5422:
5423: if aso_debug_pub.g_debug_flag = 'Y' then
5424: aso_debug_pub.add('p_sales_credit_tbl('||i||').operation_code: '|| p_sales_credit_tbl(i).operation_code,1,'Y');
5425: end if;
5426:
5427: if (p_sales_credit_tbl(i).operation_code = 'CREATE' or p_sales_credit_tbl(i).operation_code = 'UPDATE') then

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

5420:
5421: FOR i in 1..p_sales_credit_tbl.count LOOP
5422:
5423: if aso_debug_pub.g_debug_flag = 'Y' then
5424: aso_debug_pub.add('p_sales_credit_tbl('||i||').operation_code: '|| p_sales_credit_tbl(i).operation_code,1,'Y');
5425: end if;
5426:
5427: if (p_sales_credit_tbl(i).operation_code = 'CREATE' or p_sales_credit_tbl(i).operation_code = 'UPDATE') then
5428:

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

5592: l_inventory_item_id := lx_qte_line_rec.inventory_item_id;
5593:
5594: END IF;
5595:
5596: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5597: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_organization_id: '|| l_organization_id, 1, 'N');
5598: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_inventory_item_id: '|| l_inventory_item_id, 1, 'N');
5599: end if;
5600:

Line 5597: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_organization_id: '|| l_organization_id, 1, 'N');

5593:
5594: END IF;
5595:
5596: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5597: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_organization_id: '|| l_organization_id, 1, 'N');
5598: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_inventory_item_id: '|| l_inventory_item_id, 1, 'N');
5599: end if;
5600:
5601:

Line 5598: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_inventory_item_id: '|| l_inventory_item_id, 1, 'N');

5594: END IF;
5595:
5596: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5597: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_organization_id: '|| l_organization_id, 1, 'N');
5598: aso_debug_pub.add('Update_Quote_Line: before Validate_UOM_code: l_inventory_item_id: '|| l_inventory_item_id, 1, 'N');
5599: end if;
5600:
5601:
5602: -- UOM must exist and should be in ASO_I_UNITS_OF_MEASURE

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

5632: END IF;
5633: RAISE FND_API.G_EXC_ERROR;
5634: END IF;
5635:
5636: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5637: aso_debug_pub.add('validate greater end date'|| x_return_status , 1, 'Y');
5638: end if;
5639:
5640: FOR i in 1..p_qte_line_dtl_tbl.count LOOP

Line 5637: aso_debug_pub.add('validate greater end date'|| x_return_status , 1, 'Y');

5633: RAISE FND_API.G_EXC_ERROR;
5634: END IF;
5635:
5636: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5637: aso_debug_pub.add('validate greater end date'|| x_return_status , 1, 'Y');
5638: end if;
5639:
5640: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
5641:

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

5659: END IF;
5660:
5661: END LOOP;
5662:
5663: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5664: aso_debug_pub.add('validate returns'|| x_return_status, 1, 'Y');
5665: end if;
5666:
5667: -- tax_exempt_flag must be in 'E', 'R' and 'S'

Line 5664: aso_debug_pub.add('validate returns'|| x_return_status, 1, 'Y');

5660:
5661: END LOOP;
5662:
5663: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5664: aso_debug_pub.add('validate returns'|| x_return_status, 1, 'Y');
5665: end if;
5666:
5667: -- tax_exempt_flag must be in 'E', 'R' and 'S'
5668: -- and tax_exempt_reason_code must exist if tax_exempt_flag is 'E'.

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

5688: END IF;
5689:
5690: END LOOP;
5691:
5692: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5693: aso_debug_pub.add('validate tax exemption'|| x_return_status, 1, 'Y');
5694: end if;
5695:
5696: FOR i in 1..p_qte_line_dtl_tbl.count LOOP

Line 5693: aso_debug_pub.add('validate tax exemption'|| x_return_status, 1, 'Y');

5689:
5690: END LOOP;
5691:
5692: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5693: aso_debug_pub.add('validate tax exemption'|| x_return_status, 1, 'Y');
5694: end if;
5695:
5696: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
5697:

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

5694: end if;
5695:
5696: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
5697:
5698: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5699: 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');
5700: 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');
5701: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
5702: 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 5699: 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');

5695:
5696: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
5697:
5698: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5699: 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');
5700: 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');
5701: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
5702: 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');
5703: end if;

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

5696: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
5697:
5698: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5699: 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');
5700: 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');
5701: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
5702: 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');
5703: end if;
5704:

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

5697:
5698: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5699: 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');
5700: 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');
5701: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
5702: 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');
5703: end if;
5704:
5705: IF ((p_qte_line_dtl_tbl(i).config_header_id IS NOT NULL AND

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

5698: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5699: 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');
5700: 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');
5701: aso_debug_pub.add('ASO_QUOTE_LINES_PVT:Update_Quote_Lines:component_code: '|| p_qte_line_dtl_tbl(i).component_code,1,'N');
5702: 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');
5703: end if;
5704:
5705: IF ((p_qte_line_dtl_tbl(i).config_header_id IS NOT NULL AND
5706: p_qte_line_dtl_tbL(i).config_header_id <> FND_API.G_MISS_NUM) AND

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

5717: x_return_status => x_return_status,
5718: x_msg_count => x_msg_count,
5719: x_msg_data => x_msg_data);
5720:
5721: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5722: aso_debug_pub.add('Update_Quote_Lines after Validate_Configuration :x_return_status:'||x_return_status,1, 'N');
5723: end if;
5724:
5725: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

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

5718: x_msg_count => x_msg_count,
5719: x_msg_data => x_msg_data);
5720:
5721: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5722: aso_debug_pub.add('Update_Quote_Lines after Validate_Configuration :x_return_status:'||x_return_status,1, 'N');
5723: end if;
5724:
5725: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
5726:

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

5735:
5736: END LOOP;
5737:
5738:
5739: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5740: aso_debug_pub.add('validate configuration'|| x_return_status, 1, 'Y');
5741: end if;
5742:
5743: FOR i in 1..p_qte_line_dtl_tbl.count LOOP

Line 5740: aso_debug_pub.add('validate configuration'|| x_return_status, 1, 'Y');

5736: END LOOP;
5737:
5738:
5739: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5740: aso_debug_pub.add('validate configuration'|| x_return_status, 1, 'Y');
5741: end if;
5742:
5743: FOR i in 1..p_qte_line_dtl_tbl.count LOOP
5744:

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

5762: END IF;
5763:
5764: END LOOP;
5765:
5766: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5767: aso_debug_pub.add('validate delayed service'|| x_return_status, 1, 'Y');
5768: end if;
5769:
5770: /* commented by bmishra on 12/15/2004 as quote_party_tbl is obsoleted

Line 5767: aso_debug_pub.add('validate delayed service'|| x_return_status, 1, 'Y');

5763:
5764: END LOOP;
5765:
5766: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5767: aso_debug_pub.add('validate delayed service'|| x_return_status, 1, 'Y');
5768: end if;
5769:
5770: /* commented by bmishra on 12/15/2004 as quote_party_tbl is obsoleted
5771:

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

5802: END IF;
5803:
5804: IF lx_ln_shipment_tbl.count > 0 THEN
5805:
5806: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5807: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5808: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5809: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5810: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');

Line 5807: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');

5803:
5804: IF lx_ln_shipment_tbl.count > 0 THEN
5805:
5806: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5807: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5808: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5809: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5810: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5811: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');

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

5804: IF lx_ln_shipment_tbl.count > 0 THEN
5805:
5806: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5807: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5808: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5809: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5810: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5811: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5812: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');

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

5805:
5806: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5807: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5808: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5809: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5810: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5811: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5812: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5813: 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 5810: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');

5806: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5807: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5808: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5809: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5810: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5811: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5812: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5813: aso_debug_pub.add('lx_ln_shipment_tbl(1).ship_from_org_id: '|| lx_ln_shipment_tbl(1).ship_from_org_id,1,'Y');
5814: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');

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

5807: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5808: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5809: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5810: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5811: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5812: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5813: aso_debug_pub.add('lx_ln_shipment_tbl(1).ship_from_org_id: '|| lx_ln_shipment_tbl(1).ship_from_org_id,1,'Y');
5814: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5815: end if;

Line 5812: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');

5808: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5809: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5810: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5811: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5812: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5813: aso_debug_pub.add('lx_ln_shipment_tbl(1).ship_from_org_id: '|| lx_ln_shipment_tbl(1).ship_from_org_id,1,'Y');
5814: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5815: end if;
5816:

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

5809: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5810: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5811: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5812: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5813: aso_debug_pub.add('lx_ln_shipment_tbl(1).ship_from_org_id: '|| lx_ln_shipment_tbl(1).ship_from_org_id,1,'Y');
5814: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5815: end if;
5816:
5817: IF (l_db_shipment_rec.ship_from_org_id <> lx_ln_shipment_tbl(1).ship_from_org_id) OR

Line 5814: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');

5810: aso_debug_pub.add('lx_ln_shipment_tbl(1).quote_line_id: '|| lx_ln_shipment_tbl(1).quote_line_id, 1, 'Y');
5811: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5812: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5813: aso_debug_pub.add('lx_ln_shipment_tbl(1).ship_from_org_id: '|| lx_ln_shipment_tbl(1).ship_from_org_id,1,'Y');
5814: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5815: end if;
5816:
5817: IF (l_db_shipment_rec.ship_from_org_id <> lx_ln_shipment_tbl(1).ship_from_org_id) OR
5818: ((l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND

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

5818: ((l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND
5819: ((lx_ln_shipment_tbl(1).ship_from_org_id IS NOT NULL) AND
5820: (lx_ln_shipment_tbl(1).ship_from_org_id <> FND_API.G_MISS_NUM))) THEN
5821:
5822: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5823: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5824: end if;
5825:
5826: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(

Line 5823: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');

5819: ((lx_ln_shipment_tbl(1).ship_from_org_id IS NOT NULL) AND
5820: (lx_ln_shipment_tbl(1).ship_from_org_id <> FND_API.G_MISS_NUM))) THEN
5821:
5822: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5823: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: before Validate_ship_from_org_ID', 1, 'Y');
5824: end if;
5825:
5826: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(
5827: P_Qte_Line_rec => lx_qte_line_rec,

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

5827: P_Qte_Line_rec => lx_qte_line_rec,
5828: P_Shipment_rec => lx_ln_shipment_tbl(1),
5829: x_return_status => x_return_status);
5830:
5831: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5832: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: after Validate_ship_from_org_ID', 1, 'Y');
5833: end if;
5834:
5835: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5832: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: after Validate_ship_from_org_ID', 1, 'Y');

5828: P_Shipment_rec => lx_ln_shipment_tbl(1),
5829: x_return_status => x_return_status);
5830:
5831: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5832: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: after Validate_ship_from_org_ID', 1, 'Y');
5833: end if;
5834:
5835: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5836:

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

5833: end if;
5834:
5835: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5836:
5837: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5838: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: after Validate_ship_from_org_ID: <> SUCCESS', 1, 'Y');
5839: end if;
5840:
5841: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

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

5834:
5835: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5836:
5837: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5838: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_Line: after Validate_ship_from_org_ID: <> SUCCESS', 1, 'Y');
5839: end if;
5840:
5841: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
5842: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SHIP_FROM_ORG_ID');

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

5852: END IF;
5853:
5854: ELSE
5855:
5856: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5857: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');
5858: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5859: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5860: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');

Line 5857: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');

5853:
5854: ELSE
5855:
5856: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5857: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');
5858: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5859: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5860: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5861: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');

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

5854: ELSE
5855:
5856: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5857: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');
5858: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5859: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5860: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5861: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5862: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');

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

5855:
5856: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5857: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');
5858: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5859: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5860: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5861: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5862: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5863: end if;

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

5856: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5857: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');
5858: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5859: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5860: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5861: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5862: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5863: end if;
5864:

Line 5861: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');

5857: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID.', 1, 'Y');
5858: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5859: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5860: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5861: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5862: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5863: end if;
5864:
5865: IF (l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND

Line 5862: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');

5858: aso_debug_pub.add('lx_qte_line_rec.quote_header_id: '|| lx_qte_line_rec.quote_header_id, 1, 'Y');
5859: aso_debug_pub.add('lx_qte_line_rec.quote_line_id: '|| lx_qte_line_rec.quote_line_id, 1, 'Y');
5860: aso_debug_pub.add('lx_qte_line_rec.inventory_item_id: '|| lx_qte_line_rec.inventory_item_id, 1, 'Y');
5861: aso_debug_pub.add('l_db_qte_line_rec.inventory_item_id: '|| l_db_qte_line_rec.inventory_item_id, 1, 'Y');
5862: aso_debug_pub.add('l_db_shipment_rec.ship_from_org_id: '|| l_db_shipment_rec.ship_from_org_id, 1, 'Y');
5863: end if;
5864:
5865: IF (l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND
5866: ((l_db_shipment_rec.ship_from_org_id IS NOT NULL) AND

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

5865: IF (l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND
5866: ((l_db_shipment_rec.ship_from_org_id IS NOT NULL) AND
5867: (l_db_shipment_rec.ship_from_org_id <> FND_API.G_MISS_NUM)) THEN
5868:
5869: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5870: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID (no lx_ln_shipment_tbl)', 1, 'Y');
5871: end if;
5872:
5873: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(

Line 5870: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID (no lx_ln_shipment_tbl)', 1, 'Y');

5866: ((l_db_shipment_rec.ship_from_org_id IS NOT NULL) AND
5867: (l_db_shipment_rec.ship_from_org_id <> FND_API.G_MISS_NUM)) THEN
5868:
5869: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5870: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID (no lx_ln_shipment_tbl)', 1, 'Y');
5871: end if;
5872:
5873: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(
5874: P_Qte_Line_rec => lx_qte_line_rec,

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

5874: P_Qte_Line_rec => lx_qte_line_rec,
5875: P_Shipment_rec => l_db_shipment_rec,
5876: x_return_status => x_return_status);
5877:
5878: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5879: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID (no lx_ln_shipment_tbl)', 1, 'Y');
5880: end if;
5881:
5882: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5879: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID (no lx_ln_shipment_tbl)', 1, 'Y');

5875: P_Shipment_rec => l_db_shipment_rec,
5876: x_return_status => x_return_status);
5877:
5878: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5879: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID (no lx_ln_shipment_tbl)', 1, 'Y');
5880: end if;
5881:
5882: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5883:

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

5880: end if;
5881:
5882: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5883:
5884: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5885: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID: <> SUCCESS (no lx_ln_shipment_tbl)', 1, 'Y');
5886: end if;
5887:
5888: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 5885: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID: <> SUCCESS (no lx_ln_shipment_tbl)', 1, 'Y');

5881:
5882: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5883:
5884: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5885: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID: <> SUCCESS (no lx_ln_shipment_tbl)', 1, 'Y');
5886: end if;
5887:
5888: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
5889: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SHIP_FROM_ORG_ID');

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

5905: IF l_hd_shipment_tbl.count = 1 THEN
5906: l_hd_shipment_rec := l_hd_shipment_tbl(1);
5907: END IF;
5908:
5909: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5910: 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');
5911: end if;
5912:
5913: IF (l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND

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

5906: l_hd_shipment_rec := l_hd_shipment_tbl(1);
5907: END IF;
5908:
5909: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5910: 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');
5911: end if;
5912:
5913: IF (l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND
5914: ((l_hd_shipment_rec.ship_from_org_id IS NOT NULL) AND

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

5913: IF (l_db_qte_line_rec.inventory_item_id <> lx_qte_line_rec.inventory_item_id) AND
5914: ((l_hd_shipment_rec.ship_from_org_id IS NOT NULL) AND
5915: (l_hd_shipment_rec.ship_from_org_id <> FND_API.G_MISS_NUM)) THEN
5916:
5917: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5918: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID (no db_shipment_tbl)', 1, 'Y');
5919: end if;
5920:
5921: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(

Line 5918: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID (no db_shipment_tbl)', 1, 'Y');

5914: ((l_hd_shipment_rec.ship_from_org_id IS NOT NULL) AND
5915: (l_hd_shipment_rec.ship_from_org_id <> FND_API.G_MISS_NUM)) THEN
5916:
5917: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5918: aso_debug_pub.add('Update_Quote_Line: before Validate_ship_from_org_ID (no db_shipment_tbl)', 1, 'Y');
5919: end if;
5920:
5921: ASO_VALIDATE_PVT.Validate_ship_from_org_ID(
5922: P_Qte_Line_rec => lx_qte_line_rec,

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

5922: P_Qte_Line_rec => lx_qte_line_rec,
5923: P_Shipment_rec => l_hd_shipment_rec,
5924: x_return_status => x_return_status);
5925:
5926: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5927: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID (no db_shipment_tbl)', 1, 'Y');
5928: end if;
5929:
5930: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 5927: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID (no db_shipment_tbl)', 1, 'Y');

5923: P_Shipment_rec => l_hd_shipment_rec,
5924: x_return_status => x_return_status);
5925:
5926: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5927: aso_debug_pub.add('Update_Quote_Line: after Validate_ship_from_org_ID (no db_shipment_tbl)', 1, 'Y');
5928: end if;
5929:
5930: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5931:

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

5928: end if;
5929:
5930: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5931:
5932: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5933: aso_debug_pub.add('after Validate_ship_from_org_ID: <> SUCCESS (no db_shipment_tbl)', 1, 'Y');
5934: end if;
5935:
5936: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 5933: aso_debug_pub.add('after Validate_ship_from_org_ID: <> SUCCESS (no db_shipment_tbl)', 1, 'Y');

5929:
5930: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5931:
5932: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5933: aso_debug_pub.add('after Validate_ship_from_org_ID: <> SUCCESS (no db_shipment_tbl)', 1, 'Y');
5934: end if;
5935:
5936: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
5937: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SHIP_FROM_ORG_ID');

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

5956: END IF; --IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_RECORD
5957:
5958:
5959: -- if quantity is decreased check to see if the installation details quantity is not greater than the new quantity
5960: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5961: aso_debug_pub.add('Update_Quote_line - before Inst details and populate_quote_line ', 1, 'N');
5962: end if;
5963:
5964: -- hyang csi change 1935614

Line 5961: aso_debug_pub.add('Update_Quote_line - before Inst details and populate_quote_line ', 1, 'N');

5957:
5958:
5959: -- if quantity is decreased check to see if the installation details quantity is not greater than the new quantity
5960: IF aso_debug_pub.g_debug_flag = 'Y' THEN
5961: aso_debug_pub.add('Update_Quote_line - before Inst details and populate_quote_line ', 1, 'N');
5962: end if;
5963:
5964: -- hyang csi change 1935614
5965:

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

6012: END IF;
6013:
6014: END LOOP;
6015:
6016: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6017: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.UOM_Code: '||lx_qte_line_rec.UOM_Code,1, 'N');
6018: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.Quantity: '||lx_qte_line_rec.Quantity,1, 'N');
6019: end if;
6020:

Line 6017: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.UOM_Code: '||lx_qte_line_rec.UOM_Code,1, 'N');

6013:
6014: END LOOP;
6015:
6016: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6017: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.UOM_Code: '||lx_qte_line_rec.UOM_Code,1, 'N');
6018: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.Quantity: '||lx_qte_line_rec.Quantity,1, 'N');
6019: end if;
6020:
6021: IF lx_qte_line_rec.UOM_Code = 'ENR' THEN

Line 6018: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.Quantity: '||lx_qte_line_rec.Quantity,1, 'N');

6014: END LOOP;
6015:
6016: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6017: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.UOM_Code: '||lx_qte_line_rec.UOM_Code,1, 'N');
6018: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:lx_qte_line_rec.Quantity: '||lx_qte_line_rec.Quantity,1, 'N');
6019: end if;
6020:
6021: IF lx_qte_line_rec.UOM_Code = 'ENR' THEN
6022:

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

6021: IF lx_qte_line_rec.UOM_Code = 'ENR' THEN
6022:
6023: IF lx_qte_line_rec.Quantity <> FND_API.G_MISS_NUM THEN
6024:
6025: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6026: aso_debug_pub.add('Update_Quote_Line - Invalid Quantity for EDU: ',1, 'N');
6027: end if;
6028:
6029: x_return_status := FND_API.G_RET_STS_ERROR;

Line 6026: aso_debug_pub.add('Update_Quote_Line - Invalid Quantity for EDU: ',1, 'N');

6022:
6023: IF lx_qte_line_rec.Quantity <> FND_API.G_MISS_NUM THEN
6024:
6025: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6026: aso_debug_pub.add('Update_Quote_Line - Invalid Quantity for EDU: ',1, 'N');
6027: end if;
6028:
6029: x_return_status := FND_API.G_RET_STS_ERROR;
6030: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

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

6036: END IF;
6037:
6038: END IF;
6039:
6040: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6041: aso_debug_pub.add('Update_Quote_Line - Before call to Populate_Quote_Line.',1, 'N');
6042: end if;
6043:
6044: Populate_Quote_Line( P_Qte_Line_Rec => lx_qte_line_rec,

Line 6041: aso_debug_pub.add('Update_Quote_Line - Before call to Populate_Quote_Line.',1, 'N');

6037:
6038: END IF;
6039:
6040: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6041: aso_debug_pub.add('Update_Quote_Line - Before call to Populate_Quote_Line.',1, 'N');
6042: end if;
6043:
6044: Populate_Quote_Line( P_Qte_Line_Rec => lx_qte_line_rec,
6045: P_Control_Rec => l_control_rec,

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

6070: X_Return_Status => X_return_status,
6071: X_Msg_Count => x_msg_count,
6072: X_Msg_Data => x_msg_data );
6073:
6074: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6075: aso_debug_pub.add('Update_Quote_Line - After call to Populate_Quote_Line: x_return_status: '|| x_return_status ,1, 'N');
6076: end if;
6077:
6078: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 6075: aso_debug_pub.add('Update_Quote_Line - After call to Populate_Quote_Line: x_return_status: '|| x_return_status ,1, 'N');

6071: X_Msg_Count => x_msg_count,
6072: X_Msg_Data => x_msg_data );
6073:
6074: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6075: aso_debug_pub.add('Update_Quote_Line - After call to Populate_Quote_Line: x_return_status: '|| x_return_status ,1, 'N');
6076: end if;
6077:
6078: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6079:

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

6094: -- becoz of the payment validation which is done further down
6095: l_orig_payment_tbl := l_Payment_Tbl;
6096:
6097: -- inter entity validations
6098: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6099: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: UPDATE_QUOTE_LINE: Begin Inter entity validations');
6100: end if;
6101:
6102: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN

Line 6099: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: UPDATE_QUOTE_LINE: Begin Inter entity validations');

6095: l_orig_payment_tbl := l_Payment_Tbl;
6096:
6097: -- inter entity validations
6098: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6099: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: UPDATE_QUOTE_LINE: Begin Inter entity validations');
6100: end if;
6101:
6102: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN
6103:

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

6100: end if;
6101:
6102: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN
6103:
6104: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6105: ASO_DEBUG_PUB.add('UQ organization_id = '||nvl(to_char(l_Qte_Line_Rec.organization_id),'null') , 1, 'Y');
6106: ASO_DEBUG_PUB.add('UQ Inventory_item_id = '||l_Qte_Line_Rec.inventory_item_id, 1, 'Y');
6107: END IF;
6108:

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

6101:
6102: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN
6103:
6104: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6105: ASO_DEBUG_PUB.add('UQ organization_id = '||nvl(to_char(l_Qte_Line_Rec.organization_id),'null') , 1, 'Y');
6106: ASO_DEBUG_PUB.add('UQ Inventory_item_id = '||l_Qte_Line_Rec.inventory_item_id, 1, 'Y');
6107: END IF;
6108:
6109: IF l_Qte_Line_Rec.inventory_item_id <> FND_API.G_MISS_NUM THEN

Line 6106: ASO_DEBUG_PUB.add('UQ Inventory_item_id = '||l_Qte_Line_Rec.inventory_item_id, 1, 'Y');

6102: IF p_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_INTER_ENTITY THEN
6103:
6104: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6105: ASO_DEBUG_PUB.add('UQ organization_id = '||nvl(to_char(l_Qte_Line_Rec.organization_id),'null') , 1, 'Y');
6106: ASO_DEBUG_PUB.add('UQ Inventory_item_id = '||l_Qte_Line_Rec.inventory_item_id, 1, 'Y');
6107: END IF;
6108:
6109: IF l_Qte_Line_Rec.inventory_item_id <> FND_API.G_MISS_NUM THEN
6110:

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

6120: RAISE FND_API.G_EXC_ERROR;
6121: END IF;
6122: END IF ;
6123:
6124: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6125: aso_debug_pub.add('after inventory item'|| x_return_status, 1, 'Y');
6126: end if;
6127:
6128: -- bug 5196952

Line 6125: aso_debug_pub.add('after inventory item'|| x_return_status, 1, 'Y');

6121: END IF;
6122: END IF ;
6123:
6124: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6125: aso_debug_pub.add('after inventory item'|| x_return_status, 1, 'Y');
6126: end if;
6127:
6128: -- bug 5196952
6129: if (P_shipment_Tbl.count > 0) then

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

6129: if (P_shipment_Tbl.count > 0) then
6130:
6131: 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
6132:
6133: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6134: aso_debug_pub.add('Update_Quote_line - ship method codeof quote line is being updated ', 1, 'N');
6135: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');
6136: end if;
6137: ASO_VALIDATE_PVT.validate_ship_method_code

Line 6134: aso_debug_pub.add('Update_Quote_line - ship method codeof quote line is being updated ', 1, 'N');

6130:
6131: 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
6132:
6133: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6134: aso_debug_pub.add('Update_Quote_line - ship method codeof quote line is being updated ', 1, 'N');
6135: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');
6136: end if;
6137: ASO_VALIDATE_PVT.validate_ship_method_code
6138: (

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

6131: 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
6132:
6133: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6134: aso_debug_pub.add('Update_Quote_line - ship method codeof quote line is being updated ', 1, 'N');
6135: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');
6136: end if;
6137: ASO_VALIDATE_PVT.validate_ship_method_code
6138: (
6139: p_init_msg_list => fnd_api.g_false,

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

6145: x_return_status => x_return_status,
6146: x_msg_count => x_msg_count,
6147: x_msg_data => x_msg_data);
6148:
6149: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6150: aso_debug_pub.add('Update_Quote_line - After validate ship_method_code ', 1, 'N');
6151: end if;
6152:
6153: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

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

6146: x_msg_count => x_msg_count,
6147: x_msg_data => x_msg_data);
6148:
6149: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6150: aso_debug_pub.add('Update_Quote_line - After validate ship_method_code ', 1, 'N');
6151: end if;
6152:
6153: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6154: RAISE FND_API.G_EXC_ERROR;

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

6155: END IF;
6156: end if; -- end if for ship method code check
6157: 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
6158: -- 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
6159: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6160: aso_debug_pub.add('Update_Quote_line - Organization id of quote line is being updated ', 1, 'N');
6161: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');
6162: end if;
6163: ASO_VALIDATE_PVT.validate_ship_method_code

Line 6160: aso_debug_pub.add('Update_Quote_line - Organization id of quote line is being updated ', 1, 'N');

6156: end if; -- end if for ship method code check
6157: 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
6158: -- 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
6159: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6160: aso_debug_pub.add('Update_Quote_line - Organization id of quote line is being updated ', 1, 'N');
6161: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');
6162: end if;
6163: ASO_VALIDATE_PVT.validate_ship_method_code
6164: (

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

6157: 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
6158: -- 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
6159: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6160: aso_debug_pub.add('Update_Quote_line - Organization id of quote line is being updated ', 1, 'N');
6161: aso_debug_pub.add('Update_Quote_line - before validate ship_method_code ', 1, 'N');
6162: end if;
6163: ASO_VALIDATE_PVT.validate_ship_method_code
6164: (
6165: p_init_msg_list => fnd_api.g_false,

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

6171: x_return_status => x_return_status,
6172: x_msg_count => x_msg_count,
6173: x_msg_data => x_msg_data);
6174:
6175: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6176: aso_debug_pub.add('Update_Quote_line - After validate ship_method_code ', 1, 'N');
6177: end if;
6178:
6179: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

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

6172: x_msg_count => x_msg_count,
6173: x_msg_data => x_msg_data);
6174:
6175: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6176: aso_debug_pub.add('Update_Quote_line - After validate ship_method_code ', 1, 'N');
6177: end if;
6178:
6179: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6180: RAISE FND_API.G_EXC_ERROR;

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

6225: x_return_status => x_return_status,
6226: x_msg_count => x_msg_count,
6227: x_msg_data => x_msg_data);
6228:
6229: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6230: aso_debug_pub.add('Update_Quote_line: After Validate_Service: x_return_status: '|| x_return_status);
6231: end if;
6232:
6233: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 6230: aso_debug_pub.add('Update_Quote_line: After Validate_Service: x_return_status: '|| x_return_status);

6226: x_msg_count => x_msg_count,
6227: x_msg_data => x_msg_data);
6228:
6229: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6230: aso_debug_pub.add('Update_Quote_line: After Validate_Service: x_return_status: '|| x_return_status);
6231: end if;
6232:
6233: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6234:

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

6252: x_return_status => x_return_status,
6253: x_msg_count => x_msg_count,
6254: x_msg_data => x_msg_data);
6255:
6256: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6257: aso_debug_pub.add('Update_Quote_line: After validate service period: x_return_status: '|| x_return_status);
6258: end if;
6259:
6260: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

Line 6257: aso_debug_pub.add('Update_Quote_line: After validate service period: x_return_status: '|| x_return_status);

6253: x_msg_count => x_msg_count,
6254: x_msg_data => x_msg_data);
6255:
6256: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6257: aso_debug_pub.add('Update_Quote_line: After validate service period: x_return_status: '|| x_return_status);
6258: end if;
6259:
6260: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6261: RAISE FND_API.G_EXC_ERROR;

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

6288: END IF;
6289:
6290: --New code for Bug#3280130
6291:
6292: if aso_debug_pub.g_debug_flag = 'Y' then
6293: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);
6294: end if;
6295:
6296: if l_qte_line_dtl_tbl(i).service_ref_line_id is not null and

Line 6293: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);

6289:
6290: --New code for Bug#3280130
6291:
6292: if aso_debug_pub.g_debug_flag = 'Y' then
6293: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);
6294: end if;
6295:
6296: if l_qte_line_dtl_tbl(i).service_ref_line_id is not null and
6297: l_qte_line_dtl_tbl(i).service_ref_line_id <> fnd_api.g_miss_num then

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

6295:
6296: if l_qte_line_dtl_tbl(i).service_ref_line_id is not null and
6297: l_qte_line_dtl_tbl(i).service_ref_line_id <> fnd_api.g_miss_num then
6298:
6299: if aso_debug_pub.g_debug_flag = 'Y' then
6300: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_type_code: ' || l_qte_line_dtl_tbl(i).service_ref_type_code);
6301: end if;
6302:
6303: if l_qte_line_dtl_tbl(i).service_ref_type_code is null or

Line 6300: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_type_code: ' || l_qte_line_dtl_tbl(i).service_ref_type_code);

6296: if l_qte_line_dtl_tbl(i).service_ref_line_id is not null and
6297: l_qte_line_dtl_tbl(i).service_ref_line_id <> fnd_api.g_miss_num then
6298:
6299: if aso_debug_pub.g_debug_flag = 'Y' then
6300: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_type_code: ' || l_qte_line_dtl_tbl(i).service_ref_type_code);
6301: end if;
6302:
6303: if l_qte_line_dtl_tbl(i).service_ref_type_code is null or
6304: l_qte_line_dtl_tbl(i).service_ref_type_code = fnd_api.g_miss_char then

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

6306: open c_service_ref_type_code( l_qte_line_dtl_tbl(i).quote_line_detail_id );
6307: fetch c_service_ref_type_code into l_service_ref_type_code;
6308: close c_service_ref_type_code;
6309:
6310: if aso_debug_pub.g_debug_flag = 'Y' then
6311: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);
6312: end if;
6313:
6314: if l_service_ref_type_code is null then

Line 6311: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);

6307: fetch c_service_ref_type_code into l_service_ref_type_code;
6308: close c_service_ref_type_code;
6309:
6310: if aso_debug_pub.g_debug_flag = 'Y' then
6311: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);
6312: end if;
6313:
6314: if l_service_ref_type_code is null then
6315:

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

6331: l_service_ref_type_code := l_qte_line_dtl_tbl(i).service_ref_type_code;
6332:
6333: end if;
6334:
6335: if aso_debug_pub.g_debug_flag = 'Y' then
6336: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);
6337: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);
6338: aso_debug_pub.add('UPDATE_QUOTE_LINE: Before calling aso_validate_pvt.validate_service_ref_line_id');
6339: end if;

Line 6336: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);

6332:
6333: end if;
6334:
6335: if aso_debug_pub.g_debug_flag = 'Y' then
6336: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);
6337: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);
6338: aso_debug_pub.add('UPDATE_QUOTE_LINE: Before calling aso_validate_pvt.validate_service_ref_line_id');
6339: end if;
6340:

Line 6337: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);

6333: end if;
6334:
6335: if aso_debug_pub.g_debug_flag = 'Y' then
6336: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);
6337: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);
6338: aso_debug_pub.add('UPDATE_QUOTE_LINE: Before calling aso_validate_pvt.validate_service_ref_line_id');
6339: end if;
6340:
6341: aso_validate_pvt.validate_service_ref_line_id (

Line 6338: aso_debug_pub.add('UPDATE_QUOTE_LINE: Before calling aso_validate_pvt.validate_service_ref_line_id');

6334:
6335: if aso_debug_pub.g_debug_flag = 'Y' then
6336: aso_debug_pub.add('l_service_ref_type_code: ' || l_service_ref_type_code);
6337: aso_debug_pub.add('l_qte_line_dtl_tbl('||i||').service_ref_line_id: ' || l_qte_line_dtl_tbl(i).service_ref_line_id);
6338: aso_debug_pub.add('UPDATE_QUOTE_LINE: Before calling aso_validate_pvt.validate_service_ref_line_id');
6339: end if;
6340:
6341: aso_validate_pvt.validate_service_ref_line_id (
6342: p_init_msg_list => fnd_api.g_false,

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

6346: x_return_status => x_return_status,
6347: x_msg_count => x_msg_count,
6348: x_msg_data => x_msg_data);
6349:
6350: if aso_debug_pub.g_debug_flag = 'Y' then
6351: aso_debug_pub.add('UPDATE_QUOTE_LINE: After calling aso_validate_pvt.validate_service_ref_line_id');
6352: aso_debug_pub.add('UPDATE_QUOTE_LINE: x_return_status: '|| x_return_status);
6353: end if;
6354:

Line 6351: aso_debug_pub.add('UPDATE_QUOTE_LINE: After calling aso_validate_pvt.validate_service_ref_line_id');

6347: x_msg_count => x_msg_count,
6348: x_msg_data => x_msg_data);
6349:
6350: if aso_debug_pub.g_debug_flag = 'Y' then
6351: aso_debug_pub.add('UPDATE_QUOTE_LINE: After calling aso_validate_pvt.validate_service_ref_line_id');
6352: aso_debug_pub.add('UPDATE_QUOTE_LINE: x_return_status: '|| x_return_status);
6353: end if;
6354:
6355: if x_return_status <> fnd_api.g_ret_sts_success then

Line 6352: aso_debug_pub.add('UPDATE_QUOTE_LINE: x_return_status: '|| x_return_status);

6348: x_msg_data => x_msg_data);
6349:
6350: if aso_debug_pub.g_debug_flag = 'Y' then
6351: aso_debug_pub.add('UPDATE_QUOTE_LINE: After calling aso_validate_pvt.validate_service_ref_line_id');
6352: aso_debug_pub.add('UPDATE_QUOTE_LINE: x_return_status: '|| x_return_status);
6353: end if;
6354:
6355: if x_return_status <> fnd_api.g_ret_sts_success then
6356: raise fnd_api.g_exc_error;

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

6387: END IF;
6388:
6389: END IF; -- inter entity validation
6390:
6391: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6392: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: UPDATE_QUOTE_LINE: End of Inter entity validations');
6393: end if;
6394:
6395:

Line 6392: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: UPDATE_QUOTE_LINE: End of Inter entity validations');

6388:
6389: END IF; -- inter entity validation
6390:
6391: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6392: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: UPDATE_QUOTE_LINE: End of Inter entity validations');
6393: end if;
6394:
6395:
6396: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

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

6399:
6400: -- order_type must exist and be active in OE_ORDER_TYPES
6401: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row(l_Qte_Line_Rec.QUOTE_HEADER_ID);
6402:
6403: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6404: aso_debug_pub.add('Validation level is set',1,'N');
6405: aso_debug_pub.add('l_control_rec.application_type_code: '|| l_control_rec.application_type_code ,1,'N');
6406: end if;
6407:

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

6400: -- order_type must exist and be active in OE_ORDER_TYPES
6401: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row(l_Qte_Line_Rec.QUOTE_HEADER_ID);
6402:
6403: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6404: aso_debug_pub.add('Validation level is set',1,'N');
6405: aso_debug_pub.add('l_control_rec.application_type_code: '|| l_control_rec.application_type_code ,1,'N');
6406: end if;
6407:
6408: ASO_CHECK_TCA_PVT.check_line_account_info(

Line 6405: aso_debug_pub.add('l_control_rec.application_type_code: '|| l_control_rec.application_type_code ,1,'N');

6401: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row(l_Qte_Line_Rec.QUOTE_HEADER_ID);
6402:
6403: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6404: aso_debug_pub.add('Validation level is set',1,'N');
6405: aso_debug_pub.add('l_control_rec.application_type_code: '|| l_control_rec.application_type_code ,1,'N');
6406: end if;
6407:
6408: ASO_CHECK_TCA_PVT.check_line_account_info(
6409: p_api_version => 1.0,

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

6430: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6431: RAISE FND_API.G_EXC_ERROR;
6432: END IF;
6433:
6434: if aso_debug_pub.g_debug_flag = 'Y' THEN
6435: aso_debug_pub.add('after order type'|| x_return_status, 1, 'Y');
6436: end if;
6437:
6438: If (p_qte_header_rec.order_type_id = FND_API.G_MISS_NUM) then -- [This is for backward compatibility]

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

6431: RAISE FND_API.G_EXC_ERROR;
6432: END IF;
6433:
6434: if aso_debug_pub.g_debug_flag = 'Y' THEN
6435: aso_debug_pub.add('after order type'|| x_return_status, 1, 'Y');
6436: end if;
6437:
6438: If (p_qte_header_rec.order_type_id = FND_API.G_MISS_NUM) then -- [This is for backward compatibility]
6439: l_db_order_type_id := l_qte_header_rec.order_type_id;

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

6457:
6458: End if;
6459:
6460:
6461: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6462: aso_debug_pub.add('x_return_status for Validate_ln_type_for_ord_type'|| x_return_status, 1, 'Y');
6463: END IF;
6464:
6465:

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

6458: End if;
6459:
6460:
6461: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
6462: aso_debug_pub.add('x_return_status for Validate_ln_type_for_ord_type'|| x_return_status, 1, 'Y');
6463: END IF;
6464:
6465:
6466: ASO_TRADEIN_PVT.Validate_Line_Tradein( p_init_msg_list => FND_API.G_FALSE,

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

6473: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6474: RAISE FND_API.G_EXC_ERROR;
6475: END IF;
6476:
6477: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6478: aso_debug_pub.add('Update_Quote_Line - after Validate_Line_Tradein:x_return_status: '||x_return_status, 1, 'N');
6479: end if;
6480:
6481: ASO_TRADEIN_PVT.Validate_IB_Return_Qty( p_init_msg_list => FND_API.G_FALSE,

Line 6478: aso_debug_pub.add('Update_Quote_Line - after Validate_Line_Tradein:x_return_status: '||x_return_status, 1, 'N');

6474: RAISE FND_API.G_EXC_ERROR;
6475: END IF;
6476:
6477: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6478: aso_debug_pub.add('Update_Quote_Line - after Validate_Line_Tradein:x_return_status: '||x_return_status, 1, 'N');
6479: end if;
6480:
6481: ASO_TRADEIN_PVT.Validate_IB_Return_Qty( p_init_msg_list => FND_API.G_FALSE,
6482: p_Qte_Line_rec => l_Qte_Line_Rec,

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

6488: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6489: RAISE FND_API.G_EXC_ERROR;
6490: END IF;
6491:
6492: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6493: aso_debug_pub.add('Update_Quote_Line - after Validate_IB_Return_Qty:x_return_status: '||x_return_status, 1, 'N');
6494: end if;
6495:
6496: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN

Line 6493: aso_debug_pub.add('Update_Quote_Line - after Validate_IB_Return_Qty:x_return_status: '||x_return_status, 1, 'N');

6489: RAISE FND_API.G_EXC_ERROR;
6490: END IF;
6491:
6492: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6493: aso_debug_pub.add('Update_Quote_Line - after Validate_IB_Return_Qty:x_return_status: '||x_return_status, 1, 'N');
6494: end if;
6495:
6496: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN
6497:

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

6508: END IF;
6509:
6510: END IF;
6511:
6512: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6513: aso_debug_pub.add('Update_Quote_Line - before Validate_Agreement:l_Qte_Line_Rec.Agreement_Id: '||l_Qte_Line_Rec.Agreement_Id, 1, 'N');
6514: end if;
6515:
6516: IF (l_Qte_Line_Rec.Agreement_Id IS NOT NULL AND l_Qte_Line_Rec.Agreement_Id <> FND_API.G_MISS_NUM) THEN

Line 6513: aso_debug_pub.add('Update_Quote_Line - before Validate_Agreement:l_Qte_Line_Rec.Agreement_Id: '||l_Qte_Line_Rec.Agreement_Id, 1, 'N');

6509:
6510: END IF;
6511:
6512: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6513: aso_debug_pub.add('Update_Quote_Line - before Validate_Agreement:l_Qte_Line_Rec.Agreement_Id: '||l_Qte_Line_Rec.Agreement_Id, 1, 'N');
6514: end if;
6515:
6516: IF (l_Qte_Line_Rec.Agreement_Id IS NOT NULL AND l_Qte_Line_Rec.Agreement_Id <> FND_API.G_MISS_NUM) THEN
6517:

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

6521: x_return_status => x_return_status,
6522: x_msg_count => x_msg_count,
6523: x_msg_data => x_msg_data);
6524:
6525: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6526: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:x_return_status: '||x_return_status, 1, 'N');
6527: end if;
6528:
6529: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN

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

6522: x_msg_count => x_msg_count,
6523: x_msg_data => x_msg_data);
6524:
6525: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6526: aso_debug_pub.add('Update_Quote_Line - after Validate_Agreement:x_return_status: '||x_return_status, 1, 'N');
6527: end if;
6528:
6529: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
6530: RAISE FND_API.G_EXC_ERROR;

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

6553:
6554: IF l_payment_tbl.count > 0 then
6555: l_payment_rec := l_payment_tbl(1);
6556: --IF l_payment_rec.payment_type_code = 'CREDIT_CARD' THEN
6557: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6558: aso_debug_pub.add('Before calling Validate_cc_info ', 1, 'Y');
6559: END IF;
6560: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row (l_qte_line_rec.Quote_Header_Id );
6561:

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

6554: IF l_payment_tbl.count > 0 then
6555: l_payment_rec := l_payment_tbl(1);
6556: --IF l_payment_rec.payment_type_code = 'CREDIT_CARD' THEN
6557: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6558: aso_debug_pub.add('Before calling Validate_cc_info ', 1, 'Y');
6559: END IF;
6560: l_qte_header_rec := ASO_UTILITY_PVT.Query_Header_Row (l_qte_line_rec.Quote_Header_Id );
6561:
6562: aso_validate_pvt.Validate_cc_info

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

6568: x_return_status => x_return_status,
6569: x_msg_count => x_msg_count,
6570: x_msg_data => x_msg_data);
6571:
6572: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6573: aso_debug_pub.add('after calling Validate_cc_info ', 1, 'Y');
6574: aso_debug_pub.add('Validate_cc_info Return Status: '||x_return_status, 1, 'Y');
6575: END IF;
6576:

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

6569: x_msg_count => x_msg_count,
6570: x_msg_data => x_msg_data);
6571:
6572: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6573: aso_debug_pub.add('after calling Validate_cc_info ', 1, 'Y');
6574: aso_debug_pub.add('Validate_cc_info Return Status: '||x_return_status, 1, 'Y');
6575: END IF;
6576:
6577: if x_return_status <> fnd_api.g_ret_sts_success then

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

6570: x_msg_data => x_msg_data);
6571:
6572: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6573: aso_debug_pub.add('after calling Validate_cc_info ', 1, 'Y');
6574: aso_debug_pub.add('Validate_cc_info Return Status: '||x_return_status, 1, 'Y');
6575: END IF;
6576:
6577: if x_return_status <> fnd_api.g_ret_sts_success then
6578: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

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

6682: p_PRICING_QUANTITY => l_qte_line_rec.PRICING_QUANTITY,
6683: p_CONFIG_MODEL_TYPE => l_qte_line_rec.CONFIG_MODEL_TYPE
6684: );
6685:
6686: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6687: aso_debug_pub.add('Update_Quote_line - after line.update ', 1, 'N');
6688: end if;
6689: -- line details
6690:

Line 6687: aso_debug_pub.add('Update_Quote_line - after line.update ', 1, 'N');

6683: p_CONFIG_MODEL_TYPE => l_qte_line_rec.CONFIG_MODEL_TYPE
6684: );
6685:
6686: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6687: aso_debug_pub.add('Update_Quote_line - after line.update ', 1, 'N');
6688: end if;
6689: -- line details
6690:
6691: -- Start Updating Line_category_code and order_line_type_id of configured lines if Model

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

6689: -- line details
6690:
6691: -- Start Updating Line_category_code and order_line_type_id of configured lines if Model
6692: -- line Line_category_code and order_line_type_id value has changed Bmishra 02/15/02
6693: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6694: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.line_category_code: '||l_Qte_Line_Rec.line_category_code, 1, 'Y');
6695: 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');
6696: end if;
6697: IF (l_Qte_Line_Rec.line_category_code <> FND_API.G_MISS_CHAR) OR

Line 6694: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.line_category_code: '||l_Qte_Line_Rec.line_category_code, 1, 'Y');

6690:
6691: -- Start Updating Line_category_code and order_line_type_id of configured lines if Model
6692: -- line Line_category_code and order_line_type_id value has changed Bmishra 02/15/02
6693: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6694: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.line_category_code: '||l_Qte_Line_Rec.line_category_code, 1, 'Y');
6695: 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');
6696: end if;
6697: IF (l_Qte_Line_Rec.line_category_code <> FND_API.G_MISS_CHAR) OR
6698: (l_Qte_Line_Rec.order_line_type_id <> FND_API.G_MISS_NUM) THEN

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

6691: -- Start Updating Line_category_code and order_line_type_id of configured lines if Model
6692: -- line Line_category_code and order_line_type_id value has changed Bmishra 02/15/02
6693: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6694: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.line_category_code: '||l_Qte_Line_Rec.line_category_code, 1, 'Y');
6695: 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');
6696: end if;
6697: IF (l_Qte_Line_Rec.line_category_code <> FND_API.G_MISS_CHAR) OR
6698: (l_Qte_Line_Rec.order_line_type_id <> FND_API.G_MISS_NUM) THEN
6699: IF aso_debug_pub.g_debug_flag = 'Y' THEN

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

6695: 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');
6696: end if;
6697: IF (l_Qte_Line_Rec.line_category_code <> FND_API.G_MISS_CHAR) OR
6698: (l_Qte_Line_Rec.order_line_type_id <> FND_API.G_MISS_NUM) THEN
6699: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6700: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.item_type_code: '||l_Qte_Line_Rec.item_type_code, 1, 'Y');
6701: end if;
6702: IF l_Qte_Line_Rec.item_type_code = FND_API.G_MISS_CHAR THEN
6703: OPEN c_item_type_code;

Line 6700: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.item_type_code: '||l_Qte_Line_Rec.item_type_code, 1, 'Y');

6696: end if;
6697: IF (l_Qte_Line_Rec.line_category_code <> FND_API.G_MISS_CHAR) OR
6698: (l_Qte_Line_Rec.order_line_type_id <> FND_API.G_MISS_NUM) THEN
6699: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6700: aso_debug_pub.add('Update_Quote_lines - l_Qte_Line_Rec.item_type_code: '||l_Qte_Line_Rec.item_type_code, 1, 'Y');
6701: end if;
6702: IF l_Qte_Line_Rec.item_type_code = FND_API.G_MISS_CHAR THEN
6703: OPEN c_item_type_code;
6704: FETCH c_item_type_code INTO l_item_type_code;

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

6701: end if;
6702: IF l_Qte_Line_Rec.item_type_code = FND_API.G_MISS_CHAR THEN
6703: OPEN c_item_type_code;
6704: FETCH c_item_type_code INTO l_item_type_code;
6705: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6706: aso_debug_pub.add('Update_Quote_lines - Cursor c_item_type_code: l_item_type_code: '||l_item_type_code, 1, 'Y');
6707: end if;
6708: CLOSE c_item_type_code;
6709: ELSIF l_Qte_Line_Rec.item_type_code = 'MDL' THEN

Line 6706: aso_debug_pub.add('Update_Quote_lines - Cursor c_item_type_code: l_item_type_code: '||l_item_type_code, 1, 'Y');

6702: IF l_Qte_Line_Rec.item_type_code = FND_API.G_MISS_CHAR THEN
6703: OPEN c_item_type_code;
6704: FETCH c_item_type_code INTO l_item_type_code;
6705: IF aso_debug_pub.g_debug_flag = 'Y' THEN
6706: aso_debug_pub.add('Update_Quote_lines - Cursor c_item_type_code: l_item_type_code: '||l_item_type_code, 1, 'Y');
6707: end if;
6708: CLOSE c_item_type_code;
6709: ELSIF l_Qte_Line_Rec.item_type_code = 'MDL' THEN
6710: l_item_type_code := l_Qte_Line_Rec.item_type_code;

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

6715: OPEN c_order_line_type_id(l_Qte_Line_Rec.quote_line_id);
6716: FETCH c_order_line_type_id INTO l_line_category_code, l_order_line_type_id,
6717: l_config_header_id, l_config_revision_num;
6718:
6719: if aso_debug_pub.g_debug_flag = 'Y' then
6720:
6721: aso_debug_pub.add('c_order_line_type_id: l_line_category_code: '||l_line_category_code);
6722: aso_debug_pub.add('c_order_line_type_id: l_order_line_type_id: '||l_order_line_type_id);
6723: aso_debug_pub.add('c_order_line_type_id: l_config_header_id: '||l_config_header_id);

Line 6721: aso_debug_pub.add('c_order_line_type_id: l_line_category_code: '||l_line_category_code);

6717: l_config_header_id, l_config_revision_num;
6718:
6719: if aso_debug_pub.g_debug_flag = 'Y' then
6720:
6721: aso_debug_pub.add('c_order_line_type_id: l_line_category_code: '||l_line_category_code);
6722: aso_debug_pub.add('c_order_line_type_id: l_order_line_type_id: '||l_order_line_type_id);
6723: aso_debug_pub.add('c_order_line_type_id: l_config_header_id: '||l_config_header_id);
6724: aso_debug_pub.add('c_order_line_type_id: l_config_revision_num: '||l_config_revision_num);
6725:

Line 6722: aso_debug_pub.add('c_order_line_type_id: l_order_line_type_id: '||l_order_line_type_id);

6718:
6719: if aso_debug_pub.g_debug_flag = 'Y' then
6720:
6721: aso_debug_pub.add('c_order_line_type_id: l_line_category_code: '||l_line_category_code);
6722: aso_debug_pub.add('c_order_line_type_id: l_order_line_type_id: '||l_order_line_type_id);
6723: aso_debug_pub.add('c_order_line_type_id: l_config_header_id: '||l_config_header_id);
6724: aso_debug_pub.add('c_order_line_type_id: l_config_revision_num: '||l_config_revision_num);
6725:
6726: end if;

Line 6723: aso_debug_pub.add('c_order_line_type_id: l_config_header_id: '||l_config_header_id);

6719: if aso_debug_pub.g_debug_flag = 'Y' then
6720:
6721: aso_debug_pub.add('c_order_line_type_id: l_line_category_code: '||l_line_category_code);
6722: aso_debug_pub.add('c_order_line_type_id: l_order_line_type_id: '||l_order_line_type_id);
6723: aso_debug_pub.add('c_order_line_type_id: l_config_header_id: '||l_config_header_id);
6724: aso_debug_pub.add('c_order_line_type_id: l_config_revision_num: '||l_config_revision_num);
6725:
6726: end if;
6727:

Line 6724: aso_debug_pub.add('c_order_line_type_id: l_config_revision_num: '||l_config_revision_num);

6720:
6721: aso_debug_pub.add('c_order_line_type_id: l_line_category_code: '||l_line_category_code);
6722: aso_debug_pub.add('c_order_line_type_id: l_order_line_type_id: '||l_order_line_type_id);
6723: aso_debug_pub.add('c_order_line_type_id: l_config_header_id: '||l_config_header_id);
6724: aso_debug_pub.add('c_order_line_type_id: l_config_revision_num: '||l_config_revision_num);
6725:
6726: end if;
6727:
6728: CLOSE c_order_line_type_id;

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

6728: CLOSE c_order_line_type_id;
6729:
6730: BEGIN
6731:
6732: if aso_debug_pub.g_debug_flag = 'Y' then
6733: aso_debug_pub.add('Update_Quote_lines - Updating l_line_category_code of children.');
6734: end if;
6735:
6736: if l_config_header_id is not null and l_config_revision_num is not null then

Line 6733: aso_debug_pub.add('Update_Quote_lines - Updating l_line_category_code of children.');

6729:
6730: BEGIN
6731:
6732: if aso_debug_pub.g_debug_flag = 'Y' then
6733: aso_debug_pub.add('Update_Quote_lines - Updating l_line_category_code of children.');
6734: end if;
6735:
6736: if l_config_header_id is not null and l_config_revision_num is not null then
6737:

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

6756:
6757: WHEN OTHERS THEN
6758: x_return_status := FND_API.G_RET_STS_ERROR;
6759:
6760: if aso_debug_pub.g_debug_flag = 'Y' then
6761: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_quote_line: line_category_code
6762: update, inside WHEN OTHERS EXCEPTION');
6763: end if;
6764:

Line 6761: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_quote_line: line_category_code

6757: WHEN OTHERS THEN
6758: x_return_status := FND_API.G_RET_STS_ERROR;
6759:
6760: if aso_debug_pub.g_debug_flag = 'Y' then
6761: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_quote_line: line_category_code
6762: update, inside WHEN OTHERS EXCEPTION');
6763: end if;
6764:
6765:

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

7028: p_QUOTE_LINE_DETAIL_ID => l_qte_line_dtl_rec.quote_line_detail_id);
7029: END IF;
7030:
7031: END LOOP;
7032: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7033: aso_debug_pub.add('Update_Quote_line - after line_details.update ', 1, 'Y');
7034: end if;
7035:
7036: -- Service line quantity update Bmishra 01/09/02

Line 7033: aso_debug_pub.add('Update_Quote_line - after line_details.update ', 1, 'Y');

7029: END IF;
7030:
7031: END LOOP;
7032: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7033: aso_debug_pub.add('Update_Quote_line - after line_details.update ', 1, 'Y');
7034: end if;
7035:
7036: -- Service line quantity update Bmishra 01/09/02
7037: l_call_update := FND_API.G_FALSE;

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

7041: CLOSE c_inventory_item_id;
7042: END IF;
7043: OPEN c_service (l_Qte_Line_Rec.quote_line_id);
7044: FETCH c_service INTO l_service_item_flag, l_serviceable_product_flag;
7045: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7046: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_service_item_flag'||l_service_item_flag,1,'N');
7047: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_serviceable_product_flag'||l_serviceable_product_flag, 1, 'N');
7048: end if;
7049: IF c_service%FOUND THEN

Line 7046: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_service_item_flag'||l_service_item_flag,1,'N');

7042: END IF;
7043: OPEN c_service (l_Qte_Line_Rec.quote_line_id);
7044: FETCH c_service INTO l_service_item_flag, l_serviceable_product_flag;
7045: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7046: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_service_item_flag'||l_service_item_flag,1,'N');
7047: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_serviceable_product_flag'||l_serviceable_product_flag, 1, 'N');
7048: end if;
7049: IF c_service%FOUND THEN
7050: CLOSE c_service;

Line 7047: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_serviceable_product_flag'||l_serviceable_product_flag, 1, 'N');

7043: OPEN c_service (l_Qte_Line_Rec.quote_line_id);
7044: FETCH c_service INTO l_service_item_flag, l_serviceable_product_flag;
7045: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7046: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_service_item_flag'||l_service_item_flag,1,'N');
7047: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_serviceable_product_flag'||l_serviceable_product_flag, 1, 'N');
7048: end if;
7049: IF c_service%FOUND THEN
7050: CLOSE c_service;
7051: IF l_service_item_flag = 'Y' THEN

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

7048: end if;
7049: IF c_service%FOUND THEN
7050: CLOSE c_service;
7051: IF l_service_item_flag = 'Y' THEN
7052: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7053: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: Inside IF l_service_item_flag = Y',1,'N');
7054: end if;
7055: l_service := FND_API.G_TRUE;
7056: l_call_update := FND_API.G_TRUE;

Line 7053: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: Inside IF l_service_item_flag = Y',1,'N');

7049: IF c_service%FOUND THEN
7050: CLOSE c_service;
7051: IF l_service_item_flag = 'Y' THEN
7052: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7053: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: Inside IF l_service_item_flag = Y',1,'N');
7054: end if;
7055: l_service := FND_API.G_TRUE;
7056: l_call_update := FND_API.G_TRUE;
7057: ELSIF l_serviceable_product_flag = 'Y' THEN

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

7054: end if;
7055: l_service := FND_API.G_TRUE;
7056: l_call_update := FND_API.G_TRUE;
7057: ELSIF l_serviceable_product_flag = 'Y' THEN
7058: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7059: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: Inside IF l_serviceable_product_flag = Y',
7060: 1,'N');
7061: end if;
7062: l_service := FND_API.G_FALSE;

Line 7059: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: Inside IF l_serviceable_product_flag = Y',

7055: l_service := FND_API.G_TRUE;
7056: l_call_update := FND_API.G_TRUE;
7057: ELSIF l_serviceable_product_flag = 'Y' THEN
7058: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7059: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: Inside IF l_serviceable_product_flag = Y',
7060: 1,'N');
7061: end if;
7062: l_service := FND_API.G_FALSE;
7063: l_call_update := FND_API.G_TRUE;

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

7062: l_service := FND_API.G_FALSE;
7063: l_call_update := FND_API.G_TRUE;
7064: END IF;
7065:
7066: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7067: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_call_update'||l_call_update,1,'N');
7068: end if;
7069: IF l_call_update = FND_API.G_TRUE THEN
7070: ASO_QUOTE_LINES_PVT.service_item_qty_update

Line 7067: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_call_update'||l_call_update,1,'N');

7063: l_call_update := FND_API.G_TRUE;
7064: END IF;
7065:
7066: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7067: aso_debug_pub.add('ASO_QUOTE_LINES_PVT: Update_Quote_lines: l_call_update'||l_call_update,1,'N');
7068: end if;
7069: IF l_call_update = FND_API.G_TRUE THEN
7070: ASO_QUOTE_LINES_PVT.service_item_qty_update
7071: (p_qte_line_rec => l_Qte_Line_Rec ,

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

7071: (p_qte_line_rec => l_Qte_Line_Rec ,
7072: p_service_item_flag => l_service,
7073: x_return_status => X_return_status
7074: );
7075: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7076: aso_debug_pub.add('Update_Quote_lines - after call to ASO_QUOTE_LINES_PVT.service_item_qty_update '||x_return_status, 1, 'Y');
7077: end if;
7078: END IF;
7079: ELSE

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

7072: p_service_item_flag => l_service,
7073: x_return_status => X_return_status
7074: );
7075: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7076: aso_debug_pub.add('Update_Quote_lines - after call to ASO_QUOTE_LINES_PVT.service_item_qty_update '||x_return_status, 1, 'Y');
7077: end if;
7078: END IF;
7079: ELSE
7080: CLOSE c_service;

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

7077: end if;
7078: END IF;
7079: ELSE
7080: CLOSE c_service;
7081: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7082: aso_debug_pub.add('Update_quote_lines, Item not found in inventry',1,'N');
7083: end if;
7084: END IF;
7085:

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

7078: END IF;
7079: ELSE
7080: CLOSE c_service;
7081: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7082: aso_debug_pub.add('Update_quote_lines, Item not found in inventry',1,'N');
7083: end if;
7084: END IF;
7085:
7086: -- End of Service line quantity update Bmishra 01/09/02

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

7194: END LOOP;
7195:
7196:
7197: -- sales credits
7198: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7199: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_header_id: '||l_qte_line_rec.quote_header_id,1,'N');
7200: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_line_id: '||l_qte_line_rec.quote_line_id,1,'N');
7201: end if;
7202:

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

7195:
7196:
7197: -- sales credits
7198: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7199: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_header_id: '||l_qte_line_rec.quote_header_id,1,'N');
7200: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_line_id: '||l_qte_line_rec.quote_line_id,1,'N');
7201: end if;
7202:
7203: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN

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

7196:
7197: -- sales credits
7198: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7199: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_header_id: '||l_qte_line_rec.quote_header_id,1,'N');
7200: aso_debug_pub.add('Validate_Quote_Percent: BEFORE: l_qte_line_rec.quote_line_id: '||l_qte_line_rec.quote_line_id,1,'N');
7201: end if;
7202:
7203: IF ( P_validation_level >= ASO_UTILITY_PVT.G_VALID_LEVEL_ITEM) THEN
7204: IF x_sales_credit_tbl.count > 0 THEN

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

7224:
7225: -- end sales credits
7226:
7227: -- check for duplicate promotions, see bug 4521799
7228: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7229: aso_debug_pub.add('Before calling Validate_Promotion price_attr_tbl.count: '|| p_price_attributes_tbl.count, 1, 'Y');
7230: END IF;
7231:
7232: ASO_VALIDATE_PVT.Validate_Promotion (

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

7225: -- end sales credits
7226:
7227: -- check for duplicate promotions, see bug 4521799
7228: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7229: aso_debug_pub.add('Before calling Validate_Promotion price_attr_tbl.count: '|| p_price_attributes_tbl.count, 1, 'Y');
7230: END IF;
7231:
7232: ASO_VALIDATE_PVT.Validate_Promotion (
7233: P_Api_Version_Number => 1.0,

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

7238: x_return_status => x_return_status,
7239: x_msg_count => x_msg_count,
7240: x_msg_data => x_msg_data);
7241:
7242: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7243: aso_debug_pub.add('after calling Validate_Promotion ', 1, 'Y');
7244: aso_debug_pub.add('Validate_Promotion Return Status: '||x_return_status, 1, 'Y');
7245: END IF;
7246:

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

7239: x_msg_count => x_msg_count,
7240: x_msg_data => x_msg_data);
7241:
7242: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7243: aso_debug_pub.add('after calling Validate_Promotion ', 1, 'Y');
7244: aso_debug_pub.add('Validate_Promotion Return Status: '||x_return_status, 1, 'Y');
7245: END IF;
7246:
7247: if x_return_status <> fnd_api.g_ret_sts_success then

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

7240: x_msg_data => x_msg_data);
7241:
7242: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7243: aso_debug_pub.add('after calling Validate_Promotion ', 1, 'Y');
7244: aso_debug_pub.add('Validate_Promotion Return Status: '||x_return_status, 1, 'Y');
7245: END IF;
7246:
7247: if x_return_status <> fnd_api.g_ret_sts_success then
7248: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

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

7555: END IF;
7556:
7557: END LOOP;
7558:
7559: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7560: aso_debug_pub.add('Update_Quote_line - after line_price_attribs.update ', 1, 'N');
7561: end if;
7562:
7563:

Line 7560: aso_debug_pub.add('Update_Quote_line - after line_price_attribs.update ', 1, 'N');

7556:
7557: END LOOP;
7558:
7559: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7560: aso_debug_pub.add('Update_Quote_line - after line_price_attribs.update ', 1, 'N');
7561: end if;
7562:
7563:
7564: -- aso_shipments_tbl

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

7580: l_shipment_rec.freight_terms_code_from := l_shipment_rec.freight_terms_code;
7581: x_shipment_tbl(i).ship_method_code_from := l_shipment_rec.ship_method_code_from;
7582: x_shipment_tbl(i).freight_terms_code_from := l_shipment_rec.freight_terms_code_from;
7583:
7584: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7585: 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');
7586: 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');
7587: END IF;
7588:

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

7581: x_shipment_tbl(i).ship_method_code_from := l_shipment_rec.ship_method_code_from;
7582: x_shipment_tbl(i).freight_terms_code_from := l_shipment_rec.freight_terms_code_from;
7583:
7584: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7585: 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');
7586: 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');
7587: END IF;
7588:
7589: ASO_SHIPMENTS_PKG.Insert_Row(

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

7582: x_shipment_tbl(i).freight_terms_code_from := l_shipment_rec.freight_terms_code_from;
7583:
7584: IF aso_debug_pub.g_debug_flag = 'Y' THEN
7585: 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');
7586: 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');
7587: END IF;
7588:
7589: ASO_SHIPMENTS_PKG.Insert_Row(
7590: px_SHIPMENT_ID => x_shipment_tbl(i).SHIPMENT_ID,

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

8442: END LOOP;
8443:
8444:
8445: -- New code to call aso_pricing_int.delete_promotion 07/22/02
8446: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8447: aso_debug_pub.add('Update_Rows: l_Price_Attributes_Tbl.count: '||l_Price_Attributes_Tbl.count,1, 'N');
8448: aso_debug_pub.add('Update_Rows: Before call to aso_pricing_int.Delete_Promotion',1, 'N');
8449: end if;
8450:

Line 8447: aso_debug_pub.add('Update_Rows: l_Price_Attributes_Tbl.count: '||l_Price_Attributes_Tbl.count,1, 'N');

8443:
8444:
8445: -- New code to call aso_pricing_int.delete_promotion 07/22/02
8446: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8447: aso_debug_pub.add('Update_Rows: l_Price_Attributes_Tbl.count: '||l_Price_Attributes_Tbl.count,1, 'N');
8448: aso_debug_pub.add('Update_Rows: Before call to aso_pricing_int.Delete_Promotion',1, 'N');
8449: end if;
8450:
8451: IF l_Price_Attributes_Tbl.count > 0 THEN

Line 8448: aso_debug_pub.add('Update_Rows: Before call to aso_pricing_int.Delete_Promotion',1, 'N');

8444:
8445: -- New code to call aso_pricing_int.delete_promotion 07/22/02
8446: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8447: aso_debug_pub.add('Update_Rows: l_Price_Attributes_Tbl.count: '||l_Price_Attributes_Tbl.count,1, 'N');
8448: aso_debug_pub.add('Update_Rows: Before call to aso_pricing_int.Delete_Promotion',1, 'N');
8449: end if;
8450:
8451: IF l_Price_Attributes_Tbl.count > 0 THEN
8452:

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

8458: x_return_status => x_return_status,
8459: x_msg_count => x_msg_count,
8460: x_msg_data => x_msg_data
8461: );
8462: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8463: aso_debug_pub.add('Update_Rows: After call to Delete_Promotion: x_return_status: '||x_return_status,1, 'N');
8464: end if;
8465:
8466: END IF;

Line 8463: aso_debug_pub.add('Update_Rows: After call to Delete_Promotion: x_return_status: '||x_return_status,1, 'N');

8459: x_msg_count => x_msg_count,
8460: x_msg_data => x_msg_data
8461: );
8462: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8463: aso_debug_pub.add('Update_Rows: After call to Delete_Promotion: x_return_status: '||x_return_status,1, 'N');
8464: end if;
8465:
8466: END IF;
8467:

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

8482: l_payment_rec.quote_line_id := l_qte_line_rec.quote_line_id;
8483: -- BC4J Fix
8484: -- x_payment_tbl(i).PAYMENT_ID := null;
8485: l_payment_rec.PAYMENT_TERM_ID_FROM := l_payment_tbl(i).payment_term_id;
8486: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8487: 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');
8488: 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');
8489: END IF;
8490:

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

8483: -- BC4J Fix
8484: -- x_payment_tbl(i).PAYMENT_ID := null;
8485: l_payment_rec.PAYMENT_TERM_ID_FROM := l_payment_tbl(i).payment_term_id;
8486: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8487: 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');
8488: 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');
8489: END IF;
8490:
8491: -- Suyog Payments Changes

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

8484: -- x_payment_tbl(i).PAYMENT_ID := null;
8485: l_payment_rec.PAYMENT_TERM_ID_FROM := l_payment_tbl(i).payment_term_id;
8486: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8487: 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');
8488: 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');
8489: END IF;
8490:
8491: -- Suyog Payments Changes
8492:

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

8489: END IF;
8490:
8491: -- Suyog Payments Changes
8492:
8493: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8494: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to create_payment_row ', 1, 'Y');
8495: END IF;
8496:
8497: aso_payment_int.create_payment_row(p_payment_rec => l_payment_rec ,

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

8490:
8491: -- Suyog Payments Changes
8492:
8493: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8494: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to create_payment_row ', 1, 'Y');
8495: END IF;
8496:
8497: aso_payment_int.create_payment_row(p_payment_rec => l_payment_rec ,
8498: x_payment_rec => x_payment_tbl(i),

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

8499: x_return_status => x_return_status,
8500: x_msg_count => x_msg_count,
8501: x_msg_data => x_msg_data);
8502:
8503: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8504: aso_debug_pub.add('Update_Quote_Line_Rows: After call to create_payment_row: x_return_status: '||x_return_status, 1, 'Y');
8505: END IF;
8506:
8507: if x_return_status <> fnd_api.g_ret_sts_success then

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

8500: x_msg_count => x_msg_count,
8501: x_msg_data => x_msg_data);
8502:
8503: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8504: aso_debug_pub.add('Update_Quote_Line_Rows: After call to create_payment_row: x_return_status: '||x_return_status, 1, 'Y');
8505: END IF;
8506:
8507: if x_return_status <> fnd_api.g_ret_sts_success then
8508: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

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

8528: END LOOP;
8529: ELSE
8530: l_payment_rec.payment_term_id_from := l_payment_rec.payment_term_id;
8531: END IF;
8532: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8533: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Update Rows l_payment_rec.payment_term_id'||l_payment_rec.payment_term_id, 1, 'Y');
8534: 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');
8535: END IF;
8536:

Line 8533: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Update Rows l_payment_rec.payment_term_id'||l_payment_rec.payment_term_id, 1, 'Y');

8529: ELSE
8530: l_payment_rec.payment_term_id_from := l_payment_rec.payment_term_id;
8531: END IF;
8532: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8533: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Update Rows l_payment_rec.payment_term_id'||l_payment_rec.payment_term_id, 1, 'Y');
8534: 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');
8535: END IF;
8536:
8537:

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

8530: l_payment_rec.payment_term_id_from := l_payment_rec.payment_term_id;
8531: END IF;
8532: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8533: aso_debug_pub.add('Inside ASO_PAYMENTS_PKG - Update Rows l_payment_rec.payment_term_id'||l_payment_rec.payment_term_id, 1, 'Y');
8534: 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');
8535: END IF;
8536:
8537:
8538: -- Suyog Payments Changes

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

8536:
8537:
8538: -- Suyog Payments Changes
8539:
8540: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8541: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to update_payment_row ', 1, 'Y');
8542: END IF;
8543:
8544: aso_payment_int.update_payment_row(p_payment_rec => l_payment_rec ,

Line 8541: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to update_payment_row ', 1, 'Y');

8537:
8538: -- Suyog Payments Changes
8539:
8540: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8541: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to update_payment_row ', 1, 'Y');
8542: END IF;
8543:
8544: aso_payment_int.update_payment_row(p_payment_rec => l_payment_rec ,
8545: x_payment_rec => x_payment_tbl(i),

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

8546: x_return_status => x_return_status,
8547: x_msg_count => x_msg_count,
8548: x_msg_data => x_msg_data);
8549:
8550: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8551: aso_debug_pub.add('Update_Quote_Line_Rows: After call to update_payment_row: x_return_status: '||x_return_status, 1, 'Y');
8552: END IF;
8553: if x_return_status <> fnd_api.g_ret_sts_success then
8554: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

Line 8551: aso_debug_pub.add('Update_Quote_Line_Rows: After call to update_payment_row: x_return_status: '||x_return_status, 1, 'Y');

8547: x_msg_count => x_msg_count,
8548: x_msg_data => x_msg_data);
8549:
8550: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8551: aso_debug_pub.add('Update_Quote_Line_Rows: After call to update_payment_row: x_return_status: '||x_return_status, 1, 'Y');
8552: END IF;
8553: if x_return_status <> fnd_api.g_ret_sts_success then
8554: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN
8555: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

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

8566: ELSIF l_payment_rec.operation_code = 'DELETE' THEN
8567:
8568: -- Suyog Payments Changes
8569:
8570: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8571: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to delete_payment_row ', 1, 'Y');
8572: END IF;
8573:
8574: aso_payment_int.delete_payment_row(p_payment_rec => l_payment_rec ,

Line 8571: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to delete_payment_row ', 1, 'Y');

8567:
8568: -- Suyog Payments Changes
8569:
8570: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8571: aso_debug_pub.add('Update_Quote_Line_Rows: Before call to delete_payment_row ', 1, 'Y');
8572: END IF;
8573:
8574: aso_payment_int.delete_payment_row(p_payment_rec => l_payment_rec ,
8575: x_return_status => x_return_status,

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

8575: x_return_status => x_return_status,
8576: x_msg_count => x_msg_count,
8577: x_msg_data => x_msg_data);
8578:
8579: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8580: aso_debug_pub.add('Update_Quote_Line_Rows: After call to delete_payment_row: x_return_status: '||x_return_status, 1, 'Y');
8581: END IF;
8582: if x_return_status <> fnd_api.g_ret_sts_success then
8583: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

Line 8580: aso_debug_pub.add('Update_Quote_Line_Rows: After call to delete_payment_row: x_return_status: '||x_return_status, 1, 'Y');

8576: x_msg_count => x_msg_count,
8577: x_msg_data => x_msg_data);
8578:
8579: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8580: aso_debug_pub.add('Update_Quote_Line_Rows: After call to delete_payment_row: x_return_status: '||x_return_status, 1, 'Y');
8581: END IF;
8582: if x_return_status <> fnd_api.g_ret_sts_success then
8583: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN
8584: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

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

8608: IF x_return_status<>FND_API.G_RET_STS_SUCCESS THEN
8609: RAISE FND_API.G_EXC_ERROR;
8610: END IF;
8611:
8612: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8613: aso_debug_pub.add('x_return_status for Validate_po_line_number'|| x_return_status, 1, 'Y');
8614: END IF;
8615:
8616:

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

8609: RAISE FND_API.G_EXC_ERROR;
8610: END IF;
8611:
8612: IF ASO_DEBUG_PUB.G_Debug_Flag = 'Y' THEN
8613: aso_debug_pub.add('x_return_status for Validate_po_line_number'|| x_return_status, 1, 'Y');
8614: END IF;
8615:
8616:
8617: FOR i IN 1..l_line_attribs_ext_Tbl.count LOOP

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

8770: IF (x_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
8771: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8772: END IF;
8773:
8774: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8775: aso_debug_pub.add('Update_Quote_line - before calculate_tax_flag ', 1, 'N');
8776: end if;
8777:
8778: /*

Line 8775: aso_debug_pub.add('Update_Quote_line - before calculate_tax_flag ', 1, 'N');

8771: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
8772: END IF;
8773:
8774: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8775: aso_debug_pub.add('Update_Quote_line - before calculate_tax_flag ', 1, 'N');
8776: end if;
8777:
8778: /*
8779: *

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

8792: NULL;
8793: END IF;
8794: CLOSE get_cust_acct;
8795:
8796: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8797: aso_debug_pub.add('Cust acct'||l_cust_acct , 1, 'Y');
8798: end if;
8799:
8800: IF (l_Qte_Line_Rec.invoice_to_party_site_id is not NULL

Line 8797: aso_debug_pub.add('Cust acct'||l_cust_acct , 1, 'Y');

8793: END IF;
8794: CLOSE get_cust_acct;
8795:
8796: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8797: aso_debug_pub.add('Cust acct'||l_cust_acct , 1, 'Y');
8798: end if;
8799:
8800: IF (l_Qte_Line_Rec.invoice_to_party_site_id is not NULL
8801: AND l_Qte_Line_Rec.invoice_to_party_site_id <> FND_API.G_MISS_NUM) AND

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

8799:
8800: IF (l_Qte_Line_Rec.invoice_to_party_site_id is not NULL
8801: AND l_Qte_Line_Rec.invoice_to_party_site_id <> FND_API.G_MISS_NUM) AND
8802: (l_cust_acct is NOT NULL AND l_cust_acct <> FND_API.G_MISS_NUM) THEN
8803: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8804: aso_debug_pub.add('inside if'||nvl(to_char(l_Qte_Line_Rec.invoice_to_party_site_id),'null'), 1, 'Y' );
8805: end if;
8806:
8807: ASO_PARTY_INT.GET_ACCT_SITE_USES (

Line 8804: aso_debug_pub.add('inside if'||nvl(to_char(l_Qte_Line_Rec.invoice_to_party_site_id),'null'), 1, 'Y' );

8800: IF (l_Qte_Line_Rec.invoice_to_party_site_id is not NULL
8801: AND l_Qte_Line_Rec.invoice_to_party_site_id <> FND_API.G_MISS_NUM) AND
8802: (l_cust_acct is NOT NULL AND l_cust_acct <> FND_API.G_MISS_NUM) THEN
8803: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8804: aso_debug_pub.add('inside if'||nvl(to_char(l_Qte_Line_Rec.invoice_to_party_site_id),'null'), 1, 'Y' );
8805: end if;
8806:
8807: ASO_PARTY_INT.GET_ACCT_SITE_USES (
8808: p_api_version => 1.0

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

8987: INTO l_quote_number
8988: FROM aso_quote_headers
8989: WHERE quote_header_id = l_Qte_Line_Rec.quote_header_id;
8990:
8991: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8992: 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');
8993: END IF;
8994:
8995: -- Call to insert record in ASO_CHANGED_QUOTES

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

8988: FROM aso_quote_headers
8989: WHERE quote_header_id = l_Qte_Line_Rec.quote_header_id;
8990:
8991: IF aso_debug_pub.g_debug_flag = 'Y' THEN
8992: 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');
8993: END IF;
8994:
8995: -- Call to insert record in ASO_CHANGED_QUOTES
8996: ASO_UTILITY_PVT.UPDATE_CHANGED_QUOTES(l_quote_number);

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

9203: l_payment_tbl ASO_QUOTE_PUB.Payment_Tbl_Type;
9204: l_payment_rec aso_quote_pub.payment_rec_type;
9205: l_qte_number NUMBER ;
9206: BEGIN
9207: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9208: aso_debug_pub.add('Delete_Quote_lines - Begin ', 1, 'Y');
9209: aso_debug_pub.add('Delete_Quote_Line: P_qte_line_Rec.quote_line_id: '||P_qte_line_Rec.quote_line_id);
9210: aso_debug_pub.add('Delete_Quote_Line: P_Update_Header_Flag: '||P_Update_Header_Flag);
9211: end if;

Line 9208: aso_debug_pub.add('Delete_Quote_lines - Begin ', 1, 'Y');

9204: l_payment_rec aso_quote_pub.payment_rec_type;
9205: l_qte_number NUMBER ;
9206: BEGIN
9207: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9208: aso_debug_pub.add('Delete_Quote_lines - Begin ', 1, 'Y');
9209: aso_debug_pub.add('Delete_Quote_Line: P_qte_line_Rec.quote_line_id: '||P_qte_line_Rec.quote_line_id);
9210: aso_debug_pub.add('Delete_Quote_Line: P_Update_Header_Flag: '||P_Update_Header_Flag);
9211: end if;
9212:

Line 9209: aso_debug_pub.add('Delete_Quote_Line: P_qte_line_Rec.quote_line_id: '||P_qte_line_Rec.quote_line_id);

9205: l_qte_number NUMBER ;
9206: BEGIN
9207: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9208: aso_debug_pub.add('Delete_Quote_lines - Begin ', 1, 'Y');
9209: aso_debug_pub.add('Delete_Quote_Line: P_qte_line_Rec.quote_line_id: '||P_qte_line_Rec.quote_line_id);
9210: aso_debug_pub.add('Delete_Quote_Line: P_Update_Header_Flag: '||P_Update_Header_Flag);
9211: end if;
9212:
9213: -- Standard Start of API savepoint

Line 9210: aso_debug_pub.add('Delete_Quote_Line: P_Update_Header_Flag: '||P_Update_Header_Flag);

9206: BEGIN
9207: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9208: aso_debug_pub.add('Delete_Quote_lines - Begin ', 1, 'Y');
9209: aso_debug_pub.add('Delete_Quote_Line: P_qte_line_Rec.quote_line_id: '||P_qte_line_Rec.quote_line_id);
9210: aso_debug_pub.add('Delete_Quote_Line: P_Update_Header_Flag: '||P_Update_Header_Flag);
9211: end if;
9212:
9213: -- Standard Start of API savepoint
9214: SAVEPOINT DELETE_quote_line_PVT;

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

9250: open c_pricing_line_type_indicator;
9251: fetch c_pricing_line_type_indicator into l_pricing_line_type_indicator;
9252: close c_pricing_line_type_indicator;
9253:
9254: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9255: aso_debug_pub.add('l_pricing_line_type_indicator: '|| l_pricing_line_type_indicator);
9256: end if;
9257:
9258: IF (p_update_header_flag = 'Y') THEN

Line 9255: aso_debug_pub.add('l_pricing_line_type_indicator: '|| l_pricing_line_type_indicator);

9251: fetch c_pricing_line_type_indicator into l_pricing_line_type_indicator;
9252: close c_pricing_line_type_indicator;
9253:
9254: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9255: aso_debug_pub.add('l_pricing_line_type_indicator: '|| l_pricing_line_type_indicator);
9256: end if;
9257:
9258: IF (p_update_header_flag = 'Y') THEN
9259:

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

9310: l_auto_version := 'N';
9311:
9312: END IF;
9313:
9314: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9315: aso_debug_pub.add('Delete_Quote_Line: l_auto_version: '|| l_auto_version);
9316: end if;
9317:
9318:

Line 9315: aso_debug_pub.add('Delete_Quote_Line: l_auto_version: '|| l_auto_version);

9311:
9312: END IF;
9313:
9314: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9315: aso_debug_pub.add('Delete_Quote_Line: l_auto_version: '|| l_auto_version);
9316: end if;
9317:
9318:
9319: IF l_auto_version = 'Y' THEN

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

9345: X_Msg_Count => x_msg_count,
9346: X_Msg_Data => x_msg_data
9347: );
9348:
9349: if aso_debug_pub.g_debug_flag = 'Y' THEN
9350: aso_debug_pub.add('Delete_Quote_Line: After call to aso_copy_quote_pvt.copy_quote');
9351: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
9352: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
9353: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);

Line 9350: aso_debug_pub.add('Delete_Quote_Line: After call to aso_copy_quote_pvt.copy_quote');

9346: X_Msg_Data => x_msg_data
9347: );
9348:
9349: if aso_debug_pub.g_debug_flag = 'Y' THEN
9350: aso_debug_pub.add('Delete_Quote_Line: After call to aso_copy_quote_pvt.copy_quote');
9351: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
9352: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
9353: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
9354: end if;

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

9347: );
9348:
9349: if aso_debug_pub.g_debug_flag = 'Y' THEN
9350: aso_debug_pub.add('Delete_Quote_Line: After call to aso_copy_quote_pvt.copy_quote');
9351: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
9352: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
9353: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
9354: end if;
9355:

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

9348:
9349: if aso_debug_pub.g_debug_flag = 'Y' THEN
9350: aso_debug_pub.add('Delete_Quote_Line: After call to aso_copy_quote_pvt.copy_quote');
9351: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
9352: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
9353: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
9354: end if;
9355:
9356: update aso_quote_headers_all

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

9349: if aso_debug_pub.g_debug_flag = 'Y' THEN
9350: aso_debug_pub.add('Delete_Quote_Line: After call to aso_copy_quote_pvt.copy_quote');
9351: aso_debug_pub.add('After copy_quote l_return_status: ' || l_return_status);
9352: aso_debug_pub.add('After copy_quote x_quote_header_id: ' || x_quote_header_id);
9353: aso_debug_pub.add('After copy_quote l_qte_nbr: ' || l_qte_nbr);
9354: end if;
9355:
9356: update aso_quote_headers_all
9357: set quote_version = l_quote_version + 1,

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

9401: aso_price_adjustments b
9402: where a.rltd_price_adj_id = b.price_adjustment_id
9403: and b.quote_line_id = p_qte_line_rec.quote_line_id);
9404:
9405: if aso_debug_pub.g_debug_flag = 'Y' THEN
9406: aso_debug_pub.add('No. of free adjustment lines selected is sql%rowcount: '||sql%rowcount);
9407: end if;
9408:
9409: if aso_debug_pub.g_debug_flag = 'Y' THEN

Line 9406: aso_debug_pub.add('No. of free adjustment lines selected is sql%rowcount: '||sql%rowcount);

9402: where a.rltd_price_adj_id = b.price_adjustment_id
9403: and b.quote_line_id = p_qte_line_rec.quote_line_id);
9404:
9405: if aso_debug_pub.g_debug_flag = 'Y' THEN
9406: aso_debug_pub.add('No. of free adjustment lines selected is sql%rowcount: '||sql%rowcount);
9407: end if;
9408:
9409: if aso_debug_pub.g_debug_flag = 'Y' THEN
9410:

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

9405: if aso_debug_pub.g_debug_flag = 'Y' THEN
9406: aso_debug_pub.add('No. of free adjustment lines selected is sql%rowcount: '||sql%rowcount);
9407: end if;
9408:
9409: if aso_debug_pub.g_debug_flag = 'Y' THEN
9410:
9411: if adj_id_tbl.count > 0 then
9412:
9413: for i in adj_id_tbl.FIRST..adj_id_tbl.LAST loop

Line 9414: aso_debug_pub.add('adj_id_tbl('||i||'): ' || adj_id_tbl(i));

9410:
9411: if adj_id_tbl.count > 0 then
9412:
9413: for i in adj_id_tbl.FIRST..adj_id_tbl.LAST loop
9414: aso_debug_pub.add('adj_id_tbl('||i||'): ' || adj_id_tbl(i));
9415: end loop;
9416:
9417: end if;
9418:

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

9426: SET updated_flag = 'Y'
9427: WHERE price_adjustment_id = adj_id_tbl(i)
9428: AND modifier_line_type_code = G_DISCOUNT;
9429:
9430: if aso_debug_pub.g_debug_flag = 'Y' THEN
9431: aso_debug_pub.add('No of adjustment lines updated is sql%rowcount: '||sql%rowcount);
9432: end if;
9433:
9434: end if;

Line 9431: aso_debug_pub.add('No of adjustment lines updated is sql%rowcount: '||sql%rowcount);

9427: WHERE price_adjustment_id = adj_id_tbl(i)
9428: AND modifier_line_type_code = G_DISCOUNT;
9429:
9430: if aso_debug_pub.g_debug_flag = 'Y' THEN
9431: aso_debug_pub.add('No of adjustment lines updated is sql%rowcount: '||sql%rowcount);
9432: end if;
9433:
9434: end if;
9435:

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

9441: from aso_price_adj_relationships a, aso_price_adjustments b
9442: where a.rltd_price_adj_id = b.price_adjustment_id
9443: and b.quote_line_id = p_qte_line_rec.quote_line_id;
9444:
9445: if aso_debug_pub.g_debug_flag = 'Y' THEN
9446: aso_debug_pub.add('No. of PRG adjustment lines selected is sql%rowcount: '||sql%rowcount);
9447: end if;
9448:
9449: if aso_debug_pub.g_debug_flag = 'Y' THEN

Line 9446: aso_debug_pub.add('No. of PRG adjustment lines selected is sql%rowcount: '||sql%rowcount);

9442: where a.rltd_price_adj_id = b.price_adjustment_id
9443: and b.quote_line_id = p_qte_line_rec.quote_line_id;
9444:
9445: if aso_debug_pub.g_debug_flag = 'Y' THEN
9446: aso_debug_pub.add('No. of PRG adjustment lines selected is sql%rowcount: '||sql%rowcount);
9447: end if;
9448:
9449: if aso_debug_pub.g_debug_flag = 'Y' THEN
9450:

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

9445: if aso_debug_pub.g_debug_flag = 'Y' THEN
9446: aso_debug_pub.add('No. of PRG adjustment lines selected is sql%rowcount: '||sql%rowcount);
9447: end if;
9448:
9449: if aso_debug_pub.g_debug_flag = 'Y' THEN
9450:
9451: if adj_id_tbl.count > 0 then
9452:
9453: for i in adj_id_tbl.FIRST..adj_id_tbl.LAST loop

Line 9454: aso_debug_pub.add('adj_id_tbl('||i||'): ' || adj_id_tbl(i));

9450:
9451: if adj_id_tbl.count > 0 then
9452:
9453: for i in adj_id_tbl.FIRST..adj_id_tbl.LAST loop
9454: aso_debug_pub.add('adj_id_tbl('||i||'): ' || adj_id_tbl(i));
9455: end loop;
9456:
9457: end if;
9458:

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

9466: SET updated_flag = 'Y'
9467: WHERE price_adjustment_id = adj_id_tbl(i)
9468: AND modifier_line_type_code = G_PROMO_GOODS_DISCOUNT;
9469:
9470: if aso_debug_pub.g_debug_flag = 'Y' THEN
9471: aso_debug_pub.add('No of PRG adjustment lines updated is sql%rowcount: '||sql%rowcount);
9472: end if;
9473:
9474: end if;

Line 9471: aso_debug_pub.add('No of PRG adjustment lines updated is sql%rowcount: '||sql%rowcount);

9467: WHERE price_adjustment_id = adj_id_tbl(i)
9468: AND modifier_line_type_code = G_PROMO_GOODS_DISCOUNT;
9469:
9470: if aso_debug_pub.g_debug_flag = 'Y' THEN
9471: aso_debug_pub.add('No of PRG adjustment lines updated is sql%rowcount: '||sql%rowcount);
9472: end if;
9473:
9474: end if;
9475:

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

9476: exception
9477:
9478: when others then
9479:
9480: if aso_debug_pub.g_debug_flag = 'Y' THEN
9481: aso_debug_pub.add('Delete_Quote_Line: Updation of updated_flag column in aso_price_adjustments table failed.');
9482: end if;
9483:
9484: end;

Line 9481: aso_debug_pub.add('Delete_Quote_Line: Updation of updated_flag column in aso_price_adjustments table failed.');

9477:
9478: when others then
9479:
9480: if aso_debug_pub.g_debug_flag = 'Y' THEN
9481: aso_debug_pub.add('Delete_Quote_Line: Updation of updated_flag column in aso_price_adjustments table failed.');
9482: end if;
9483:
9484: end;
9485:

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

9484: end;
9485:
9486: end if;
9487:
9488: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9489: aso_debug_pub.add('After updation of updated_flag column in aso_price_adjustments table.', 1, 'Y');
9490: end if;
9491:
9492: --Changes for deleting PRG lines

Line 9489: aso_debug_pub.add('After updation of updated_flag column in aso_price_adjustments table.', 1, 'Y');

9485:
9486: end if;
9487:
9488: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9489: aso_debug_pub.add('After updation of updated_flag column in aso_price_adjustments table.', 1, 'Y');
9490: end if;
9491:
9492: --Changes for deleting PRG lines
9493: open c_prg_lines;

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

9494: fetch c_prg_lines into l_modifier_line_type_code;
9495:
9496: if c_prg_lines%found then
9497:
9498: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9499: aso_debug_pub.add('before deleting the PRG lines', 1, 'Y');
9500: end if;
9501:
9502: for row in c_free_lines loop

Line 9499: aso_debug_pub.add('before deleting the PRG lines', 1, 'Y');

9495:
9496: if c_prg_lines%found then
9497:
9498: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9499: aso_debug_pub.add('before deleting the PRG lines', 1, 'Y');
9500: end if;
9501:
9502: for row in c_free_lines loop
9503:

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

9527: -- these tables may or may not have any rows
9528: -- ideally exception should be handled by the table handler
9529:
9530:
9531: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9532: aso_debug_pub.add('before deleting the quote line attributes.', 1, 'Y');
9533: end if;
9534:
9535: -- delete quote line attributes

Line 9532: aso_debug_pub.add('before deleting the quote line attributes.', 1, 'Y');

9528: -- ideally exception should be handled by the table handler
9529:
9530:
9531: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9532: aso_debug_pub.add('before deleting the quote line attributes.', 1, 'Y');
9533: end if;
9534:
9535: -- delete quote line attributes
9536: BEGIN

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

9549: WHEN NO_DATA_FOUND THEN
9550: null;
9551: END;
9552:
9553: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9554: aso_debug_pub.add('before deleting the quote line relationships.', 1, 'Y');
9555: end if;
9556:
9557: -- delete line relationships

Line 9554: aso_debug_pub.add('before deleting the quote line relationships.', 1, 'Y');

9550: null;
9551: END;
9552:
9553: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9554: aso_debug_pub.add('before deleting the quote line relationships.', 1, 'Y');
9555: end if;
9556:
9557: -- delete line relationships
9558:

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

9593: END IF;
9594: RAISE FND_API.G_EXC_ERROR;
9595: END IF;
9596:
9597: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9598: aso_debug_pub.add('before deleting the quote line price adjustments.', 1, 'Y');
9599: end if;
9600:
9601: -- delete price adjustments

Line 9598: aso_debug_pub.add('before deleting the quote line price adjustments.', 1, 'Y');

9594: RAISE FND_API.G_EXC_ERROR;
9595: END IF;
9596:
9597: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9598: aso_debug_pub.add('before deleting the quote line price adjustments.', 1, 'Y');
9599: end if;
9600:
9601: -- delete price adjustments
9602: -- this should once again delete price adj relationships

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

9611:
9612: -- delete payments
9613: BEGIN
9614:
9615: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9616: aso_debug_pub.add('Delete_Quote_Line: Before call to delete_payment_row ', 1, 'Y');
9617: END IF;
9618:
9619: l_payment_tbl := aso_utility_pvt.Query_Payment_Rows(p_qte_line_rec.quote_header_id,p_qte_line_rec.quote_line_id);

Line 9616: aso_debug_pub.add('Delete_Quote_Line: Before call to delete_payment_row ', 1, 'Y');

9612: -- delete payments
9613: BEGIN
9614:
9615: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9616: aso_debug_pub.add('Delete_Quote_Line: Before call to delete_payment_row ', 1, 'Y');
9617: END IF;
9618:
9619: l_payment_tbl := aso_utility_pvt.Query_Payment_Rows(p_qte_line_rec.quote_header_id,p_qte_line_rec.quote_line_id);
9620:

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

9617: END IF;
9618:
9619: l_payment_tbl := aso_utility_pvt.Query_Payment_Rows(p_qte_line_rec.quote_header_id,p_qte_line_rec.quote_line_id);
9620:
9621: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9622: aso_debug_pub.add('Delete_Quote_Line: l_payment_tbl.count: '|| l_payment_tbl.count, 1, 'Y');
9623: END IF;
9624:
9625: if l_payment_tbl.count > 0 then

Line 9622: aso_debug_pub.add('Delete_Quote_Line: l_payment_tbl.count: '|| l_payment_tbl.count, 1, 'Y');

9618:
9619: l_payment_tbl := aso_utility_pvt.Query_Payment_Rows(p_qte_line_rec.quote_header_id,p_qte_line_rec.quote_line_id);
9620:
9621: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9622: aso_debug_pub.add('Delete_Quote_Line: l_payment_tbl.count: '|| l_payment_tbl.count, 1, 'Y');
9623: END IF;
9624:
9625: if l_payment_tbl.count > 0 then
9626:

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

9623: END IF;
9624:
9625: if l_payment_tbl.count > 0 then
9626:
9627: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9628: aso_debug_pub.add('Delete_Quote_Line: Inside if for payment tbl count > 0 ', 1, 'Y');
9629: END IF;
9630:
9631:

Line 9628: aso_debug_pub.add('Delete_Quote_Line: Inside if for payment tbl count > 0 ', 1, 'Y');

9624:
9625: if l_payment_tbl.count > 0 then
9626:
9627: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9628: aso_debug_pub.add('Delete_Quote_Line: Inside if for payment tbl count > 0 ', 1, 'Y');
9629: END IF;
9630:
9631:
9632: if l_payment_tbl(1).trxn_extension_id is not null then

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

9632: if l_payment_tbl(1).trxn_extension_id is not null then
9633:
9634: l_payment_rec := l_payment_tbl(1);
9635:
9636: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9637: aso_debug_pub.add('Delete_Quote_Line: Before call to delete_payment_row', 1, 'Y');
9638: END IF;
9639:
9640: aso_payment_int.delete_payment_row(p_payment_rec => l_payment_rec ,

Line 9637: aso_debug_pub.add('Delete_Quote_Line: Before call to delete_payment_row', 1, 'Y');

9633:
9634: l_payment_rec := l_payment_tbl(1);
9635:
9636: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9637: aso_debug_pub.add('Delete_Quote_Line: Before call to delete_payment_row', 1, 'Y');
9638: END IF;
9639:
9640: aso_payment_int.delete_payment_row(p_payment_rec => l_payment_rec ,
9641: x_return_status => x_return_status,

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

9641: x_return_status => x_return_status,
9642: x_msg_count => x_msg_count,
9643: x_msg_data => x_msg_data);
9644:
9645: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9646: aso_debug_pub.add('Delete_Quote_Line: After call to delete_payment_row: x_return_status: '||x_return_status, 1, 'Y');
9647: END IF;
9648: if x_return_status <> fnd_api.g_ret_sts_success then
9649: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN

Line 9646: aso_debug_pub.add('Delete_Quote_Line: After call to delete_payment_row: x_return_status: '||x_return_status, 1, 'Y');

9642: x_msg_count => x_msg_count,
9643: x_msg_data => x_msg_data);
9644:
9645: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9646: aso_debug_pub.add('Delete_Quote_Line: After call to delete_payment_row: x_return_status: '||x_return_status, 1, 'Y');
9647: END IF;
9648: if x_return_status <> fnd_api.g_ret_sts_success then
9649: IF (x_return_status = FND_API.G_RET_STS_UNEXP_ERROR) THEN
9650: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

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

9656: end if;
9657:
9658: else
9659:
9660: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9661: aso_debug_pub.add('Delete_Quote_Line: Before calling table handler to delete payment row', 1, 'Y');
9662: END IF;
9663:
9664: aso_payments_pkg.Delete_Row(p_payment_id => l_payment_tbl(1).payment_id);

Line 9661: aso_debug_pub.add('Delete_Quote_Line: Before calling table handler to delete payment row', 1, 'Y');

9657:
9658: else
9659:
9660: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9661: aso_debug_pub.add('Delete_Quote_Line: Before calling table handler to delete payment row', 1, 'Y');
9662: END IF;
9663:
9664: aso_payments_pkg.Delete_Row(p_payment_id => l_payment_tbl(1).payment_id);
9665: end if;

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

9665: end if;
9666:
9667: end if;
9668:
9669: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9670: aso_debug_pub.add('Delete_Quote_Line: After deleting the payment row', 1, 'Y');
9671: END IF;
9672:
9673: EXCEPTION

Line 9670: aso_debug_pub.add('Delete_Quote_Line: After deleting the payment row', 1, 'Y');

9666:
9667: end if;
9668:
9669: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9670: aso_debug_pub.add('Delete_Quote_Line: After deleting the payment row', 1, 'Y');
9671: END IF;
9672:
9673: EXCEPTION
9674: WHEN NO_DATA_FOUND THEN

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

9692: WHEN NO_DATA_FOUND THEN
9693: null;
9694: END;
9695:
9696: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9697: aso_debug_pub.add('Delete_Quote_Line: Before deleting the sales credits', 1, 'Y');
9698: END IF;
9699:
9700: -- delete salescredits

Line 9697: aso_debug_pub.add('Delete_Quote_Line: Before deleting the sales credits', 1, 'Y');

9693: null;
9694: END;
9695:
9696: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9697: aso_debug_pub.add('Delete_Quote_Line: Before deleting the sales credits', 1, 'Y');
9698: END IF;
9699:
9700: -- delete salescredits
9701: ASO_SALES_CREDITS_PKG.Delete_row(

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

9700: -- delete salescredits
9701: ASO_SALES_CREDITS_PKG.Delete_row(
9702: p_QUOTE_LINE_ID => p_qte_line_rec.quote_line_id);
9703:
9704: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9705: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote parties', 1, 'Y');
9706: END IF;
9707:
9708: -- delete quote parties

Line 9705: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote parties', 1, 'Y');

9701: ASO_SALES_CREDITS_PKG.Delete_row(
9702: p_QUOTE_LINE_ID => p_qte_line_rec.quote_line_id);
9703:
9704: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9705: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote parties', 1, 'Y');
9706: END IF;
9707:
9708: -- delete quote parties
9709: ASO_QUOTE_PARTIES_PKG.Delete_row(

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

9763:
9764:
9765: END IF; -- 'MDL'
9766:
9767: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9768: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line details', 1, 'Y');
9769: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9770: END IF;
9771:

Line 9768: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line details', 1, 'Y');

9764:
9765: END IF; -- 'MDL'
9766:
9767: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9768: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line details', 1, 'Y');
9769: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9770: END IF;
9771:
9772: -- delete quote line details

Line 9769: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);

9765: END IF; -- 'MDL'
9766:
9767: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9768: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line details', 1, 'Y');
9769: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9770: END IF;
9771:
9772: -- delete quote line details
9773: BEGIN

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

9846:
9847: END LOOP;
9848:
9849:
9850: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9851: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line', 1, 'Y');
9852: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9853: END IF;
9854:

Line 9851: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line', 1, 'Y');

9847: END LOOP;
9848:
9849:
9850: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9851: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line', 1, 'Y');
9852: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9853: END IF;
9854:
9855: BEGIN

Line 9852: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);

9848:
9849:
9850: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9851: aso_debug_pub.add('Delete_Quote_Line: Before deleting the quote line', 1, 'Y');
9852: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9853: END IF;
9854:
9855: BEGIN
9856: ASO_QUOTE_LINES_PKG.Delete_Row( p_quote_line_id => p_qte_line_rec.quote_line_id);

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

9859: null;
9860: END;
9861:
9862:
9863: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9864: aso_debug_pub.add('Delete_Quote_Line: After deleting the quote line', 1, 'Y');
9865: END IF;
9866:
9867: IF p_update_header_flag = 'Y' THEN

Line 9864: aso_debug_pub.add('Delete_Quote_Line: After deleting the quote line', 1, 'Y');

9860: END;
9861:
9862:
9863: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9864: aso_debug_pub.add('Delete_Quote_Line: After deleting the quote line', 1, 'Y');
9865: END IF;
9866:
9867: IF p_update_header_flag = 'Y' THEN
9868:

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

9904:
9905:
9906: END IF;
9907:
9908: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9909: aso_debug_pub.add('Delete_Quote_Line: Before call to Delete_OTA_Line.');
9910: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9911: end if;
9912:

Line 9909: aso_debug_pub.add('Delete_Quote_Line: Before call to Delete_OTA_Line.');

9905:
9906: END IF;
9907:
9908: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9909: aso_debug_pub.add('Delete_Quote_Line: Before call to Delete_OTA_Line.');
9910: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9911: end if;
9912:
9913: ASO_EDUCATION_INT.Delete_OTA_Line(

Line 9910: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);

9906: END IF;
9907:
9908: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9909: aso_debug_pub.add('Delete_Quote_Line: Before call to Delete_OTA_Line.');
9910: aso_debug_pub.add('p_qte_line_rec.quote_line_id: '|| p_qte_line_rec.quote_line_id);
9911: end if;
9912:
9913: ASO_EDUCATION_INT.Delete_OTA_Line(
9914: P_Init_Msg_List => FND_API.G_FALSE,

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

9917: X_Return_Status => l_return_status,
9918: X_Msg_Count => x_msg_count,
9919: X_Msg_Data => x_msg_data);
9920:
9921: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9922: aso_debug_pub.add('Delete_Quote_Line: After call to Delete_OTA_Line.');
9923: aso_debug_pub.add('Delete_Quote_Line: l_return_status: '|| l_return_status);
9924: end if;
9925:

Line 9922: aso_debug_pub.add('Delete_Quote_Line: After call to Delete_OTA_Line.');

9918: X_Msg_Count => x_msg_count,
9919: X_Msg_Data => x_msg_data);
9920:
9921: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9922: aso_debug_pub.add('Delete_Quote_Line: After call to Delete_OTA_Line.');
9923: aso_debug_pub.add('Delete_Quote_Line: l_return_status: '|| l_return_status);
9924: end if;
9925:
9926: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 9923: aso_debug_pub.add('Delete_Quote_Line: l_return_status: '|| l_return_status);

9919: X_Msg_Data => x_msg_data);
9920:
9921: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9922: aso_debug_pub.add('Delete_Quote_Line: After call to Delete_OTA_Line.');
9923: aso_debug_pub.add('Delete_Quote_Line: l_return_status: '|| l_return_status);
9924: end if;
9925:
9926: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
9927: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

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

9937: -- Adding the call to insert record in the ASO_CHANGED_QUOTES
9938:
9939: 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
9940:
9941: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9942: 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');
9943: END IF;
9944:
9945: OPEN get_qte_nbr(p_qte_line_rec.quote_header_id);

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

9938:
9939: 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
9940:
9941: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9942: 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');
9943: END IF;
9944:
9945: OPEN get_qte_nbr(p_qte_line_rec.quote_header_id);
9946: FETCH get_qte_nbr INTO l_qte_number;

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

9945: OPEN get_qte_nbr(p_qte_line_rec.quote_header_id);
9946: FETCH get_qte_nbr INTO l_qte_number;
9947: CLOSE get_qte_nbr;
9948:
9949: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9950: 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');
9951: END IF;
9952:
9953:

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

9946: FETCH get_qte_nbr INTO l_qte_number;
9947: CLOSE get_qte_nbr;
9948:
9949: IF aso_debug_pub.g_debug_flag = 'Y' THEN
9950: 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');
9951: END IF;
9952:
9953:
9954: -- Call to insert record in ASO_CHANGED_QUOTES

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

10126: l_quantity NUMBER;
10127: l_update_flag VARCHAR2(1) := FND_API.G_FALSE;
10128:
10129: Begin
10130: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10131: aso_debug_pub.add('Procedure Service_item_qty_update Starts.', 1, 'Y');
10132: end if;
10133: x_return_status := FND_API.G_RET_STS_SUCCESS;
10134:

Line 10131: aso_debug_pub.add('Procedure Service_item_qty_update Starts.', 1, 'Y');

10127: l_update_flag VARCHAR2(1) := FND_API.G_FALSE;
10128:
10129: Begin
10130: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10131: aso_debug_pub.add('Procedure Service_item_qty_update Starts.', 1, 'Y');
10132: end if;
10133: x_return_status := FND_API.G_RET_STS_SUCCESS;
10134:
10135: IF p_service_item_flag = FND_API.G_FALSE THEN

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

10132: end if;
10133: x_return_status := FND_API.G_RET_STS_SUCCESS;
10134:
10135: IF p_service_item_flag = FND_API.G_FALSE THEN
10136: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10137: aso_debug_pub.add('Service_item_qty_update: Inside IF condition p_service_item_flag = FND_API.G_FALSE', 1, 'N');
10138: end if;
10139:
10140: l_qte_line_rec := ASO_UTILITY_PVT.Query_Qte_Line_Row(p_qte_line_rec.quote_line_id);

Line 10137: aso_debug_pub.add('Service_item_qty_update: Inside IF condition p_service_item_flag = FND_API.G_FALSE', 1, 'N');

10133: x_return_status := FND_API.G_RET_STS_SUCCESS;
10134:
10135: IF p_service_item_flag = FND_API.G_FALSE THEN
10136: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10137: aso_debug_pub.add('Service_item_qty_update: Inside IF condition p_service_item_flag = FND_API.G_FALSE', 1, 'N');
10138: end if;
10139:
10140: l_qte_line_rec := ASO_UTILITY_PVT.Query_Qte_Line_Row(p_qte_line_rec.quote_line_id);
10141: begin

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

10150:
10151: EXCEPTION
10152: WHEN OTHERS THEN
10153: x_return_status := FND_API.G_RET_STS_ERROR;
10154: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10155: aso_debug_pub.add('Service_item_qty_update:Exception1',1,'N');
10156: end if;
10157: end;
10158: ELSE

Line 10155: aso_debug_pub.add('Service_item_qty_update:Exception1',1,'N');

10151: EXCEPTION
10152: WHEN OTHERS THEN
10153: x_return_status := FND_API.G_RET_STS_ERROR;
10154: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10155: aso_debug_pub.add('Service_item_qty_update:Exception1',1,'N');
10156: end if;
10157: end;
10158: ELSE
10159: IF aso_debug_pub.g_debug_flag = 'Y' THEN

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

10155: aso_debug_pub.add('Service_item_qty_update:Exception1',1,'N');
10156: end if;
10157: end;
10158: ELSE
10159: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10160: aso_debug_pub.add('Service_item_qty_update:ELSE condition of p_service_item_flag = FND_API.G_FALSE', 1, 'N');
10161: end if;
10162: l_qte_line_detail_tbl := ASO_UTILITY_PVT.Query_Line_Dtl_Rows(p_qte_line_rec.quote_line_id);
10163:

Line 10160: aso_debug_pub.add('Service_item_qty_update:ELSE condition of p_service_item_flag = FND_API.G_FALSE', 1, 'N');

10156: end if;
10157: end;
10158: ELSE
10159: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10160: aso_debug_pub.add('Service_item_qty_update:ELSE condition of p_service_item_flag = FND_API.G_FALSE', 1, 'N');
10161: end if;
10162: l_qte_line_detail_tbl := ASO_UTILITY_PVT.Query_Line_Dtl_Rows(p_qte_line_rec.quote_line_id);
10163:
10164: IF aso_debug_pub.g_debug_flag = 'Y' THEN

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

10160: aso_debug_pub.add('Service_item_qty_update:ELSE condition of p_service_item_flag = FND_API.G_FALSE', 1, 'N');
10161: end if;
10162: l_qte_line_detail_tbl := ASO_UTILITY_PVT.Query_Line_Dtl_Rows(p_qte_line_rec.quote_line_id);
10163:
10164: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10165: aso_debug_pub.add('Service_item_qty_update: ASO_UTILITY_PVT.Query_Line_Dtl_Rows', 1, 'N');
10166: end if;
10167:
10168: FOR i IN 1..l_qte_line_detail_tbl.count LOOP

Line 10165: aso_debug_pub.add('Service_item_qty_update: ASO_UTILITY_PVT.Query_Line_Dtl_Rows', 1, 'N');

10161: end if;
10162: l_qte_line_detail_tbl := ASO_UTILITY_PVT.Query_Line_Dtl_Rows(p_qte_line_rec.quote_line_id);
10163:
10164: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10165: aso_debug_pub.add('Service_item_qty_update: ASO_UTILITY_PVT.Query_Line_Dtl_Rows', 1, 'N');
10166: end if;
10167:
10168: FOR i IN 1..l_qte_line_detail_tbl.count LOOP
10169: IF l_qte_line_detail_tbl(i).service_ref_type_code = 'QUOTE' THEN

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

10168: FOR i IN 1..l_qte_line_detail_tbl.count LOOP
10169: IF l_qte_line_detail_tbl(i).service_ref_type_code = 'QUOTE' THEN
10170: OPEN C_quantity(l_qte_line_detail_tbl(i).service_ref_line_id);
10171: FETCH C_quantity INTO l_quantity;
10172: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10173: aso_debug_pub.add('Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');
10174: end if;
10175: IF C_quantity%NOTFOUND THEN
10176: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 10173: aso_debug_pub.add('Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');

10169: IF l_qte_line_detail_tbl(i).service_ref_type_code = 'QUOTE' THEN
10170: OPEN C_quantity(l_qte_line_detail_tbl(i).service_ref_line_id);
10171: FETCH C_quantity INTO l_quantity;
10172: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10173: aso_debug_pub.add('Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');
10174: end if;
10175: IF C_quantity%NOTFOUND THEN
10176: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10177: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_quantity%NOTFOUND ', 1, 'N');

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

10172: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10173: aso_debug_pub.add('Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');
10174: end if;
10175: IF C_quantity%NOTFOUND THEN
10176: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10177: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_quantity%NOTFOUND ', 1, 'N');
10178: end if;
10179: x_return_status := FND_API.G_RET_STS_ERROR;
10180: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 10177: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_quantity%NOTFOUND ', 1, 'N');

10173: aso_debug_pub.add('Service_item_qty_update: Cursor C_quantity: l_quantity: '||l_quantity, 1, 'N');
10174: end if;
10175: IF C_quantity%NOTFOUND THEN
10176: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10177: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_quantity%NOTFOUND ', 1, 'N');
10178: end if;
10179: x_return_status := FND_API.G_RET_STS_ERROR;
10180: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
10181: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SERVICE_REF_LINE');

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

10189: CLOSE C_quantity;
10190: ELSIF l_qte_line_detail_tbl(i).service_ref_type_code = 'ORDER' THEN
10191: OPEN C_ord_qty(l_qte_line_detail_tbl(i).service_ref_line_id);
10192: FETCH C_ord_qty INTO l_quantity;
10193: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10194: aso_debug_pub.add('Service_item_qty_update: Cursor C_ord_qty: l_quantity: '||l_quantity, 1, 'N');
10195: end if;
10196: IF C_ord_qty%NOTFOUND THEN
10197: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 10194: aso_debug_pub.add('Service_item_qty_update: Cursor C_ord_qty: l_quantity: '||l_quantity, 1, 'N');

10190: ELSIF l_qte_line_detail_tbl(i).service_ref_type_code = 'ORDER' THEN
10191: OPEN C_ord_qty(l_qte_line_detail_tbl(i).service_ref_line_id);
10192: FETCH C_ord_qty INTO l_quantity;
10193: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10194: aso_debug_pub.add('Service_item_qty_update: Cursor C_ord_qty: l_quantity: '||l_quantity, 1, 'N');
10195: end if;
10196: IF C_ord_qty%NOTFOUND THEN
10197: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10198: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_ord_qty%NOTFOUND condition.', 1, 'N');

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

10193: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10194: aso_debug_pub.add('Service_item_qty_update: Cursor C_ord_qty: l_quantity: '||l_quantity, 1, 'N');
10195: end if;
10196: IF C_ord_qty%NOTFOUND THEN
10197: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10198: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_ord_qty%NOTFOUND condition.', 1, 'N');
10199: end if;
10200: x_return_status := FND_API.G_RET_STS_ERROR;
10201: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 10198: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_ord_qty%NOTFOUND condition.', 1, 'N');

10194: aso_debug_pub.add('Service_item_qty_update: Cursor C_ord_qty: l_quantity: '||l_quantity, 1, 'N');
10195: end if;
10196: IF C_ord_qty%NOTFOUND THEN
10197: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10198: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_ord_qty%NOTFOUND condition.', 1, 'N');
10199: end if;
10200: x_return_status := FND_API.G_RET_STS_ERROR;
10201: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
10202: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SERVICE_REF_LINE');

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

10210: CLOSE C_ord_qty;
10211: ELSIF l_qte_line_detail_tbl(i).service_ref_type_code = 'CUSTOMER_PRODUCT' THEN
10212: OPEN C_cs_qty(l_qte_line_detail_tbl(i).service_ref_line_id);
10213: FETCH C_cs_qty INTO l_quantity;
10214: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10215: aso_debug_pub.add('Service_item_qty_update: Cursor C_cs_qty: l_quantity: '||l_quantity, 1, 'N');
10216: end if;
10217:
10218: IF C_cs_qty%NOTFOUND THEN

Line 10215: aso_debug_pub.add('Service_item_qty_update: Cursor C_cs_qty: l_quantity: '||l_quantity, 1, 'N');

10211: ELSIF l_qte_line_detail_tbl(i).service_ref_type_code = 'CUSTOMER_PRODUCT' THEN
10212: OPEN C_cs_qty(l_qte_line_detail_tbl(i).service_ref_line_id);
10213: FETCH C_cs_qty INTO l_quantity;
10214: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10215: aso_debug_pub.add('Service_item_qty_update: Cursor C_cs_qty: l_quantity: '||l_quantity, 1, 'N');
10216: end if;
10217:
10218: IF C_cs_qty%NOTFOUND THEN
10219: IF aso_debug_pub.g_debug_flag = 'Y' THEN

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

10215: aso_debug_pub.add('Service_item_qty_update: Cursor C_cs_qty: l_quantity: '||l_quantity, 1, 'N');
10216: end if;
10217:
10218: IF C_cs_qty%NOTFOUND THEN
10219: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10220: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_cs_qty%NOTFOUND condition. ', 1, 'N');
10221: end if;
10222: x_return_status := FND_API.G_RET_STS_ERROR;
10223: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 10220: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_cs_qty%NOTFOUND condition. ', 1, 'N');

10216: end if;
10217:
10218: IF C_cs_qty%NOTFOUND THEN
10219: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10220: aso_debug_pub.add('Service_item_qty_update: Inside cursor C_cs_qty%NOTFOUND condition. ', 1, 'N');
10221: end if;
10222: x_return_status := FND_API.G_RET_STS_ERROR;
10223: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
10224: FND_MESSAGE.Set_Name('ASO', 'ASO_INVALID_SERVICE_REF_LINE');

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

10226: FND_MESSAGE.Set_Token('VALUE', l_qte_line_detail_tbl(i).service_ref_line_id, FALSE);
10227: FND_MSG_PUB.ADD;
10228: END IF;
10229: ELSE
10230: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10231: aso_debug_pub.add('Service_item_qty_update: cursor C_cs_qty%FOUND ', 1, 'N ');
10232: end if;
10233: l_update_flag := FND_API.G_TRUE;
10234: END IF;

Line 10231: aso_debug_pub.add('Service_item_qty_update: cursor C_cs_qty%FOUND ', 1, 'N ');

10227: FND_MSG_PUB.ADD;
10228: END IF;
10229: ELSE
10230: IF aso_debug_pub.g_debug_flag = 'Y' THEN
10231: aso_debug_pub.add('Service_item_qty_update: cursor C_cs_qty%FOUND ', 1, 'N ');
10232: end if;
10233: l_update_flag := FND_API.G_TRUE;
10234: END IF;
10235: CLOSE C_cs_qty;

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

10249: EXCEPTION
10250: WHEN OTHERS THEN
10251: x_return_status := FND_API.G_RET_STS_ERROR;
10252:
10253: if aso_debug_pub.g_debug_flag = 'Y' THEN
10254: aso_debug_pub.add('Service_item_qty_update:Exception raised when others', 1, 'N');
10255: end if;
10256:
10257: End;

Line 10254: aso_debug_pub.add('Service_item_qty_update:Exception raised when others', 1, 'N');

10250: WHEN OTHERS THEN
10251: x_return_status := FND_API.G_RET_STS_ERROR;
10252:
10253: if aso_debug_pub.g_debug_flag = 'Y' THEN
10254: aso_debug_pub.add('Service_item_qty_update:Exception raised when others', 1, 'N');
10255: end if;
10256:
10257: End;
10258: