DBA Data[Home] [Help]

APPS.ASO_CFG_INT dependencies on ASO_DEBUG_PUB

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

219:
220: BEGIN
221: SAVEPOINT COPY_CONFIGURATION_INT;
222:
223: IF aso_debug_pub.g_debug_flag = 'Y' THEN
224: aso_debug_pub.add('ASO_CFG_INT: Begin Copy_Configuration');
225: END IF;
226:
227: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,

Line 224: aso_debug_pub.add('ASO_CFG_INT: Begin Copy_Configuration');

220: BEGIN
221: SAVEPOINT COPY_CONFIGURATION_INT;
222:
223: IF aso_debug_pub.g_debug_flag = 'Y' THEN
224: aso_debug_pub.add('ASO_CFG_INT: Begin Copy_Configuration');
225: END IF;
226:
227: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,
228: p_api_version_number,

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

233:
234:
235: END IF;
236:
237: IF aso_debug_pub.g_debug_flag = 'Y' THEN
238: aso_debug_pub.add('copy_configuration: p_init_msg_list: '|| p_init_msg_list);
239: END IF;
240:
241: IF FND_API.to_Boolean( p_init_msg_list ) THEN

Line 238: aso_debug_pub.add('copy_configuration: p_init_msg_list: '|| p_init_msg_list);

234:
235: END IF;
236:
237: IF aso_debug_pub.g_debug_flag = 'Y' THEN
238: aso_debug_pub.add('copy_configuration: p_init_msg_list: '|| p_init_msg_list);
239: END IF;
240:
241: IF FND_API.to_Boolean( p_init_msg_list ) THEN
242: FND_MSG_PUB.initialize;

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

243: END IF;
244:
245: x_return_status := FND_API.G_RET_STS_SUCCESS;
246:
247: IF aso_debug_pub.g_debug_flag = 'Y' THEN
248:
249: aso_debug_pub.add('copy_configuration: p_config_header_id: '|| p_config_header_id);
250: aso_debug_pub.add('copy_configuration: p_config_revision_num: '|| p_config_revision_num);
251: aso_debug_pub.add('copy_configuration: p_copy_mode: '|| p_copy_mode);

Line 249: aso_debug_pub.add('copy_configuration: p_config_header_id: '|| p_config_header_id);

245: x_return_status := FND_API.G_RET_STS_SUCCESS;
246:
247: IF aso_debug_pub.g_debug_flag = 'Y' THEN
248:
249: aso_debug_pub.add('copy_configuration: p_config_header_id: '|| p_config_header_id);
250: aso_debug_pub.add('copy_configuration: p_config_revision_num: '|| p_config_revision_num);
251: aso_debug_pub.add('copy_configuration: p_copy_mode: '|| p_copy_mode);
252: aso_debug_pub.add('copy_configuration: p_autonomous_flag: '|| p_autonomous_flag);
253:

Line 250: aso_debug_pub.add('copy_configuration: p_config_revision_num: '|| p_config_revision_num);

246:
247: IF aso_debug_pub.g_debug_flag = 'Y' THEN
248:
249: aso_debug_pub.add('copy_configuration: p_config_header_id: '|| p_config_header_id);
250: aso_debug_pub.add('copy_configuration: p_config_revision_num: '|| p_config_revision_num);
251: aso_debug_pub.add('copy_configuration: p_copy_mode: '|| p_copy_mode);
252: aso_debug_pub.add('copy_configuration: p_autonomous_flag: '|| p_autonomous_flag);
253:
254: END IF;

Line 251: aso_debug_pub.add('copy_configuration: p_copy_mode: '|| p_copy_mode);

247: IF aso_debug_pub.g_debug_flag = 'Y' THEN
248:
249: aso_debug_pub.add('copy_configuration: p_config_header_id: '|| p_config_header_id);
250: aso_debug_pub.add('copy_configuration: p_config_revision_num: '|| p_config_revision_num);
251: aso_debug_pub.add('copy_configuration: p_copy_mode: '|| p_copy_mode);
252: aso_debug_pub.add('copy_configuration: p_autonomous_flag: '|| p_autonomous_flag);
253:
254: END IF;
255:

Line 252: aso_debug_pub.add('copy_configuration: p_autonomous_flag: '|| p_autonomous_flag);

248:
249: aso_debug_pub.add('copy_configuration: p_config_header_id: '|| p_config_header_id);
250: aso_debug_pub.add('copy_configuration: p_config_revision_num: '|| p_config_revision_num);
251: aso_debug_pub.add('copy_configuration: p_copy_mode: '|| p_copy_mode);
252: aso_debug_pub.add('copy_configuration: p_autonomous_flag: '|| p_autonomous_flag);
253:
254: END IF;
255:
256:

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

256:
257: open c_config_rev_nbr;
258: fetch c_config_rev_nbr into l_config_rev_nbr;
259:
260: IF aso_debug_pub.g_debug_flag = 'Y' THEN
261: aso_debug_pub.add('After cursor c_config_rev_nbr l_config_rev_nbr: '||l_config_rev_nbr);
262: END IF;
263:
264: IF c_config_rev_nbr%NOTFOUND THEN

Line 261: aso_debug_pub.add('After cursor c_config_rev_nbr l_config_rev_nbr: '||l_config_rev_nbr);

257: open c_config_rev_nbr;
258: fetch c_config_rev_nbr into l_config_rev_nbr;
259:
260: IF aso_debug_pub.g_debug_flag = 'Y' THEN
261: aso_debug_pub.add('After cursor c_config_rev_nbr l_config_rev_nbr: '||l_config_rev_nbr);
262: END IF;
263:
264: IF c_config_rev_nbr%NOTFOUND THEN
265:

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

265:
266: open c_config_max_rev_nbr;
267: fetch c_config_max_rev_nbr into l_config_rev_nbr;
268:
269: IF aso_debug_pub.g_debug_flag = 'Y' THEN
270: aso_debug_pub.add('After cursor c_config_max_rev_nbr l_config_rev_nbr: '||l_config_rev_nbr);
271: END IF;
272:
273: close c_config_max_rev_nbr;

Line 270: aso_debug_pub.add('After cursor c_config_max_rev_nbr l_config_rev_nbr: '||l_config_rev_nbr);

266: open c_config_max_rev_nbr;
267: fetch c_config_max_rev_nbr into l_config_rev_nbr;
268:
269: IF aso_debug_pub.g_debug_flag = 'Y' THEN
270: aso_debug_pub.add('After cursor c_config_max_rev_nbr l_config_rev_nbr: '||l_config_rev_nbr);
271: END IF;
272:
273: close c_config_max_rev_nbr;
274:

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

274:
275: END IF;
276: close c_config_rev_nbr;
277:
278: IF aso_debug_pub.g_debug_flag = 'Y' THEN
279: aso_debug_pub.add('Before call to cz_config_api_pub.copy_configuration');
280: END IF;
281: -- ER 3177722
282: l_autonomous_flag := p_autonomous_flag;

Line 279: aso_debug_pub.add('Before call to cz_config_api_pub.copy_configuration');

275: END IF;
276: close c_config_rev_nbr;
277:
278: IF aso_debug_pub.g_debug_flag = 'Y' THEN
279: aso_debug_pub.add('Before call to cz_config_api_pub.copy_configuration');
280: END IF;
281: -- ER 3177722
282: l_autonomous_flag := p_autonomous_flag;
283: if l_copy_config_profile='N' then

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

299: x_msg_count => x_msg_count,
300: x_msg_data => x_msg_data
301: );
302:
303: IF aso_debug_pub.g_debug_flag = 'Y' THEN
304: aso_debug_pub.add('After call to cz_config_api_pub.copy_configuration_auto');
305: aso_debug_pub.add('copy_configuration: x_return_status: '|| x_return_status);
306: END IF;
307:

Line 304: aso_debug_pub.add('After call to cz_config_api_pub.copy_configuration_auto');

300: x_msg_data => x_msg_data
301: );
302:
303: IF aso_debug_pub.g_debug_flag = 'Y' THEN
304: aso_debug_pub.add('After call to cz_config_api_pub.copy_configuration_auto');
305: aso_debug_pub.add('copy_configuration: x_return_status: '|| x_return_status);
306: END IF;
307:
308: ELSE

Line 305: aso_debug_pub.add('copy_configuration: x_return_status: '|| x_return_status);

301: );
302:
303: IF aso_debug_pub.g_debug_flag = 'Y' THEN
304: aso_debug_pub.add('After call to cz_config_api_pub.copy_configuration_auto');
305: aso_debug_pub.add('copy_configuration: x_return_status: '|| x_return_status);
306: END IF;
307:
308: ELSE
309:

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

321: x_msg_count => x_msg_count,
322: x_msg_data => x_msg_data
323: );
324:
325: IF aso_debug_pub.g_debug_flag = 'Y' THEN
326: aso_debug_pub.add('After call to cz_config_api_pub.copy_configuration');
327: aso_debug_pub.add('copy_configuration: x_return_status: '|| x_return_status);
328: END IF;
329:

Line 326: aso_debug_pub.add('After call to cz_config_api_pub.copy_configuration');

322: x_msg_data => x_msg_data
323: );
324:
325: IF aso_debug_pub.g_debug_flag = 'Y' THEN
326: aso_debug_pub.add('After call to cz_config_api_pub.copy_configuration');
327: aso_debug_pub.add('copy_configuration: x_return_status: '|| x_return_status);
328: END IF;
329:
330: END IF;

Line 327: aso_debug_pub.add('copy_configuration: x_return_status: '|| x_return_status);

323: );
324:
325: IF aso_debug_pub.g_debug_flag = 'Y' THEN
326: aso_debug_pub.add('After call to cz_config_api_pub.copy_configuration');
327: aso_debug_pub.add('copy_configuration: x_return_status: '|| x_return_status);
328: END IF;
329:
330: END IF;
331:

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

373:
374:
375: WHEN OTHERS THEN
376:
377: IF aso_debug_pub.g_debug_flag = 'Y' THEN
378: aso_debug_pub.add('ASO_CFG_INT: copy_configuration: Inside when others exception');
379: END IF;
380:
381: ASO_UTILITY_PVT.HANDLE_EXCEPTIONS( P_API_NAME => L_API_NAME,

Line 378: aso_debug_pub.add('ASO_CFG_INT: copy_configuration: Inside when others exception');

374:
375: WHEN OTHERS THEN
376:
377: IF aso_debug_pub.g_debug_flag = 'Y' THEN
378: aso_debug_pub.add('ASO_CFG_INT: copy_configuration: Inside when others exception');
379: END IF;
380:
381: ASO_UTILITY_PVT.HANDLE_EXCEPTIONS( P_API_NAME => L_API_NAME,
382: P_PKG_NAME => G_PKG_NAME,

Line 944: aso_debug_pub.g_debug_flag := 'Y';

940: -- Standard Start of API savepoint
941: SAVEPOINT GET_CONFIG_DETAILS_INT;
942:
943: /*
944: aso_debug_pub.g_debug_flag := 'Y';
945: aso_debug_pub.SetDebugLevel(10);
946: aso_debug_pub.Initialize;
947: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');
948: aso_debug_pub.debug_on;

Line 945: aso_debug_pub.SetDebugLevel(10);

941: SAVEPOINT GET_CONFIG_DETAILS_INT;
942:
943: /*
944: aso_debug_pub.g_debug_flag := 'Y';
945: aso_debug_pub.SetDebugLevel(10);
946: aso_debug_pub.Initialize;
947: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');
948: aso_debug_pub.debug_on;
949: */

Line 946: aso_debug_pub.Initialize;

942:
943: /*
944: aso_debug_pub.g_debug_flag := 'Y';
945: aso_debug_pub.SetDebugLevel(10);
946: aso_debug_pub.Initialize;
947: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');
948: aso_debug_pub.debug_on;
949: */
950:

Line 947: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');

943: /*
944: aso_debug_pub.g_debug_flag := 'Y';
945: aso_debug_pub.SetDebugLevel(10);
946: aso_debug_pub.Initialize;
947: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');
948: aso_debug_pub.debug_on;
949: */
950:
951: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 948: aso_debug_pub.debug_on;

944: aso_debug_pub.g_debug_flag := 'Y';
945: aso_debug_pub.SetDebugLevel(10);
946: aso_debug_pub.Initialize;
947: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');
948: aso_debug_pub.debug_on;
949: */
950:
951: IF aso_debug_pub.g_debug_flag = 'Y' THEN
952:

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

947: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');
948: aso_debug_pub.debug_on;
949: */
950:
951: IF aso_debug_pub.g_debug_flag = 'Y' THEN
952:
953: aso_debug_pub.add('6661597 ASO_CFG_INT: GET_CONFIG_DETAILS: Start %%%%%%%%%%%%%%%%%%%', 1, 'Y');
954:
955: aso_debug_pub.add('GET_CONFIG_DETAILS: p_qte_header_rec.quote_header_id: '|| p_qte_header_rec.quote_header_id);

Line 953: aso_debug_pub.add('6661597 ASO_CFG_INT: GET_CONFIG_DETAILS: Start %%%%%%%%%%%%%%%%%%%', 1, 'Y');

949: */
950:
951: IF aso_debug_pub.g_debug_flag = 'Y' THEN
952:
953: aso_debug_pub.add('6661597 ASO_CFG_INT: GET_CONFIG_DETAILS: Start %%%%%%%%%%%%%%%%%%%', 1, 'Y');
954:
955: aso_debug_pub.add('GET_CONFIG_DETAILS: p_qte_header_rec.quote_header_id: '|| p_qte_header_rec.quote_header_id);
956: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_hdr_id: '|| p_config_hdr_id);
957: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_rev_nbr: '|| p_config_rev_nbr);

Line 955: aso_debug_pub.add('GET_CONFIG_DETAILS: p_qte_header_rec.quote_header_id: '|| p_qte_header_rec.quote_header_id);

951: IF aso_debug_pub.g_debug_flag = 'Y' THEN
952:
953: aso_debug_pub.add('6661597 ASO_CFG_INT: GET_CONFIG_DETAILS: Start %%%%%%%%%%%%%%%%%%%', 1, 'Y');
954:
955: aso_debug_pub.add('GET_CONFIG_DETAILS: p_qte_header_rec.quote_header_id: '|| p_qte_header_rec.quote_header_id);
956: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_hdr_id: '|| p_config_hdr_id);
957: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_rev_nbr: '|| p_config_rev_nbr);
958: aso_debug_pub.add('p_config_rec.valid_configuration_flag: '|| p_config_rec.valid_configuration_flag);
959: aso_debug_pub.add('p_config_rec.complete_configuration_flag: '|| p_config_rec.complete_configuration_flag);

Line 956: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_hdr_id: '|| p_config_hdr_id);

952:
953: aso_debug_pub.add('6661597 ASO_CFG_INT: GET_CONFIG_DETAILS: Start %%%%%%%%%%%%%%%%%%%', 1, 'Y');
954:
955: aso_debug_pub.add('GET_CONFIG_DETAILS: p_qte_header_rec.quote_header_id: '|| p_qte_header_rec.quote_header_id);
956: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_hdr_id: '|| p_config_hdr_id);
957: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_rev_nbr: '|| p_config_rev_nbr);
958: aso_debug_pub.add('p_config_rec.valid_configuration_flag: '|| p_config_rec.valid_configuration_flag);
959: aso_debug_pub.add('p_config_rec.complete_configuration_flag: '|| p_config_rec.complete_configuration_flag);
960: END IF;

Line 957: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_rev_nbr: '|| p_config_rev_nbr);

953: aso_debug_pub.add('6661597 ASO_CFG_INT: GET_CONFIG_DETAILS: Start %%%%%%%%%%%%%%%%%%%', 1, 'Y');
954:
955: aso_debug_pub.add('GET_CONFIG_DETAILS: p_qte_header_rec.quote_header_id: '|| p_qte_header_rec.quote_header_id);
956: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_hdr_id: '|| p_config_hdr_id);
957: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_rev_nbr: '|| p_config_rev_nbr);
958: aso_debug_pub.add('p_config_rec.valid_configuration_flag: '|| p_config_rec.valid_configuration_flag);
959: aso_debug_pub.add('p_config_rec.complete_configuration_flag: '|| p_config_rec.complete_configuration_flag);
960: END IF;
961:

Line 958: aso_debug_pub.add('p_config_rec.valid_configuration_flag: '|| p_config_rec.valid_configuration_flag);

954:
955: aso_debug_pub.add('GET_CONFIG_DETAILS: p_qte_header_rec.quote_header_id: '|| p_qte_header_rec.quote_header_id);
956: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_hdr_id: '|| p_config_hdr_id);
957: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_rev_nbr: '|| p_config_rev_nbr);
958: aso_debug_pub.add('p_config_rec.valid_configuration_flag: '|| p_config_rec.valid_configuration_flag);
959: aso_debug_pub.add('p_config_rec.complete_configuration_flag: '|| p_config_rec.complete_configuration_flag);
960: END IF;
961:
962: -- Standard call to check for call compatibility.

Line 959: aso_debug_pub.add('p_config_rec.complete_configuration_flag: '|| p_config_rec.complete_configuration_flag);

955: aso_debug_pub.add('GET_CONFIG_DETAILS: p_qte_header_rec.quote_header_id: '|| p_qte_header_rec.quote_header_id);
956: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_hdr_id: '|| p_config_hdr_id);
957: aso_debug_pub.add('GET_CONFIG_DETAILS: p_config_rev_nbr: '|| p_config_rev_nbr);
958: aso_debug_pub.add('p_config_rec.valid_configuration_flag: '|| p_config_rec.valid_configuration_flag);
959: aso_debug_pub.add('p_config_rec.complete_configuration_flag: '|| p_config_rec.complete_configuration_flag);
960: END IF;
961:
962: -- Standard call to check for call compatibility.
963: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,

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

976: x_return_status := FND_API.G_RET_STS_SUCCESS;
977:
978:
979: --Procedure added by Anoop Rajan on 30/09/2005 to print login details
980: IF aso_debug_pub.g_debug_flag = 'Y' THEN
981: aso_debug_pub.add('Before call to printing login info details', 1, 'Y');
982: ASO_UTILITY_PVT.print_login_info;
983: aso_debug_pub.add('After call to printing login info details', 1, 'Y');
984: END IF;

Line 981: aso_debug_pub.add('Before call to printing login info details', 1, 'Y');

977:
978:
979: --Procedure added by Anoop Rajan on 30/09/2005 to print login details
980: IF aso_debug_pub.g_debug_flag = 'Y' THEN
981: aso_debug_pub.add('Before call to printing login info details', 1, 'Y');
982: ASO_UTILITY_PVT.print_login_info;
983: aso_debug_pub.add('After call to printing login info details', 1, 'Y');
984: END IF;
985:

Line 983: aso_debug_pub.add('After call to printing login info details', 1, 'Y');

979: --Procedure added by Anoop Rajan on 30/09/2005 to print login details
980: IF aso_debug_pub.g_debug_flag = 'Y' THEN
981: aso_debug_pub.add('Before call to printing login info details', 1, 'Y');
982: ASO_UTILITY_PVT.print_login_info;
983: aso_debug_pub.add('After call to printing login info details', 1, 'Y');
984: END IF;
985:
986: -- Change Done By Girish
987: -- Procedure added to validate the operating unit

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

990:
991: -- check whether a different config_header_id is already
992: -- associated with this model item. If yes raise an error.
993:
994: IF aso_debug_pub.g_debug_flag = 'Y' THEN
995: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Before C_diff_Config_Exists cursor open');
996: END IF;
997:
998: OPEN C_diff_Config_Exists;

Line 995: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Before C_diff_Config_Exists cursor open');

991: -- check whether a different config_header_id is already
992: -- associated with this model item. If yes raise an error.
993:
994: IF aso_debug_pub.g_debug_flag = 'Y' THEN
995: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Before C_diff_Config_Exists cursor open');
996: END IF;
997:
998: OPEN C_diff_Config_Exists;
999: FETCH C_diff_Config_Exists INTO l_old_config_hdr_id ;

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

998: OPEN C_diff_Config_Exists;
999: FETCH C_diff_Config_Exists INTO l_old_config_hdr_id ;
1000: CLOSE C_diff_Config_Exists;
1001:
1002: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1003: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: l_old_config_hdr_id: '||l_old_config_hdr_id, 1, 'Y');
1004: END IF;
1005:
1006: IF l_old_config_hdr_id IS NOT NULL AND l_old_config_hdr_id <> p_config_hdr_id THEN

Line 1003: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: l_old_config_hdr_id: '||l_old_config_hdr_id, 1, 'Y');

999: FETCH C_diff_Config_Exists INTO l_old_config_hdr_id ;
1000: CLOSE C_diff_Config_Exists;
1001:
1002: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1003: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: l_old_config_hdr_id: '||l_old_config_hdr_id, 1, 'Y');
1004: END IF;
1005:
1006: IF l_old_config_hdr_id IS NOT NULL AND l_old_config_hdr_id <> p_config_hdr_id THEN
1007:

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

1004: END IF;
1005:
1006: IF l_old_config_hdr_id IS NOT NULL AND l_old_config_hdr_id <> p_config_hdr_id THEN
1007:
1008: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1009: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Inside If l_old_config_hdr_id <> p_config_hdr_id cond', 1, 'Y');
1010: END IF;
1011:
1012: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 1009: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Inside If l_old_config_hdr_id <> p_config_hdr_id cond', 1, 'Y');

1005:
1006: IF l_old_config_hdr_id IS NOT NULL AND l_old_config_hdr_id <> p_config_hdr_id THEN
1007:
1008: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1009: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Inside If l_old_config_hdr_id <> p_config_hdr_id cond', 1, 'Y');
1010: END IF;
1011:
1012: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
1013: FND_MESSAGE.Set_Name('ASO', 'ASO_DIFFERENT_CONFIG_EXISTS');

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

1019:
1020: -- check whether the config_header_id+config_revision_num is already
1021: -- associated with other model item. If yes raise an error.
1022:
1023: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1024: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Before C_config_exists cursor open');
1025: END IF;
1026:
1027: OPEN C_config_exists(l_config_hdr_id => p_config_hdr_id ,

Line 1024: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Before C_config_exists cursor open');

1020: -- check whether the config_header_id+config_revision_num is already
1021: -- associated with other model item. If yes raise an error.
1022:
1023: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1024: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Before C_config_exists cursor open');
1025: END IF;
1026:
1027: OPEN C_config_exists(l_config_hdr_id => p_config_hdr_id ,
1028: l_config_rev_nbr => p_config_rev_nbr);

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

1030: CLOSE C_config_exists;
1031:
1032: IF l_quote_line_id IS NOT NULL AND l_quote_line_id <> p_config_rec.quote_line_id THEN
1033:
1034: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1035: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Inside C_config_exists cursor l_quote_line_id: '||l_quote_line_id);
1036: END IF;
1037:
1038: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

Line 1035: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Inside C_config_exists cursor l_quote_line_id: '||l_quote_line_id);

1031:
1032: IF l_quote_line_id IS NOT NULL AND l_quote_line_id <> p_config_rec.quote_line_id THEN
1033:
1034: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1035: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Inside C_config_exists cursor l_quote_line_id: '||l_quote_line_id);
1036: END IF;
1037:
1038: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
1039: FND_MESSAGE.Set_Name('ASO', 'ASO_API_CONFIG_EXISTS');

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

1048: OPEN c_quote(p_qte_header_rec.quote_header_id);
1049: FETCH c_quote INTO l_last_update_date, l_quote_type;
1050: CLOSE c_quote;
1051:
1052: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1053: aso_debug_pub.add('Get_config_details: p_qte_header_rec.last_update_date: ' || to_char(p_qte_header_rec.last_update_date, 'DD-MON-YYYY HH24:MI:SS'));
1054: aso_debug_pub.add('Get_config_details: l_last_update_date: ' || to_char(l_last_update_date, 'DD-MON-YYYY HH24:MI:SS'));
1055: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: l_quote_type: ' || l_quote_type);
1056: END IF;

Line 1053: aso_debug_pub.add('Get_config_details: p_qte_header_rec.last_update_date: ' || to_char(p_qte_header_rec.last_update_date, 'DD-MON-YYYY HH24:MI:SS'));

1049: FETCH c_quote INTO l_last_update_date, l_quote_type;
1050: CLOSE c_quote;
1051:
1052: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1053: aso_debug_pub.add('Get_config_details: p_qte_header_rec.last_update_date: ' || to_char(p_qte_header_rec.last_update_date, 'DD-MON-YYYY HH24:MI:SS'));
1054: aso_debug_pub.add('Get_config_details: l_last_update_date: ' || to_char(l_last_update_date, 'DD-MON-YYYY HH24:MI:SS'));
1055: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: l_quote_type: ' || l_quote_type);
1056: END IF;
1057:

Line 1054: aso_debug_pub.add('Get_config_details: l_last_update_date: ' || to_char(l_last_update_date, 'DD-MON-YYYY HH24:MI:SS'));

1050: CLOSE c_quote;
1051:
1052: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1053: aso_debug_pub.add('Get_config_details: p_qte_header_rec.last_update_date: ' || to_char(p_qte_header_rec.last_update_date, 'DD-MON-YYYY HH24:MI:SS'));
1054: aso_debug_pub.add('Get_config_details: l_last_update_date: ' || to_char(l_last_update_date, 'DD-MON-YYYY HH24:MI:SS'));
1055: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: l_quote_type: ' || l_quote_type);
1056: END IF;
1057:
1058: if (p_qte_header_rec.last_update_date is not null) and (p_qte_header_rec.last_update_date <> fnd_api.g_miss_date) then

Line 1055: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: l_quote_type: ' || l_quote_type);

1051:
1052: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1053: aso_debug_pub.add('Get_config_details: p_qte_header_rec.last_update_date: ' || to_char(p_qte_header_rec.last_update_date, 'DD-MON-YYYY HH24:MI:SS'));
1054: aso_debug_pub.add('Get_config_details: l_last_update_date: ' || to_char(l_last_update_date, 'DD-MON-YYYY HH24:MI:SS'));
1055: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: l_quote_type: ' || l_quote_type);
1056: END IF;
1057:
1058: if (p_qte_header_rec.last_update_date is not null) and (p_qte_header_rec.last_update_date <> fnd_api.g_miss_date) then
1059:

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

1069: End if;
1070:
1071: end if;
1072:
1073: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1074: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: After C_config_exists cursor');
1075: END IF;
1076:
1077: --check if revision number has changed for this configuration.

Line 1074: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: After C_config_exists cursor');

1070:
1071: end if;
1072:
1073: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1074: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: After C_config_exists cursor');
1075: END IF;
1076:
1077: --check if revision number has changed for this configuration.
1078: --if yes update all the previous selected options to the current

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

1085: p_config_rec.config_revision_num IS NOT NULL)) AND
1086: (p_config_rec.config_header_id <> p_config_hdr_id OR
1087: p_config_rec.config_revision_num <> p_config_rev_nbr) THEN
1088: BEGIN
1089: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1090: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Revision number has changed so updating');
1091: END IF;
1092:
1093: UPDATE aso_quote_line_details

Line 1090: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Revision number has changed so updating');

1086: (p_config_rec.config_header_id <> p_config_hdr_id OR
1087: p_config_rec.config_revision_num <> p_config_rev_nbr) THEN
1088: BEGIN
1089: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1090: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Revision number has changed so updating');
1091: END IF;
1092:
1093: UPDATE aso_quote_line_details
1094: SET config_revision_num = p_config_rev_nbr,

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

1101: EXCEPTION
1102:
1103: WHEN OTHERS THEN
1104:
1105: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1106: aso_debug_pub.add('Get_config_details: Inside WHEN OTHERS Exception of Update config_revision_num');
1107: END IF;
1108: END;
1109:

Line 1106: aso_debug_pub.add('Get_config_details: Inside WHEN OTHERS Exception of Update config_revision_num');

1102:
1103: WHEN OTHERS THEN
1104:
1105: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1106: aso_debug_pub.add('Get_config_details: Inside WHEN OTHERS Exception of Update config_revision_num');
1107: END IF;
1108: END;
1109:
1110: END IF;

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

1109:
1110: END IF;
1111:
1112:
1113: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1114: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: After Update config_revision_num');
1115: END IF;
1116:
1117: OPEN Order_Type_C;

Line 1114: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: After Update config_revision_num');

1110: END IF;
1111:
1112:
1113: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1114: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: After Update config_revision_num');
1115: END IF;
1116:
1117: OPEN Order_Type_C;
1118: FETCH Order_Type_C INTO l_order_line_type_id, l_line_category_code, l_price_list_id, l_line_number,l_ship_model_complete_flag,l_config_model_type;

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

1118: FETCH Order_Type_C INTO l_order_line_type_id, l_line_category_code, l_price_list_id, l_line_number,l_ship_model_complete_flag,l_config_model_type;
1119:
1120: IF Order_Type_C%NOTFOUND THEN
1121:
1122: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1123: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Cursor Order_Type_C NOTFOUND');
1124: END IF;
1125:
1126: END IF;

Line 1123: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Cursor Order_Type_C NOTFOUND');

1119:
1120: IF Order_Type_C%NOTFOUND THEN
1121:
1122: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1123: aso_debug_pub.add( 'ASO_CFG_INT: Get_config_details: Cursor Order_Type_C NOTFOUND');
1124: END IF;
1125:
1126: END IF;
1127: CLOSE Order_Type_C;

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

1125:
1126: END IF;
1127: CLOSE Order_Type_C;
1128:
1129: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1130:
1131: aso_debug_pub.add('Get_config_details: Model: p_config_rec.quote_line_id: '|| p_config_rec.quote_line_id);
1132: aso_debug_pub.add('Get_config_details: Model: l_order_line_type_id: ' || l_order_line_type_id);
1133: aso_debug_pub.add('Get_config_details: Model: l_line_category_code: ' || l_line_category_code);

Line 1131: aso_debug_pub.add('Get_config_details: Model: p_config_rec.quote_line_id: '|| p_config_rec.quote_line_id);

1127: CLOSE Order_Type_C;
1128:
1129: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1130:
1131: aso_debug_pub.add('Get_config_details: Model: p_config_rec.quote_line_id: '|| p_config_rec.quote_line_id);
1132: aso_debug_pub.add('Get_config_details: Model: l_order_line_type_id: ' || l_order_line_type_id);
1133: aso_debug_pub.add('Get_config_details: Model: l_line_category_code: ' || l_line_category_code);
1134: aso_debug_pub.add('Get_config_details: Model: l_price_list_id: ' || l_price_list_id);
1135: aso_debug_pub.add('Get_config_details: Model: l_line_number: ' || l_line_number);

Line 1132: aso_debug_pub.add('Get_config_details: Model: l_order_line_type_id: ' || l_order_line_type_id);

1128:
1129: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1130:
1131: aso_debug_pub.add('Get_config_details: Model: p_config_rec.quote_line_id: '|| p_config_rec.quote_line_id);
1132: aso_debug_pub.add('Get_config_details: Model: l_order_line_type_id: ' || l_order_line_type_id);
1133: aso_debug_pub.add('Get_config_details: Model: l_line_category_code: ' || l_line_category_code);
1134: aso_debug_pub.add('Get_config_details: Model: l_price_list_id: ' || l_price_list_id);
1135: aso_debug_pub.add('Get_config_details: Model: l_line_number: ' || l_line_number);
1136: aso_debug_pub.add('Get_config_details: Model: l_ship_model_complete_flag: ' || l_ship_model_complete_flag);

Line 1133: aso_debug_pub.add('Get_config_details: Model: l_line_category_code: ' || l_line_category_code);

1129: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1130:
1131: aso_debug_pub.add('Get_config_details: Model: p_config_rec.quote_line_id: '|| p_config_rec.quote_line_id);
1132: aso_debug_pub.add('Get_config_details: Model: l_order_line_type_id: ' || l_order_line_type_id);
1133: aso_debug_pub.add('Get_config_details: Model: l_line_category_code: ' || l_line_category_code);
1134: aso_debug_pub.add('Get_config_details: Model: l_price_list_id: ' || l_price_list_id);
1135: aso_debug_pub.add('Get_config_details: Model: l_line_number: ' || l_line_number);
1136: aso_debug_pub.add('Get_config_details: Model: l_ship_model_complete_flag: ' || l_ship_model_complete_flag);
1137: aso_debug_pub.add('Get_config_details: Model: l_config_model_type: ' || l_config_model_type);

Line 1134: aso_debug_pub.add('Get_config_details: Model: l_price_list_id: ' || l_price_list_id);

1130:
1131: aso_debug_pub.add('Get_config_details: Model: p_config_rec.quote_line_id: '|| p_config_rec.quote_line_id);
1132: aso_debug_pub.add('Get_config_details: Model: l_order_line_type_id: ' || l_order_line_type_id);
1133: aso_debug_pub.add('Get_config_details: Model: l_line_category_code: ' || l_line_category_code);
1134: aso_debug_pub.add('Get_config_details: Model: l_price_list_id: ' || l_price_list_id);
1135: aso_debug_pub.add('Get_config_details: Model: l_line_number: ' || l_line_number);
1136: aso_debug_pub.add('Get_config_details: Model: l_ship_model_complete_flag: ' || l_ship_model_complete_flag);
1137: aso_debug_pub.add('Get_config_details: Model: l_config_model_type: ' || l_config_model_type);
1138: END IF;

Line 1135: aso_debug_pub.add('Get_config_details: Model: l_line_number: ' || l_line_number);

1131: aso_debug_pub.add('Get_config_details: Model: p_config_rec.quote_line_id: '|| p_config_rec.quote_line_id);
1132: aso_debug_pub.add('Get_config_details: Model: l_order_line_type_id: ' || l_order_line_type_id);
1133: aso_debug_pub.add('Get_config_details: Model: l_line_category_code: ' || l_line_category_code);
1134: aso_debug_pub.add('Get_config_details: Model: l_price_list_id: ' || l_price_list_id);
1135: aso_debug_pub.add('Get_config_details: Model: l_line_number: ' || l_line_number);
1136: aso_debug_pub.add('Get_config_details: Model: l_ship_model_complete_flag: ' || l_ship_model_complete_flag);
1137: aso_debug_pub.add('Get_config_details: Model: l_config_model_type: ' || l_config_model_type);
1138: END IF;
1139:

Line 1136: aso_debug_pub.add('Get_config_details: Model: l_ship_model_complete_flag: ' || l_ship_model_complete_flag);

1132: aso_debug_pub.add('Get_config_details: Model: l_order_line_type_id: ' || l_order_line_type_id);
1133: aso_debug_pub.add('Get_config_details: Model: l_line_category_code: ' || l_line_category_code);
1134: aso_debug_pub.add('Get_config_details: Model: l_price_list_id: ' || l_price_list_id);
1135: aso_debug_pub.add('Get_config_details: Model: l_line_number: ' || l_line_number);
1136: aso_debug_pub.add('Get_config_details: Model: l_ship_model_complete_flag: ' || l_ship_model_complete_flag);
1137: aso_debug_pub.add('Get_config_details: Model: l_config_model_type: ' || l_config_model_type);
1138: END IF;
1139:
1140: l_index := 0;

Line 1137: aso_debug_pub.add('Get_config_details: Model: l_config_model_type: ' || l_config_model_type);

1133: aso_debug_pub.add('Get_config_details: Model: l_line_category_code: ' || l_line_category_code);
1134: aso_debug_pub.add('Get_config_details: Model: l_price_list_id: ' || l_price_list_id);
1135: aso_debug_pub.add('Get_config_details: Model: l_line_number: ' || l_line_number);
1136: aso_debug_pub.add('Get_config_details: Model: l_ship_model_complete_flag: ' || l_ship_model_complete_flag);
1137: aso_debug_pub.add('Get_config_details: Model: l_config_model_type: ' || l_config_model_type);
1138: END IF;
1139:
1140: l_index := 0;
1141:

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

1138: END IF;
1139:
1140: l_index := 0;
1141:
1142: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1143: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: Before C_config_details_ins cursor LOOP');
1144: END IF;
1145:
1146: FOR row IN C_config_details_ins(p_config_hdr_id, p_config_rev_nbr)

Line 1143: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: Before C_config_details_ins cursor LOOP');

1139:
1140: l_index := 0;
1141:
1142: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1143: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: Before C_config_details_ins cursor LOOP');
1144: END IF;
1145:
1146: FOR row IN C_config_details_ins(p_config_hdr_id, p_config_rev_nbr)
1147: LOOP

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

1147: LOOP
1148:
1149: l_index := l_index + 1;
1150:
1151: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1152:
1153: aso_debug_pub.add('6661597 ASO_CFG_INT: Get_Config_details: Inside C_config_details_ins cursor LOOP');
1154: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1155: aso_debug_pub.add('Get_Config_Details: config_header_id: '|| row.config_hdr_id);

Line 1153: aso_debug_pub.add('6661597 ASO_CFG_INT: Get_Config_details: Inside C_config_details_ins cursor LOOP');

1149: l_index := l_index + 1;
1150:
1151: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1152:
1153: aso_debug_pub.add('6661597 ASO_CFG_INT: Get_Config_details: Inside C_config_details_ins cursor LOOP');
1154: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1155: aso_debug_pub.add('Get_Config_Details: config_header_id: '|| row.config_hdr_id);
1156: aso_debug_pub.add('Get_Config_Details: config_revision_num: '|| row.config_rev_nbr);
1157: aso_debug_pub.add('Get_Config_Details: config_item_id: '|| row.config_item_id);

Line 1154: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);

