DBA Data[Home] [Help]

APPS.PA_PROJECT_PARTIES_PVT dependencies on FND_MSG_PUB

Line 241: fnd_msg_pub.add();

237: if (l_valid <> 'Y') then
238: -- check that the person is allowed to have schedule
239: x_return_status := FND_API.G_RET_STS_ERROR;
240: fnd_message.set_name('PA','PA_NO_SCHEDULABLE_PERSON');
241: fnd_msg_pub.add();
242: end if;
243:
244: -- if the res belongs to the expenditure org hierarchy, check if the res's
245: -- job is schedulable

Line 262: fnd_msg_pub.add();

258: ,p_date => l_date );
259: IF l_job_schedulable <> 'Y' THEN
260: x_return_status := FND_API.G_RET_STS_ERROR;
261: fnd_message.set_name('PA','PA_NOT_SCHEDULABLE_JOB');
262: fnd_msg_pub.add();
263: END IF;
264: END IF;
265: end if;
266:

Line 301: fnd_msg_pub.add;

297: if p_calling_module = 'FORM' then
298: fnd_message.set_name('FND','FORM_RECORD_CHANGED');
299: --fnd_message.set_token('PKG_NAME','PA_PROJECT_PARTIES_PKG');
300: --fnd_message.set_token('PROCEDURE_NAME','UPDATE_ROW');
301: fnd_msg_pub.add;
302: else
303: fnd_message.set_name('PA','PA_XC_RECORD_CHANGED');
304: --fnd_message.set_token('PKG_NAME','PA_PROJECT_PARTIES_PKG');
305: --fnd_message.set_token('PROCEDURE_NAME','UPDATE_ROW');

Line 306: fnd_msg_pub.add;

302: else
303: fnd_message.set_name('PA','PA_XC_RECORD_CHANGED');
304: --fnd_message.set_token('PKG_NAME','PA_PROJECT_PARTIES_PKG');
305: --fnd_message.set_token('PROCEDURE_NAME','UPDATE_ROW');
306: fnd_msg_pub.add;
307:
308: end if;
309: end if;
310:

Line 403: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

