DBA Data[Home] [Help]

APPS.PJM_PROJECT dependencies on FND_MESSAGE

Line 749: FND_MESSAGE.set_name('PJM', X_error_code);

745: open pop;
746: fetch pop into L_org_code , retcode , L_proj_ctrl_level;
747: if ( pop%notfound ) then
748: X_error_code := 'GEN-ORG ID INVALID';
749: FND_MESSAGE.set_name('PJM', X_error_code);
750: FND_MESSAGE.set_token('ID', X_inventory_org_id);
751: FND_MSG_PUB.add;
752: failures := failures + 1;
753: end if;

Line 750: FND_MESSAGE.set_token('ID', X_inventory_org_id);

746: fetch pop into L_org_code , retcode , L_proj_ctrl_level;
747: if ( pop%notfound ) then
748: X_error_code := 'GEN-ORG ID INVALID';
749: FND_MESSAGE.set_name('PJM', X_error_code);
750: FND_MESSAGE.set_token('ID', X_inventory_org_id);
751: FND_MSG_PUB.add;
752: failures := failures + 1;
753: end if;
754:

Line 759: FND_MESSAGE.set_name('PJM', X_error_code);

755: close pop;
756:
757: if ( retcode is not null ) then
758: X_error_code := retcode;
759: FND_MESSAGE.set_name('PJM', X_error_code);
760: FND_MESSAGE.set_token('ORG', L_org_code);
761: FND_MSG_PUB.add;
762: failures := failures + 1;
763: end if;

Line 760: FND_MESSAGE.set_token('ORG', L_org_code);

756:
757: if ( retcode is not null ) then
758: X_error_code := retcode;
759: FND_MESSAGE.set_name('PJM', X_error_code);
760: FND_MESSAGE.set_token('ORG', L_org_code);
761: FND_MSG_PUB.add;
762: failures := failures + 1;
763: end if;
764:

Line 787: FND_MESSAGE.set_name('PJM' , X_error_code);

783: --
784: -- Not Project or Seiban: project ID is not valid
785: --
786: X_error_code := 'GEN-PROJ ID INVALID';
787: FND_MESSAGE.set_name('PJM' , X_error_code);
788: FND_MESSAGE.set_token('ID' , X_project_id);
789: FND_MSG_PUB.add;
790: failures := failures + 1;
791: end if;

Line 788: FND_MESSAGE.set_token('ID' , X_project_id);

784: -- Not Project or Seiban: project ID is not valid
785: --
786: X_error_code := 'GEN-PROJ ID INVALID';
787: FND_MESSAGE.set_name('PJM' , X_error_code);
788: FND_MESSAGE.set_token('ID' , X_project_id);
789: FND_MSG_PUB.add;
790: failures := failures + 1;
791: end if;
792:

Line 796: FND_MESSAGE.set_name('PJM', X_error_code);

792:
793: if (projflag = 'P' or projflag = 'S') then
794: if ( retcode is not null ) then
795: X_error_code := retcode;
796: FND_MESSAGE.set_name('PJM', X_error_code);
797: FND_MESSAGE.set_token('PROJECT', project_num);
798: FND_MSG_PUB.add;
799: failures := failures + 1;
800: else

Line 797: FND_MESSAGE.set_token('PROJECT', project_num);

793: if (projflag = 'P' or projflag = 'S') then
794: if ( retcode is not null ) then
795: X_error_code := retcode;
796: FND_MESSAGE.set_name('PJM', X_error_code);
797: FND_MESSAGE.set_token('PROJECT', project_num);
798: FND_MSG_PUB.add;
799: failures := failures + 1;
800: else
801: --

Line 811: FND_MESSAGE.set_name('PJM', X_error_code);

807: --
808: -- X_date1 falls out of start/end date window
809: --
810: X_error_code := 'GEN-INVALID DATE FOR PROJ';
811: FND_MESSAGE.set_name('PJM', X_error_code);
812: FND_MESSAGE.set_token('DATE', X_date1);
813: FND_MSG_PUB.add;
814: warnings := warnings + 1;
815: end if;

Line 812: FND_MESSAGE.set_token('DATE', X_date1);

808: -- X_date1 falls out of start/end date window
809: --
810: X_error_code := 'GEN-INVALID DATE FOR PROJ';
811: FND_MESSAGE.set_name('PJM', X_error_code);
812: FND_MESSAGE.set_token('DATE', X_date1);
813: FND_MSG_PUB.add;
814: warnings := warnings + 1;
815: end if;
816:

Line 823: FND_MESSAGE.set_name('PJM', X_error_code);

819: --
820: -- X_date1 falls out of parameter start/end date window
821: --
822: X_error_code := 'GEN-INVALID DATE FOR ORG';
823: FND_MESSAGE.set_name('PJM', X_error_code);
824: FND_MESSAGE.set_token('DATE', X_date1);
825: FND_MSG_PUB.add;
826: warnings := warnings + 1;
827: end if;