1150:
1151: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1152:
1153: aso_debug_pub.add('6661597 ASO_CFG_INT: Get_Config_details: Inside C_config_details_ins cursor LOOP');
1154: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1155: aso_debug_pub.add('Get_Config_Details: config_header_id: '|| row.config_hdr_id);
1156: aso_debug_pub.add('Get_Config_Details: config_revision_num: '|| row.config_rev_nbr);
1157: aso_debug_pub.add('Get_Config_Details: config_item_id: '|| row.config_item_id);
1158: aso_debug_pub.add('Get_Config_Details: parent_config_item_id: '|| row.parent_config_item_id);

Line 1155: aso_debug_pub.add('Get_Config_Details: config_header_id: '|| row.config_hdr_id);

1151: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1152:
1153: aso_debug_pub.add('6661597 ASO_CFG_INT: Get_Config_details: Inside C_config_details_ins cursor LOOP');
1154: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1155: aso_debug_pub.add('Get_Config_Details: config_header_id: '|| row.config_hdr_id);
1156: aso_debug_pub.add('Get_Config_Details: config_revision_num: '|| row.config_rev_nbr);
1157: aso_debug_pub.add('Get_Config_Details: config_item_id: '|| row.config_item_id);
1158: aso_debug_pub.add('Get_Config_Details: parent_config_item_id: '|| row.parent_config_item_id);
1159: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);

Line 1156: aso_debug_pub.add('Get_Config_Details: config_revision_num: '|| row.config_rev_nbr);

1152:
1153: aso_debug_pub.add('6661597 ASO_CFG_INT: Get_Config_details: Inside C_config_details_ins cursor LOOP');
1154: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1155: aso_debug_pub.add('Get_Config_Details: config_header_id: '|| row.config_hdr_id);
1156: aso_debug_pub.add('Get_Config_Details: config_revision_num: '|| row.config_rev_nbr);
1157: aso_debug_pub.add('Get_Config_Details: config_item_id: '|| row.config_item_id);
1158: aso_debug_pub.add('Get_Config_Details: parent_config_item_id: '|| row.parent_config_item_id);
1159: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1160: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);

Line 1157: aso_debug_pub.add('Get_Config_Details: config_item_id: '|| row.config_item_id);

1153: aso_debug_pub.add('6661597 ASO_CFG_INT: Get_Config_details: Inside C_config_details_ins cursor LOOP');
1154: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1155: aso_debug_pub.add('Get_Config_Details: config_header_id: '|| row.config_hdr_id);
1156: aso_debug_pub.add('Get_Config_Details: config_revision_num: '|| row.config_rev_nbr);
1157: aso_debug_pub.add('Get_Config_Details: config_item_id: '|| row.config_item_id);
1158: aso_debug_pub.add('Get_Config_Details: parent_config_item_id: '|| row.parent_config_item_id);
1159: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1160: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1161: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);

Line 1158: aso_debug_pub.add('Get_Config_Details: parent_config_item_id: '|| row.parent_config_item_id);

1154: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1155: aso_debug_pub.add('Get_Config_Details: config_header_id: '|| row.config_hdr_id);
1156: aso_debug_pub.add('Get_Config_Details: config_revision_num: '|| row.config_rev_nbr);
1157: aso_debug_pub.add('Get_Config_Details: config_item_id: '|| row.config_item_id);
1158: aso_debug_pub.add('Get_Config_Details: parent_config_item_id: '|| row.parent_config_item_id);
1159: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1160: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1161: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1162: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);

Line 1159: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);

1155: aso_debug_pub.add('Get_Config_Details: config_header_id: '|| row.config_hdr_id);
1156: aso_debug_pub.add('Get_Config_Details: config_revision_num: '|| row.config_rev_nbr);
1157: aso_debug_pub.add('Get_Config_Details: config_item_id: '|| row.config_item_id);
1158: aso_debug_pub.add('Get_Config_Details: parent_config_item_id: '|| row.parent_config_item_id);
1159: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1160: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1161: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1162: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1163: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);

Line 1160: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);

1156: aso_debug_pub.add('Get_Config_Details: config_revision_num: '|| row.config_rev_nbr);
1157: aso_debug_pub.add('Get_Config_Details: config_item_id: '|| row.config_item_id);
1158: aso_debug_pub.add('Get_Config_Details: parent_config_item_id: '|| row.parent_config_item_id);
1159: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1160: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1161: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1162: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1163: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1164: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);

Line 1161: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);

1157: aso_debug_pub.add('Get_Config_Details: config_item_id: '|| row.config_item_id);
1158: aso_debug_pub.add('Get_Config_Details: parent_config_item_id: '|| row.parent_config_item_id);
1159: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1160: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1161: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1162: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1163: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1164: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1165: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);

Line 1162: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);

1158: aso_debug_pub.add('Get_Config_Details: parent_config_item_id: '|| row.parent_config_item_id);
1159: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1160: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1161: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1162: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1163: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1164: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1165: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1166: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);

Line 1163: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);

1159: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1160: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1161: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1162: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1163: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1164: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1165: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1166: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);
1167: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);

Line 1164: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);

1160: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1161: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1162: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1163: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1164: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1165: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1166: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);
1167: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);
1168: aso_debug_pub.add('Get_Config_Details: component_sequence_id: '|| row.component_sequence_id);

Line 1165: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);

1161: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1162: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1163: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1164: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1165: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1166: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);
1167: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);
1168: aso_debug_pub.add('Get_Config_Details: component_sequence_id: '|| row.component_sequence_id);
1169: aso_debug_pub.add('Get_Config_Details: ato_config_item_id: '|| row.ato_config_item_id);

Line 1166: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);

1162: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1163: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1164: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1165: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1166: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);
1167: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);
1168: aso_debug_pub.add('Get_Config_Details: component_sequence_id: '|| row.component_sequence_id);
1169: aso_debug_pub.add('Get_Config_Details: ato_config_item_id: '|| row.ato_config_item_id);
1170: aso_debug_pub.add('Get_Config_Details: model_config_item_id: '|| row.model_config_item_id);

Line 1167: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);

1163: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1164: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1165: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1166: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);
1167: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);
1168: aso_debug_pub.add('Get_Config_Details: component_sequence_id: '|| row.component_sequence_id);
1169: aso_debug_pub.add('Get_Config_Details: ato_config_item_id: '|| row.ato_config_item_id);
1170: aso_debug_pub.add('Get_Config_Details: model_config_item_id: '|| row.model_config_item_id);
1171: END IF;

Line 1168: aso_debug_pub.add('Get_Config_Details: component_sequence_id: '|| row.component_sequence_id);

1164: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1165: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1166: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);
1167: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);
1168: aso_debug_pub.add('Get_Config_Details: component_sequence_id: '|| row.component_sequence_id);
1169: aso_debug_pub.add('Get_Config_Details: ato_config_item_id: '|| row.ato_config_item_id);
1170: aso_debug_pub.add('Get_Config_Details: model_config_item_id: '|| row.model_config_item_id);
1171: END IF;
1172:

Line 1169: aso_debug_pub.add('Get_Config_Details: ato_config_item_id: '|| row.ato_config_item_id);

1165: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1166: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);
1167: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);
1168: aso_debug_pub.add('Get_Config_Details: component_sequence_id: '|| row.component_sequence_id);
1169: aso_debug_pub.add('Get_Config_Details: ato_config_item_id: '|| row.ato_config_item_id);
1170: aso_debug_pub.add('Get_Config_Details: model_config_item_id: '|| row.model_config_item_id);
1171: END IF;
1172:
1173: p_item_id:=row.inventory_item_id;

Line 1170: aso_debug_pub.add('Get_Config_Details: model_config_item_id: '|| row.model_config_item_id);

1166: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);
1167: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);
1168: aso_debug_pub.add('Get_Config_Details: component_sequence_id: '|| row.component_sequence_id);
1169: aso_debug_pub.add('Get_Config_Details: ato_config_item_id: '|| row.ato_config_item_id);
1170: aso_debug_pub.add('Get_Config_Details: model_config_item_id: '|| row.model_config_item_id);
1171: END IF;
1172:
1173: p_item_id:=row.inventory_item_id;
1174: p_organization_id:=row.organization_id;

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

1202:
1203: -- end quantity validation changes 6661597
1204:
1205:
1206: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1207: aso_debug_pub.add('Get_Config_Details: quantity: after inv validation '|| x_output_quantity);
1208: end if;
1209: IF to_char( row.inventory_item_id ) = row.component_code THEN
1210:

Line 1207: aso_debug_pub.add('Get_Config_Details: quantity: after inv validation '|| x_output_quantity);

1203: -- end quantity validation changes 6661597
1204:
1205:
1206: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1207: aso_debug_pub.add('Get_Config_Details: quantity: after inv validation '|| x_output_quantity);
1208: end if;
1209: IF to_char( row.inventory_item_id ) = row.component_code THEN
1210:
1211: l_Qte_Line_Tbl(l_index).item_type_code := 'MDL';

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

1269: l_qte_line_dtl_tbl(l_index).config_instance_name := row.name;
1270: l_qte_line_dtl_search(row.config_item_id).qte_line_index := l_index;
1271: l_qte_line_dtl_tbl(l_index).component_sequence_id := row.component_sequence_id;
1272: l_qte_line_dtl_tbl(l_index).top_model_line_id := p_config_rec.quote_line_id;
1273: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1274: aso_debug_pub.add('Get_Config_Details: l_qte_line_dtl_search('||row.config_item_id||').qte_line_index: '||l_qte_line_dtl_search(row.config_item_id).qte_line_index);
1275:
1276: END IF;
1277:

Line 1274: aso_debug_pub.add('Get_Config_Details: l_qte_line_dtl_search('||row.config_item_id||').qte_line_index: '||l_qte_line_dtl_search(row.config_item_id).qte_line_index);

1270: l_qte_line_dtl_search(row.config_item_id).qte_line_index := l_index;
1271: l_qte_line_dtl_tbl(l_index).component_sequence_id := row.component_sequence_id;
1272: l_qte_line_dtl_tbl(l_index).top_model_line_id := p_config_rec.quote_line_id;
1273: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1274: aso_debug_pub.add('Get_Config_Details: l_qte_line_dtl_search('||row.config_item_id||').qte_line_index: '||l_qte_line_dtl_search(row.config_item_id).qte_line_index);
1275:
1276: END IF;
1277:
1278: --Creating the parent-child relationship

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

1278: --Creating the parent-child relationship
1279:
1280: IF l_qte_line_dtl_search.EXISTS(row.parent_config_item_id) THEN
1281:
1282: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1283: aso_debug_pub.add('Index of parent: l_qte_line_dtl_search('||row.parent_config_item_id||').qte_line_index: '||l_qte_line_dtl_search(row.parent_config_item_id).qte_line_index);
1284: aso_debug_pub.add('Quote_line_id of parent: l_qte_line_dtl_search('||row.parent_config_item_id||').quote_line_id: '||l_qte_line_dtl_search(row.parent_config_item_id).quote_line_id);
1285:
1286: END IF;

Line 1283: aso_debug_pub.add('Index of parent: l_qte_line_dtl_search('||row.parent_config_item_id||').qte_line_index: '||l_qte_line_dtl_search(row.parent_config_item_id).qte_line_index);

1279:
1280: IF l_qte_line_dtl_search.EXISTS(row.parent_config_item_id) THEN
1281:
1282: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1283: aso_debug_pub.add('Index of parent: l_qte_line_dtl_search('||row.parent_config_item_id||').qte_line_index: '||l_qte_line_dtl_search(row.parent_config_item_id).qte_line_index);
1284: aso_debug_pub.add('Quote_line_id of parent: l_qte_line_dtl_search('||row.parent_config_item_id||').quote_line_id: '||l_qte_line_dtl_search(row.parent_config_item_id).quote_line_id);
1285:
1286: END IF;
1287: l_qte_line_dtl_tbl(l_index).ref_line_index := l_qte_line_dtl_search(row.parent_config_item_id).qte_line_index;

Line 1284: aso_debug_pub.add('Quote_line_id of parent: l_qte_line_dtl_search('||row.parent_config_item_id||').quote_line_id: '||l_qte_line_dtl_search(row.parent_config_item_id).quote_line_id);

1280: IF l_qte_line_dtl_search.EXISTS(row.parent_config_item_id) THEN
1281:
1282: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1283: aso_debug_pub.add('Index of parent: l_qte_line_dtl_search('||row.parent_config_item_id||').qte_line_index: '||l_qte_line_dtl_search(row.parent_config_item_id).qte_line_index);
1284: aso_debug_pub.add('Quote_line_id of parent: l_qte_line_dtl_search('||row.parent_config_item_id||').quote_line_id: '||l_qte_line_dtl_search(row.parent_config_item_id).quote_line_id);
1285:
1286: END IF;
1287: l_qte_line_dtl_tbl(l_index).ref_line_index := l_qte_line_dtl_search(row.parent_config_item_id).qte_line_index;
1288: l_qte_line_dtl_tbl(l_index).ref_line_id := l_qte_line_dtl_search(row.parent_config_item_id).quote_line_id;

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

1292: OPEN C_config_all(l_qte_line_dtl_tbl(l_index).parent_config_item_id);
1293: FETCH C_config_all INTO l_qte_line_dtl_tbl(l_index).ref_line_id;
1294: CLOSE C_config_all;
1295:
1296: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1297:
1298: aso_debug_pub.add('l_qte_line_dtl_tbl('||l_index||').ref_line_id: '||l_qte_line_dtl_tbl(l_index).ref_line_id);
1299:
1300: END IF;

Line 1298: aso_debug_pub.add('l_qte_line_dtl_tbl('||l_index||').ref_line_id: '||l_qte_line_dtl_tbl(l_index).ref_line_id);

1294: CLOSE C_config_all;
1295:
1296: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1297:
1298: aso_debug_pub.add('l_qte_line_dtl_tbl('||l_index||').ref_line_id: '||l_qte_line_dtl_tbl(l_index).ref_line_id);
1299:
1300: END IF;
1301:
1302:

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

1307: -- Populating the ato_line_id
1308:
1309: IF l_qte_line_dtl_search.EXISTS(row.ato_config_item_id) THEN
1310:
1311: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1312:
1313: aso_debug_pub.add('Index of ato : l_qte_line_dtl_search('||row.ato_config_item_id||').qte_line_index: '||l_qte_line_dtl_search(row.ato_config_item_id).qte_line_index);
1314:
1315: aso_debug_pub.add('Quote_line_id of ato: l_qte_line_dtl_search('||row.ato_config_item_id||').quote_line_id: '||l_qte_line_dtl_search(row.ato_config_item_id).quote_line_id);

Line 1313: aso_debug_pub.add('Index of ato : l_qte_line_dtl_search('||row.ato_config_item_id||').qte_line_index: '||l_qte_line_dtl_search(row.ato_config_item_id).qte_line_index);

1309: IF l_qte_line_dtl_search.EXISTS(row.ato_config_item_id) THEN
1310:
1311: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1312:
1313: aso_debug_pub.add('Index of ato : l_qte_line_dtl_search('||row.ato_config_item_id||').qte_line_index: '||l_qte_line_dtl_search(row.ato_config_item_id).qte_line_index);
1314:
1315: aso_debug_pub.add('Quote_line_id of ato: l_qte_line_dtl_search('||row.ato_config_item_id||').quote_line_id: '||l_qte_line_dtl_search(row.ato_config_item_id).quote_line_id);
1316:
1317: END IF;

Line 1315: aso_debug_pub.add('Quote_line_id of ato: l_qte_line_dtl_search('||row.ato_config_item_id||').quote_line_id: '||l_qte_line_dtl_search(row.ato_config_item_id).quote_line_id);

1311: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1312:
1313: aso_debug_pub.add('Index of ato : l_qte_line_dtl_search('||row.ato_config_item_id||').qte_line_index: '||l_qte_line_dtl_search(row.ato_config_item_id).qte_line_index);
1314:
1315: aso_debug_pub.add('Quote_line_id of ato: l_qte_line_dtl_search('||row.ato_config_item_id||').quote_line_id: '||l_qte_line_dtl_search(row.ato_config_item_id).quote_line_id);
1316:
1317: END IF;
1318:
1319: l_qte_line_dtl_tbl(l_index).ato_line_index := l_qte_line_dtl_search(row.ato_config_item_id).qte_line_index;

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

1324: OPEN C_config_all(row.ato_config_item_id);
1325: FETCH C_config_all INTO l_qte_line_dtl_tbl(l_index).ato_line_id;
1326: CLOSE C_config_all;
1327:
1328: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1329:
1330: aso_debug_pub.add('l_qte_line_dtl_tbl('||l_index||').ato_line_id: '||l_qte_line_dtl_tbl(l_index).ato_line_id);
1331:
1332: END IF;

Line 1330: aso_debug_pub.add('l_qte_line_dtl_tbl('||l_index||').ato_line_id: '||l_qte_line_dtl_tbl(l_index).ato_line_id);