399: ,x_error_occured => l_error_occured);
400:
401: IF l_error_occured = 'PA_PR_NO_MGR_DATE_RANGE' THEN
402: /* If a Manager does not exist for the entire duration of the project */
403: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
404: pa_utils.add_message
405: ( p_app_short_name => 'PA'
406: ,p_msg_name => 'PA_PR_NO_MGR_DATE_RANGE'
407: ,p_token1 => 'START_DATE'

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

439: end if;
440: commit work;
441: end if;
442: end if;
443: fnd_msg_pub.count_and_get(p_count => x_msg_count,
444: p_data => x_msg_data);
445:
446: pa_debug.reset_err_stack;
447:

Line 452: l_msg_count := FND_MSG_PUB.count_msg;

448: EXCEPTION
449: --Bug 5186830
450: WHEN FND_API.G_EXC_ERROR THEN
451:
452: l_msg_count := FND_MSG_PUB.count_msg;
453:
454: IF l_msg_count = 1 THEN
455: PA_INTERFACE_UTILS_PUB.get_messages
456: (p_encoded => FND_API.G_TRUE

Line 475: fnd_msg_pub.add();

471: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
472: fnd_message.set_name('PA','PA_UNEXPECTED_ERROR');
473: fnd_message.set_token('PKG_NAME','PA_PROJECT_PARTIES_PUB');
474: fnd_message.set_token('PROCEDURE_NAME','CREATE_PROJECT_PARTY');
475: fnd_msg_pub.add();
476: fnd_msg_pub.count_and_get(p_count => x_msg_count,
477: p_data => x_msg_data);
478: raise;
479:

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

472: fnd_message.set_name('PA','PA_UNEXPECTED_ERROR');
473: fnd_message.set_token('PKG_NAME','PA_PROJECT_PARTIES_PUB');
474: fnd_message.set_token('PROCEDURE_NAME','CREATE_PROJECT_PARTY');
475: fnd_msg_pub.add();
476: fnd_msg_pub.count_and_get(p_count => x_msg_count,
477: p_data => x_msg_data);
478: raise;
479:
480: WHEN OTHERS THEN

Line 485: fnd_msg_pub.add_exc_msg(p_pkg_name => 'PA_PROJECT_PARTIES_PUB',

481: if p_commit = FND_API.G_TRUE then
482: rollback to project_parties;
483: end if;
484: x_return_status := fnd_api.g_ret_sts_unexp_error;
485: fnd_msg_pub.add_exc_msg(p_pkg_name => 'PA_PROJECT_PARTIES_PUB',
486: p_procedure_name => pa_debug.G_err_stack,
487: p_error_text => SUBSTRB(SQLERRM,1,240));
488: raise;
489:

Line 624: fnd_msg_pub.add();

620: IF (l_valid <> 'Y') then
621: -- check that the person is allowed to have schedule
622: x_return_status := FND_API.G_RET_STS_ERROR;
623: fnd_message.set_name('PA','PA_NO_SCHEDULABLE_PERSON');
624: fnd_msg_pub.add();
625: END IF;
626:
627: -- if the res belongs to the expenditure org hierarchy, check if the res's
628: -- job is schedulable

Line 648: fnd_msg_pub.add();

644:
645: IF l_job_schedulable <> 'Y' THEN
646: x_return_status := FND_API.G_RET_STS_ERROR;
647: fnd_message.set_name('PA','PA_NOT_SCHEDULABLE_JOB');
648: fnd_msg_pub.add();
649: END IF;
650: END IF;
651: END IF;
652: if x_return_status = FND_API.G_RET_STS_SUCCESS then

Line 794: fnd_msg_pub.add;

790: if p_calling_module = 'FORM' then
791: fnd_message.set_name('FND','FORM_RECORD_CHANGED');
792: --fnd_message.set_token('PKG_NAME','PA_PROJECT_PARTIES_PKG');
793: --fnd_message.set_token('PROCEDURE_NAME','UPDATE_ROW');
794: fnd_msg_pub.add;
795: else
796: fnd_message.set_name('PA','PA_XC_RECORD_CHANGED');
797: --fnd_message.set_token('PKG_NAME',to_char(p_project_party_id));
798: --fnd_message.set_token('PROCEDURE_NAME',to_char(p_record_version_number));

Line 799: fnd_msg_pub.add;

795: else
796: fnd_message.set_name('PA','PA_XC_RECORD_CHANGED');
797: --fnd_message.set_token('PKG_NAME',to_char(p_project_party_id));
798: --fnd_message.set_token('PROCEDURE_NAME',to_char(p_record_version_number));
799: fnd_msg_pub.add;
800:
801: end if;
802: end if;
803:

Line 832: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

828: ,x_error_occured => l_error_occured);
829:
830: IF l_error_occured = 'PA_PR_NO_MGR_DATE_RANGE' THEN
831: /* If a Manager does not exist for the entire duration of the project */
832: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
833: pa_utils.add_message
834: ( p_app_short_name => 'PA'
835: ,p_msg_name => 'PA_PR_NO_MGR_DATE_RANGE'
836: ,p_token1 => 'START_DATE'

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

867: END IF;
868: end if;
869: commit work;
870: end if;
871: fnd_msg_pub.count_and_get(p_count => x_msg_count,
872: p_data => x_msg_data);
873:
874: pa_debug.reset_err_stack;
875:

Line 881: l_msg_count := FND_MSG_PUB.count_msg;

877:
878: -- bug 5856712
879: WHEN FND_API.G_EXC_ERROR THEN
880:
881: l_msg_count := FND_MSG_PUB.count_msg;
882:
883: IF l_msg_count = 1 THEN
884: PA_INTERFACE_UTILS_PUB.get_messages
885: (p_encoded => FND_API.G_TRUE

Line 904: fnd_msg_pub.add();

900: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
901: fnd_message.set_name('PA','PA_UNEXPECTED_ERROR');
902: fnd_message.set_token('PKG_NAME','PA_PROJECT_PARTIES_PUB');
903: fnd_message.set_token('PROCEDURE_NAME','UPDATE_PROJECT_PARTY');
904: fnd_msg_pub.add();
905: fnd_msg_pub.count_and_get(p_count => x_msg_count,
906: p_data => x_msg_data);
907: raise;
908:

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

901: fnd_message.set_name('PA','PA_UNEXPECTED_ERROR');
902: fnd_message.set_token('PKG_NAME','PA_PROJECT_PARTIES_PUB');
903: fnd_message.set_token('PROCEDURE_NAME','UPDATE_PROJECT_PARTY');
904: fnd_msg_pub.add();
905: fnd_msg_pub.count_and_get(p_count => x_msg_count,
906: p_data => x_msg_data);
907: raise;
908:
909:

Line 915: fnd_msg_pub.add_exc_msg(p_pkg_name => 'PA_PROJECT_PARTIES_PUB',

911: if p_commit = fnd_api.G_TRUE then
912: rollback to project_parties;
913: end if;
914: x_return_status := fnd_api.g_ret_sts_unexp_error;
915: fnd_msg_pub.add_exc_msg(p_pkg_name => 'PA_PROJECT_PARTIES_PUB',
916: p_procedure_name => pa_debug.g_err_stack,
917: p_error_text => SUBSTRB(SQLERRM,1,240));
918: fnd_msg_pub.count_and_get(p_count => x_msg_count,
919: p_data => x_msg_data);

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

914: x_return_status := fnd_api.g_ret_sts_unexp_error;
915: fnd_msg_pub.add_exc_msg(p_pkg_name => 'PA_PROJECT_PARTIES_PUB',
916: p_procedure_name => pa_debug.g_err_stack,
917: p_error_text => SUBSTRB(SQLERRM,1,240));
918: fnd_msg_pub.count_and_get(p_count => x_msg_count,
919: p_data => x_msg_data);
920:
921: raise;
922:

Line 1128: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.G_MSG_LVL_ERROR) THEN

1124: ,x_error_occured => l_error_occured);
1125:
1126: IF l_error_occured = 'PA_PR_NO_MGR_DATE_RANGE' THEN
1127: /* If a Manager does not exist for the entire duration of the project */
1128: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
1129: pa_utils.add_message
1130: ( p_app_short_name => 'PA'
1131: ,p_msg_name => 'PA_PR_NO_MGR_DATE_RANGE'
1132: ,p_token1 => 'START_DATE'

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

1165: end if;
1166: commit work;
1167: end if;
1168:
1169: fnd_msg_pub.count_and_get(p_count => x_msg_count,
1170: p_data => x_msg_data);
1171: end if;
1172:
1173: pa_debug.reset_err_stack;

Line 1182: fnd_msg_pub.add();

1178: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1179: fnd_message.set_name('PA','PA_UNEXPECTED_ERROR');
1180: fnd_message.set_token('PKG_NAME','PA_PROJECT_PARTIES_PVT');
1181: fnd_message.set_token('PROCEDURE_NAME','DELETE_PROJECT_PARTY');
1182: fnd_msg_pub.add();
1183: fnd_msg_pub.count_and_get(p_count => x_msg_count,
1184: p_data => x_msg_data);
1185: raise;
1186:

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

1179: fnd_message.set_name('PA','PA_UNEXPECTED_ERROR');
1180: fnd_message.set_token('PKG_NAME','PA_PROJECT_PARTIES_PVT');
1181: fnd_message.set_token('PROCEDURE_NAME','DELETE_PROJECT_PARTY');
1182: fnd_msg_pub.add();
1183: fnd_msg_pub.count_and_get(p_count => x_msg_count,
1184: p_data => x_msg_data);
1185: raise;
1186:
1187: WHEN NO_DATA_FOUND THEN

Line 1226: fnd_msg_pub.add_exc_msg(p_pkg_name => 'PA_PROJECT_PARTIES_PUB',

1222: FND_MESSAGE.Set_Name('PA', 'PA_XC_ROW_ALREADY_LOCKED');
1223: x_msg_data := FND_MESSAGE.get;
1224: x_return_status := FND_API.G_RET_STS_ERROR;
1225: else
1226: fnd_msg_pub.add_exc_msg(p_pkg_name => 'PA_PROJECT_PARTIES_PUB',
1227: p_procedure_name => pa_debug.g_err_stack,
1228: p_error_text => SUBSTRB(SQLERRM,1,240));
1229: x_return_status := FND_API.G_RET_STS_ERROR;
1230: end if;