Line 824: FND_MESSAGE.set_token('DATE', X_date1);

820: -- X_date1 falls out of parameter start/end date window
821: --
822: X_error_code := 'GEN-INVALID DATE FOR ORG';
823: FND_MESSAGE.set_name('PJM', X_error_code);
824: FND_MESSAGE.set_token('DATE', X_date1);
825: FND_MSG_PUB.add;
826: warnings := warnings + 1;
827: end if;
828: end if;

Line 837: FND_MESSAGE.set_name('PJM', X_error_code);

833: --
834: -- X_date2 falls out of start/end date window
835: --
836: X_error_code := 'GEN-INVALID DATE FOR PROJ';
837: FND_MESSAGE.set_name('PJM', X_error_code);
838: FND_MESSAGE.set_token('DATE', X_date2);
839: FND_MSG_PUB.add;
840: warnings := warnings + 1;
841: end if;

Line 838: FND_MESSAGE.set_token('DATE', X_date2);

834: -- X_date2 falls out of start/end date window
835: --
836: X_error_code := 'GEN-INVALID DATE FOR PROJ';
837: FND_MESSAGE.set_name('PJM', X_error_code);
838: FND_MESSAGE.set_token('DATE', X_date2);
839: FND_MSG_PUB.add;
840: warnings := warnings + 1;
841: end if;
842:

Line 849: FND_MESSAGE.set_name('PJM', X_error_code);

845: --
846: -- X_date2 falls out of start/end date window
847: --
848: X_error_code := 'GEN-INVALID DATE FOR ORG';
849: FND_MESSAGE.set_name('PJM', X_error_code);
850: FND_MESSAGE.set_token('DATE', X_date2);
851: FND_MSG_PUB.add;
852: warnings := warnings + 1;
853: end if;

Line 850: FND_MESSAGE.set_token('DATE', X_date2);

846: -- X_date2 falls out of start/end date window
847: --
848: X_error_code := 'GEN-INVALID DATE FOR ORG';
849: FND_MESSAGE.set_name('PJM', X_error_code);
850: FND_MESSAGE.set_token('DATE', X_date2);
851: FND_MSG_PUB.add;
852: warnings := warnings + 1;
853: end if;
854: end if;

Line 865: FND_MESSAGE.set_name('PJM', X_error_code);

861: -- control level
862: --
863: if ( L_proj_ctrl_level = 'TASK' ) then
864: X_error_code := 'GEN-INVALID PROJ REF';
865: FND_MESSAGE.set_name('PJM', X_error_code);
866: FND_MESSAGE.set_token('ORG', L_org_code);
867: FND_MSG_PUB.add;
868: failures := failures + 1;
869: end if;

Line 866: FND_MESSAGE.set_token('ORG', L_org_code);

862: --
863: if ( L_proj_ctrl_level = 'TASK' ) then
864: X_error_code := 'GEN-INVALID PROJ REF';
865: FND_MESSAGE.set_name('PJM', X_error_code);
866: FND_MESSAGE.set_token('ORG', L_org_code);
867: FND_MSG_PUB.add;
868: failures := failures + 1;
869: end if;
870:

Line 889: FND_MESSAGE.set_name('PJM' , X_error_code);

885: -- If the base_task cursor returns nothing, then
886: -- either the task does not exist or not for this project
887: if ( base_task%notfound ) then
888: X_error_code := 'GEN-TASK ID INVALID';
889: FND_MESSAGE.set_name('PJM' , X_error_code);
890: FND_MESSAGE.set_token('ID' , X_task_id);
891: FND_MSG_PUB.add;
892: failures := failures + 1;
893: else

Line 890: FND_MESSAGE.set_token('ID' , X_task_id);

886: -- either the task does not exist or not for this project
887: if ( base_task%notfound ) then
888: X_error_code := 'GEN-TASK ID INVALID';
889: FND_MESSAGE.set_name('PJM' , X_error_code);
890: FND_MESSAGE.set_token('ID' , X_task_id);
891: FND_MSG_PUB.add;
892: failures := failures + 1;
893: else
894: X_error_code := retcode;

Line 895: FND_MESSAGE.set_name('PJM' , X_error_code);

891: FND_MSG_PUB.add;
892: failures := failures + 1;
893: else
894: X_error_code := retcode;
895: FND_MESSAGE.set_name('PJM' , X_error_code);
896: FND_MESSAGE.set_token('TASK' , task_num);
897: FND_MSG_PUB.add;
898: failures := failures + 1;
899: end if;

Line 896: FND_MESSAGE.set_token('TASK' , task_num);

