DBA Data[Home] [Help]

APPS.EAM_COMPLETION dependencies on FND_MSG_PUB

Line 296: l_initial_msg_count := FND_MSG_PUB.count_msg;

292:
293: l_statement := 6;
294: x_statement := l_statement;
295:
296: l_initial_msg_count := FND_MSG_PUB.count_msg;
297: -- Call Inventory API to process to item
298: -- the spec file is INVTRXWS.pls
299: errCode := inv_lpn_trx_pub.process_lpn_trx(
300: p_trx_hdr_id => i_transaction_header_id,

Line 304: if(FND_MSG_PUB.count_msg> 0) then

300: p_trx_hdr_id => i_transaction_header_id,
301: p_commit => s_commit,
302: x_proc_msg => errMsg);
303: /* Added as a FIX for the Issue 1 of bug:2881879 */
304: if(FND_MSG_PUB.count_msg> 0) then
305: if(l_initial_msg_count = 0 and errCode = 0) then
306: FND_MSG_PUB.Delete_msg;
307: end if;
308: end if;

Line 306: FND_MSG_PUB.Delete_msg;

302: x_proc_msg => errMsg);
303: /* Added as a FIX for the Issue 1 of bug:2881879 */
304: if(FND_MSG_PUB.count_msg> 0) then
305: if(l_initial_msg_count = 0 and errCode = 0) then
306: FND_MSG_PUB.Delete_msg;
307: end if;
308: end if;
309: /* Added for bug no :2911698
310: Since the error message is not getting added into the message stack

Line 494: fnd_msg_pub.initialize;

490: END IF;
491:
492: -- Initialize message list if p_init_msg_list is set to TRUE.
493: IF fnd_api.to_boolean(p_init_msg_list) THEN
494: fnd_msg_pub.initialize;
495: END IF;*/
496:
497: -- Initialize API return status to success
498: x_return_status := 0;

Line 538: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

534: end if;
535:
536:
537: -- Standard call to get message count and if count is 1, get message info.
538: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
539:
540: EXCEPTION
541: WHEN fnd_api.g_exc_error THEN
542: ROLLBACK TO apiname_apitype;

