DBA Data[Home] [Help]

APPS.PSP_UPGRADE_EFF_REPORTS dependencies on FND_MSG_PUB

Line 226: fnd_msg_pub.initialize;

222: hr_utility.trace('Proceed with Migration when Effort Reports are not Approved: ' || p_ignore_appr);
223: hr_utility.trace('Proceed with Migration when Adjustment Batches are Pending: ' || p_ignore_da);
224: hr_utility.trace('Element Set Name for Effort Report Elements: ' || p_element_set_name);
225:
226: fnd_msg_pub.initialize;
227:
228: -- Check if the migration has already occurred. If not Proceed further else do nothing
229: IF psp_general.IS_EFFORT_REPORT_MIGRATED THEN
230: hr_utility.trace('Effort Report Already Migrated');

Line 559: fnd_msg_pub.add;

555: ROLLBACK;
556: fnd_message.set_name('PSP', 'PSP_ER_ALREADY_MIGRATED');
557: l_msg_buf := Fnd_Message.Get ;
558: fnd_file.put_line (FND_FILE.LOG, l_msg_buf );
559: fnd_msg_pub.add;
560: retCode :=0;
561: WHEN l_element_set_alredy_exist then
562: ROLLBACK;
563: fnd_message.set_name('PSP', 'PSP_ER_DUPLICATE_ELEMENT_SET');

Line 567: fnd_msg_pub.add;

563: fnd_message.set_name('PSP', 'PSP_ER_DUPLICATE_ELEMENT_SET');
564: fnd_message.set_token('ELEMENTSET',p_element_set_name);
565: l_msg_buf := Fnd_Message.Get ;
566: fnd_file.put_line (FND_FILE.LOG, l_msg_buf );
567: fnd_msg_pub.add;
568: retCode :=2;
569: hr_utility.trace_off;
570: WHEN l_migration_not_allowed then
571: ROLLBACK;

Line 575: fnd_msg_pub.add;

571: ROLLBACK;
572: fnd_message.set_name('PSP', 'PSP_ER_MIGRATION_NOT_ALLOWED');
573: l_msg_buf := Fnd_Message.Get ;
574: fnd_file.put_line (FND_FILE.LOG, l_msg_buf );
575: fnd_msg_pub.add;
576: retCode :=2;
577: hr_utility.trace_off;
578: WHEN OTHERS THEN
579: ROLLBACK;

Line 582: fnd_msg_pub.add;

578: WHEN OTHERS THEN
579: ROLLBACK;
580: fnd_message.set_name('PSP','PSP_SQL_ERROR');
581: fnd_message.set_token('SQLERROR',sqlerrm||l_err_phase);
582: fnd_msg_pub.add;
583: psp_message_s.print_error(p_mode => FND_FILE.LOG,
584: p_print_header => FND_API.G_TRUE);
585: retCode :=2;
586: hr_utility.trace_off;