892: failures := failures + 1;
893: else
894: X_error_code := retcode;
895: FND_MESSAGE.set_name('PJM' , X_error_code);
896: FND_MESSAGE.set_token('TASK' , task_num);
897: FND_MSG_PUB.add;
898: failures := failures + 1;
899: end if;
900:

Line 907: FND_MESSAGE.set_name('PJM', X_error_code);

903: --
904: elsif ( retcode is not null ) then
905:
906: X_error_code := retcode;
907: FND_MESSAGE.set_name('PJM', X_error_code);
908: FND_MESSAGE.set_token('TASK', task_num);
909: FND_MSG_PUB.add;
910: failures := failures + 1;
911:

Line 908: FND_MESSAGE.set_token('TASK', task_num);

904: elsif ( retcode is not null ) then
905:
906: X_error_code := retcode;
907: FND_MESSAGE.set_name('PJM', X_error_code);
908: FND_MESSAGE.set_token('TASK', task_num);
909: FND_MSG_PUB.add;
910: failures := failures + 1;
911:
912: else

Line 921: FND_MESSAGE.set_name('PJM', X_error_code);

917: --
918: -- X_date1 falls out of start/end date window
919: --
920: X_error_code := 'GEN-INVALID DATE FOR TASK';
921: FND_MESSAGE.set_name('PJM', X_error_code);
922: FND_MESSAGE.set_token('DATE', X_date1);
923: FND_MSG_PUB.add;
924: warnings := warnings + 1;
925: end if;

Line 922: FND_MESSAGE.set_token('DATE', X_date1);

918: -- X_date1 falls out of start/end date window
919: --
920: X_error_code := 'GEN-INVALID DATE FOR TASK';
921: FND_MESSAGE.set_name('PJM', X_error_code);
922: FND_MESSAGE.set_token('DATE', X_date1);
923: FND_MSG_PUB.add;
924: warnings := warnings + 1;
925: end if;
926: end if;

Line 935: FND_MESSAGE.set_name('PJM', X_error_code);

931: --
932: -- X_date2 falls out of start/end date window
933: --
934: X_error_code := 'GEN-INVALID DATE FOR TASK';
935: FND_MESSAGE.set_name('PJM', X_error_code);
936: FND_MESSAGE.set_token('DATE', X_date2);
937: FND_MSG_PUB.add;
938: warnings := warnings + 1;
939: end if;

Line 936: FND_MESSAGE.set_token('DATE', X_date2);

932: -- X_date2 falls out of start/end date window
933: --
934: X_error_code := 'GEN-INVALID DATE FOR TASK';
935: FND_MESSAGE.set_name('PJM', X_error_code);
936: FND_MESSAGE.set_token('DATE', X_date2);
937: FND_MSG_PUB.add;
938: warnings := warnings + 1;
939: end if;
940: end if;

Line 995: fnd_message.set_name('PJM' , 'GEN-PROJ REF FAILURE');

991: fnd_msg_pub.get( p_msg_index => i
992: , p_encoded => FND_API.G_FALSE ) ||
993: fnd_global.newline;
994: end loop;
995: fnd_message.set_name('PJM' , 'GEN-PROJ REF FAILURE');
996: fnd_message.set_token('ERRORTEXT' , msgdata);
997: return ( G_VALIDATE_FAILURE );
998:
999: when VALIDATE_WARNING then

Line 996: fnd_message.set_token('ERRORTEXT' , msgdata);

992: , p_encoded => FND_API.G_FALSE ) ||
993: fnd_global.newline;
994: end loop;
995: fnd_message.set_name('PJM' , 'GEN-PROJ REF FAILURE');
996: fnd_message.set_token('ERRORTEXT' , msgdata);
997: return ( G_VALIDATE_FAILURE );
998:
999: when VALIDATE_WARNING then
1000: msgdata := '';

Line 1009: fnd_message.set_name('PJM' , 'GEN-PROJ REF WARNING');

1005: fnd_msg_pub.get( p_msg_index => i
1006: , p_encoded => FND_API.G_FALSE ) ||
1007: fnd_global.newline;
1008: end loop;
1009: fnd_message.set_name('PJM' , 'GEN-PROJ REF WARNING');
1010: fnd_message.set_token('ERRORTEXT' , msgdata);
1011: return ( G_VALIDATE_WARNING );
1012:
1013: when others then

Line 1010: fnd_message.set_token('ERRORTEXT' , msgdata);

1006: , p_encoded => FND_API.G_FALSE ) ||
1007: fnd_global.newline;
1008: end loop;
1009: fnd_message.set_name('PJM' , 'GEN-PROJ REF WARNING');
1010: fnd_message.set_token('ERRORTEXT' , msgdata);
1011: return ( G_VALIDATE_WARNING );
1012:
1013: when others then
1014: if fnd_msg_pub.check_msg_level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) then