Line 544: fnd_msg_pub.count_and_get(p_count => x_msg_count,

540: EXCEPTION
541: WHEN fnd_api.g_exc_error THEN
542: ROLLBACK TO apiname_apitype;
543: x_return_status := 1;
544: fnd_msg_pub.count_and_get(p_count => x_msg_count,
545: p_data => x_msg_data);
546:
547: WHEN fnd_api.g_exc_unexpected_error THEN
548: ROLLBACK TO apiname_apitype;

Line 550: fnd_msg_pub.count_and_get(

546:
547: WHEN fnd_api.g_exc_unexpected_error THEN
548: ROLLBACK TO apiname_apitype;
549: x_return_status := 1;
550: fnd_msg_pub.count_and_get(
551: p_count => x_msg_count
552: ,p_data => x_msg_data);
553:
554: WHEN OTHERS THEN

Line 558: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

554: WHEN OTHERS THEN
555: ROLLBACK TO apiname_apitype;
556: x_return_status := 1;
557:
558: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
559: fnd_msg_pub.add_exc_msg('eam_completion', l_api_name);
560: END IF;
561:
562: fnd_msg_pub.count_and_get(p_count => x_msg_count,

Line 559: fnd_msg_pub.add_exc_msg('eam_completion', l_api_name);

555: ROLLBACK TO apiname_apitype;
556: x_return_status := 1;
557:
558: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
559: fnd_msg_pub.add_exc_msg('eam_completion', l_api_name);
560: END IF;
561:
562: fnd_msg_pub.count_and_get(p_count => x_msg_count,
563: p_data => x_msg_data);

Line 562: fnd_msg_pub.count_and_get(p_count => x_msg_count,

558: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
559: fnd_msg_pub.add_exc_msg('eam_completion', l_api_name);
560: END IF;
561:
562: fnd_msg_pub.count_and_get(p_count => x_msg_count,
563: p_data => x_msg_data);
564:
565:
566: END Lock_Row;

Line 998: FND_MSG_PUB.Add;

994: or x_actual_start_date = null or x_actual_end_date = null
995: or x_actual_duration = null) then
996: ROLLBACK TO job_comp;
997: fnd_message.set_name('EAM','EAM_WORK_ORDER_MISSING_INFO');
998: FND_MSG_PUB.Add;
999: errCode := 1;
1000: errMsg := fnd_message.get;
1001: return;
1002: end if; -- end validate data

Line 1086: FND_MSG_PUB.Add;

1082: i_asset_activity_id);
1083: end if;
1084: if l_valid = 1 then
1085: FND_MESSAGE.SET_NAME('EAM', 'EAM_WO_NO_UNCOMPLETE');
1086: FND_MSG_PUB.Add;
1087: errCode := 2;
1088: errMsg := fnd_message.get;
1089: return;
1090: end if;

Line 1141: FND_MSG_PUB.Add;

1137: AND ROWNUM =1
1138: );
1139: fnd_message.set_name('EAM','EAM_NETWRK_CHILD_JOB_NOT_COMP');
1140: fnd_message.set_token('WIP_ENTITY_NAME',network_child_name);
1141: FND_MSG_PUB.Add;
1142: errCode := 1;
1143: errMsg :=fnd_message.get;
1144: ROLLBACK TO job_comp;
1145: return;

Line 1195: FND_MSG_PUB.Add;

1191: );
1192: ROLLBACK TO job_comp;
1193: fnd_message.set_name('EAM','EAM_NETWRK_SIB_JOB_NOT_COM');
1194: fnd_message.set_token('WIP_ENTITY_NAME',network_child_name);
1195: FND_MSG_PUB.Add;
1196: errCode := 1;
1197: errMsg :=fnd_message.get;
1198: --errMsg := 'EAM_NETWRK_SIB_JOB_NOT_COM';
1199: return;

Line 1395: FND_MSG_PUB.Add;

1391: WIP_CONSTANTS.CANCELLED));
1392: if (child_job_var = '1') then
1393: ROLLBACK TO job_comp;
1394: fnd_message.set_name('EAM','EAM_CHILD_JOB_NOT_COMPLETE');
1395: FND_MSG_PUB.Add;
1396: errCode := 1;
1397: errMsg := fnd_message.get;
1398: return;
1399: else

Line 1410: FND_MSG_PUB.Add;

1406:
1407: else
1408: ROLLBACK TO job_comp;
1409: fnd_message.set_name('EAM','EAM_INVALID_WORK_ORDER_TYPE');
1410: FND_MSG_PUB.Add;
1411: errCode := 1;
1412: errMsg := fnd_message.get;
1413: return;
1414: end if; -- end work order check

Line 1491: FND_MSG_PUB.Add;

1487: -- Check whether parent job already completed or not
1488: if(i_parent_status_type = WIP_CONSTANTS.COMP_CHRG) then
1489: ROLLBACK TO job_comp;
1490: fnd_message.set_name('EAM','EAM_PARENT_JOB_COMPLETED');
1491: FND_MSG_PUB.Add;
1492: errCode := 1;
1493: errMsg := fnd_message.get;
1494: return;
1495: else

Line 1506: FND_MSG_PUB.Add;

1502:
1503: else
1504: ROLLBACK TO job_comp;
1505: fnd_message.set_name('EAM','EAM_INVALID_WORK_ORDER_TYPE');
1506: FND_MSG_PUB.Add;
1507: errCode := 1;
1508: errMsg := fnd_message.get;
1509: return;
1510: end if; --end work order check

Line 1541: FND_MSG_PUB.Add;

1537:
1538: else -- Other Transactions
1539: ROLLBACK TO job_comp;
1540: fnd_message.set_name('EAM','EAM_INVALID_TRANSACTION_TYPE');
1541: FND_MSG_PUB.Add;
1542: errCode := 1;
1543: errMsg := fnd_message.get;
1544: return;
1545: end if; -- end transaction type check