1326: CLOSE C_config_all;
1327:
1328: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1329:
1330: aso_debug_pub.add('l_qte_line_dtl_tbl('||l_index||').ato_line_id: '||l_qte_line_dtl_tbl(l_index).ato_line_id);
1331:
1332: END IF;
1333: END IF;
1334:

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

1350:
1351: END IF;
1352: END LOOP;
1353:
1354: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1355:
1356: aso_debug_pub.add( 'ASO_CFG_INT: Get_Config_details: After C_config_details_ins cursor LOOP l_index: '|| l_index);
1357:
1358: aso_debug_pub.add( 'ASO_CFG_INT: Get_Config_details: Before C_config_details_upd cursor LOOP');

Line 1356: aso_debug_pub.add( 'ASO_CFG_INT: Get_Config_details: After C_config_details_ins cursor LOOP l_index: '|| l_index);

1352: END LOOP;
1353:
1354: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1355:
1356: aso_debug_pub.add( 'ASO_CFG_INT: Get_Config_details: After C_config_details_ins cursor LOOP l_index: '|| l_index);
1357:
1358: aso_debug_pub.add( 'ASO_CFG_INT: Get_Config_details: Before C_config_details_upd cursor LOOP');
1359:
1360: END IF;

Line 1358: aso_debug_pub.add( 'ASO_CFG_INT: Get_Config_details: Before C_config_details_upd cursor LOOP');

1354: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1355:
1356: aso_debug_pub.add( 'ASO_CFG_INT: Get_Config_details: After C_config_details_ins cursor LOOP l_index: '|| l_index);
1357:
1358: aso_debug_pub.add( 'ASO_CFG_INT: Get_Config_details: Before C_config_details_upd cursor LOOP');
1359:
1360: END IF;
1361:
1362: FOR row IN C_config_details_upd( p_config_hdr_id,

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

1366: LOOP
1367:
1368: l_index := l_index + 1;
1369:
1370: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1371:
1372: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: Inside C_config_details_upd cursor LOOP');
1373: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1374: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);

Line 1372: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: Inside C_config_details_upd cursor LOOP');

1368: l_index := l_index + 1;
1369:
1370: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1371:
1372: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: Inside C_config_details_upd cursor LOOP');
1373: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1374: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);
1375: aso_debug_pub.add('Get_Config_Details: quote_line_detail_id: '|| row.quote_line_detail_id);
1376: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);

Line 1373: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);

1369:
1370: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1371:
1372: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: Inside C_config_details_upd cursor LOOP');
1373: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1374: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);
1375: aso_debug_pub.add('Get_Config_Details: quote_line_detail_id: '|| row.quote_line_detail_id);
1376: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1377: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);

Line 1374: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);

1370: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1371:
1372: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: Inside C_config_details_upd cursor LOOP');
1373: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1374: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);
1375: aso_debug_pub.add('Get_Config_Details: quote_line_detail_id: '|| row.quote_line_detail_id);
1376: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1377: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1378: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);

Line 1375: aso_debug_pub.add('Get_Config_Details: quote_line_detail_id: '|| row.quote_line_detail_id);

1371:
1372: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: Inside C_config_details_upd cursor LOOP');
1373: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1374: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);
1375: aso_debug_pub.add('Get_Config_Details: quote_line_detail_id: '|| row.quote_line_detail_id);
1376: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1377: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1378: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1379: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);

Line 1376: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);

1372: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: Inside C_config_details_upd cursor LOOP');
1373: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1374: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);
1375: aso_debug_pub.add('Get_Config_Details: quote_line_detail_id: '|| row.quote_line_detail_id);
1376: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1377: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1378: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1379: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1380: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);

Line 1377: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);

1373: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1374: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);
1375: aso_debug_pub.add('Get_Config_Details: quote_line_detail_id: '|| row.quote_line_detail_id);
1376: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1377: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1378: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1379: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1380: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1381: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);

Line 1378: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);

1374: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);
1375: aso_debug_pub.add('Get_Config_Details: quote_line_detail_id: '|| row.quote_line_detail_id);
1376: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1377: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1378: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1379: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1380: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1381: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1382: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);

Line 1379: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);

1375: aso_debug_pub.add('Get_Config_Details: quote_line_detail_id: '|| row.quote_line_detail_id);
1376: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1377: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1378: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1379: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1380: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1381: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1382: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1383: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);

Line 1380: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);

1376: aso_debug_pub.add('Get_Config_Details: inventory_item_id: '|| row.inventory_item_id);
1377: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1378: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1379: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1380: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1381: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1382: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1383: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);
1384: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);

Line 1381: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);

1377: aso_debug_pub.add('Get_Config_Details: organization_id: '|| row.organization_id);
1378: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1379: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1380: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1381: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1382: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1383: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);
1384: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);
1385: END IF;

Line 1382: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);

1378: aso_debug_pub.add('Get_Config_Details: component_code: '|| row.component_code);
1379: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1380: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1381: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1382: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1383: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);
1384: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);
1385: END IF;
1386:

Line 1383: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);

1379: aso_debug_pub.add('Get_Config_Details: quantity: '|| row.quantity);
1380: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1381: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1382: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1383: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);
1384: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);
1385: END IF;
1386:
1387: -- added by 6661597

Line 1384: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);

1380: aso_debug_pub.add('Get_Config_Details: uom_code: '|| row.uom_code);
1381: aso_debug_pub.add('Get_Config_Details: bom_sort_order: '|| row.bom_sort_order);
1382: aso_debug_pub.add('Get_Config_Details: config_delta: '|| row.config_delta);
1383: aso_debug_pub.add('Get_Config_Details: name: '|| row.name);
1384: aso_debug_pub.add('Get_Config_Details: line_type: '|| row.line_type);
1385: END IF;
1386:
1387: -- added by 6661597
1388: p_item_id:=row.inventory_item_id;

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

1417:
1418: -- end quantity validation changes rassharm
1419:
1420:
1421: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1422: aso_debug_pub.add('Get_Config_Details: quantity: after inv validation '|| x_output_quantity);
1423: end if;
1424:
1425: -- end 6661597

Line 1422: aso_debug_pub.add('Get_Config_Details: quantity: after inv validation '|| x_output_quantity);

1418: -- end quantity validation changes rassharm
1419:
1420:
1421: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1422: aso_debug_pub.add('Get_Config_Details: quantity: after inv validation '|| x_output_quantity);
1423: end if;
1424:
1425: -- end 6661597
1426: l_Qte_Line_Tbl(l_index).quote_header_id := p_qte_header_rec.quote_header_id;

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

1454:
1455:
1456: END LOOP;
1457:
1458: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1459:
1460: aso_debug_pub.add( 'Get_Config_details: After C_config_details_upd cursor LOOP l_index: '|| l_index);
1461: aso_debug_pub.add( 'ASO_CFG_INT: Get_Config_details: Before C_config_details_del cursor LOOP');
1462:

Line 1460: aso_debug_pub.add( 'Get_Config_details: After C_config_details_upd cursor LOOP l_index: '|| l_index);

1456: END LOOP;
1457:
1458: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1459:
1460: aso_debug_pub.add( 'Get_Config_details: After C_config_details_upd cursor LOOP l_index: '|| l_index);
1461: aso_debug_pub.add( 'ASO_CFG_INT: Get_Config_details: Before C_config_details_del cursor LOOP');
1462:
1463: END IF;
1464:

Line 1461: aso_debug_pub.add( 'ASO_CFG_INT: Get_Config_details: Before C_config_details_del cursor LOOP');

1457:
1458: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1459:
1460: aso_debug_pub.add( 'Get_Config_details: After C_config_details_upd cursor LOOP l_index: '|| l_index);
1461: aso_debug_pub.add( 'ASO_CFG_INT: Get_Config_details: Before C_config_details_del cursor LOOP');
1462:
1463: END IF;
1464:
1465: FOR row IN C_config_details_del( p_config_hdr_id, p_config_rev_nbr )

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

1466: LOOP
1467:
1468: l_index := l_index + 1;
1469:
1470: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1471: aso_debug_pub.add('Get_Config_details: Inside C_config_details_del cursor LOOP');
1472: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1473: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);
1474: END IF;

Line 1471: aso_debug_pub.add('Get_Config_details: Inside C_config_details_del cursor LOOP');

1467:
1468: l_index := l_index + 1;
1469:
1470: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1471: aso_debug_pub.add('Get_Config_details: Inside C_config_details_del cursor LOOP');
1472: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1473: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);
1474: END IF;
1475:

Line 1472: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);

1468: l_index := l_index + 1;
1469:
1470: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1471: aso_debug_pub.add('Get_Config_details: Inside C_config_details_del cursor LOOP');
1472: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1473: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);
1474: END IF;
1475:
1476: l_Qte_Line_Tbl(l_index).OPERATION_CODE := 'DELETE';

Line 1473: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);

1469:
1470: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1471: aso_debug_pub.add('Get_Config_details: Inside C_config_details_del cursor LOOP');
1472: aso_debug_pub.add('Get_Config_Details: l_index: '|| l_index);
1473: aso_debug_pub.add('Get_Config_Details: quote_line_id: '|| row.quote_line_id);
1474: END IF;
1475:
1476: l_Qte_Line_Tbl(l_index).OPERATION_CODE := 'DELETE';
1477: l_Qte_Line_Tbl(l_index).quote_line_id := row.quote_line_id;

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

1477: l_Qte_Line_Tbl(l_index).quote_line_id := row.quote_line_id;
1478:
1479: END LOOP;
1480:
1481: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1482:
1483: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: After C_config_details_del cursor LOOP l_index: '|| l_index);
1484:
1485: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: l_quote_type: '|| l_quote_type);

Line 1483: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: After C_config_details_del cursor LOOP l_index: '|| l_index);

1479: END LOOP;
1480:
1481: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1482:
1483: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: After C_config_details_del cursor LOOP l_index: '|| l_index);
1484:
1485: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: l_quote_type: '|| l_quote_type);
1486: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_TAX_FLAG: '|| p_control_rec.CALCULATE_TAX_FLAG);
1487: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG: '|| p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG);

Line 1485: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: l_quote_type: '|| l_quote_type);

1481: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1482:
1483: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: After C_config_details_del cursor LOOP l_index: '|| l_index);
1484:
1485: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: l_quote_type: '|| l_quote_type);
1486: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_TAX_FLAG: '|| p_control_rec.CALCULATE_TAX_FLAG);
1487: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG: '|| p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG);
1488: aso_debug_pub.add('Get_Config_details: p_control_rec.pricing_request_type: '|| p_control_rec.pricing_request_type);
1489: aso_debug_pub.add('Get_Config_details: p_control_rec.header_pricing_event: '|| p_control_rec.header_pricing_event);

Line 1486: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_TAX_FLAG: '|| p_control_rec.CALCULATE_TAX_FLAG);

1482:
1483: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: After C_config_details_del cursor LOOP l_index: '|| l_index);
1484:
1485: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: l_quote_type: '|| l_quote_type);
1486: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_TAX_FLAG: '|| p_control_rec.CALCULATE_TAX_FLAG);
1487: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG: '|| p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG);
1488: aso_debug_pub.add('Get_Config_details: p_control_rec.pricing_request_type: '|| p_control_rec.pricing_request_type);
1489: aso_debug_pub.add('Get_Config_details: p_control_rec.header_pricing_event: '|| p_control_rec.header_pricing_event);
1490:

Line 1487: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG: '|| p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG);

1483: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: After C_config_details_del cursor LOOP l_index: '|| l_index);
1484:
1485: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: l_quote_type: '|| l_quote_type);
1486: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_TAX_FLAG: '|| p_control_rec.CALCULATE_TAX_FLAG);
1487: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG: '|| p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG);
1488: aso_debug_pub.add('Get_Config_details: p_control_rec.pricing_request_type: '|| p_control_rec.pricing_request_type);
1489: aso_debug_pub.add('Get_Config_details: p_control_rec.header_pricing_event: '|| p_control_rec.header_pricing_event);
1490:
1491: END IF;

Line 1488: aso_debug_pub.add('Get_Config_details: p_control_rec.pricing_request_type: '|| p_control_rec.pricing_request_type);

1484:
1485: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: l_quote_type: '|| l_quote_type);
1486: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_TAX_FLAG: '|| p_control_rec.CALCULATE_TAX_FLAG);
1487: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG: '|| p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG);
1488: aso_debug_pub.add('Get_Config_details: p_control_rec.pricing_request_type: '|| p_control_rec.pricing_request_type);
1489: aso_debug_pub.add('Get_Config_details: p_control_rec.header_pricing_event: '|| p_control_rec.header_pricing_event);
1490:
1491: END IF;
1492:

Line 1489: aso_debug_pub.add('Get_Config_details: p_control_rec.header_pricing_event: '|| p_control_rec.header_pricing_event);

1485: aso_debug_pub.add('ASO_CFG_INT: Get_Config_details: l_quote_type: '|| l_quote_type);
1486: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_TAX_FLAG: '|| p_control_rec.CALCULATE_TAX_FLAG);
1487: aso_debug_pub.add('Get_Config_details: p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG: '|| p_control_rec.CALCULATE_FREIGHT_CHARGE_FLAG);
1488: aso_debug_pub.add('Get_Config_details: p_control_rec.pricing_request_type: '|| p_control_rec.pricing_request_type);
1489: aso_debug_pub.add('Get_Config_details: p_control_rec.header_pricing_event: '|| p_control_rec.header_pricing_event);
1490:
1491: END IF;
1492:
1493:

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

1496: l_qte_header_rec := p_qte_header_rec;
1497: l_qte_header_rec.last_update_date := l_last_update_date;
1498: l_qte_header_rec.CALL_BATCH_VALIDATION_FLAG := FND_API.G_FALSE;
1499:
1500: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1501:
1502: aso_debug_pub.add( 'Get_Config_details: Before call to Update Quote table count');
1503: aso_debug_pub.add( 'Get_Config_details: l_Qte_Line_Tbl.count: '||l_Qte_Line_Tbl.count);
1504: aso_debug_pub.add( 'Get_Config_details: l_Qte_Line_Dtl_Tbl.count: '||l_Qte_Line_Dtl_Tbl.count);

Line 1502: aso_debug_pub.add( 'Get_Config_details: Before call to Update Quote table count');

1498: l_qte_header_rec.CALL_BATCH_VALIDATION_FLAG := FND_API.G_FALSE;
1499:
1500: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1501:
1502: aso_debug_pub.add( 'Get_Config_details: Before call to Update Quote table count');
1503: aso_debug_pub.add( 'Get_Config_details: l_Qte_Line_Tbl.count: '||l_Qte_Line_Tbl.count);
1504: aso_debug_pub.add( 'Get_Config_details: l_Qte_Line_Dtl_Tbl.count: '||l_Qte_Line_Dtl_Tbl.count);
1505:
1506: END IF;

Line 1503: aso_debug_pub.add( 'Get_Config_details: l_Qte_Line_Tbl.count: '||l_Qte_Line_Tbl.count);

1499:
1500: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1501:
1502: aso_debug_pub.add( 'Get_Config_details: Before call to Update Quote table count');
1503: aso_debug_pub.add( 'Get_Config_details: l_Qte_Line_Tbl.count: '||l_Qte_Line_Tbl.count);
1504: aso_debug_pub.add( 'Get_Config_details: l_Qte_Line_Dtl_Tbl.count: '||l_Qte_Line_Dtl_Tbl.count);
1505:
1506: END IF;
1507:

Line 1504: aso_debug_pub.add( 'Get_Config_details: l_Qte_Line_Dtl_Tbl.count: '||l_Qte_Line_Dtl_Tbl.count);

1500: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1501:
1502: aso_debug_pub.add( 'Get_Config_details: Before call to Update Quote table count');
1503: aso_debug_pub.add( 'Get_Config_details: l_Qte_Line_Tbl.count: '||l_Qte_Line_Tbl.count);
1504: aso_debug_pub.add( 'Get_Config_details: l_Qte_Line_Dtl_Tbl.count: '||l_Qte_Line_Dtl_Tbl.count);
1505:
1506: END IF;
1507:
1508: ASO_QUOTE_PUB.Update_Quote(

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

1538: X_Return_Status => x_Return_Status,
1539: X_Msg_Count => x_Msg_Count,
1540: X_Msg_Data => x_Msg_Data);
1541:
1542: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1543: aso_debug_pub.add('Get_config_details: After call to Update_quote x_Return_Status: ' || x_Return_Status);
1544: END IF;
1545:
1546: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN

Line 1543: aso_debug_pub.add('Get_config_details: After call to Update_quote x_Return_Status: ' || x_Return_Status);

1539: X_Msg_Count => x_Msg_Count,
1540: X_Msg_Data => x_Msg_Data);
1541:
1542: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1543: aso_debug_pub.add('Get_config_details: After call to Update_quote x_Return_Status: ' || x_Return_Status);
1544: END IF;
1545:
1546: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN
1547:

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

1544: END IF;
1545:
1546: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN
1547:
1548: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1549: aso_debug_pub.add('Get_config_details: Before deleting the previous version from CZ schema.');
1550: END IF;
1551:
1552: IF ((p_config_rec.config_header_id <> FND_API.G_Miss_num AND

Line 1549: aso_debug_pub.add('Get_config_details: Before deleting the previous version from CZ schema.');

1545:
1546: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN
1547:
1548: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1549: aso_debug_pub.add('Get_config_details: Before deleting the previous version from CZ schema.');
1550: END IF;
1551:
1552: IF ((p_config_rec.config_header_id <> FND_API.G_Miss_num AND
1553: p_config_rec.config_revision_num <> FND_API.G_Miss_Num) AND

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

1555: p_config_rec.config_revision_num IS NOT NULL)) AND
1556: (p_config_rec.config_header_id <> p_config_hdr_id OR
1557: p_config_rec.config_revision_num <> p_config_rev_nbr) THEN
1558:
1559: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1560: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');
1561: END IF;
1562:
1563: ASO_CFG_INT.DELETE_CONFIGURATION( P_API_VERSION_NUMBER => 1.0,

Line 1560: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');

1556: (p_config_rec.config_header_id <> p_config_hdr_id OR
1557: p_config_rec.config_revision_num <> p_config_rev_nbr) THEN
1558:
1559: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1560: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');
1561: END IF;
1562:
1563: ASO_CFG_INT.DELETE_CONFIGURATION( P_API_VERSION_NUMBER => 1.0,
1564: P_INIT_MSG_LIST => FND_API.G_FALSE,

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

1567: X_RETURN_STATUS => lx_return_status,
1568: X_MSG_COUNT => x_msg_count,
1569: X_MSG_DATA => x_msg_data);
1570:
1571: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1572: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);
1573: END IF;
1574:
1575: IF lx_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 1572: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);

1568: X_MSG_COUNT => x_msg_count,
1569: X_MSG_DATA => x_msg_data);
1570:
1571: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1572: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);
1573: END IF;
1574:
1575: IF lx_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1576:

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

1594: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1595:
1596: END IF;
1597:
1598: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1599: aso_debug_pub.add('Get_config_details: Before deleting records from aso_line_relationships table');
1600: END IF;
1601:
1602: DELETE aso_line_relationships

Line 1599: aso_debug_pub.add('Get_config_details: Before deleting records from aso_line_relationships table');

1595:
1596: END IF;
1597:
1598: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1599: aso_debug_pub.add('Get_config_details: Before deleting records from aso_line_relationships table');
1600: END IF;
1601:
1602: DELETE aso_line_relationships
1603: WHERE line_relationship_id IN (SELECT line_relationship_id

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

1605: WHERE a.relationship_type_code = 'CONFIG'
1606: START WITH a.quote_line_id = p_config_rec.quote_line_id
1607: CONNECT BY PRIOR a.related_quote_line_id = a.quote_line_id);
1608:
1609: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1610: aso_debug_pub.add('Get_config_details: After deleting records from aso_line_relationships table');
1611: END IF;
1612:
1613: G_rtln_tbl := G_MISS_rtln_tbl;

Line 1610: aso_debug_pub.add('Get_config_details: After deleting records from aso_line_relationships table');

1606: START WITH a.quote_line_id = p_config_rec.quote_line_id
1607: CONNECT BY PRIOR a.related_quote_line_id = a.quote_line_id);
1608:
1609: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1610: aso_debug_pub.add('Get_config_details: After deleting records from aso_line_relationships table');
1611: END IF;
1612:
1613: G_rtln_tbl := G_MISS_rtln_tbl;
1614:

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

1611: END IF;
1612:
1613: G_rtln_tbl := G_MISS_rtln_tbl;
1614:
1615: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1616: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: Before call to populate_rtln_Tbl');
1617: END IF;
1618:
1619: populate_rtln_Tbl( p_quote_header_id => p_qte_header_rec.quote_header_id,

Line 1616: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: Before call to populate_rtln_Tbl');

1612:
1613: G_rtln_tbl := G_MISS_rtln_tbl;
1614:
1615: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1616: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: Before call to populate_rtln_Tbl');
1617: END IF;
1618:
1619: populate_rtln_Tbl( p_quote_header_id => p_qte_header_rec.quote_header_id,
1620: p_quote_line_id => p_config_rec.quote_line_id,

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

1621: p_config_hdr_id => p_config_hdr_id,
1622: p_config_rev_nbr => p_config_rev_nbr );
1623:
1624:
1625: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1626:
1627: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: After call to populate_rtln_Tbl');
1628:
1629: FOR p IN G_rtln_tbl.first..G_rtln_tbl.last LOOP

Line 1627: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: After call to populate_rtln_Tbl');

1623:
1624:
1625: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1626:
1627: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: After call to populate_rtln_Tbl');
1628:
1629: FOR p IN G_rtln_tbl.first..G_rtln_tbl.last LOOP
1630:
1631: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quote_line_id: '|| G_rtln_tbl(p).quote_line_id);

Line 1631: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quote_line_id: '|| G_rtln_tbl(p).quote_line_id);

1627: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: After call to populate_rtln_Tbl');
1628:
1629: FOR p IN G_rtln_tbl.first..G_rtln_tbl.last LOOP
1630:
1631: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quote_line_id: '|| G_rtln_tbl(p).quote_line_id);
1632: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').parent_config_item_id: '|| G_rtln_tbl(p).parent_config_item_id);
1633: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').config_item_id: '|| G_rtln_tbl(p).config_item_id);
1634: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').inventory_item_id: '|| G_rtln_tbl(p).inventory_item_id);
1635: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').organization_id: '|| G_rtln_tbl(p).organization_id);

Line 1632: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').parent_config_item_id: '|| G_rtln_tbl(p).parent_config_item_id);

1628:
1629: FOR p IN G_rtln_tbl.first..G_rtln_tbl.last LOOP
1630:
1631: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quote_line_id: '|| G_rtln_tbl(p).quote_line_id);
1632: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').parent_config_item_id: '|| G_rtln_tbl(p).parent_config_item_id);
1633: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').config_item_id: '|| G_rtln_tbl(p).config_item_id);
1634: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').inventory_item_id: '|| G_rtln_tbl(p).inventory_item_id);
1635: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').organization_id: '|| G_rtln_tbl(p).organization_id);
1636: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').component_code: '|| G_rtln_tbl(p).component_code);

Line 1633: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').config_item_id: '|| G_rtln_tbl(p).config_item_id);

1629: FOR p IN G_rtln_tbl.first..G_rtln_tbl.last LOOP
1630:
1631: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quote_line_id: '|| G_rtln_tbl(p).quote_line_id);
1632: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').parent_config_item_id: '|| G_rtln_tbl(p).parent_config_item_id);
1633: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').config_item_id: '|| G_rtln_tbl(p).config_item_id);
1634: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').inventory_item_id: '|| G_rtln_tbl(p).inventory_item_id);
1635: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').organization_id: '|| G_rtln_tbl(p).organization_id);
1636: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').component_code: '|| G_rtln_tbl(p).component_code);
1637: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quantity: '|| G_rtln_tbl(p).quantity);

Line 1634: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').inventory_item_id: '|| G_rtln_tbl(p).inventory_item_id);

1630:
1631: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quote_line_id: '|| G_rtln_tbl(p).quote_line_id);
1632: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').parent_config_item_id: '|| G_rtln_tbl(p).parent_config_item_id);
1633: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').config_item_id: '|| G_rtln_tbl(p).config_item_id);
1634: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').inventory_item_id: '|| G_rtln_tbl(p).inventory_item_id);
1635: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').organization_id: '|| G_rtln_tbl(p).organization_id);
1636: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').component_code: '|| G_rtln_tbl(p).component_code);
1637: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quantity: '|| G_rtln_tbl(p).quantity);
1638: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').included_flag: '|| G_rtln_tbl(p).included_flag);

Line 1635: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').organization_id: '|| G_rtln_tbl(p).organization_id);

1631: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quote_line_id: '|| G_rtln_tbl(p).quote_line_id);
1632: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').parent_config_item_id: '|| G_rtln_tbl(p).parent_config_item_id);
1633: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').config_item_id: '|| G_rtln_tbl(p).config_item_id);
1634: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').inventory_item_id: '|| G_rtln_tbl(p).inventory_item_id);
1635: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').organization_id: '|| G_rtln_tbl(p).organization_id);
1636: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').component_code: '|| G_rtln_tbl(p).component_code);
1637: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quantity: '|| G_rtln_tbl(p).quantity);
1638: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').included_flag: '|| G_rtln_tbl(p).included_flag);
1639: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').created_flag: '|| G_rtln_tbl(p).created_flag);

Line 1636: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').component_code: '|| G_rtln_tbl(p).component_code);

1632: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').parent_config_item_id: '|| G_rtln_tbl(p).parent_config_item_id);
1633: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').config_item_id: '|| G_rtln_tbl(p).config_item_id);
1634: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').inventory_item_id: '|| G_rtln_tbl(p).inventory_item_id);
1635: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').organization_id: '|| G_rtln_tbl(p).organization_id);
1636: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').component_code: '|| G_rtln_tbl(p).component_code);
1637: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quantity: '|| G_rtln_tbl(p).quantity);
1638: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').included_flag: '|| G_rtln_tbl(p).included_flag);
1639: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').created_flag: '|| G_rtln_tbl(p).created_flag);
1640:

Line 1637: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quantity: '|| G_rtln_tbl(p).quantity);

1633: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').config_item_id: '|| G_rtln_tbl(p).config_item_id);
1634: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').inventory_item_id: '|| G_rtln_tbl(p).inventory_item_id);
1635: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').organization_id: '|| G_rtln_tbl(p).organization_id);
1636: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').component_code: '|| G_rtln_tbl(p).component_code);
1637: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quantity: '|| G_rtln_tbl(p).quantity);
1638: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').included_flag: '|| G_rtln_tbl(p).included_flag);
1639: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').created_flag: '|| G_rtln_tbl(p).created_flag);
1640:
1641: END LOOP;

Line 1638: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').included_flag: '|| G_rtln_tbl(p).included_flag);

1634: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').inventory_item_id: '|| G_rtln_tbl(p).inventory_item_id);
1635: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').organization_id: '|| G_rtln_tbl(p).organization_id);
1636: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').component_code: '|| G_rtln_tbl(p).component_code);
1637: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quantity: '|| G_rtln_tbl(p).quantity);
1638: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').included_flag: '|| G_rtln_tbl(p).included_flag);
1639: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').created_flag: '|| G_rtln_tbl(p).created_flag);
1640:
1641: END LOOP;
1642:

