DBA Data[Home] [Help]

APPS.PA_PROJECT_CORE1 dependencies on PA_PROJECT_UTILS

Line 45: proj_number_gen_mode := PA_PROJECT_UTILS.GetProjNumMode;

41: x_err_stage := 'Generating project number...';
42:
43: -- Generate Project Number according to the implementation-defined Project
44: -- number generation mode
45: proj_number_gen_mode := PA_PROJECT_UTILS.GetProjNumMode;
46: x_proj_number_gen_mode := proj_number_gen_mode; -- Added for Bug# 7445534
47:
48: if proj_number_gen_mode = 'MANUAL' then
49: proj_number_type := PA_PROJECT_UTILS.GetProjNumType;

Line 49: proj_number_type := PA_PROJECT_UTILS.GetProjNumType;

45: proj_number_gen_mode := PA_PROJECT_UTILS.GetProjNumMode;
46: x_proj_number_gen_mode := proj_number_gen_mode; -- Added for Bug# 7445534
47:
48: if proj_number_gen_mode = 'MANUAL' then
49: proj_number_type := PA_PROJECT_UTILS.GetProjNumType;
50: begin
51: if proj_number_type = 'NUMERIC' then
52: l_proj_num_numeric := TO_NUMBER(x_orig_proj_num);
53: end if;

Line 557: pa_project_utils.check_unique_project_name(x_project_name,

553:
554: -- Uniqueness check for project name
555: x_err_stage := 'check uniqueness for project name '|| x_project_name;
556: status_code :=
557: pa_project_utils.check_unique_project_name(x_project_name,
558: null);
559: if ( status_code = 0 ) then
560: x_err_code := 50;
561: x_err_stage := 'PA_PR_EPR_PROJ_NAME_NOT_UNIQUE';

Line 585: pa_project_utils.check_unique_long_name(x_long_name,

581: in Self Service as it is taken care in forms*/
582: if (x_long_name is NOT NULL and x_long_name <> PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR) then
583: x_err_stage := 'check uniqueness for long name '|| x_long_name;
584: status_code :=
585: pa_project_utils.check_unique_long_name(x_long_name,
586: null);
587: if ( status_code = 0 ) then
588: x_err_code := 50;
589: x_err_stage := 'PA_PR_EPR_LONG_NAME_NOT_UNIQUE';

Line 604: pa_project_utils.check_unique_long_name(x_project_name,

600:
601: if (x_long_name is NULL or x_long_name = PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR) then
602: x_err_stage := 'check uniqueness for long name '|| x_project_name;
603: status_code :=
604: pa_project_utils.check_unique_long_name(x_project_name,
605: null);
606: if ( status_code = 0 ) then
607: x_err_code := 50;
608: x_err_stage := 'PA_PR_EPR_LONG_NAME_NOT_UNIQUE';

Line 623: pa_project_utils.check_unique_project_number(x_new_project_number,

619: -- x_project_number
620: x_err_stage := 'check uniqueness for project number '||
621: x_new_project_number;
622: status_code :=
623: pa_project_utils.check_unique_project_number(x_new_project_number,
624: null);
625: if ( status_code = 0 ) then
626: x_err_code := 60;
627: x_err_stage := 'PA_PR_EPR_PROJ_NUM_NOT_UNIQUE';

Line 890: pa_project_utils2.validate_attribute_change

886:
887: --EH Changes
888: BEGIN
889: x_err_stage := 'Validate Attribute Change';
890: pa_project_utils2.validate_attribute_change
891: (X_Context => 'ORGANIZATION_VALIDATION',
892: X_insert_update_mode => 'INSERT',
893: X_calling_module => 'PAXPREPR',
894: X_project_id => NULL,

Line 935: x_err_stack := x_err_stack||'->pa_project_utils2.validate_attribute_change';

931: IF x_err_stage IS NULL
932: THEN
933: x_err_stage := pa_project_core1.get_message_from_stack( 'PA_ERR_VAL_ATTR_CHANGE');
934: END IF;
935: x_err_stack := x_err_stack||'->pa_project_utils2.validate_attribute_change';
936: rollback to copy_project;
937: revert_proj_number(x_proj_number_gen_mode,x_new_project_number); -- Added for Bug# 7445534
938: return;
939: END IF;

Line 946: x_err_stage := 'API: '||'pa_project_utils2.validate_attribute_change'||' SQL error message: '

942: x_err_code := 740;
943: -- x_err_stage := pa_project_core1.get_message_from_stack( null );
944: -- IF x_err_stage IS NULL
945: -- THEN
946: x_err_stage := 'API: '||'pa_project_utils2.validate_attribute_change'||' SQL error message: '
947: ||SUBSTR( SQLERRM,1,1900);
948: -- END IF;
949: rollback to copy_project;
950: revert_proj_number(x_proj_number_gen_mode,x_new_project_number); -- Added for Bug# 7445534