279: /* This code is later needed when the Public --> Pvt instead of pvt --> public
280: fnd_message.set_name ('CN', 'CNR12_NOTE_COMPPLAN_CREATE');
281: fnd_message.set_token ('CP_NAME', l_comp_rec.NAME);
282: l_note_msg := fnd_message.get;
283: jtf_notes_pub.create_note
284: (p_api_version => 1.0,
285: x_return_status => x_return_status,
286: x_msg_count => x_msg_count,
287: x_msg_data => x_msg_data,
656: l_note_msg := fnd_message.get;
657: l_consolidated_note := l_note_msg || fnd_global.local_chr(10);
658:
659: /*
660: jtf_notes_pub.create_note (p_api_version => 1.0,
661: x_return_status => x_return_status,
662: x_msg_count => x_msg_count,
663: x_msg_data => x_msg_data,
664: p_source_object_id => l_old_comp_plan.comp_plan_id,
683: l_note_msg := fnd_message.get;
684: l_consolidated_note := l_consolidated_note || l_note_msg || fnd_global.local_chr(10);
685:
686: /*
687: jtf_notes_pub.create_note (p_api_version => 1.0,
688: x_return_status => x_return_status,
689: x_msg_count => x_msg_count,
690: x_msg_data => x_msg_data,
691: p_source_object_id => l_old_comp_plan.comp_plan_id,
707: fnd_message.set_token ('NEW_END_DATE', TO_CHAR (p_comp_plan.end_date));
708: l_note_msg := fnd_message.get;
709: l_consolidated_note := l_consolidated_note || l_note_msg || fnd_global.local_chr(10);
710: /*
711: jtf_notes_pub.create_note (p_api_version => 1.0,
712: x_return_status => x_return_status,
713: x_msg_count => x_msg_count,
714: x_msg_data => x_msg_data,
715: p_source_object_id => l_old_comp_plan.comp_plan_id,
733: fnd_message.set_name ('CN', 'CNR12_NOTE_COMPPLAN_ELIG_UPD2');
734: l_note_msg := fnd_message.get;
735: l_consolidated_note := l_consolidated_note || l_note_msg || fnd_global.local_chr(10);
736: /*
737: jtf_notes_pub.create_note (p_api_version => 1.0,
738: x_return_status => x_return_status,
739: x_msg_count => x_msg_count,
740: x_msg_data => x_msg_data,
741: p_source_object_id => l_old_comp_plan.comp_plan_id,
759: fnd_message.set_name ('CN', 'CNR12_NOTE_COMPPLAN_ELIG_UPD1');
760: l_note_msg := fnd_message.get;
761: l_consolidated_note := l_consolidated_note || l_note_msg || fnd_global.local_chr(10);
762: /*
763: jtf_notes_pub.create_note (p_api_version => 1.0,
764: x_return_status => x_return_status,
765: x_msg_count => x_msg_count,
766: x_msg_data => x_msg_data,
767: p_source_object_id => l_old_comp_plan.comp_plan_id,
776:
777:
778: IF LENGTH(l_consolidated_note) > 1 THEN
779:
780: jtf_notes_pub.create_note (p_api_version => 1.0,
781: x_return_status => x_return_status,
782: x_msg_count => x_msg_count,
783: x_msg_data => x_msg_data,
784: p_source_object_id => l_old_comp_plan.comp_plan_id,
950: THEN
951: fnd_message.set_name ('CN', 'CNR12_NOTE_COMPPLAN_DELETE');
952: fnd_message.set_token ('CP_NAME', l_cp_name);
953: l_note_msg := fnd_message.get;
954: jtf_notes_pub.create_note (p_api_version => 1.0,
955: x_return_status => x_return_status,
956: x_msg_count => x_msg_count,
957: x_msg_data => x_msg_data,
958: p_source_object_id => l_org_id,