Line 1639: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').created_flag: '|| G_rtln_tbl(p).created_flag);

1635: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').organization_id: '|| G_rtln_tbl(p).organization_id);
1636: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').component_code: '|| G_rtln_tbl(p).component_code);
1637: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').quantity: '|| G_rtln_tbl(p).quantity);
1638: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').included_flag: '|| G_rtln_tbl(p).included_flag);
1639: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').created_flag: '|| G_rtln_tbl(p).created_flag);
1640:
1641: END LOOP;
1642:
1643: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: Before call to Create_Relationship procedure');

Line 1643: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: Before call to Create_Relationship procedure');

1639: aso_debug_pub.add( 'Get_config_details: G_rtln_tbl('||p||').created_flag: '|| G_rtln_tbl(p).created_flag);
1640:
1641: END LOOP;
1642:
1643: aso_debug_pub.add('ASO_CFG_INT: Get_config_details: Before call to Create_Relationship procedure');
1644:
1645: END IF;
1646:
1647: Create_Relationship( parent_quote_line_id => G_rtln_tbl(1).quote_line_id,

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

1649: x_return_status => x_return_status,
1650: x_msg_count => x_msg_count,
1651: x_msg_data => x_msg_data );
1652:
1653: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1654:
1655: aso_debug_pub.add('Get_config_details: After call to Create_Relationship: x_return_status: '|| x_return_status);
1656:
1657: END IF;

Line 1655: aso_debug_pub.add('Get_config_details: After call to Create_Relationship: x_return_status: '|| x_return_status);

1651: x_msg_data => x_msg_data );
1652:
1653: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1654:
1655: aso_debug_pub.add('Get_config_details: After call to Create_Relationship: x_return_status: '|| x_return_status);
1656:
1657: END IF;
1658:
1659: -- Check return status from the above procedure call

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

1663: elsif x_return_status = FND_API.G_RET_STS_UNEXP_ERROR then
1664: raise FND_API.G_EXC_UNEXPECTED_ERROR;
1665: END IF;
1666:
1667: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1668: aso_debug_pub.add('Get_config_details: Before deleting the previous version from CZ schema.');
1669: END IF;
1670:
1671: IF ((p_config_rec.config_header_id <> FND_API.G_Miss_num AND

Line 1668: aso_debug_pub.add('Get_config_details: Before deleting the previous version from CZ schema.');

1664: raise FND_API.G_EXC_UNEXPECTED_ERROR;
1665: END IF;
1666:
1667: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1668: aso_debug_pub.add('Get_config_details: Before deleting the previous version from CZ schema.');
1669: END IF;
1670:
1671: IF ((p_config_rec.config_header_id <> FND_API.G_Miss_num AND
1672: p_config_rec.config_revision_num <> FND_API.G_Miss_Num) AND

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

1680: if c_config_exist_in_cz%found then
1681:
1682: close c_config_exist_in_cz;
1683:
1684: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1685: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');
1686: END IF;
1687:
1688: ASO_CFG_INT.DELETE_CONFIGURATION( P_API_VERSION_NUMBER => 1.0,

Line 1685: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');

1681:
1682: close c_config_exist_in_cz;
1683:
1684: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1685: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');
1686: END IF;
1687:
1688: ASO_CFG_INT.DELETE_CONFIGURATION( P_API_VERSION_NUMBER => 1.0,
1689: P_INIT_MSG_LIST => FND_API.G_FALSE,

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

1692: X_RETURN_STATUS => lx_return_status,
1693: X_MSG_COUNT => x_msg_count,
1694: X_MSG_DATA => x_msg_data);
1695:
1696: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1697: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);
1698: END IF;
1699:
1700: IF lx_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 1697: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);

1693: X_MSG_COUNT => x_msg_count,
1694: X_MSG_DATA => x_msg_data);
1695:
1696: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1697: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);
1698: END IF;
1699:
1700: IF lx_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1701:

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

1715: end if;
1716:
1717: END IF;
1718:
1719: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1720: aso_debug_pub.add( 'ASO_CFG_INT: GET_CONFIG_DETAILS: Finish %%%%%%%%%%%%%%%%%%%', 1, 'Y' );
1721: END IF;
1722:
1723: EXCEPTION

Line 1720: aso_debug_pub.add( 'ASO_CFG_INT: GET_CONFIG_DETAILS: Finish %%%%%%%%%%%%%%%%%%%', 1, 'Y' );

1716:
1717: END IF;
1718:
1719: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1720: aso_debug_pub.add( 'ASO_CFG_INT: GET_CONFIG_DETAILS: Finish %%%%%%%%%%%%%%%%%%%', 1, 'Y' );
1721: END IF;
1722:
1723: EXCEPTION
1724:

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

1730: if c_config_exist_in_cz%found then
1731:
1732: close c_config_exist_in_cz;
1733:
1734: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1735: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');
1736: END IF;
1737:
1738: ASO_CFG_INT.DELETE_CONFIGURATION_AUTO( P_API_VERSION_NUMBER => 1.0,

Line 1735: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');

1731:
1732: close c_config_exist_in_cz;
1733:
1734: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1735: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');
1736: END IF;
1737:
1738: ASO_CFG_INT.DELETE_CONFIGURATION_AUTO( P_API_VERSION_NUMBER => 1.0,
1739: P_INIT_MSG_LIST => FND_API.G_FALSE,

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

1742: X_RETURN_STATUS => lx_return_status,
1743: X_MSG_COUNT => x_msg_count,
1744: X_MSG_DATA => x_msg_data);
1745:
1746: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1747: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);
1748: END IF;
1749:
1750: IF lx_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 1747: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);

1743: X_MSG_COUNT => x_msg_count,
1744: X_MSG_DATA => x_msg_data);
1745:
1746: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1747: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);
1748: END IF;
1749:
1750: IF lx_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1751:

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

1781: if c_config_exist_in_cz%found then
1782:
1783: close c_config_exist_in_cz;
1784:
1785: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1786: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');
1787: END IF;
1788:
1789: ASO_CFG_INT.DELETE_CONFIGURATION_AUTO( P_API_VERSION_NUMBER => 1.0,

Line 1786: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');

1782:
1783: close c_config_exist_in_cz;
1784:
1785: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1786: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');
1787: END IF;
1788:
1789: ASO_CFG_INT.DELETE_CONFIGURATION_AUTO( P_API_VERSION_NUMBER => 1.0,
1790: P_INIT_MSG_LIST => FND_API.G_FALSE,

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

1793: X_RETURN_STATUS => lx_return_status,
1794: X_MSG_COUNT => x_msg_count,
1795: X_MSG_DATA => x_msg_data);
1796:
1797: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1798: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);
1799: END IF;
1800:
1801: IF lx_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 1798: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);

1794: X_MSG_COUNT => x_msg_count,
1795: X_MSG_DATA => x_msg_data);
1796:
1797: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1798: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);
1799: END IF;
1800:
1801: IF lx_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1802:

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

1832: if c_config_exist_in_cz%found then
1833:
1834: close c_config_exist_in_cz;
1835:
1836: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1837: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');
1838: END IF;
1839:
1840: ASO_CFG_INT.DELETE_CONFIGURATION_AUTO( P_API_VERSION_NUMBER => 1.0,

Line 1837: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');

1833:
1834: close c_config_exist_in_cz;
1835:
1836: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1837: aso_debug_pub.add('Get_config_details: A previous version exist for this configuration so deleting it from CZ');
1838: END IF;
1839:
1840: ASO_CFG_INT.DELETE_CONFIGURATION_AUTO( P_API_VERSION_NUMBER => 1.0,
1841: P_INIT_MSG_LIST => FND_API.G_FALSE,

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

1844: X_RETURN_STATUS => lx_return_status,
1845: X_MSG_COUNT => x_msg_count,
1846: X_MSG_DATA => x_msg_data);
1847:
1848: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1849: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);
1850: END IF;
1851:
1852: IF lx_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 1849: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);

1845: X_MSG_COUNT => x_msg_count,
1846: X_MSG_DATA => x_msg_data);
1847:
1848: IF aso_debug_pub.g_debug_flag = 'Y' THEN
1849: aso_debug_pub.add('After call to ASO_CFG_INT.DELETE_CONFIGURATION: x_Return_Status: ' || lx_Return_Status);
1850: END IF;
1851:
1852: IF lx_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1853:

Line 2000: aso_debug_pub.g_debug_flag := 'Y';

1996:
1997:
1998: Begin
1999: /*
2000: aso_debug_pub.g_debug_flag := 'Y';
2001: aso_debug_pub.SetDebugLevel(10);
2002: aso_debug_pub.Initialize;
2003: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');
2004: aso_debug_pub.debug_on;

Line 2001: aso_debug_pub.SetDebugLevel(10);

1997:
1998: Begin
1999: /*
2000: aso_debug_pub.g_debug_flag := 'Y';
2001: aso_debug_pub.SetDebugLevel(10);
2002: aso_debug_pub.Initialize;
2003: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');
2004: aso_debug_pub.debug_on;
2005: */

Line 2002: aso_debug_pub.Initialize;

1998: Begin
1999: /*
2000: aso_debug_pub.g_debug_flag := 'Y';
2001: aso_debug_pub.SetDebugLevel(10);
2002: aso_debug_pub.Initialize;
2003: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');
2004: aso_debug_pub.debug_on;
2005: */
2006:

Line 2003: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');

1999: /*
2000: aso_debug_pub.g_debug_flag := 'Y';
2001: aso_debug_pub.SetDebugLevel(10);
2002: aso_debug_pub.Initialize;
2003: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');
2004: aso_debug_pub.debug_on;
2005: */
2006:
2007: IF aso_debug_pub.g_debug_flag = 'Y' THEN

Line 2004: aso_debug_pub.debug_on;

2000: aso_debug_pub.g_debug_flag := 'Y';
2001: aso_debug_pub.SetDebugLevel(10);
2002: aso_debug_pub.Initialize;
2003: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');
2004: aso_debug_pub.debug_on;
2005: */
2006:
2007: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2008:

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

2003: l_file := ASO_DEBUG_PUB.Set_Debug_Mode('FILE');
2004: aso_debug_pub.debug_on;
2005: */
2006:
2007: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2008:
2009: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Start %%%%%%%%%%%%%%%%%%%%' , 1, 'Y' );
2010: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: p_config_session_key: '|| p_config_session_key);
2011: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: p_price_type: '|| p_price_type);

Line 2009: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Start %%%%%%%%%%%%%%%%%%%%' , 1, 'Y' );

2005: */
2006:
2007: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2008:
2009: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Start %%%%%%%%%%%%%%%%%%%%' , 1, 'Y' );
2010: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: p_config_session_key: '|| p_config_session_key);
2011: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: p_price_type: '|| p_price_type);
2012:
2013: END IF;

Line 2010: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: p_config_session_key: '|| p_config_session_key);

2006:
2007: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2008:
2009: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Start %%%%%%%%%%%%%%%%%%%%' , 1, 'Y' );
2010: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: p_config_session_key: '|| p_config_session_key);
2011: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: p_price_type: '|| p_price_type);
2012:
2013: END IF;
2014:

Line 2011: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: p_price_type: '|| p_price_type);

2007: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2008:
2009: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Start %%%%%%%%%%%%%%%%%%%%' , 1, 'Y' );
2010: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: p_config_session_key: '|| p_config_session_key);
2011: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: p_price_type: '|| p_price_type);
2012:
2013: END IF;
2014:
2015: -- Store the derived model item quote_line_id from the p_config_session_key for subsequent use

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

2015: -- Store the derived model item quote_line_id from the p_config_session_key for subsequent use
2016:
2017: l_model_quote_line_id := to_number( substr(p_config_session_key, 1,instr( p_config_session_key, '-') - 1));
2018:
2019: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2020: aso_debug_pub.add('PRICING CALLBACK: l_model_quote_line_id: ' || l_model_quote_line_id);
2021: END IF;
2022:
2023: OPEN c_quote_hdr_id( l_model_quote_line_id );

Line 2020: aso_debug_pub.add('PRICING CALLBACK: l_model_quote_line_id: ' || l_model_quote_line_id);

2016:
2017: l_model_quote_line_id := to_number( substr(p_config_session_key, 1,instr( p_config_session_key, '-') - 1));
2018:
2019: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2020: aso_debug_pub.add('PRICING CALLBACK: l_model_quote_line_id: ' || l_model_quote_line_id);
2021: END IF;
2022:
2023: OPEN c_quote_hdr_id( l_model_quote_line_id );
2024: FETCH c_quote_hdr_id into l_quote_header_id, l_model_price_list_id, l_org_id;

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

2022:
2023: OPEN c_quote_hdr_id( l_model_quote_line_id );
2024: FETCH c_quote_hdr_id into l_quote_header_id, l_model_price_list_id, l_org_id;
2025:
2026: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2027: aso_debug_pub.add('PRICING CALLBACK: l_quote_header_id: ' || l_quote_header_id);
2028: aso_debug_pub.add('PRICING CALLBACK: l_model_price_list_id: ' || l_model_price_list_id);
2029: aso_debug_pub.add('PRICING CALLBACK: l_org_id: ' || l_org_id);
2030: END IF;

Line 2027: aso_debug_pub.add('PRICING CALLBACK: l_quote_header_id: ' || l_quote_header_id);

2023: OPEN c_quote_hdr_id( l_model_quote_line_id );
2024: FETCH c_quote_hdr_id into l_quote_header_id, l_model_price_list_id, l_org_id;
2025:
2026: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2027: aso_debug_pub.add('PRICING CALLBACK: l_quote_header_id: ' || l_quote_header_id);
2028: aso_debug_pub.add('PRICING CALLBACK: l_model_price_list_id: ' || l_model_price_list_id);
2029: aso_debug_pub.add('PRICING CALLBACK: l_org_id: ' || l_org_id);
2030: END IF;
2031:

Line 2028: aso_debug_pub.add('PRICING CALLBACK: l_model_price_list_id: ' || l_model_price_list_id);

2024: FETCH c_quote_hdr_id into l_quote_header_id, l_model_price_list_id, l_org_id;
2025:
2026: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2027: aso_debug_pub.add('PRICING CALLBACK: l_quote_header_id: ' || l_quote_header_id);
2028: aso_debug_pub.add('PRICING CALLBACK: l_model_price_list_id: ' || l_model_price_list_id);
2029: aso_debug_pub.add('PRICING CALLBACK: l_org_id: ' || l_org_id);
2030: END IF;
2031:
2032: IF c_quote_hdr_id%FOUND THEN

Line 2029: aso_debug_pub.add('PRICING CALLBACK: l_org_id: ' || l_org_id);

2025:
2026: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2027: aso_debug_pub.add('PRICING CALLBACK: l_quote_header_id: ' || l_quote_header_id);
2028: aso_debug_pub.add('PRICING CALLBACK: l_model_price_list_id: ' || l_model_price_list_id);
2029: aso_debug_pub.add('PRICING CALLBACK: l_org_id: ' || l_org_id);
2030: END IF;
2031:
2032: IF c_quote_hdr_id%FOUND THEN
2033:

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

2037: -- this configuration plus the model line itself
2038:
2039: l_qte_line_tbl := Query_Qte_Line_Rows( l_quote_header_id,l_model_quote_line_id );
2040:
2041: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2042: aso_debug_pub.add('PRICING CALLBACK: After call to Query_Qte_Line_Rows');
2043: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl.count: '|| l_qte_line_tbl.count);
2044: END IF;
2045:

Line 2042: aso_debug_pub.add('PRICING CALLBACK: After call to Query_Qte_Line_Rows');

2038:
2039: l_qte_line_tbl := Query_Qte_Line_Rows( l_quote_header_id,l_model_quote_line_id );
2040:
2041: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2042: aso_debug_pub.add('PRICING CALLBACK: After call to Query_Qte_Line_Rows');
2043: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl.count: '|| l_qte_line_tbl.count);
2044: END IF;
2045:
2046: l_master_organization_id := oe_sys_parameters.value(param_name => 'MASTER_ORGANIZATION_ID', p_org_id => l_org_id);

Line 2043: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl.count: '|| l_qte_line_tbl.count);

2039: l_qte_line_tbl := Query_Qte_Line_Rows( l_quote_header_id,l_model_quote_line_id );
2040:
2041: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2042: aso_debug_pub.add('PRICING CALLBACK: After call to Query_Qte_Line_Rows');
2043: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl.count: '|| l_qte_line_tbl.count);
2044: END IF;
2045:
2046: l_master_organization_id := oe_sys_parameters.value(param_name => 'MASTER_ORGANIZATION_ID', p_org_id => l_org_id);
2047:

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

2044: END IF;
2045:
2046: l_master_organization_id := oe_sys_parameters.value(param_name => 'MASTER_ORGANIZATION_ID', p_org_id => l_org_id);
2047:
2048: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2049: aso_debug_pub.add('PRICING CALLBACK: l_master_organization_id: ' || l_master_organization_id);
2050: END IF;
2051:
2052: ELSE

Line 2049: aso_debug_pub.add('PRICING CALLBACK: l_master_organization_id: ' || l_master_organization_id);

2045:
2046: l_master_organization_id := oe_sys_parameters.value(param_name => 'MASTER_ORGANIZATION_ID', p_org_id => l_org_id);
2047:
2048: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2049: aso_debug_pub.add('PRICING CALLBACK: l_master_organization_id: ' || l_master_organization_id);
2050: END IF;
2051:
2052: ELSE
2053:

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

2050: END IF;
2051:
2052: ELSE
2053:
2054: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2055: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: c_quote_hdr_id NOT FOUND.');
2056: END IF;
2057:
2058: END IF;

Line 2055: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: c_quote_hdr_id NOT FOUND.');

2051:
2052: ELSE
2053:
2054: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2055: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: c_quote_hdr_id NOT FOUND.');
2056: END IF;
2057:
2058: END IF;
2059:

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

2065: OPEN c_config_header_id( l_model_quote_line_id );
2066: FETCH c_config_header_id into l_config_header_id;
2067: CLOSE c_config_header_id;
2068:
2069: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2070: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: l_config_header_id: ' || l_config_header_id);
2071: END IF;
2072:
2073: IF p_price_type = cz_prc_callback_util.g_prc_type_list THEN

Line 2070: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: l_config_header_id: ' || l_config_header_id);

2066: FETCH c_config_header_id into l_config_header_id;
2067: CLOSE c_config_header_id;
2068:
2069: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2070: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: l_config_header_id: ' || l_config_header_id);
2071: END IF;
2072:
2073: IF p_price_type = cz_prc_callback_util.g_prc_type_list THEN
2074:

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

2073: IF p_price_type = cz_prc_callback_util.g_prc_type_list THEN
2074:
2075: FOR row IN C_options LOOP
2076:
2077: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2078:
2079: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);
2080: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2081: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);

Line 2079: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);

2075: FOR row IN C_options LOOP
2076:
2077: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2078:
2079: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);
2080: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2081: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);
2082: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);
2083: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);

Line 2080: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);

2076:
2077: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2078:
2079: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);
2080: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2081: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);
2082: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);
2083: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);
2084: aso_debug_pub.add( 'PRICING CALLBACK: config_item_id: ' || row.config_item_id);

Line 2081: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);

2077: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2078:
2079: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);
2080: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2081: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);
2082: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);
2083: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);
2084: aso_debug_pub.add( 'PRICING CALLBACK: config_item_id: ' || row.config_item_id);
2085:

Line 2082: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);

2078:
2079: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);
2080: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2081: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);
2082: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);
2083: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);
2084: aso_debug_pub.add( 'PRICING CALLBACK: config_item_id: ' || row.config_item_id);
2085:
2086: END IF;

Line 2083: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);

2079: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);
2080: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2081: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);
2082: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);
2083: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);
2084: aso_debug_pub.add( 'PRICING CALLBACK: config_item_id: ' || row.config_item_id);
2085:
2086: END IF;
2087:

Line 2084: aso_debug_pub.add( 'PRICING CALLBACK: config_item_id: ' || row.config_item_id);

2080: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2081: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);
2082: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);
2083: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);
2084: aso_debug_pub.add( 'PRICING CALLBACK: config_item_id: ' || row.config_item_id);
2085:
2086: END IF;
2087:
2088: record_count1 := record_count1 + 1;

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

2128: open c_charge_periodicity_code(row.item_id, l_master_organization_id);
2129: fetch c_charge_periodicity_code into l_qte_line_tbl(record_count1).charge_periodicity_code;
2130: close c_charge_periodicity_code;
2131:
2132: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2133: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('|| record_count1 ||').charge_periodicity_code: '|| l_qte_line_tbl(record_count1).charge_periodicity_code);
2134: End if;
2135:
2136: IF l_config_header_id IS NOT NULL THEN

Line 2133: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('|| record_count1 ||').charge_periodicity_code: '|| l_qte_line_tbl(record_count1).charge_periodicity_code);

2129: fetch c_charge_periodicity_code into l_qte_line_tbl(record_count1).charge_periodicity_code;
2130: close c_charge_periodicity_code;
2131:
2132: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2133: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('|| record_count1 ||').charge_periodicity_code: '|| l_qte_line_tbl(record_count1).charge_periodicity_code);
2134: End if;
2135:
2136: IF l_config_header_id IS NOT NULL THEN
2137:

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

2137:
2138: OPEN c_pricelist_id(row.config_item_id, l_config_header_id);
2139: FETCH c_pricelist_id into l_line_price_list_id, l_quote_line_id;
2140:
2141: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2142: aso_debug_pub.add('PRICING CALLBACK: l_line_price_list_id: ' || l_line_price_list_id);
2143: aso_debug_pub.add('PRICING CALLBACK: l_quote_line_id: ' || l_quote_line_id);
2144: END IF;
2145:

Line 2142: aso_debug_pub.add('PRICING CALLBACK: l_line_price_list_id: ' || l_line_price_list_id);

2138: OPEN c_pricelist_id(row.config_item_id, l_config_header_id);
2139: FETCH c_pricelist_id into l_line_price_list_id, l_quote_line_id;
2140:
2141: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2142: aso_debug_pub.add('PRICING CALLBACK: l_line_price_list_id: ' || l_line_price_list_id);
2143: aso_debug_pub.add('PRICING CALLBACK: l_quote_line_id: ' || l_quote_line_id);
2144: END IF;
2145:
2146: IF c_pricelist_id%FOUND THEN

Line 2143: aso_debug_pub.add('PRICING CALLBACK: l_quote_line_id: ' || l_quote_line_id);

2139: FETCH c_pricelist_id into l_line_price_list_id, l_quote_line_id;
2140:
2141: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2142: aso_debug_pub.add('PRICING CALLBACK: l_line_price_list_id: ' || l_line_price_list_id);
2143: aso_debug_pub.add('PRICING CALLBACK: l_quote_line_id: ' || l_quote_line_id);
2144: END IF;
2145:
2146: IF c_pricelist_id%FOUND THEN
2147:

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

2144: END IF;
2145:
2146: IF c_pricelist_id%FOUND THEN
2147:
2148: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2149: aso_debug_pub.add('PRICING CALLBACK: Inside c_pricelist_id cursor FOUND');
2150: END IF;
2151:
2152: IF l_line_price_list_id IS NOT NULL THEN

Line 2149: aso_debug_pub.add('PRICING CALLBACK: Inside c_pricelist_id cursor FOUND');

2145:
2146: IF c_pricelist_id%FOUND THEN
2147:
2148: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2149: aso_debug_pub.add('PRICING CALLBACK: Inside c_pricelist_id cursor FOUND');
2150: END IF;
2151:
2152: IF l_line_price_list_id IS NOT NULL THEN
2153: l_qte_line_tbl(record_count1).price_list_id := l_line_price_list_id;

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

2158: l_qte_line_tbl(record_count1).quote_line_id := l_quote_line_id;
2159:
2160: ELSE
2161:
2162: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2163: aso_debug_pub.add('PRICING CALLBACK: Inside ELSE c_pricelist_id cursor FOUND');
2164: END IF;
2165:
2166: l_qte_line_tbl(record_count1).quote_line_id := 0;

Line 2163: aso_debug_pub.add('PRICING CALLBACK: Inside ELSE c_pricelist_id cursor FOUND');

2159:
2160: ELSE
2161:
2162: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2163: aso_debug_pub.add('PRICING CALLBACK: Inside ELSE c_pricelist_id cursor FOUND');
2164: END IF;
2165:
2166: l_qte_line_tbl(record_count1).quote_line_id := 0;
2167: l_qte_line_tbl(record_count1).price_list_id := l_model_price_list_id;

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

2171: CLOSE c_pricelist_id;
2172:
2173: ELSE
2174:
2175: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2176: aso_debug_pub.add('PRICING CALLBACK: Inside ELSE l_config_header_id IS NOT NULL');
2177: END IF;
2178:
2179: l_qte_line_tbl(record_count1).quote_line_id := 0;

Line 2176: aso_debug_pub.add('PRICING CALLBACK: Inside ELSE l_config_header_id IS NOT NULL');

2172:
2173: ELSE
2174:
2175: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2176: aso_debug_pub.add('PRICING CALLBACK: Inside ELSE l_config_header_id IS NOT NULL');
2177: END IF;
2178:
2179: l_qte_line_tbl(record_count1).quote_line_id := 0;
2180: l_qte_line_tbl(record_count1).price_list_id := l_model_price_list_id;

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

2191:
2192: -- Get the config_item_id of the root model
2193: l_root_model_config_item_id := cz_prc_callback_util.root_bom_config_item_id(p_config_session_key);
2194:
2195: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2196: aso_debug_pub.add( 'ASO_CFG_INT: PRICING CALLBACK: l_root_model_config_item_id: ' || l_root_model_config_item_id);
2197: END IF;
2198:
2199: record_count1 := l_qte_line_tbl.count;

Line 2196: aso_debug_pub.add( 'ASO_CFG_INT: PRICING CALLBACK: l_root_model_config_item_id: ' || l_root_model_config_item_id);

2192: -- Get the config_item_id of the root model
2193: l_root_model_config_item_id := cz_prc_callback_util.root_bom_config_item_id(p_config_session_key);
2194:
2195: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2196: aso_debug_pub.add( 'ASO_CFG_INT: PRICING CALLBACK: l_root_model_config_item_id: ' || l_root_model_config_item_id);
2197: END IF;
2198:
2199: record_count1 := l_qte_line_tbl.count;
2200: l_count := l_qte_line_tbl.count;

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

2198:
2199: record_count1 := l_qte_line_tbl.count;
2200: l_count := l_qte_line_tbl.count;
2201:
2202: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2203: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: l_count: ' || l_count);
2204: END IF;
2205:
2206: FOR row IN C_options LOOP

Line 2203: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: l_count: ' || l_count);

2199: record_count1 := l_qte_line_tbl.count;
2200: l_count := l_qte_line_tbl.count;
2201:
2202: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2203: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: l_count: ' || l_count);
2204: END IF;
2205:
2206: FOR row IN C_options LOOP
2207:

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

2204: END IF;
2205:
2206: FOR row IN C_options LOOP
2207:
2208: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2209:
2210: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);
2211: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2212: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);

Line 2210: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);

2206: FOR row IN C_options LOOP
2207:
2208: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2209:
2210: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);
2211: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2212: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);
2213: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);
2214: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);

Line 2211: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);

2207:
2208: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2209:
2210: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);
2211: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2212: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);
2213: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);
2214: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);
2215: aso_debug_pub.add( 'PRICING CALLBACK: config_item_id: ' || row.config_item_id);

Line 2212: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);

2208: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2209:
2210: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);
2211: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2212: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);
2213: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);
2214: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);
2215: aso_debug_pub.add( 'PRICING CALLBACK: config_item_id: ' || row.config_item_id);
2216:

Line 2213: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);

2209:
2210: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);
2211: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2212: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);
2213: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);
2214: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);
2215: aso_debug_pub.add( 'PRICING CALLBACK: config_item_id: ' || row.config_item_id);
2216:
2217: END IF;

Line 2214: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);

2210: aso_debug_pub.add( 'PRICING CALLBACK: item_key: ' || row.item_key);
2211: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2212: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);
2213: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);
2214: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);
2215: aso_debug_pub.add( 'PRICING CALLBACK: config_item_id: ' || row.config_item_id);
2216:
2217: END IF;
2218:

Line 2215: aso_debug_pub.add( 'PRICING CALLBACK: config_item_id: ' || row.config_item_id);

2211: aso_debug_pub.add( 'PRICING CALLBACK: (inv) item_id: ' || row.item_id);
2212: aso_debug_pub.add( 'PRICING CALLBACK: quantity: ' || row.quantity);
2213: aso_debug_pub.add( 'PRICING CALLBACK: uom_code: ' || row.uom_code);
2214: aso_debug_pub.add( 'PRICING CALLBACK: component_code: ' || row.component_code);
2215: aso_debug_pub.add( 'PRICING CALLBACK: config_item_id: ' || row.config_item_id);
2216:
2217: END IF;
2218:
2219:

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

2253:
2254:
2255: IF row.config_item_id <> l_root_model_config_item_id THEN
2256:
2257: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2258: aso_debug_pub.add('PRICING CALLBACK: It is a child line');
2259: END IF;
2260:
2261: record_count1 := record_count1 + 1;

Line 2258: aso_debug_pub.add('PRICING CALLBACK: It is a child line');

2254:
2255: IF row.config_item_id <> l_root_model_config_item_id THEN
2256:
2257: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2258: aso_debug_pub.add('PRICING CALLBACK: It is a child line');
2259: END IF;
2260:
2261: record_count1 := record_count1 + 1;
2262:

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

2269:
2270: OPEN c_pricelist_id(row.config_item_id, l_config_header_id);
2271: FETCH c_pricelist_id into l_line_price_list_id, l_quote_line_id;
2272:
2273: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2274: aso_debug_pub.add('PRICING CALLBACK: l_line_price_list_id: ' || l_line_price_list_id);
2275: aso_debug_pub.add('PRICING CALLBACK: l_quote_line_id: ' || l_quote_line_id);
2276: END IF;
2277:

Line 2274: aso_debug_pub.add('PRICING CALLBACK: l_line_price_list_id: ' || l_line_price_list_id);

2270: OPEN c_pricelist_id(row.config_item_id, l_config_header_id);
2271: FETCH c_pricelist_id into l_line_price_list_id, l_quote_line_id;
2272:
2273: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2274: aso_debug_pub.add('PRICING CALLBACK: l_line_price_list_id: ' || l_line_price_list_id);
2275: aso_debug_pub.add('PRICING CALLBACK: l_quote_line_id: ' || l_quote_line_id);
2276: END IF;
2277:
2278: IF c_pricelist_id%FOUND THEN

Line 2275: aso_debug_pub.add('PRICING CALLBACK: l_quote_line_id: ' || l_quote_line_id);

2271: FETCH c_pricelist_id into l_line_price_list_id, l_quote_line_id;
2272:
2273: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2274: aso_debug_pub.add('PRICING CALLBACK: l_line_price_list_id: ' || l_line_price_list_id);
2275: aso_debug_pub.add('PRICING CALLBACK: l_quote_line_id: ' || l_quote_line_id);
2276: END IF;
2277:
2278: IF c_pricelist_id%FOUND THEN
2279:

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

2276: END IF;
2277:
2278: IF c_pricelist_id%FOUND THEN
2279:
2280: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2281: aso_debug_pub.add('PRICING CALLBACK: Inside c_pricelist_id cursor FOUND');
2282: END IF;
2283:
2284: IF l_line_price_list_id IS NOT NULL THEN

Line 2281: aso_debug_pub.add('PRICING CALLBACK: Inside c_pricelist_id cursor FOUND');

2277:
2278: IF c_pricelist_id%FOUND THEN
2279:
2280: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2281: aso_debug_pub.add('PRICING CALLBACK: Inside c_pricelist_id cursor FOUND');
2282: END IF;
2283:
2284: IF l_line_price_list_id IS NOT NULL THEN
2285: l_qte_line_tbl(record_count1).price_list_id := l_line_price_list_id;

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

2289: l_qte_line_tbl(record_count1).quote_line_id := l_quote_line_id;
2290:
2291: ELSE
2292:
2293: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2294: aso_debug_pub.add('PRICING CALLBACK: Inside ELSE c_pricelist_id cursor FOUND');
2295: END IF;
2296:
2297: l_qte_line_tbl(record_count1).quote_line_id := 0;

Line 2294: aso_debug_pub.add('PRICING CALLBACK: Inside ELSE c_pricelist_id cursor FOUND');

2290:
2291: ELSE
2292:
2293: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2294: aso_debug_pub.add('PRICING CALLBACK: Inside ELSE c_pricelist_id cursor FOUND');
2295: END IF;
2296:
2297: l_qte_line_tbl(record_count1).quote_line_id := 0;
2298: l_qte_line_tbl(record_count1).price_list_id := l_model_price_list_id;

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

2302: CLOSE c_pricelist_id;
2303:
2304: ELSE
2305:
2306: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2307: aso_debug_pub.add('PRICING CALLBACK: Inside ELSE l_config_header_id IS NOT NULL');
2308: END IF;
2309:
2310: l_qte_line_tbl(record_count1).quote_line_id := 0;

Line 2307: aso_debug_pub.add('PRICING CALLBACK: Inside ELSE l_config_header_id IS NOT NULL');

2303:
2304: ELSE
2305:
2306: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2307: aso_debug_pub.add('PRICING CALLBACK: Inside ELSE l_config_header_id IS NOT NULL');
2308: END IF;
2309:
2310: l_qte_line_tbl(record_count1).quote_line_id := 0;
2311: l_qte_line_tbl(record_count1).price_list_id := l_model_price_list_id;

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

2311: l_qte_line_tbl(record_count1).price_list_id := l_model_price_list_id;
2312:
2313: END IF;
2314:
2315: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2316: aso_debug_pub.add('PRICING CALLBACK: It is a child line: After populating the child line information');
2317: END IF;
2318:
2319: ELSE

Line 2316: aso_debug_pub.add('PRICING CALLBACK: It is a child line: After populating the child line information');

2312:
2313: END IF;
2314:
2315: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2316: aso_debug_pub.add('PRICING CALLBACK: It is a child line: After populating the child line information');
2317: END IF;
2318:
2319: ELSE
2320:

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

2318:
2319: ELSE
2320:
2321: record_count1 := record_count1 + 1;
2322: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2323: aso_debug_pub.add('PRICING CALLBACK: ELSE cond of row.config_item_id <> l_root_model_config_item_id: It is model line');
2324: END IF;
2325:
2326: l_qte_line_tbl(record_count1).inventory_item_id := row.item_id;

Line 2323: aso_debug_pub.add('PRICING CALLBACK: ELSE cond of row.config_item_id <> l_root_model_config_item_id: It is model line');

2319: ELSE
2320:
2321: record_count1 := record_count1 + 1;
2322: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2323: aso_debug_pub.add('PRICING CALLBACK: ELSE cond of row.config_item_id <> l_root_model_config_item_id: It is model line');
2324: END IF;
2325:
2326: l_qte_line_tbl(record_count1).inventory_item_id := row.item_id;
2327: l_qte_line_tbl(record_count1).quantity := x_output_quantity;--row.quantity;

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

2329: l_qte_line_tbl(record_count1).price_list_id := l_model_price_list_id;
2330: l_qte_line_tbl(record_count1).quote_line_id := l_model_quote_line_id;
2331: l_qte_line_dtl_tbl(record_count1).config_item_id := row.config_item_id;
2332:
2333: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2334: aso_debug_pub.add('PRICING CALLBACK: It is model line: After populating the model information');
2335: END IF;
2336:
2337: END IF;

Line 2334: aso_debug_pub.add('PRICING CALLBACK: It is model line: After populating the model information');

2330: l_qte_line_tbl(record_count1).quote_line_id := l_model_quote_line_id;
2331: l_qte_line_dtl_tbl(record_count1).config_item_id := row.config_item_id;
2332:
2333: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2334: aso_debug_pub.add('PRICING CALLBACK: It is model line: After populating the model information');
2335: END IF;
2336:
2337: END IF;
2338:

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

2339: open c_charge_periodicity_code(row.item_id, l_master_organization_id);
2340: fetch c_charge_periodicity_code into l_qte_line_tbl(record_count1).charge_periodicity_code;
2341: close c_charge_periodicity_code;
2342:
2343: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2344: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('|| record_count1 ||').charge_periodicity_code: '|| l_qte_line_tbl(record_count1).charge_periodicity_code);
2345: End if;
2346:
2347: END LOOP;

Line 2344: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('|| record_count1 ||').charge_periodicity_code: '|| l_qte_line_tbl(record_count1).charge_periodicity_code);

2340: fetch c_charge_periodicity_code into l_qte_line_tbl(record_count1).charge_periodicity_code;
2341: close c_charge_periodicity_code;
2342:
2343: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2344: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('|| record_count1 ||').charge_periodicity_code: '|| l_qte_line_tbl(record_count1).charge_periodicity_code);
2345: End if;
2346:
2347: END LOOP;
2348:

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

2351: l_pricing_control_rec.price_mode := 'ENTIRE_QUOTE';
2352:
2353: END IF;
2354:
2355: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2356:
2357: aso_debug_pub.add('PRICING CALLBACK: After C_options cursor loop: l_qte_line_tbl.count: '||l_qte_line_tbl.count);
2358:
2359: FOR i IN 1..l_qte_line_tbl.count LOOP

Line 2357: aso_debug_pub.add('PRICING CALLBACK: After C_options cursor loop: l_qte_line_tbl.count: '||l_qte_line_tbl.count);

2353: END IF;
2354:
2355: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2356:
2357: aso_debug_pub.add('PRICING CALLBACK: After C_options cursor loop: l_qte_line_tbl.count: '||l_qte_line_tbl.count);
2358:
2359: FOR i IN 1..l_qte_line_tbl.count LOOP
2360:
2361: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quote_line_id: '|| l_qte_line_tbl(i).quote_line_id);

Line 2361: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quote_line_id: '|| l_qte_line_tbl(i).quote_line_id);

2357: aso_debug_pub.add('PRICING CALLBACK: After C_options cursor loop: l_qte_line_tbl.count: '||l_qte_line_tbl.count);
2358:
2359: FOR i IN 1..l_qte_line_tbl.count LOOP
2360:
2361: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quote_line_id: '|| l_qte_line_tbl(i).quote_line_id);
2362: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').inventory_item_id: '|| l_qte_line_tbl(i).inventory_item_id);
2363: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quantity: '|| l_qte_line_tbl(i).quantity);
2364: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').uom_code: '|| l_qte_line_tbl(i).uom_code);
2365: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').price_list_id: '|| l_qte_line_tbl(i).price_list_id);

Line 2362: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').inventory_item_id: '|| l_qte_line_tbl(i).inventory_item_id);

2358:
2359: FOR i IN 1..l_qte_line_tbl.count LOOP
2360:
2361: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quote_line_id: '|| l_qte_line_tbl(i).quote_line_id);
2362: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').inventory_item_id: '|| l_qte_line_tbl(i).inventory_item_id);
2363: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quantity: '|| l_qte_line_tbl(i).quantity);
2364: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').uom_code: '|| l_qte_line_tbl(i).uom_code);
2365: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').price_list_id: '|| l_qte_line_tbl(i).price_list_id);
2366: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').charge_periodicity_code: '|| l_qte_line_tbl(i).charge_periodicity_code);

Line 2363: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quantity: '|| l_qte_line_tbl(i).quantity);

2359: FOR i IN 1..l_qte_line_tbl.count LOOP
2360:
2361: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quote_line_id: '|| l_qte_line_tbl(i).quote_line_id);
2362: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').inventory_item_id: '|| l_qte_line_tbl(i).inventory_item_id);
2363: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quantity: '|| l_qte_line_tbl(i).quantity);
2364: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').uom_code: '|| l_qte_line_tbl(i).uom_code);
2365: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').price_list_id: '|| l_qte_line_tbl(i).price_list_id);
2366: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').charge_periodicity_code: '|| l_qte_line_tbl(i).charge_periodicity_code);
2367: --aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('||i||').config_item_id:'|| l_qte_line_dtl_tbl(i).config_item_id);

Line 2364: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').uom_code: '|| l_qte_line_tbl(i).uom_code);

2360:
2361: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quote_line_id: '|| l_qte_line_tbl(i).quote_line_id);
2362: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').inventory_item_id: '|| l_qte_line_tbl(i).inventory_item_id);
2363: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quantity: '|| l_qte_line_tbl(i).quantity);
2364: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').uom_code: '|| l_qte_line_tbl(i).uom_code);
2365: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').price_list_id: '|| l_qte_line_tbl(i).price_list_id);
2366: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').charge_periodicity_code: '|| l_qte_line_tbl(i).charge_periodicity_code);
2367: --aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('||i||').config_item_id:'|| l_qte_line_dtl_tbl(i).config_item_id);
2368:

Line 2365: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').price_list_id: '|| l_qte_line_tbl(i).price_list_id);

2361: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quote_line_id: '|| l_qte_line_tbl(i).quote_line_id);
2362: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').inventory_item_id: '|| l_qte_line_tbl(i).inventory_item_id);
2363: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quantity: '|| l_qte_line_tbl(i).quantity);
2364: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').uom_code: '|| l_qte_line_tbl(i).uom_code);
2365: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').price_list_id: '|| l_qte_line_tbl(i).price_list_id);
2366: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').charge_periodicity_code: '|| l_qte_line_tbl(i).charge_periodicity_code);
2367: --aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('||i||').config_item_id:'|| l_qte_line_dtl_tbl(i).config_item_id);
2368:
2369: END LOOP;

Line 2366: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').charge_periodicity_code: '|| l_qte_line_tbl(i).charge_periodicity_code);

2362: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').inventory_item_id: '|| l_qte_line_tbl(i).inventory_item_id);
2363: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quantity: '|| l_qte_line_tbl(i).quantity);
2364: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').uom_code: '|| l_qte_line_tbl(i).uom_code);
2365: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').price_list_id: '|| l_qte_line_tbl(i).price_list_id);
2366: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').charge_periodicity_code: '|| l_qte_line_tbl(i).charge_periodicity_code);
2367: --aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('||i||').config_item_id:'|| l_qte_line_dtl_tbl(i).config_item_id);
2368:
2369: END LOOP;
2370:

Line 2367: --aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('||i||').config_item_id:'|| l_qte_line_dtl_tbl(i).config_item_id);

2363: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').quantity: '|| l_qte_line_tbl(i).quantity);
2364: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').uom_code: '|| l_qte_line_tbl(i).uom_code);
2365: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').price_list_id: '|| l_qte_line_tbl(i).price_list_id);
2366: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_tbl('||i||').charge_periodicity_code: '|| l_qte_line_tbl(i).charge_periodicity_code);
2367: --aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('||i||').config_item_id:'|| l_qte_line_dtl_tbl(i).config_item_id);
2368:
2369: END LOOP;
2370:
2371: END IF;

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

2369: END LOOP;
2370:
2371: END IF;
2372:
2373: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2374:
2375: aso_debug_pub.add('PRICING CALLBACK: After C_options cursor loop: l_qte_line_dtl_tbl.count: '||l_qte_line_dtl_tbl.count);
2376:
2377: FOR i IN 1..l_qte_line_dtl_tbl.count LOOP

Line 2375: aso_debug_pub.add('PRICING CALLBACK: After C_options cursor loop: l_qte_line_dtl_tbl.count: '||l_qte_line_dtl_tbl.count);

2371: END IF;
2372:
2373: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2374:
2375: aso_debug_pub.add('PRICING CALLBACK: After C_options cursor loop: l_qte_line_dtl_tbl.count: '||l_qte_line_dtl_tbl.count);
2376:
2377: FOR i IN 1..l_qte_line_dtl_tbl.count LOOP
2378:
2379: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('||i||').config_item_id:'|| l_qte_line_dtl_tbl(i).config_item_id);

Line 2379: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('||i||').config_item_id:'|| l_qte_line_dtl_tbl(i).config_item_id);

2375: aso_debug_pub.add('PRICING CALLBACK: After C_options cursor loop: l_qte_line_dtl_tbl.count: '||l_qte_line_dtl_tbl.count);
2376:
2377: FOR i IN 1..l_qte_line_dtl_tbl.count LOOP
2378:
2379: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('||i||').config_item_id:'|| l_qte_line_dtl_tbl(i).config_item_id);
2380:
2381: END LOOP;
2382:
2383: END IF;

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

2385: --Set the control record parameter values
2386:
2387: l_pricing_control_rec.price_config_flag := 'Y';
2388:
2389: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2390:
2391: aso_debug_pub.add('l_pricing_control_rec.request_type: '||l_pricing_control_rec.request_type);
2392: aso_debug_pub.add('l_pricing_control_rec.pricing_event: '||l_pricing_control_rec.pricing_event);
2393: aso_debug_pub.add('l_pricing_control_rec.price_mode: '||l_pricing_control_rec.price_mode);

Line 2391: aso_debug_pub.add('l_pricing_control_rec.request_type: '||l_pricing_control_rec.request_type);

2387: l_pricing_control_rec.price_config_flag := 'Y';
2388:
2389: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2390:
2391: aso_debug_pub.add('l_pricing_control_rec.request_type: '||l_pricing_control_rec.request_type);
2392: aso_debug_pub.add('l_pricing_control_rec.pricing_event: '||l_pricing_control_rec.pricing_event);
2393: aso_debug_pub.add('l_pricing_control_rec.price_mode: '||l_pricing_control_rec.price_mode);
2394: aso_debug_pub.add('l_pricing_control_rec.price_config_flag: '||l_pricing_control_rec.price_config_flag);
2395:

Line 2392: aso_debug_pub.add('l_pricing_control_rec.pricing_event: '||l_pricing_control_rec.pricing_event);

2388:
2389: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2390:
2391: aso_debug_pub.add('l_pricing_control_rec.request_type: '||l_pricing_control_rec.request_type);
2392: aso_debug_pub.add('l_pricing_control_rec.pricing_event: '||l_pricing_control_rec.pricing_event);
2393: aso_debug_pub.add('l_pricing_control_rec.price_mode: '||l_pricing_control_rec.price_mode);
2394: aso_debug_pub.add('l_pricing_control_rec.price_config_flag: '||l_pricing_control_rec.price_config_flag);
2395:
2396: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Before call to ASO_PRICING_INT.Pricing_Order');

Line 2393: aso_debug_pub.add('l_pricing_control_rec.price_mode: '||l_pricing_control_rec.price_mode);

2389: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2390:
2391: aso_debug_pub.add('l_pricing_control_rec.request_type: '||l_pricing_control_rec.request_type);
2392: aso_debug_pub.add('l_pricing_control_rec.pricing_event: '||l_pricing_control_rec.pricing_event);
2393: aso_debug_pub.add('l_pricing_control_rec.price_mode: '||l_pricing_control_rec.price_mode);
2394: aso_debug_pub.add('l_pricing_control_rec.price_config_flag: '||l_pricing_control_rec.price_config_flag);
2395:
2396: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Before call to ASO_PRICING_INT.Pricing_Order');
2397:

Line 2394: aso_debug_pub.add('l_pricing_control_rec.price_config_flag: '||l_pricing_control_rec.price_config_flag);

2390:
2391: aso_debug_pub.add('l_pricing_control_rec.request_type: '||l_pricing_control_rec.request_type);
2392: aso_debug_pub.add('l_pricing_control_rec.pricing_event: '||l_pricing_control_rec.pricing_event);
2393: aso_debug_pub.add('l_pricing_control_rec.price_mode: '||l_pricing_control_rec.price_mode);
2394: aso_debug_pub.add('l_pricing_control_rec.price_config_flag: '||l_pricing_control_rec.price_config_flag);
2395:
2396: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Before call to ASO_PRICING_INT.Pricing_Order');
2397:
2398: END IF;

Line 2396: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Before call to ASO_PRICING_INT.Pricing_Order');

2392: aso_debug_pub.add('l_pricing_control_rec.pricing_event: '||l_pricing_control_rec.pricing_event);
2393: aso_debug_pub.add('l_pricing_control_rec.price_mode: '||l_pricing_control_rec.price_mode);
2394: aso_debug_pub.add('l_pricing_control_rec.price_config_flag: '||l_pricing_control_rec.price_config_flag);
2395:
2396: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Before call to ASO_PRICING_INT.Pricing_Order');
2397:
2398: END IF;
2399:
2400: ASO_PRICING_INT.Pricing_Order(

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

2421: x_msg_count => lx_msg_count,
2422: x_msg_data => lx_msg_data
2423: );
2424:
2425: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2426:
2427: aso_debug_pub.add('PRICING CALLBACK: After call to ASO_PRICING_INT.Pricing_Order');
2428: aso_debug_pub.add('PRICING CALLBACK: lx_return_status: '|| lx_return_status);
2429: aso_debug_pub.add('PRICING CALLBACK: lx_msg_count: '|| lx_msg_count);

Line 2427: aso_debug_pub.add('PRICING CALLBACK: After call to ASO_PRICING_INT.Pricing_Order');

2423: );
2424:
2425: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2426:
2427: aso_debug_pub.add('PRICING CALLBACK: After call to ASO_PRICING_INT.Pricing_Order');
2428: aso_debug_pub.add('PRICING CALLBACK: lx_return_status: '|| lx_return_status);
2429: aso_debug_pub.add('PRICING CALLBACK: lx_msg_count: '|| lx_msg_count);
2430: aso_debug_pub.add('PRICING CALLBACK: lx_msg_data: '|| lx_msg_data);
2431: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl.count: '|| lx_qte_line_tbl.count);

Line 2428: aso_debug_pub.add('PRICING CALLBACK: lx_return_status: '|| lx_return_status);

2424:
2425: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2426:
2427: aso_debug_pub.add('PRICING CALLBACK: After call to ASO_PRICING_INT.Pricing_Order');
2428: aso_debug_pub.add('PRICING CALLBACK: lx_return_status: '|| lx_return_status);
2429: aso_debug_pub.add('PRICING CALLBACK: lx_msg_count: '|| lx_msg_count);
2430: aso_debug_pub.add('PRICING CALLBACK: lx_msg_data: '|| lx_msg_data);
2431: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl.count: '|| lx_qte_line_tbl.count);
2432:

Line 2429: aso_debug_pub.add('PRICING CALLBACK: lx_msg_count: '|| lx_msg_count);

2425: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2426:
2427: aso_debug_pub.add('PRICING CALLBACK: After call to ASO_PRICING_INT.Pricing_Order');
2428: aso_debug_pub.add('PRICING CALLBACK: lx_return_status: '|| lx_return_status);
2429: aso_debug_pub.add('PRICING CALLBACK: lx_msg_count: '|| lx_msg_count);
2430: aso_debug_pub.add('PRICING CALLBACK: lx_msg_data: '|| lx_msg_data);
2431: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl.count: '|| lx_qte_line_tbl.count);
2432:
2433: END IF;

Line 2430: aso_debug_pub.add('PRICING CALLBACK: lx_msg_data: '|| lx_msg_data);

2426:
2427: aso_debug_pub.add('PRICING CALLBACK: After call to ASO_PRICING_INT.Pricing_Order');
2428: aso_debug_pub.add('PRICING CALLBACK: lx_return_status: '|| lx_return_status);
2429: aso_debug_pub.add('PRICING CALLBACK: lx_msg_count: '|| lx_msg_count);
2430: aso_debug_pub.add('PRICING CALLBACK: lx_msg_data: '|| lx_msg_data);
2431: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl.count: '|| lx_qte_line_tbl.count);
2432:
2433: END IF;
2434:

Line 2431: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl.count: '|| lx_qte_line_tbl.count);

2427: aso_debug_pub.add('PRICING CALLBACK: After call to ASO_PRICING_INT.Pricing_Order');
2428: aso_debug_pub.add('PRICING CALLBACK: lx_return_status: '|| lx_return_status);
2429: aso_debug_pub.add('PRICING CALLBACK: lx_msg_count: '|| lx_msg_count);
2430: aso_debug_pub.add('PRICING CALLBACK: lx_msg_data: '|| lx_msg_data);
2431: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl.count: '|| lx_qte_line_tbl.count);
2432:
2433: END IF;
2434:
2435: IF lx_return_status <> FND_API.G_RET_STS_SUCCESS THEN

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

2437: fnd_msg_pub.count_and_get( p_encoded => 'F',
2438: p_count => lx_msg_count,
2439: p_data => lx_msg_data);
2440:
2441: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2442:
2443: aso_debug_pub.add('PRICING CALLBACK: After call to fnd_msg_pub.count_and_get');
2444: aso_debug_pub.add('PRICING CALLBACK: lx_msg_count: '|| lx_msg_count);
2445: aso_debug_pub.add('PRICING CALLBACK: lx_msg_data: '|| lx_msg_data);

Line 2443: aso_debug_pub.add('PRICING CALLBACK: After call to fnd_msg_pub.count_and_get');

2439: p_data => lx_msg_data);
2440:
2441: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2442:
2443: aso_debug_pub.add('PRICING CALLBACK: After call to fnd_msg_pub.count_and_get');
2444: aso_debug_pub.add('PRICING CALLBACK: lx_msg_count: '|| lx_msg_count);
2445: aso_debug_pub.add('PRICING CALLBACK: lx_msg_data: '|| lx_msg_data);
2446:
2447: END IF;

Line 2444: aso_debug_pub.add('PRICING CALLBACK: lx_msg_count: '|| lx_msg_count);

2440:
2441: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2442:
2443: aso_debug_pub.add('PRICING CALLBACK: After call to fnd_msg_pub.count_and_get');
2444: aso_debug_pub.add('PRICING CALLBACK: lx_msg_count: '|| lx_msg_count);
2445: aso_debug_pub.add('PRICING CALLBACK: lx_msg_data: '|| lx_msg_data);
2446:
2447: END IF;
2448:

Line 2445: aso_debug_pub.add('PRICING CALLBACK: lx_msg_data: '|| lx_msg_data);

2441: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2442:
2443: aso_debug_pub.add('PRICING CALLBACK: After call to fnd_msg_pub.count_and_get');
2444: aso_debug_pub.add('PRICING CALLBACK: lx_msg_count: '|| lx_msg_count);
2445: aso_debug_pub.add('PRICING CALLBACK: lx_msg_data: '|| lx_msg_data);
2446:
2447: END IF;
2448:
2449: FOR k IN 1 .. lx_msg_count LOOP

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

2450:
2451: lx_msg_data := fnd_msg_pub.get( p_msg_index => k,
2452: p_encoded => 'F');
2453:
2454: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2455: aso_debug_pub.add('PRICING CALLBACK: Inside Loop fnd_msg_pub.get: lx_msg_data: ' ||lx_msg_data);
2456: END IF;
2457:
2458: l_mymsg := l_mymsg || ' ' || lx_msg_data;

Line 2455: aso_debug_pub.add('PRICING CALLBACK: Inside Loop fnd_msg_pub.get: lx_msg_data: ' ||lx_msg_data);

2451: lx_msg_data := fnd_msg_pub.get( p_msg_index => k,
2452: p_encoded => 'F');
2453:
2454: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2455: aso_debug_pub.add('PRICING CALLBACK: Inside Loop fnd_msg_pub.get: lx_msg_data: ' ||lx_msg_data);
2456: END IF;
2457:
2458: l_mymsg := l_mymsg || ' ' || lx_msg_data;
2459:

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

2460: END LOOP;
2461:
2462: END IF;
2463:
2464: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2465: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: l_mymsg: ' || l_mymsg);
2466: END IF;
2467:
2468: -- set the error message in the model line msg_data field of cz_pricing_structure

Line 2465: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: l_mymsg: ' || l_mymsg);

2461:
2462: END IF;
2463:
2464: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2465: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: l_mymsg: ' || l_mymsg);
2466: END IF;
2467:
2468: -- set the error message in the model line msg_data field of cz_pricing_structure
2469:

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

2468: -- set the error message in the model line msg_data field of cz_pricing_structure
2469:
2470: IF lx_return_status <> FND_API.G_RET_STS_SUCCESS AND p_price_type <> 'LIST' THEN
2471:
2472: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2473: aso_debug_pub.add('PRICING CALLBACK: Inside IF condition lx_return_status <> FND_API.G_RET_STS_SUCCESS');
2474: END IF;
2475:
2476: UPDATE CZ_PRICING_STRUCTURES

Line 2473: aso_debug_pub.add('PRICING CALLBACK: Inside IF condition lx_return_status <> FND_API.G_RET_STS_SUCCESS');

2469:
2470: IF lx_return_status <> FND_API.G_RET_STS_SUCCESS AND p_price_type <> 'LIST' THEN
2471:
2472: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2473: aso_debug_pub.add('PRICING CALLBACK: Inside IF condition lx_return_status <> FND_API.G_RET_STS_SUCCESS');
2474: END IF;
2475:
2476: UPDATE CZ_PRICING_STRUCTURES
2477: SET MSG_DATA = l_mymsg

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

2486:
2487: FOR i IN l_count+1..lx_qte_line_tbl.count LOOP
2488:
2489:
2490: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2491:
2492: aso_debug_pub.add('PRICING CALLBACK: Inside Loop IF quote_line_id = 0');
2493: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').quote_line_id: '|| lx_qte_line_tbl(i).quote_line_id);
2494: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_list_price: '|| lx_qte_line_tbl(i).line_list_price);

Line 2492: aso_debug_pub.add('PRICING CALLBACK: Inside Loop IF quote_line_id = 0');

2488:
2489:
2490: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2491:
2492: aso_debug_pub.add('PRICING CALLBACK: Inside Loop IF quote_line_id = 0');
2493: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').quote_line_id: '|| lx_qte_line_tbl(i).quote_line_id);
2494: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_list_price: '|| lx_qte_line_tbl(i).line_list_price);
2495: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_quote_price: '|| lx_qte_line_tbl(i).line_quote_price);
2496: aso_debug_pub.add('PRICING CALLBACK: l_count: '|| l_count);

Line 2493: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').quote_line_id: '|| lx_qte_line_tbl(i).quote_line_id);

2489:
2490: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2491:
2492: aso_debug_pub.add('PRICING CALLBACK: Inside Loop IF quote_line_id = 0');
2493: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').quote_line_id: '|| lx_qte_line_tbl(i).quote_line_id);
2494: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_list_price: '|| lx_qte_line_tbl(i).line_list_price);
2495: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_quote_price: '|| lx_qte_line_tbl(i).line_quote_price);
2496: aso_debug_pub.add('PRICING CALLBACK: l_count: '|| l_count);
2497: --aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('|| i - l_count||').config_item_id: '|| l_qte_line_dtl_tbl(i - l_count).config_item_id);

Line 2494: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_list_price: '|| lx_qte_line_tbl(i).line_list_price);

2490: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2491:
2492: aso_debug_pub.add('PRICING CALLBACK: Inside Loop IF quote_line_id = 0');
2493: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').quote_line_id: '|| lx_qte_line_tbl(i).quote_line_id);
2494: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_list_price: '|| lx_qte_line_tbl(i).line_list_price);
2495: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_quote_price: '|| lx_qte_line_tbl(i).line_quote_price);
2496: aso_debug_pub.add('PRICING CALLBACK: l_count: '|| l_count);
2497: --aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('|| i - l_count||').config_item_id: '|| l_qte_line_dtl_tbl(i - l_count).config_item_id);
2498: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('|| i||').config_item_id: '|| l_qte_line_dtl_tbl(i

Line 2495: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_quote_price: '|| lx_qte_line_tbl(i).line_quote_price);

2491:
2492: aso_debug_pub.add('PRICING CALLBACK: Inside Loop IF quote_line_id = 0');
2493: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').quote_line_id: '|| lx_qte_line_tbl(i).quote_line_id);
2494: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_list_price: '|| lx_qte_line_tbl(i).line_list_price);
2495: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_quote_price: '|| lx_qte_line_tbl(i).line_quote_price);
2496: aso_debug_pub.add('PRICING CALLBACK: l_count: '|| l_count);
2497: --aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('|| i - l_count||').config_item_id: '|| l_qte_line_dtl_tbl(i - l_count).config_item_id);
2498: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('|| i||').config_item_id: '|| l_qte_line_dtl_tbl(i
2499: - l_count).config_item_id);

Line 2496: aso_debug_pub.add('PRICING CALLBACK: l_count: '|| l_count);

2492: aso_debug_pub.add('PRICING CALLBACK: Inside Loop IF quote_line_id = 0');
2493: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').quote_line_id: '|| lx_qte_line_tbl(i).quote_line_id);
2494: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_list_price: '|| lx_qte_line_tbl(i).line_list_price);
2495: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_quote_price: '|| lx_qte_line_tbl(i).line_quote_price);
2496: aso_debug_pub.add('PRICING CALLBACK: l_count: '|| l_count);
2497: --aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('|| i - l_count||').config_item_id: '|| l_qte_line_dtl_tbl(i - l_count).config_item_id);
2498: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('|| i||').config_item_id: '|| l_qte_line_dtl_tbl(i
2499: - l_count).config_item_id);
2500:

Line 2497: --aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('|| i - l_count||').config_item_id: '|| l_qte_line_dtl_tbl(i - l_count).config_item_id);

2493: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').quote_line_id: '|| lx_qte_line_tbl(i).quote_line_id);
2494: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_list_price: '|| lx_qte_line_tbl(i).line_list_price);
2495: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_quote_price: '|| lx_qte_line_tbl(i).line_quote_price);
2496: aso_debug_pub.add('PRICING CALLBACK: l_count: '|| l_count);
2497: --aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('|| i - l_count||').config_item_id: '|| l_qte_line_dtl_tbl(i - l_count).config_item_id);
2498: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('|| i||').config_item_id: '|| l_qte_line_dtl_tbl(i
2499: - l_count).config_item_id);
2500:
2501: END IF;

Line 2498: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('|| i||').config_item_id: '|| l_qte_line_dtl_tbl(i

2494: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_list_price: '|| lx_qte_line_tbl(i).line_list_price);
2495: aso_debug_pub.add('PRICING CALLBACK: lx_qte_line_tbl('||i||').line_quote_price: '|| lx_qte_line_tbl(i).line_quote_price);
2496: aso_debug_pub.add('PRICING CALLBACK: l_count: '|| l_count);
2497: --aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('|| i - l_count||').config_item_id: '|| l_qte_line_dtl_tbl(i - l_count).config_item_id);
2498: aso_debug_pub.add('PRICING CALLBACK: l_qte_line_dtl_tbl('|| i||').config_item_id: '|| l_qte_line_dtl_tbl(i
2499: - l_count).config_item_id);
2500:
2501: END IF;
2502:

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

2505: list_price = lx_qte_line_tbl(i).line_list_price
2506: WHERE configurator_session_key = p_config_session_key
2507: AND config_item_id = l_qte_line_dtl_tbl(i - l_count).config_item_id;
2508:
2509: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2510: aso_debug_pub.add('PRICING CALLBACK: After Update sql%rowcount: '|| sql%rowcount);
2511: END IF;
2512:
2513: END LOOP;

Line 2510: aso_debug_pub.add('PRICING CALLBACK: After Update sql%rowcount: '|| sql%rowcount);

2506: WHERE configurator_session_key = p_config_session_key
2507: AND config_item_id = l_qte_line_dtl_tbl(i - l_count).config_item_id;
2508:
2509: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2510: aso_debug_pub.add('PRICING CALLBACK: After Update sql%rowcount: '|| sql%rowcount);
2511: END IF;
2512:
2513: END LOOP;
2514:

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

2521: EXCEPTION
2522:
2523: WHEN OTHERS THEN
2524:
2525: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2526: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Inside When Others Exception for select sum(selling_price)');
2527: END IF;
2528:
2529: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 2526: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Inside When Others Exception for select sum(selling_price)');

2522:
2523: WHEN OTHERS THEN
2524:
2525: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2526: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Inside When Others Exception for select sum(selling_price)');
2527: END IF;
2528:
2529: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2530:

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

2532:
2533:
2534: -- Writing Data from CZ table to ASO Debug File
2535:
2536: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2537:
2538: FOR row IN c_get_pricing_structure(p_config_session_key) LOOP
2539:
2540: aso_debug_pub.add('PRICING CALLBACK: Data in CZ_PRICING_STRUCTURES table after update to list and selling prices columns.');

Line 2540: aso_debug_pub.add('PRICING CALLBACK: Data in CZ_PRICING_STRUCTURES table after update to list and selling prices columns.');

2536: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2537:
2538: FOR row IN c_get_pricing_structure(p_config_session_key) LOOP
2539:
2540: aso_debug_pub.add('PRICING CALLBACK: Data in CZ_PRICING_STRUCTURES table after update to list and selling prices columns.');
2541: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: config_item_id: ' || row.config_item_id);
2542: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: list_price: ' || row.list_price);
2543: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: selling_price: ' || row.selling_price);
2544:

Line 2541: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: config_item_id: ' || row.config_item_id);

2537:
2538: FOR row IN c_get_pricing_structure(p_config_session_key) LOOP
2539:
2540: aso_debug_pub.add('PRICING CALLBACK: Data in CZ_PRICING_STRUCTURES table after update to list and selling prices columns.');
2541: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: config_item_id: ' || row.config_item_id);
2542: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: list_price: ' || row.list_price);
2543: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: selling_price: ' || row.selling_price);
2544:
2545: END LOOP;

Line 2542: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: list_price: ' || row.list_price);

2538: FOR row IN c_get_pricing_structure(p_config_session_key) LOOP
2539:
2540: aso_debug_pub.add('PRICING CALLBACK: Data in CZ_PRICING_STRUCTURES table after update to list and selling prices columns.');
2541: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: config_item_id: ' || row.config_item_id);
2542: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: list_price: ' || row.list_price);
2543: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: selling_price: ' || row.selling_price);
2544:
2545: END LOOP;
2546:

Line 2543: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: selling_price: ' || row.selling_price);

2539:
2540: aso_debug_pub.add('PRICING CALLBACK: Data in CZ_PRICING_STRUCTURES table after update to list and selling prices columns.');
2541: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: config_item_id: ' || row.config_item_id);
2542: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: list_price: ' || row.list_price);
2543: aso_debug_pub.add('PRICING CALLBACK: CZ_PRICING_STRUCTURES: selling_price: ' || row.selling_price);
2544:
2545: END LOOP;
2546:
2547: END IF;

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

2546:
2547: END IF;
2548:
2549:
2550: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2551: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK End %%%%%%%%%%%%%%%%%%%%', 1, 'Y' );
2552: END IF;
2553:
2554:

Line 2551: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK End %%%%%%%%%%%%%%%%%%%%', 1, 'Y' );

2547: END IF;
2548:
2549:
2550: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2551: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK End %%%%%%%%%%%%%%%%%%%%', 1, 'Y' );
2552: END IF;
2553:
2554:
2555: EXCEPTION

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

2555: EXCEPTION
2556:
2557: WHEN OTHERS THEN
2558:
2559: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2560: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Inside When Others Exception');
2561: END IF;
2562:
2563: -- set the error message in the model line msg_data field of cz_pricing_structure

Line 2560: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Inside When Others Exception');

2556:
2557: WHEN OTHERS THEN
2558:
2559: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2560: aso_debug_pub.add('ASO_CFG_INT: PRICING CALLBACK: Inside When Others Exception');
2561: END IF;
2562:
2563: -- set the error message in the model line msg_data field of cz_pricing_structure
2564: UPDATE CZ_PRICING_STRUCTURES

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

2603: l_index NUMBER := 0;
2604:
2605: BEGIN
2606:
2607: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2608: aso_debug_pub.add('ASO_CFG_INT: Query_Qte_Line_Rows: P_Qte_Header_Id: '|| P_Qte_Header_Id);
2609: aso_debug_pub.add('ASO_CFG_INT: Query_Qte_Line_Rows: p_qte_line_id : '|| p_qte_line_id );
2610: END IF;
2611:

Line 2608: aso_debug_pub.add('ASO_CFG_INT: Query_Qte_Line_Rows: P_Qte_Header_Id: '|| P_Qte_Header_Id);

2604:
2605: BEGIN
2606:
2607: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2608: aso_debug_pub.add('ASO_CFG_INT: Query_Qte_Line_Rows: P_Qte_Header_Id: '|| P_Qte_Header_Id);
2609: aso_debug_pub.add('ASO_CFG_INT: Query_Qte_Line_Rows: p_qte_line_id : '|| p_qte_line_id );
2610: END IF;
2611:
2612: FOR line_rec IN c_Qte_Line LOOP

Line 2609: aso_debug_pub.add('ASO_CFG_INT: Query_Qte_Line_Rows: p_qte_line_id : '|| p_qte_line_id );

2605: BEGIN
2606:
2607: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2608: aso_debug_pub.add('ASO_CFG_INT: Query_Qte_Line_Rows: P_Qte_Header_Id: '|| P_Qte_Header_Id);
2609: aso_debug_pub.add('ASO_CFG_INT: Query_Qte_Line_Rows: p_qte_line_id : '|| p_qte_line_id );
2610: END IF;
2611:
2612: FOR line_rec IN c_Qte_Line LOOP
2613:

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

2619: l_qte_line_rec.charge_periodicity_code := line_rec.charge_periodicity_code;
2620:
2621: l_index := l_index + 1;
2622:
2623: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2624:
2625: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUOTE_LINE_ID: '|| line_rec.QUOTE_LINE_ID);
2626: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUANTITY: '|| line_rec.QUANTITY);
2627: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.UOM_CODE: '|| line_rec.UOM_CODE);

Line 2625: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUOTE_LINE_ID: '|| line_rec.QUOTE_LINE_ID);

2621: l_index := l_index + 1;
2622:
2623: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2624:
2625: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUOTE_LINE_ID: '|| line_rec.QUOTE_LINE_ID);
2626: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUANTITY: '|| line_rec.QUANTITY);
2627: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.UOM_CODE: '|| line_rec.UOM_CODE);
2628: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.PRICE_LIST_ID: '|| line_rec.PRICE_LIST_ID);
2629: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.INVENTORY_ITEM_ID: '|| line_rec.INVENTORY_ITEM_ID);

Line 2626: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUANTITY: '|| line_rec.QUANTITY);

2622:
2623: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2624:
2625: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUOTE_LINE_ID: '|| line_rec.QUOTE_LINE_ID);
2626: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUANTITY: '|| line_rec.QUANTITY);
2627: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.UOM_CODE: '|| line_rec.UOM_CODE);
2628: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.PRICE_LIST_ID: '|| line_rec.PRICE_LIST_ID);
2629: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.INVENTORY_ITEM_ID: '|| line_rec.INVENTORY_ITEM_ID);
2630: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.charge_periodicity_code: '|| line_rec.charge_periodicity_code);

Line 2627: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.UOM_CODE: '|| line_rec.UOM_CODE);

2623: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2624:
2625: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUOTE_LINE_ID: '|| line_rec.QUOTE_LINE_ID);
2626: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUANTITY: '|| line_rec.QUANTITY);
2627: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.UOM_CODE: '|| line_rec.UOM_CODE);
2628: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.PRICE_LIST_ID: '|| line_rec.PRICE_LIST_ID);
2629: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.INVENTORY_ITEM_ID: '|| line_rec.INVENTORY_ITEM_ID);
2630: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.charge_periodicity_code: '|| line_rec.charge_periodicity_code);
2631:

Line 2628: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.PRICE_LIST_ID: '|| line_rec.PRICE_LIST_ID);

2624:
2625: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUOTE_LINE_ID: '|| line_rec.QUOTE_LINE_ID);
2626: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUANTITY: '|| line_rec.QUANTITY);
2627: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.UOM_CODE: '|| line_rec.UOM_CODE);
2628: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.PRICE_LIST_ID: '|| line_rec.PRICE_LIST_ID);
2629: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.INVENTORY_ITEM_ID: '|| line_rec.INVENTORY_ITEM_ID);
2630: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.charge_periodicity_code: '|| line_rec.charge_periodicity_code);
2631:
2632: END IF;

Line 2629: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.INVENTORY_ITEM_ID: '|| line_rec.INVENTORY_ITEM_ID);

2625: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUOTE_LINE_ID: '|| line_rec.QUOTE_LINE_ID);
2626: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUANTITY: '|| line_rec.QUANTITY);
2627: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.UOM_CODE: '|| line_rec.UOM_CODE);
2628: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.PRICE_LIST_ID: '|| line_rec.PRICE_LIST_ID);
2629: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.INVENTORY_ITEM_ID: '|| line_rec.INVENTORY_ITEM_ID);
2630: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.charge_periodicity_code: '|| line_rec.charge_periodicity_code);
2631:
2632: END IF;
2633:

Line 2630: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.charge_periodicity_code: '|| line_rec.charge_periodicity_code);

2626: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.QUANTITY: '|| line_rec.QUANTITY);
2627: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.UOM_CODE: '|| line_rec.UOM_CODE);
2628: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.PRICE_LIST_ID: '|| line_rec.PRICE_LIST_ID);
2629: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.INVENTORY_ITEM_ID: '|| line_rec.INVENTORY_ITEM_ID);
2630: aso_debug_pub.add('Query_Qte_Line_Rows: line_rec.charge_periodicity_code: '|| line_rec.charge_periodicity_code);
2631:
2632: END IF;
2633:
2634: l_Qte_Line_tbl(l_index) := l_Qte_Line_rec;

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

2634: l_Qte_Line_tbl(l_index) := l_Qte_Line_rec;
2635:
2636: END LOOP;
2637:
2638: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2639: aso_debug_pub.add('ASO_CFG_INT: Query_Qte_Line_Rows: l_Qte_Line_tbl.count: '|| l_Qte_Line_tbl.count);
2640: END IF;
2641:
2642: RETURN l_Qte_Line_tbl;

Line 2639: aso_debug_pub.add('ASO_CFG_INT: Query_Qte_Line_Rows: l_Qte_Line_tbl.count: '|| l_Qte_Line_tbl.count);

2635:
2636: END LOOP;
2637:
2638: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2639: aso_debug_pub.add('ASO_CFG_INT: Query_Qte_Line_Rows: l_Qte_Line_tbl.count: '|| l_Qte_Line_tbl.count);
2640: END IF;
2641:
2642: RETURN l_Qte_Line_tbl;
2643:

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

2708: x_config_effective_date DATE;
2709: x_config_lookup_date DATE;
2710:
2711: BEGIN
2712: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2713: aso_debug_pub.add('Create_hdr_xml Begins.', 1, 'Y');
2714: END IF;
2715:
2716: --Initialize API return status to SUCCESS

Line 2713: aso_debug_pub.add('Create_hdr_xml Begins.', 1, 'Y');

2709: x_config_lookup_date DATE;
2710:
2711: BEGIN
2712: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2713: aso_debug_pub.add('Create_hdr_xml Begins.', 1, 'Y');
2714: END IF;
2715:
2716: --Initialize API return status to SUCCESS
2717: x_return_status := FND_API.G_RET_STS_SUCCESS;

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

2717: x_return_status := FND_API.G_RET_STS_SUCCESS;
2718:
2719: l_model_line_rec := aso_utility_pvt.Query_Qte_Line_Row( P_Qte_Line_Id => p_model_line_id );
2720:
2721: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2722: aso_debug_pub.add('Create_hdr_xml: After call to aso_utility_pvt.Query_Qte_Line_Row');
2723: END IF;
2724:
2725: l_model_line_dtl_tbl := aso_utility_pvt.Query_Line_Dtl_Rows( P_Qte_Line_Id => p_model_line_id );

Line 2722: aso_debug_pub.add('Create_hdr_xml: After call to aso_utility_pvt.Query_Qte_Line_Row');

2718:
2719: l_model_line_rec := aso_utility_pvt.Query_Qte_Line_Row( P_Qte_Line_Id => p_model_line_id );
2720:
2721: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2722: aso_debug_pub.add('Create_hdr_xml: After call to aso_utility_pvt.Query_Qte_Line_Row');
2723: END IF;
2724:
2725: l_model_line_dtl_tbl := aso_utility_pvt.Query_Line_Dtl_Rows( P_Qte_Line_Id => p_model_line_id );
2726:

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

2723: END IF;
2724:
2725: l_model_line_dtl_tbl := aso_utility_pvt.Query_Line_Dtl_Rows( P_Qte_Line_Id => p_model_line_id );
2726:
2727: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2728: aso_debug_pub.add('Create_hdr_xml: After call to aso_utility_pvt.Query_Line_Dtl_Rows');
2729: END IF;
2730:
2731: /* Fix for bug 3998564 */

Line 2728: aso_debug_pub.add('Create_hdr_xml: After call to aso_utility_pvt.Query_Line_Dtl_Rows');

2724:
2725: l_model_line_dtl_tbl := aso_utility_pvt.Query_Line_Dtl_Rows( P_Qte_Line_Id => p_model_line_id );
2726:
2727: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2728: aso_debug_pub.add('Create_hdr_xml: After call to aso_utility_pvt.Query_Line_Dtl_Rows');
2729: END IF;
2730:
2731: /* Fix for bug 3998564 */
2732: --OPEN C_org_id( l_model_line_rec.quote_header_id);

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

2736: FETCH c_inv_org_id INTO l_org_id;
2737: CLOSE c_inv_org_id;
2738: /* End of fix for bug 3998564 */
2739:
2740: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2741: aso_debug_pub.add('Create_hdr_xml: After C_org_id cursor: l_org_id: '|| l_org_id, 1, 'N');
2742: END IF;
2743:
2744: IF l_org_id IS NULL THEN

Line 2741: aso_debug_pub.add('Create_hdr_xml: After C_org_id cursor: l_org_id: '|| l_org_id, 1, 'N');

2737: CLOSE c_inv_org_id;
2738: /* End of fix for bug 3998564 */
2739:
2740: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2741: aso_debug_pub.add('Create_hdr_xml: After C_org_id cursor: l_org_id: '|| l_org_id, 1, 'N');
2742: END IF;
2743:
2744: IF l_org_id IS NULL THEN
2745:

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

2755: L_org_id := l_model_line_rec.org_id; --New Code Yogeshwar MOAC
2756:
2757: END IF;
2758:
2759: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2760: aso_debug_pub.add('Create_hdr_xml: After Defaulting from client info. l_org_id: '|| l_org_id);
2761: END IF;
2762:
2763: --Set the values from model_line_rec, model_line_dtl_tbl and org_id

Line 2760: aso_debug_pub.add('Create_hdr_xml: After Defaulting from client info. l_org_id: '|| l_org_id);

2756:
2757: END IF;
2758:
2759: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2760: aso_debug_pub.add('Create_hdr_xml: After Defaulting from client info. l_org_id: '|| l_org_id);
2761: END IF;
2762:
2763: --Set the values from model_line_rec, model_line_dtl_tbl and org_id
2764: l_context_org_id := to_char(l_org_id);

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

2768: l_config_creation_date := to_char(l_model_line_rec.creation_date,'MM-DD-YYYY-HH24-MI-SS');
2769: l_model_quantity := to_char(l_model_line_rec.quantity);
2770: l_current_date:= to_char(sysdate,'MM-DD-YYYY-HH24-MI-SS');
2771:
2772: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2773:
2774: aso_debug_pub.add('Create_hdr_xml: l_context_org_id :' || l_context_org_id);
2775: aso_debug_pub.add('Create_hdr_xml: l_inventory_item_id :' || l_inventory_item_id);
2776: aso_debug_pub.add('Create_hdr_xml: l_config_header_id :' || l_config_header_id);

Line 2774: aso_debug_pub.add('Create_hdr_xml: l_context_org_id :' || l_context_org_id);

2770: l_current_date:= to_char(sysdate,'MM-DD-YYYY-HH24-MI-SS');
2771:
2772: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2773:
2774: aso_debug_pub.add('Create_hdr_xml: l_context_org_id :' || l_context_org_id);
2775: aso_debug_pub.add('Create_hdr_xml: l_inventory_item_id :' || l_inventory_item_id);
2776: aso_debug_pub.add('Create_hdr_xml: l_config_header_id :' || l_config_header_id);
2777: aso_debug_pub.add('Create_hdr_xml: l_config_rev_nbr :' || l_config_rev_nbr);
2778: aso_debug_pub.add('Create_hdr_xml: l_config_creation_date:' || l_config_creation_date);

Line 2775: aso_debug_pub.add('Create_hdr_xml: l_inventory_item_id :' || l_inventory_item_id);

2771:
2772: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2773:
2774: aso_debug_pub.add('Create_hdr_xml: l_context_org_id :' || l_context_org_id);
2775: aso_debug_pub.add('Create_hdr_xml: l_inventory_item_id :' || l_inventory_item_id);
2776: aso_debug_pub.add('Create_hdr_xml: l_config_header_id :' || l_config_header_id);
2777: aso_debug_pub.add('Create_hdr_xml: l_config_rev_nbr :' || l_config_rev_nbr);
2778: aso_debug_pub.add('Create_hdr_xml: l_config_creation_date:' || l_config_creation_date);
2779: aso_debug_pub.add('Create_hdr_xml: l_model_quantity :' || l_model_quantity);

Line 2776: aso_debug_pub.add('Create_hdr_xml: l_config_header_id :' || l_config_header_id);

2772: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2773:
2774: aso_debug_pub.add('Create_hdr_xml: l_context_org_id :' || l_context_org_id);
2775: aso_debug_pub.add('Create_hdr_xml: l_inventory_item_id :' || l_inventory_item_id);
2776: aso_debug_pub.add('Create_hdr_xml: l_config_header_id :' || l_config_header_id);
2777: aso_debug_pub.add('Create_hdr_xml: l_config_rev_nbr :' || l_config_rev_nbr);
2778: aso_debug_pub.add('Create_hdr_xml: l_config_creation_date:' || l_config_creation_date);
2779: aso_debug_pub.add('Create_hdr_xml: l_model_quantity :' || l_model_quantity);
2780: aso_debug_pub.add('Create_hdr_xml: l_current_date :' || l_current_date);

Line 2777: aso_debug_pub.add('Create_hdr_xml: l_config_rev_nbr :' || l_config_rev_nbr);

2773:
2774: aso_debug_pub.add('Create_hdr_xml: l_context_org_id :' || l_context_org_id);
2775: aso_debug_pub.add('Create_hdr_xml: l_inventory_item_id :' || l_inventory_item_id);
2776: aso_debug_pub.add('Create_hdr_xml: l_config_header_id :' || l_config_header_id);
2777: aso_debug_pub.add('Create_hdr_xml: l_config_rev_nbr :' || l_config_rev_nbr);
2778: aso_debug_pub.add('Create_hdr_xml: l_config_creation_date:' || l_config_creation_date);
2779: aso_debug_pub.add('Create_hdr_xml: l_model_quantity :' || l_model_quantity);
2780: aso_debug_pub.add('Create_hdr_xml: l_current_date :' || l_current_date);
2781:

Line 2778: aso_debug_pub.add('Create_hdr_xml: l_config_creation_date:' || l_config_creation_date);

2774: aso_debug_pub.add('Create_hdr_xml: l_context_org_id :' || l_context_org_id);
2775: aso_debug_pub.add('Create_hdr_xml: l_inventory_item_id :' || l_inventory_item_id);
2776: aso_debug_pub.add('Create_hdr_xml: l_config_header_id :' || l_config_header_id);
2777: aso_debug_pub.add('Create_hdr_xml: l_config_rev_nbr :' || l_config_rev_nbr);
2778: aso_debug_pub.add('Create_hdr_xml: l_config_creation_date:' || l_config_creation_date);
2779: aso_debug_pub.add('Create_hdr_xml: l_model_quantity :' || l_model_quantity);
2780: aso_debug_pub.add('Create_hdr_xml: l_current_date :' || l_current_date);
2781:
2782: END IF;

Line 2779: aso_debug_pub.add('Create_hdr_xml: l_model_quantity :' || l_model_quantity);

2775: aso_debug_pub.add('Create_hdr_xml: l_inventory_item_id :' || l_inventory_item_id);
2776: aso_debug_pub.add('Create_hdr_xml: l_config_header_id :' || l_config_header_id);
2777: aso_debug_pub.add('Create_hdr_xml: l_config_rev_nbr :' || l_config_rev_nbr);
2778: aso_debug_pub.add('Create_hdr_xml: l_config_creation_date:' || l_config_creation_date);
2779: aso_debug_pub.add('Create_hdr_xml: l_model_quantity :' || l_model_quantity);
2780: aso_debug_pub.add('Create_hdr_xml: l_current_date :' || l_current_date);
2781:
2782: END IF;
2783:

Line 2780: aso_debug_pub.add('Create_hdr_xml: l_current_date :' || l_current_date);

2776: aso_debug_pub.add('Create_hdr_xml: l_config_header_id :' || l_config_header_id);
2777: aso_debug_pub.add('Create_hdr_xml: l_config_rev_nbr :' || l_config_rev_nbr);
2778: aso_debug_pub.add('Create_hdr_xml: l_config_creation_date:' || l_config_creation_date);
2779: aso_debug_pub.add('Create_hdr_xml: l_model_quantity :' || l_model_quantity);
2780: aso_debug_pub.add('Create_hdr_xml: l_current_date :' || l_current_date);
2781:
2782: END IF;
2783:
2784: -- Set values from profiles and env. variables.

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

2786: l_responsibility_id := fnd_global.resp_id;
2787: l_database_id := fnd_web_config.database_id;
2788: l_icx_session_ticket := cz_cf_api.icx_session_ticket;
2789:
2790: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2791:
2792: aso_debug_pub.add('Create_hdr_xml: l_calling_application_id:' || l_calling_application_id);
2793: aso_debug_pub.add('Create_hdr_xml: l_responsibility_id :' || l_responsibility_id);
2794: aso_debug_pub.add('Create_hdr_xml: l_database_id :' || l_database_id);

Line 2792: aso_debug_pub.add('Create_hdr_xml: l_calling_application_id:' || l_calling_application_id);

2788: l_icx_session_ticket := cz_cf_api.icx_session_ticket;
2789:
2790: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2791:
2792: aso_debug_pub.add('Create_hdr_xml: l_calling_application_id:' || l_calling_application_id);
2793: aso_debug_pub.add('Create_hdr_xml: l_responsibility_id :' || l_responsibility_id);
2794: aso_debug_pub.add('Create_hdr_xml: l_database_id :' || l_database_id);
2795: aso_debug_pub.add('Create_hdr_xml: l_icx_session_ticket :' || l_icx_session_ticket);
2796: aso_debug_pub.add('Create_hdr_xml: profile value:'|| l_config_effective_date_prof);

Line 2793: aso_debug_pub.add('Create_hdr_xml: l_responsibility_id :' || l_responsibility_id);

2789:
2790: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2791:
2792: aso_debug_pub.add('Create_hdr_xml: l_calling_application_id:' || l_calling_application_id);
2793: aso_debug_pub.add('Create_hdr_xml: l_responsibility_id :' || l_responsibility_id);
2794: aso_debug_pub.add('Create_hdr_xml: l_database_id :' || l_database_id);
2795: aso_debug_pub.add('Create_hdr_xml: l_icx_session_ticket :' || l_icx_session_ticket);
2796: aso_debug_pub.add('Create_hdr_xml: profile value:'|| l_config_effective_date_prof);
2797:

Line 2794: aso_debug_pub.add('Create_hdr_xml: l_database_id :' || l_database_id);

2790: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2791:
2792: aso_debug_pub.add('Create_hdr_xml: l_calling_application_id:' || l_calling_application_id);
2793: aso_debug_pub.add('Create_hdr_xml: l_responsibility_id :' || l_responsibility_id);
2794: aso_debug_pub.add('Create_hdr_xml: l_database_id :' || l_database_id);
2795: aso_debug_pub.add('Create_hdr_xml: l_icx_session_ticket :' || l_icx_session_ticket);
2796: aso_debug_pub.add('Create_hdr_xml: profile value:'|| l_config_effective_date_prof);
2797:
2798: END IF;

Line 2795: aso_debug_pub.add('Create_hdr_xml: l_icx_session_ticket :' || l_icx_session_ticket);

2791:
2792: aso_debug_pub.add('Create_hdr_xml: l_calling_application_id:' || l_calling_application_id);
2793: aso_debug_pub.add('Create_hdr_xml: l_responsibility_id :' || l_responsibility_id);
2794: aso_debug_pub.add('Create_hdr_xml: l_database_id :' || l_database_id);
2795: aso_debug_pub.add('Create_hdr_xml: l_icx_session_ticket :' || l_icx_session_ticket);
2796: aso_debug_pub.add('Create_hdr_xml: profile value:'|| l_config_effective_date_prof);
2797:
2798: END IF;
2799:

Line 2796: aso_debug_pub.add('Create_hdr_xml: profile value:'|| l_config_effective_date_prof);

2792: aso_debug_pub.add('Create_hdr_xml: l_calling_application_id:' || l_calling_application_id);
2793: aso_debug_pub.add('Create_hdr_xml: l_responsibility_id :' || l_responsibility_id);
2794: aso_debug_pub.add('Create_hdr_xml: l_database_id :' || l_database_id);
2795: aso_debug_pub.add('Create_hdr_xml: l_icx_session_ticket :' || l_icx_session_ticket);
2796: aso_debug_pub.add('Create_hdr_xml: profile value:'|| l_config_effective_date_prof);
2797:
2798: END IF;
2799:
2800: -- set param_names

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

2888:
2889: l_xml_hdr := l_xml_hdr || '';
2890: l_xml_hdr := REPLACE(l_xml_hdr, ' ' , '+');
2891:
2892: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2893:
2894: aso_debug_pub.add('Create_hdr_xml: Length of l_xml_hdr mesg: '||length(l_xml_hdr));
2895: aso_debug_pub.add('Create_hdr_xml: 1st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 1, 100));
2896: aso_debug_pub.add('Create_hdr_xml: 2nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 101, 100));

Line 2894: aso_debug_pub.add('Create_hdr_xml: Length of l_xml_hdr mesg: '||length(l_xml_hdr));

2890: l_xml_hdr := REPLACE(l_xml_hdr, ' ' , '+');
2891:
2892: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2893:
2894: aso_debug_pub.add('Create_hdr_xml: Length of l_xml_hdr mesg: '||length(l_xml_hdr));
2895: aso_debug_pub.add('Create_hdr_xml: 1st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 1, 100));
2896: aso_debug_pub.add('Create_hdr_xml: 2nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 101, 100));
2897: aso_debug_pub.add('Create_hdr_xml: 3rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 201, 100));
2898: aso_debug_pub.add('Create_hdr_xml: 4th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 301, 100));

Line 2895: aso_debug_pub.add('Create_hdr_xml: 1st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 1, 100));

2891:
2892: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2893:
2894: aso_debug_pub.add('Create_hdr_xml: Length of l_xml_hdr mesg: '||length(l_xml_hdr));
2895: aso_debug_pub.add('Create_hdr_xml: 1st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 1, 100));
2896: aso_debug_pub.add('Create_hdr_xml: 2nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 101, 100));
2897: aso_debug_pub.add('Create_hdr_xml: 3rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 201, 100));
2898: aso_debug_pub.add('Create_hdr_xml: 4th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 301, 100));
2899: aso_debug_pub.add('Create_hdr_xml: 5st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 401, 100));

Line 2896: aso_debug_pub.add('Create_hdr_xml: 2nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 101, 100));

2892: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2893:
2894: aso_debug_pub.add('Create_hdr_xml: Length of l_xml_hdr mesg: '||length(l_xml_hdr));
2895: aso_debug_pub.add('Create_hdr_xml: 1st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 1, 100));
2896: aso_debug_pub.add('Create_hdr_xml: 2nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 101, 100));
2897: aso_debug_pub.add('Create_hdr_xml: 3rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 201, 100));
2898: aso_debug_pub.add('Create_hdr_xml: 4th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 301, 100));
2899: aso_debug_pub.add('Create_hdr_xml: 5st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 401, 100));
2900: aso_debug_pub.add('Create_hdr_xml: 6nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 501, 100));

Line 2897: aso_debug_pub.add('Create_hdr_xml: 3rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 201, 100));

2893:
2894: aso_debug_pub.add('Create_hdr_xml: Length of l_xml_hdr mesg: '||length(l_xml_hdr));
2895: aso_debug_pub.add('Create_hdr_xml: 1st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 1, 100));
2896: aso_debug_pub.add('Create_hdr_xml: 2nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 101, 100));
2897: aso_debug_pub.add('Create_hdr_xml: 3rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 201, 100));
2898: aso_debug_pub.add('Create_hdr_xml: 4th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 301, 100));
2899: aso_debug_pub.add('Create_hdr_xml: 5st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 401, 100));
2900: aso_debug_pub.add('Create_hdr_xml: 6nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 501, 100));
2901: aso_debug_pub.add('Create_hdr_xml: 7rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 601, 100));

Line 2898: aso_debug_pub.add('Create_hdr_xml: 4th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 301, 100));

2894: aso_debug_pub.add('Create_hdr_xml: Length of l_xml_hdr mesg: '||length(l_xml_hdr));
2895: aso_debug_pub.add('Create_hdr_xml: 1st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 1, 100));
2896: aso_debug_pub.add('Create_hdr_xml: 2nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 101, 100));
2897: aso_debug_pub.add('Create_hdr_xml: 3rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 201, 100));
2898: aso_debug_pub.add('Create_hdr_xml: 4th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 301, 100));
2899: aso_debug_pub.add('Create_hdr_xml: 5st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 401, 100));
2900: aso_debug_pub.add('Create_hdr_xml: 6nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 501, 100));
2901: aso_debug_pub.add('Create_hdr_xml: 7rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 601, 100));
2902: aso_debug_pub.add('Create_hdr_xml: 8th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 701, 100));

Line 2899: aso_debug_pub.add('Create_hdr_xml: 5st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 401, 100));

2895: aso_debug_pub.add('Create_hdr_xml: 1st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 1, 100));
2896: aso_debug_pub.add('Create_hdr_xml: 2nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 101, 100));
2897: aso_debug_pub.add('Create_hdr_xml: 3rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 201, 100));
2898: aso_debug_pub.add('Create_hdr_xml: 4th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 301, 100));
2899: aso_debug_pub.add('Create_hdr_xml: 5st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 401, 100));
2900: aso_debug_pub.add('Create_hdr_xml: 6nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 501, 100));
2901: aso_debug_pub.add('Create_hdr_xml: 7rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 601, 100));
2902: aso_debug_pub.add('Create_hdr_xml: 8th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 701, 100));
2903:

Line 2900: aso_debug_pub.add('Create_hdr_xml: 6nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 501, 100));

2896: aso_debug_pub.add('Create_hdr_xml: 2nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 101, 100));
2897: aso_debug_pub.add('Create_hdr_xml: 3rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 201, 100));
2898: aso_debug_pub.add('Create_hdr_xml: 4th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 301, 100));
2899: aso_debug_pub.add('Create_hdr_xml: 5st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 401, 100));
2900: aso_debug_pub.add('Create_hdr_xml: 6nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 501, 100));
2901: aso_debug_pub.add('Create_hdr_xml: 7rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 601, 100));
2902: aso_debug_pub.add('Create_hdr_xml: 8th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 701, 100));
2903:
2904: END IF;

Line 2901: aso_debug_pub.add('Create_hdr_xml: 7rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 601, 100));

2897: aso_debug_pub.add('Create_hdr_xml: 3rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 201, 100));
2898: aso_debug_pub.add('Create_hdr_xml: 4th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 301, 100));
2899: aso_debug_pub.add('Create_hdr_xml: 5st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 401, 100));
2900: aso_debug_pub.add('Create_hdr_xml: 6nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 501, 100));
2901: aso_debug_pub.add('Create_hdr_xml: 7rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 601, 100));
2902: aso_debug_pub.add('Create_hdr_xml: 8th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 701, 100));
2903:
2904: END IF;
2905:

Line 2902: aso_debug_pub.add('Create_hdr_xml: 8th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 701, 100));

2898: aso_debug_pub.add('Create_hdr_xml: 4th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 301, 100));
2899: aso_debug_pub.add('Create_hdr_xml: 5st Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 401, 100));
2900: aso_debug_pub.add('Create_hdr_xml: 6nd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 501, 100));
2901: aso_debug_pub.add('Create_hdr_xml: 7rd Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 601, 100));
2902: aso_debug_pub.add('Create_hdr_xml: 8th Part of l_xml_hdr is: '||SUBSTR(l_xml_hdr, 701, 100));
2903:
2904: END IF;
2905:
2906: x_xml_hdr := l_xml_hdr;

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

2904: END IF;
2905:
2906: x_xml_hdr := l_xml_hdr;
2907:
2908: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2909: aso_debug_pub.add('End of Create_hdr_xml.', 1, 'Y');
2910: END IF;
2911:
2912:

Line 2909: aso_debug_pub.add('End of Create_hdr_xml.', 1, 'Y');

2905:
2906: x_xml_hdr := l_xml_hdr;
2907:
2908: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2909: aso_debug_pub.add('End of Create_hdr_xml.', 1, 'Y');
2910: END IF;
2911:
2912:
2913: EXCEPTION

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

2915: when others then
2916:
2917: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2918:
2919: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2920: aso_debug_pub.add('Create_hdr_xml: Inside When Others Exception: x_return_status: '||x_return_status, 1, 'N');
2921: END IF;
2922:
2923: END Create_hdr_xml;

Line 2920: aso_debug_pub.add('Create_hdr_xml: Inside When Others Exception: x_return_status: '||x_return_status, 1, 'N');

2916:
2917: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2918:
2919: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2920: aso_debug_pub.add('Create_hdr_xml: Inside When Others Exception: x_return_status: '||x_return_status, 1, 'N');
2921: END IF;
2922:
2923: END Create_hdr_xml;
2924:

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

2986: l_index BINARY_INTEGER;
2987: i NUMBER;
2988: l_return_status VARCHAR2(1);
2989: BEGIN
2990: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2991: aso_debug_pub.add('ASO_CFG_INT: Send_input_xml Begin.', 1, 'Y');
2992: END IF;
2993:
2994: --Initialize API return status to SUCCESS

Line 2991: aso_debug_pub.add('ASO_CFG_INT: Send_input_xml Begin.', 1, 'Y');

2987: i NUMBER;
2988: l_return_status VARCHAR2(1);
2989: BEGIN
2990: IF aso_debug_pub.g_debug_flag = 'Y' THEN
2991: aso_debug_pub.add('ASO_CFG_INT: Send_input_xml Begin.', 1, 'Y');
2992: END IF;
2993:
2994: --Initialize API return status to SUCCESS
2995: l_return_status := FND_API.G_RET_STS_SUCCESS;

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

2995: l_return_status := FND_API.G_RET_STS_SUCCESS;
2996:
2997: l_xml_hdr := p_xml_hdr;
2998:
2999: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3000: aso_debug_pub.add('ASO_CFG_INT: Send_input_xml: Before the quote line Loop.', 1, 'Y');
3001: END IF;
3002:
3003: FOR i IN 1..P_Qte_Line_Tbl.COUNT LOOP

Line 3000: aso_debug_pub.add('ASO_CFG_INT: Send_input_xml: Before the quote line Loop.', 1, 'Y');

2996:
2997: l_xml_hdr := p_xml_hdr;
2998:
2999: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3000: aso_debug_pub.add('ASO_CFG_INT: Send_input_xml: Before the quote line Loop.', 1, 'Y');
3001: END IF;
3002:
3003: FOR i IN 1..P_Qte_Line_Tbl.COUNT LOOP
3004:

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

3013: END IF;
3014:
3015: l_batch_val_tbl(i) := l_option_rec;
3016:
3017: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3018:
3019: aso_debug_pub.add('l_batch_val_tbl('||i||').input_seq: '||l_batch_val_tbl(i).input_seq);
3020: aso_debug_pub.add('l_batch_val_tbl('||i||').component_code: '||l_batch_val_tbl(i).component_code);
3021: aso_debug_pub.add('l_batch_val_tbl('||i||').quantity: '||l_batch_val_tbl(i).quantity);

Line 3019: aso_debug_pub.add('l_batch_val_tbl('||i||').input_seq: '||l_batch_val_tbl(i).input_seq);

3015: l_batch_val_tbl(i) := l_option_rec;
3016:
3017: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3018:
3019: aso_debug_pub.add('l_batch_val_tbl('||i||').input_seq: '||l_batch_val_tbl(i).input_seq);
3020: aso_debug_pub.add('l_batch_val_tbl('||i||').component_code: '||l_batch_val_tbl(i).component_code);
3021: aso_debug_pub.add('l_batch_val_tbl('||i||').quantity: '||l_batch_val_tbl(i).quantity);
3022: aso_debug_pub.add('l_batch_val_tbl('||i||').config_item_id: '||l_batch_val_tbl(i).config_item_id);
3023:

Line 3020: aso_debug_pub.add('l_batch_val_tbl('||i||').component_code: '||l_batch_val_tbl(i).component_code);

3016:
3017: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3018:
3019: aso_debug_pub.add('l_batch_val_tbl('||i||').input_seq: '||l_batch_val_tbl(i).input_seq);
3020: aso_debug_pub.add('l_batch_val_tbl('||i||').component_code: '||l_batch_val_tbl(i).component_code);
3021: aso_debug_pub.add('l_batch_val_tbl('||i||').quantity: '||l_batch_val_tbl(i).quantity);
3022: aso_debug_pub.add('l_batch_val_tbl('||i||').config_item_id: '||l_batch_val_tbl(i).config_item_id);
3023:
3024: END IF;

Line 3021: aso_debug_pub.add('l_batch_val_tbl('||i||').quantity: '||l_batch_val_tbl(i).quantity);

3017: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3018:
3019: aso_debug_pub.add('l_batch_val_tbl('||i||').input_seq: '||l_batch_val_tbl(i).input_seq);
3020: aso_debug_pub.add('l_batch_val_tbl('||i||').component_code: '||l_batch_val_tbl(i).component_code);
3021: aso_debug_pub.add('l_batch_val_tbl('||i||').quantity: '||l_batch_val_tbl(i).quantity);
3022: aso_debug_pub.add('l_batch_val_tbl('||i||').config_item_id: '||l_batch_val_tbl(i).config_item_id);
3023:
3024: END IF;
3025:

Line 3022: aso_debug_pub.add('l_batch_val_tbl('||i||').config_item_id: '||l_batch_val_tbl(i).config_item_id);

3018:
3019: aso_debug_pub.add('l_batch_val_tbl('||i||').input_seq: '||l_batch_val_tbl(i).input_seq);
3020: aso_debug_pub.add('l_batch_val_tbl('||i||').component_code: '||l_batch_val_tbl(i).component_code);
3021: aso_debug_pub.add('l_batch_val_tbl('||i||').quantity: '||l_batch_val_tbl(i).quantity);
3022: aso_debug_pub.add('l_batch_val_tbl('||i||').config_item_id: '||l_batch_val_tbl(i).config_item_id);
3023:
3024: END IF;
3025:
3026: END LOOP;

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

3024: END IF;
3025:
3026: END LOOP;
3027:
3028: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3029: aso_debug_pub.add('ASO_CFG_INT: Send_input_xml: After the quote line Loop.', 1, 'Y');
3030: END IF;
3031:
3032: -- delete previous data.

Line 3029: aso_debug_pub.add('ASO_CFG_INT: Send_input_xml: After the quote line Loop.', 1, 'Y');

3025:
3026: END LOOP;
3027:
3028: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3029: aso_debug_pub.add('ASO_CFG_INT: Send_input_xml: After the quote line Loop.', 1, 'Y');
3030: END IF;
3031:
3032: -- delete previous data.
3033: IF (l_html_pieces.COUNT <> 0) THEN

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

3033: IF (l_html_pieces.COUNT <> 0) THEN
3034: l_html_pieces.DELETE;
3035: END IF;
3036:
3037: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3038: aso_debug_pub.add('Send_input_xml: l_html_pieces.COUNT: '||l_html_pieces.COUNT);
3039: aso_debug_pub.add('Send_input_xml: Before call to CZ_CF_API.Validate');
3040: END IF;
3041:

Line 3038: aso_debug_pub.add('Send_input_xml: l_html_pieces.COUNT: '||l_html_pieces.COUNT);

3034: l_html_pieces.DELETE;
3035: END IF;
3036:
3037: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3038: aso_debug_pub.add('Send_input_xml: l_html_pieces.COUNT: '||l_html_pieces.COUNT);
3039: aso_debug_pub.add('Send_input_xml: Before call to CZ_CF_API.Validate');
3040: END IF;
3041:
3042: CZ_CF_API.Validate( config_input_list => l_batch_val_tbl,

Line 3039: aso_debug_pub.add('Send_input_xml: Before call to CZ_CF_API.Validate');

3035: END IF;
3036:
3037: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3038: aso_debug_pub.add('Send_input_xml: l_html_pieces.COUNT: '||l_html_pieces.COUNT);
3039: aso_debug_pub.add('Send_input_xml: Before call to CZ_CF_API.Validate');
3040: END IF;
3041:
3042: CZ_CF_API.Validate( config_input_list => l_batch_val_tbl,
3043: init_message => l_xml_hdr,

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

3046: x_return_config_changed => X_config_changed,
3047: validation_status => l_validation_status,
3048: URL => l_url );
3049:
3050: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3051: aso_debug_pub.add('Send_input_xml: After call to CZ_CF_API.Validate: l_validation_status: '||l_validation_status);
3052: END IF;
3053:
3054: IF l_validation_status <> 0 THEN

Line 3051: aso_debug_pub.add('Send_input_xml: After call to CZ_CF_API.Validate: l_validation_status: '||l_validation_status);

3047: validation_status => l_validation_status,
3048: URL => l_url );
3049:
3050: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3051: aso_debug_pub.add('Send_input_xml: After call to CZ_CF_API.Validate: l_validation_status: '||l_validation_status);
3052: END IF;
3053:
3054: IF l_validation_status <> 0 THEN
3055:

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

3052: END IF;
3053:
3054: IF l_validation_status <> 0 THEN
3055:
3056: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3057: aso_debug_pub.add('Send_input_xml: Error returned from CZ_CF_API.Validate');
3058: END IF;
3059:
3060: FND_MESSAGE.Set_Name('ASO', 'ASO_BATCH_VALIDATE');

Line 3057: aso_debug_pub.add('Send_input_xml: Error returned from CZ_CF_API.Validate');

3053:
3054: IF l_validation_status <> 0 THEN
3055:
3056: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3057: aso_debug_pub.add('Send_input_xml: Error returned from CZ_CF_API.Validate');
3058: END IF;
3059:
3060: FND_MESSAGE.Set_Name('ASO', 'ASO_BATCH_VALIDATE');
3061: FND_MESSAGE.Set_token('ERR_TEXT' , 'Error returned from CZ_CF_API.Validate, validation_status <> 0' );

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

3062: FND_MSG_PUB.ADD;
3063: l_return_status := FND_API.G_RET_STS_ERROR;
3064: END IF;
3065:
3066: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3067: aso_debug_pub.add('Send_input_xml: After call to CZ_CF_API.Validate: l_html_pieces.COUNT: '||l_html_pieces.COUNT);
3068: END IF;
3069:
3070: IF (l_html_pieces.COUNT <= 0) THEN

Line 3067: aso_debug_pub.add('Send_input_xml: After call to CZ_CF_API.Validate: l_html_pieces.COUNT: '||l_html_pieces.COUNT);

3063: l_return_status := FND_API.G_RET_STS_ERROR;
3064: END IF;
3065:
3066: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3067: aso_debug_pub.add('Send_input_xml: After call to CZ_CF_API.Validate: l_html_pieces.COUNT: '||l_html_pieces.COUNT);
3068: END IF;
3069:
3070: IF (l_html_pieces.COUNT <= 0) THEN
3071:

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

3068: END IF;
3069:
3070: IF (l_html_pieces.COUNT <= 0) THEN
3071:
3072: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3073: aso_debug_pub.add('Send_input_xml: No XML message returned from CZ_CF_API.Validate api', 1, 'Y');
3074: END IF;
3075:
3076: FND_MESSAGE.Set_Name('ASO', 'ASO_BATCH_VALIDATE');

Line 3073: aso_debug_pub.add('Send_input_xml: No XML message returned from CZ_CF_API.Validate api', 1, 'Y');

3069:
3070: IF (l_html_pieces.COUNT <= 0) THEN
3071:
3072: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3073: aso_debug_pub.add('Send_input_xml: No XML message returned from CZ_CF_API.Validate api', 1, 'Y');
3074: END IF;
3075:
3076: FND_MESSAGE.Set_Name('ASO', 'ASO_BATCH_VALIDATE');
3077: FND_MESSAGE.Set_token('ERR_TEXT' , 'Error returned from CZ_CF_API.Validate, config_messages: l_html_pieces.COUNT <= 0' );

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

3083: l_index := l_html_pieces.FIRST;
3084:
3085: LOOP
3086:
3087: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3088: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_html_pieces(l_index), 1, 100));
3089: END IF;
3090:
3091: l_long_xml := l_long_xml || l_html_pieces(l_index);

Line 3088: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_html_pieces(l_index), 1, 100));

3084:
3085: LOOP
3086:
3087: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3088: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_html_pieces(l_index), 1, 100));
3089: END IF;
3090:
3091: l_long_xml := l_long_xml || l_html_pieces(l_index);
3092:

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

3094: l_index := l_html_pieces.NEXT(l_index);
3095:
3096: END LOOP;
3097:
3098: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3099:
3100: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 1, 100));
3101: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 101, 200));
3102: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 201, 300));

Line 3100: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 1, 100));

3096: END LOOP;
3097:
3098: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3099:
3100: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 1, 100));
3101: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 101, 200));
3102: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 201, 300));
3103: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 301, 400));
3104: aso_debug_pub.add('Send_input_xml: X_config_changed :'|| X_config_changed);

Line 3101: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 101, 200));

3097:
3098: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3099:
3100: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 1, 100));
3101: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 101, 200));
3102: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 201, 300));
3103: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 301, 400));
3104: aso_debug_pub.add('Send_input_xml: X_config_changed :'|| X_config_changed);
3105:

Line 3102: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 201, 300));

3098: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3099:
3100: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 1, 100));
3101: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 101, 200));
3102: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 201, 300));
3103: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 301, 400));
3104: aso_debug_pub.add('Send_input_xml: X_config_changed :'|| X_config_changed);
3105:
3106: END IF;

Line 3103: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 301, 400));

3099:
3100: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 1, 100));
3101: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 101, 200));
3102: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 201, 300));
3103: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 301, 400));
3104: aso_debug_pub.add('Send_input_xml: X_config_changed :'|| X_config_changed);
3105:
3106: END IF;
3107:

Line 3104: aso_debug_pub.add('Send_input_xml: X_config_changed :'|| X_config_changed);

3100: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 1, 100));
3101: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 101, 200));
3102: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 201, 300));
3103: aso_debug_pub.add('Send_input_xml: Part of output_message :'|| SUBSTR(l_long_xml, 301, 400));
3104: aso_debug_pub.add('Send_input_xml: X_config_changed :'|| X_config_changed);
3105:
3106: END IF;
3107:
3108: -- Return the output XML message

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

3108: -- Return the output XML message
3109: x_out_xml_msg := l_long_xml;
3110: x_return_status := l_return_status;
3111:
3112: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3113: aso_debug_pub.Add('End of Send_input_xml', 1, 'Y');
3114: END IF;
3115:
3116: EXCEPTION

Line 3113: aso_debug_pub.Add('End of Send_input_xml', 1, 'Y');

3109: x_out_xml_msg := l_long_xml;
3110: x_return_status := l_return_status;
3111:
3112: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3113: aso_debug_pub.Add('End of Send_input_xml', 1, 'Y');
3114: END IF;
3115:
3116: EXCEPTION
3117:

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

3118: WHEN OTHERS THEN
3119:
3120: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3121:
3122: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3123: aso_debug_pub.add('Send_input_xml: Inside When Others Exception:', 1, 'N');
3124: END IF;
3125:
3126: END Send_input_xml;

Line 3123: aso_debug_pub.add('Send_input_xml: Inside When Others Exception:', 1, 'N');

3119:
3120: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3121:
3122: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3123: aso_debug_pub.add('Send_input_xml: Inside When Others Exception:', 1, 'N');
3124: END IF;
3125:
3126: END Send_input_xml;
3127:

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

3170: l_msg_count NUMBER;
3171: l_msg_data VARCHAR2(2000);
3172:
3173: BEGIN
3174: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3175: aso_debug_pub.add('ASO_CFG_INT: Parse_output_xml Begin.', 1, 'Y');
3176: END IF;
3177:
3178: --Initialize API return status to SUCCESS

Line 3175: aso_debug_pub.add('ASO_CFG_INT: Parse_output_xml Begin.', 1, 'Y');

3171: l_msg_data VARCHAR2(2000);
3172:
3173: BEGIN
3174: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3175: aso_debug_pub.add('ASO_CFG_INT: Parse_output_xml Begin.', 1, 'Y');
3176: END IF;
3177:
3178: --Initialize API return status to SUCCESS
3179: l_return_status := FND_API.G_RET_STS_SUCCESS;

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

3206: (instr(p_xml_msg,'',1,1) -
3207: (instr(p_xml_msg,'',1,1)+6)));
3208:
3209:
3210: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3211: aso_debug_pub.add('Parse_output_xml: l_message_type: '|| l_message_type);
3212: aso_debug_pub.add('Parse_output_xml: l_message_text: '|| substr(l_message_text,1,150));
3213: aso_debug_pub.add('Parse_output_xml: l_exit : '|| l_exit);
3214: END IF;

Line 3211: aso_debug_pub.add('Parse_output_xml: l_message_type: '|| l_message_type);

3207: (instr(p_xml_msg,'',1,1)+6)));
3208:
3209:
3210: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3211: aso_debug_pub.add('Parse_output_xml: l_message_type: '|| l_message_type);
3212: aso_debug_pub.add('Parse_output_xml: l_message_text: '|| substr(l_message_text,1,150));
3213: aso_debug_pub.add('Parse_output_xml: l_exit : '|| l_exit);
3214: END IF;
3215:

Line 3212: aso_debug_pub.add('Parse_output_xml: l_message_text: '|| substr(l_message_text,1,150));

3208:
3209:
3210: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3211: aso_debug_pub.add('Parse_output_xml: l_message_type: '|| l_message_type);
3212: aso_debug_pub.add('Parse_output_xml: l_message_text: '|| substr(l_message_text,1,150));
3213: aso_debug_pub.add('Parse_output_xml: l_exit : '|| l_exit);
3214: END IF;
3215:
3216: IF l_exit = 'error' AND l_message_type = 'error' THEN

Line 3213: aso_debug_pub.add('Parse_output_xml: l_exit : '|| l_exit);

3209:
3210: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3211: aso_debug_pub.add('Parse_output_xml: l_message_type: '|| l_message_type);
3212: aso_debug_pub.add('Parse_output_xml: l_message_text: '|| substr(l_message_text,1,150));
3213: aso_debug_pub.add('Parse_output_xml: l_exit : '|| l_exit);
3214: END IF;
3215:
3216: IF l_exit = 'error' AND l_message_type = 'error' THEN
3217:

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

3245: l_complete_configuration_flag := 'Y';
3246: END IF;
3247:
3248:
3249: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3250: aso_debug_pub.add('Parse_output_xml: l_valid_configuration_flag: '|| l_valid_configuration_flag);
3251: aso_debug_pub.add('Parse_output_xml: l_complete_configuration_flag: '|| l_complete_configuration_flag);
3252: END IF;
3253:

Line 3250: aso_debug_pub.add('Parse_output_xml: l_valid_configuration_flag: '|| l_valid_configuration_flag);

3246: END IF;
3247:
3248:
3249: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3250: aso_debug_pub.add('Parse_output_xml: l_valid_configuration_flag: '|| l_valid_configuration_flag);
3251: aso_debug_pub.add('Parse_output_xml: l_complete_configuration_flag: '|| l_complete_configuration_flag);
3252: END IF;
3253:
3254: IF l_config_header_id is NULL THEN

Line 3251: aso_debug_pub.add('Parse_output_xml: l_complete_configuration_flag: '|| l_complete_configuration_flag);

3247:
3248:
3249: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3250: aso_debug_pub.add('Parse_output_xml: l_valid_configuration_flag: '|| l_valid_configuration_flag);
3251: aso_debug_pub.add('Parse_output_xml: l_complete_configuration_flag: '|| l_complete_configuration_flag);
3252: END IF;
3253:
3254: IF l_config_header_id is NULL THEN
3255:

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

3252: END IF;
3253:
3254: IF l_config_header_id is NULL THEN
3255:
3256: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3257: aso_debug_pub.add('Parse_output_xml: Getting messages from cz_config_messages');
3258: END IF;
3259:
3260: OPEN c_messages(l_config_header_id, l_config_revision_num);

Line 3257: aso_debug_pub.add('Parse_output_xml: Getting messages from cz_config_messages');

3253:
3254: IF l_config_header_id is NULL THEN
3255:
3256: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3257: aso_debug_pub.add('Parse_output_xml: Getting messages from cz_config_messages');
3258: END IF;
3259:
3260: OPEN c_messages(l_config_header_id, l_config_revision_num);
3261:

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

3260: OPEN c_messages(l_config_header_id, l_config_revision_num);
3261:
3262: LOOP
3263:
3264: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3265: aso_debug_pub.add('Parse_output_xml: CZ message: c_messages%rowcount: '||c_messages%rowcount);
3266: END IF;
3267:
3268: FETCH c_messages into l_constraint,l_msg;

Line 3265: aso_debug_pub.add('Parse_output_xml: CZ message: c_messages%rowcount: '||c_messages%rowcount);

3261:
3262: LOOP
3263:
3264: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3265: aso_debug_pub.add('Parse_output_xml: CZ message: c_messages%rowcount: '||c_messages%rowcount);
3266: END IF;
3267:
3268: FETCH c_messages into l_constraint,l_msg;
3269: EXIT when c_messages%notfound;

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

3279: FND_MSG_PUB.ADD;
3280:
3281: End Loop;
3282:
3283: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3284: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 1, 100));
3285: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 101, 200));
3286: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 201, 300));
3287: END IF;

Line 3284: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 1, 100));

3280:
3281: End Loop;
3282:
3283: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3284: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 1, 100));
3285: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 101, 200));
3286: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 201, 300));
3287: END IF;
3288:

Line 3285: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 101, 200));

3281: End Loop;
3282:
3283: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3284: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 1, 100));
3285: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 101, 200));
3286: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 201, 300));
3287: END IF;
3288:
3289: END LOOP;

Line 3286: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 201, 300));

3282:
3283: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3284: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 1, 100));
3285: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 101, 200));
3286: aso_debug_pub.add('Parse_output_xml: '|| substr(l_msg, 201, 300));
3287: END IF;
3288:
3289: END LOOP;
3290:

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

3301: x_config_revision_num := l_config_revision_num;
3302: x_msg_count := l_msg_count;
3303: x_msg_data := l_msg_data;
3304:
3305: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3306: aso_debug_pub.Add('End of parse_output_xml', 1, 'Y');
3307: END IF;
3308:
3309: EXCEPTION

Line 3306: aso_debug_pub.Add('End of parse_output_xml', 1, 'Y');

3302: x_msg_count := l_msg_count;
3303: x_msg_data := l_msg_data;
3304:
3305: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3306: aso_debug_pub.Add('End of parse_output_xml', 1, 'Y');
3307: END IF;
3308:
3309: EXCEPTION
3310:

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

3311: WHEN OTHERS THEN
3312:
3313: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3314:
3315: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3316: aso_Debug_Pub.Add( 'Parse_Output_xml: In WHEN OTHERS exception ', 1, 'N');
3317: END IF;
3318:
3319: END Parse_output_xml;

Line 3316: aso_Debug_Pub.Add( 'Parse_Output_xml: In WHEN OTHERS exception ', 1, 'N');

3312:
3313: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3314:
3315: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3316: aso_Debug_Pub.Add( 'Parse_Output_xml: In WHEN OTHERS exception ', 1, 'N');
3317: END IF;
3318:
3319: END Parse_output_xml;
3320:

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

3389: -- SAVEPOINT VALIDATE_CONFIGURATION_INT;
3390:
3391: l_return_status := FND_API.G_RET_STS_SUCCESS;
3392:
3393: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3394: aso_debug_pub.add('ASO_CFG_INT: Validate_Configuration Begins', 1, 'Y');
3395: END IF;
3396:
3397: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,

Line 3394: aso_debug_pub.add('ASO_CFG_INT: Validate_Configuration Begins', 1, 'Y');

3390:
3391: l_return_status := FND_API.G_RET_STS_SUCCESS;
3392:
3393: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3394: aso_debug_pub.add('ASO_CFG_INT: Validate_Configuration Begins', 1, 'Y');
3395: END IF;
3396:
3397: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,
3398: p_api_version_number,

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

3409: l_model_line_rec := ASO_UTILITY_PVT.Query_Qte_Line_Row(p_model_line_id);
3410: l_model_line_dtl_tbl := ASO_UTILITY_PVT.Query_Line_Dtl_Rows(p_model_line_id);
3411:
3412: -- Call Create_hdr_xml to create the input header XML message
3413: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3414: aso_debug_pub.add('Validate_Configuration: Before call to Create_hdr_xml.');
3415: END IF;
3416:
3417: Create_hdr_xml ( P_model_line_id => P_model_line_id,

Line 3414: aso_debug_pub.add('Validate_Configuration: Before call to Create_hdr_xml.');

3410: l_model_line_dtl_tbl := ASO_UTILITY_PVT.Query_Line_Dtl_Rows(p_model_line_id);
3411:
3412: -- Call Create_hdr_xml to create the input header XML message
3413: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3414: aso_debug_pub.add('Validate_Configuration: Before call to Create_hdr_xml.');
3415: END IF;
3416:
3417: Create_hdr_xml ( P_model_line_id => P_model_line_id,
3418: X_xml_hdr => l_xml_hdr,

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

3417: Create_hdr_xml ( P_model_line_id => P_model_line_id,
3418: X_xml_hdr => l_xml_hdr,
3419: X_return_status => l_return_status );
3420:
3421: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3422:
3423: aso_debug_pub.add('Validate_Configuration: After call to Create_hdr_xml l_return_status: '||l_return_status);
3424: aso_debug_pub.add('Validate_Configuration: After call to Create_hdr_xml Length of l_xml_hdr : '||length(l_xml_hdr));
3425:

Line 3423: aso_debug_pub.add('Validate_Configuration: After call to Create_hdr_xml l_return_status: '||l_return_status);

3419: X_return_status => l_return_status );
3420:
3421: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3422:
3423: aso_debug_pub.add('Validate_Configuration: After call to Create_hdr_xml l_return_status: '||l_return_status);
3424: aso_debug_pub.add('Validate_Configuration: After call to Create_hdr_xml Length of l_xml_hdr : '||length(l_xml_hdr));
3425:
3426: END IF;
3427:

Line 3424: aso_debug_pub.add('Validate_Configuration: After call to Create_hdr_xml Length of l_xml_hdr : '||length(l_xml_hdr));

3420:
3421: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3422:
3423: aso_debug_pub.add('Validate_Configuration: After call to Create_hdr_xml l_return_status: '||l_return_status);
3424: aso_debug_pub.add('Validate_Configuration: After call to Create_hdr_xml Length of l_xml_hdr : '||length(l_xml_hdr));
3425:
3426: END IF;
3427:
3428: IF l_return_status = FND_API.G_RET_STS_SUCCESS THEN

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

3428: IF l_return_status = FND_API.G_RET_STS_SUCCESS THEN
3429:
3430: -- Call Send_Input_Xml to call CZ batch validate procedure and get the output XML message
3431:
3432: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3433: aso_debug_pub.add('ASO_CFG_INT: Validate_Configuration: Before call to Send_input_xml');
3434: END IF;
3435:
3436: Send_input_xml( P_Qte_Line_Tbl => P_Qte_Line_Tbl,

Line 3433: aso_debug_pub.add('ASO_CFG_INT: Validate_Configuration: Before call to Send_input_xml');

3429:
3430: -- Call Send_Input_Xml to call CZ batch validate procedure and get the output XML message
3431:
3432: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3433: aso_debug_pub.add('ASO_CFG_INT: Validate_Configuration: Before call to Send_input_xml');
3434: END IF;
3435:
3436: Send_input_xml( P_Qte_Line_Tbl => P_Qte_Line_Tbl,
3437: P_Qte_Line_Dtl_Tbl => P_Qte_Line_Dtl_Tbl,

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

3442: X_msg_count => l_msg_count,
3443: X_msg_data => l_msg_data
3444: );
3445:
3446: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3447: aso_debug_pub.add('Validate_Configuration: After call to Send_input_xml');
3448: aso_debug_pub.add('Validate_Configuration: l_return_status: '||l_return_status);
3449: aso_debug_pub.add('Validate_Configuration: l_config_changed: '||l_config_changed);
3450: END IF;

Line 3447: aso_debug_pub.add('Validate_Configuration: After call to Send_input_xml');

3443: X_msg_data => l_msg_data
3444: );
3445:
3446: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3447: aso_debug_pub.add('Validate_Configuration: After call to Send_input_xml');
3448: aso_debug_pub.add('Validate_Configuration: l_return_status: '||l_return_status);
3449: aso_debug_pub.add('Validate_Configuration: l_config_changed: '||l_config_changed);
3450: END IF;
3451:

Line 3448: aso_debug_pub.add('Validate_Configuration: l_return_status: '||l_return_status);

3444: );
3445:
3446: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3447: aso_debug_pub.add('Validate_Configuration: After call to Send_input_xml');
3448: aso_debug_pub.add('Validate_Configuration: l_return_status: '||l_return_status);
3449: aso_debug_pub.add('Validate_Configuration: l_config_changed: '||l_config_changed);
3450: END IF;
3451:
3452:

Line 3449: aso_debug_pub.add('Validate_Configuration: l_config_changed: '||l_config_changed);

3445:
3446: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3447: aso_debug_pub.add('Validate_Configuration: After call to Send_input_xml');
3448: aso_debug_pub.add('Validate_Configuration: l_return_status: '||l_return_status);
3449: aso_debug_pub.add('Validate_Configuration: l_config_changed: '||l_config_changed);
3450: END IF;
3451:
3452:
3453:

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

3456: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3457: l_delete_config := fnd_api.g_true;
3458: END IF;
3459:
3460: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3461: aso_debug_pub.add('Validate_Configuration: Before Call to Parse_Output_xml',1,'N');
3462: aso_debug_pub.add('Validate_Configuration: l_delete_config: '||l_delete_config);
3463: END IF;
3464:

Line 3461: aso_debug_pub.add('Validate_Configuration: Before Call to Parse_Output_xml',1,'N');

3457: l_delete_config := fnd_api.g_true;
3458: END IF;
3459:
3460: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3461: aso_debug_pub.add('Validate_Configuration: Before Call to Parse_Output_xml',1,'N');
3462: aso_debug_pub.add('Validate_Configuration: l_delete_config: '||l_delete_config);
3463: END IF;
3464:
3465: Parse_output_xml

Line 3462: aso_debug_pub.add('Validate_Configuration: l_delete_config: '||l_delete_config);

3458: END IF;
3459:
3460: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3461: aso_debug_pub.add('Validate_Configuration: Before Call to Parse_Output_xml',1,'N');
3462: aso_debug_pub.add('Validate_Configuration: l_delete_config: '||l_delete_config);
3463: END IF;
3464:
3465: Parse_output_xml
3466: ( p_xml_msg => l_xml_message,

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

3472: x_msg_count => l_msg_count,
3473: x_msg_data => l_msg_data
3474: );
3475:
3476: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3477: aso_debug_pub.add('Validate_Configuration: After call to Parse_output_xml');
3478: aso_debug_pub.add('Validate_Configuration: l_return_status: '||l_return_status);
3479: END IF;
3480:

Line 3477: aso_debug_pub.add('Validate_Configuration: After call to Parse_output_xml');

3473: x_msg_data => l_msg_data
3474: );
3475:
3476: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3477: aso_debug_pub.add('Validate_Configuration: After call to Parse_output_xml');
3478: aso_debug_pub.add('Validate_Configuration: l_return_status: '||l_return_status);
3479: END IF;
3480:
3481: END IF;

Line 3478: aso_debug_pub.add('Validate_Configuration: l_return_status: '||l_return_status);

3474: );
3475:
3476: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3477: aso_debug_pub.add('Validate_Configuration: After call to Parse_output_xml');
3478: aso_debug_pub.add('Validate_Configuration: l_return_status: '||l_return_status);
3479: END IF;
3480:
3481: END IF;
3482:

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

3490:
3491: l_qte_header_rec.quote_header_id := l_model_line_rec.quote_header_id;
3492:
3493:
3494: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3495: aso_debug_pub.add('Validate_Configuration: Before Call to ASO_CFG_INT.Get_config_details');
3496: END IF;
3497:
3498: ASO_CFG_INT.Get_config_details(

Line 3495: aso_debug_pub.add('Validate_Configuration: Before Call to ASO_CFG_INT.Get_config_details');

3491: l_qte_header_rec.quote_header_id := l_model_line_rec.quote_header_id;
3492:
3493:
3494: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3495: aso_debug_pub.add('Validate_Configuration: Before Call to ASO_CFG_INT.Get_config_details');
3496: END IF;
3497:
3498: ASO_CFG_INT.Get_config_details(
3499: p_api_version_number => 1.0,

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

3508: x_return_status => l_return_status,
3509: x_msg_count => l_msg_count,
3510: x_msg_data => l_msg_data );
3511:
3512: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3513: aso_debug_pub.add('Validate_Configuration: After Call to Get_config_details');
3514: aso_debug_pub.add('Validate_Configuration: l_return_status: '||l_return_status);
3515: END IF;
3516:

Line 3513: aso_debug_pub.add('Validate_Configuration: After Call to Get_config_details');

3509: x_msg_count => l_msg_count,
3510: x_msg_data => l_msg_data );
3511:
3512: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3513: aso_debug_pub.add('Validate_Configuration: After Call to Get_config_details');
3514: aso_debug_pub.add('Validate_Configuration: l_return_status: '||l_return_status);
3515: END IF;
3516:
3517: ELSE

Line 3514: aso_debug_pub.add('Validate_Configuration: l_return_status: '||l_return_status);

3510: x_msg_data => l_msg_data );
3511:
3512: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3513: aso_debug_pub.add('Validate_Configuration: After Call to Get_config_details');
3514: aso_debug_pub.add('Validate_Configuration: l_return_status: '||l_return_status);
3515: END IF;
3516:
3517: ELSE
3518: l_delete_config := fnd_api.g_true;

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

3515: END IF;
3516:
3517: ELSE
3518: l_delete_config := fnd_api.g_true;
3519: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3520: aso_debug_pub.add('Validate_Configuration: l_delete_config: '||l_delete_config);
3521: END IF;
3522:
3523: END IF;

Line 3520: aso_debug_pub.add('Validate_Configuration: l_delete_config: '||l_delete_config);

3516:
3517: ELSE
3518: l_delete_config := fnd_api.g_true;
3519: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3520: aso_debug_pub.add('Validate_Configuration: l_delete_config: '||l_delete_config);
3521: END IF;
3522:
3523: END IF;
3524:

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

3521: END IF;
3522:
3523: END IF;
3524:
3525: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3526:
3527: aso_debug_pub.add('End of procedure Validate_Configuration');
3528: aso_debug_pub.add('l_return_status: '|| l_return_status);
3529: aso_debug_pub.add('l_valid_configuration_flag: '|| l_valid_configuration_flag);

Line 3527: aso_debug_pub.add('End of procedure Validate_Configuration');

3523: END IF;
3524:
3525: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3526:
3527: aso_debug_pub.add('End of procedure Validate_Configuration');
3528: aso_debug_pub.add('l_return_status: '|| l_return_status);
3529: aso_debug_pub.add('l_valid_configuration_flag: '|| l_valid_configuration_flag);
3530: aso_debug_pub.add('l_complete_configuration_flag: '|| l_complete_configuration_flag);
3531: aso_debug_pub.add('l_config_changed: '|| l_config_changed);

Line 3528: aso_debug_pub.add('l_return_status: '|| l_return_status);

3524:
3525: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3526:
3527: aso_debug_pub.add('End of procedure Validate_Configuration');
3528: aso_debug_pub.add('l_return_status: '|| l_return_status);
3529: aso_debug_pub.add('l_valid_configuration_flag: '|| l_valid_configuration_flag);
3530: aso_debug_pub.add('l_complete_configuration_flag: '|| l_complete_configuration_flag);
3531: aso_debug_pub.add('l_config_changed: '|| l_config_changed);
3532:

Line 3529: aso_debug_pub.add('l_valid_configuration_flag: '|| l_valid_configuration_flag);

3525: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3526:
3527: aso_debug_pub.add('End of procedure Validate_Configuration');
3528: aso_debug_pub.add('l_return_status: '|| l_return_status);
3529: aso_debug_pub.add('l_valid_configuration_flag: '|| l_valid_configuration_flag);
3530: aso_debug_pub.add('l_complete_configuration_flag: '|| l_complete_configuration_flag);
3531: aso_debug_pub.add('l_config_changed: '|| l_config_changed);
3532:
3533: END IF;

Line 3530: aso_debug_pub.add('l_complete_configuration_flag: '|| l_complete_configuration_flag);

3526:
3527: aso_debug_pub.add('End of procedure Validate_Configuration');
3528: aso_debug_pub.add('l_return_status: '|| l_return_status);
3529: aso_debug_pub.add('l_valid_configuration_flag: '|| l_valid_configuration_flag);
3530: aso_debug_pub.add('l_complete_configuration_flag: '|| l_complete_configuration_flag);
3531: aso_debug_pub.add('l_config_changed: '|| l_config_changed);
3532:
3533: END IF;
3534:

Line 3531: aso_debug_pub.add('l_config_changed: '|| l_config_changed);

3527: aso_debug_pub.add('End of procedure Validate_Configuration');
3528: aso_debug_pub.add('l_return_status: '|| l_return_status);
3529: aso_debug_pub.add('l_valid_configuration_flag: '|| l_valid_configuration_flag);
3530: aso_debug_pub.add('l_complete_configuration_flag: '|| l_complete_configuration_flag);
3531: aso_debug_pub.add('l_config_changed: '|| l_config_changed);
3532:
3533: END IF;
3534:
3535: x_config_header_id := l_config_header_id;

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

3545: x_return_status := FND_API.G_RET_STS_ERROR;
3546:
3547: end if;
3548:
3549: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3550: aso_debug_pub.add('End of Validate_Configuration', 1, 'N');
3551: END IF;
3552:
3553: EXCEPTION

Line 3550: aso_debug_pub.add('End of Validate_Configuration', 1, 'N');

3546:
3547: end if;
3548:
3549: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3550: aso_debug_pub.add('End of Validate_Configuration', 1, 'N');
3551: END IF;
3552:
3553: EXCEPTION
3554:

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

3553: EXCEPTION
3554:
3555: WHEN OTHERS THEN
3556:
3557: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3558: aso_debug_pub.add('Validate_Configuration: Inside WHEN OTHERS EXCEPTION', 1, 'Y');
3559: END IF;
3560:
3561: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3558: aso_debug_pub.add('Validate_Configuration: Inside WHEN OTHERS EXCEPTION', 1, 'Y');

3554:
3555: WHEN OTHERS THEN
3556:
3557: IF aso_debug_pub.g_debug_flag = 'Y' THEN
3558: aso_debug_pub.add('Validate_Configuration: Inside WHEN OTHERS EXCEPTION', 1, 'Y');
3559: END IF;
3560:
3561: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3562: