DBA Data[Home] [Help]

APPS.HR_EMPLOYEE_API dependencies on HR_API

Line 493: when hr_api.cannot_find_prog_unit then

489: ,p_global_person_id => p_global_person_id
490: ,p_party_id => p_party_id
491: );
492: exception
493: when hr_api.cannot_find_prog_unit then
494: hr_api.cannot_find_prog_unit_error
495: (p_module_name => 'CREATE_EMPLOYEE'
496: ,p_hook_type => 'BP'
497: );

Line 494: hr_api.cannot_find_prog_unit_error

490: ,p_party_id => p_party_id
491: );
492: exception
493: when hr_api.cannot_find_prog_unit then
494: hr_api.cannot_find_prog_unit_error
495: (p_module_name => 'CREATE_EMPLOYEE'
496: ,p_hook_type => 'BP'
497: );
498: --

Line 948: when hr_api.cannot_find_prog_unit then

944: ,p_assign_payroll_warning => l_assign_payroll_warning
945: ,p_orig_hire_warning => l_orig_hire_warning
946: );
947: exception
948: when hr_api.cannot_find_prog_unit then
949: hr_api.cannot_find_prog_unit_error
950: (p_module_name => 'CREATE_EMPLOYEE'
951: ,p_hook_type => 'AP'
952: );

Line 949: hr_api.cannot_find_prog_unit_error

945: ,p_orig_hire_warning => l_orig_hire_warning
946: );
947: exception
948: when hr_api.cannot_find_prog_unit then
949: hr_api.cannot_find_prog_unit_error
950: (p_module_name => 'CREATE_EMPLOYEE'
951: ,p_hook_type => 'AP'
952: );
953: --

Line 977: raise hr_api.validate_enabled;

973: --
974: -- When in validation only mode raise the Validate_Enabled exception
975: --
976: if p_validate then
977: raise hr_api.validate_enabled;
978: end if;
979: --
980: if g_debug then
981: hr_utility.set_location(' Leaving:'||l_proc, 70);

Line 984: when hr_api.validate_enabled then

980: if g_debug then
981: hr_utility.set_location(' Leaving:'||l_proc, 70);
982: end if;
983: exception
984: when hr_api.validate_enabled then
985: --
986: -- As the Validate_Enabled exception has been raised
987: -- we must rollback to the savepoint
988: --

Line 2518: ,p_person_type_id in number default hr_api.g_number

2514: (p_validate in boolean default false
2515: ,p_hire_date in date
2516: ,p_person_id in number
2517: ,p_per_object_version_number in out nocopy number
2518: ,p_person_type_id in number default hr_api.g_number
2519: ,p_rehire_reason in varchar2
2520: ,p_assignment_id out nocopy number
2521: ,p_asg_object_version_number out nocopy number
2522: ,p_per_effective_start_date out nocopy date

Line 2764: hr_api.mandatory_arg_error

2760: --
2761: -- 1. ensure that the mandatory parameters p_hire_date and p_person_id
2762: -- are not null
2763: --
2764: hr_api.mandatory_arg_error
2765: (p_api_name => l_proc
2766: ,p_argument => 'person id'
2767: ,p_argument_value => p_person_id);
2768: --

Line 2769: hr_api.mandatory_arg_error

2765: (p_api_name => l_proc
2766: ,p_argument => 'person id'
2767: ,p_argument_value => p_person_id);
2768: --
2769: hr_api.mandatory_arg_error
2770: (p_api_name => l_proc
2771: ,p_argument => 'hire date'
2772: ,p_argument_value => p_hire_date);
2773: --

Line 2942: l_applicant_number := hr_api.g_varchar2;

2938: --
2939: -- Initialise local variables
2940: --
2941: l_object_version_number := p_per_object_version_number;
2942: l_applicant_number := hr_api.g_varchar2;
2943: l_npw_number := hr_api.g_varchar2;
2944: l_hire_date := trunc(p_hire_date);
2945: --
2946: -- perform business process validation

Line 2943: l_npw_number := hr_api.g_varchar2;

2939: -- Initialise local variables
2940: --
2941: l_object_version_number := p_per_object_version_number;
2942: l_applicant_number := hr_api.g_varchar2;
2943: l_npw_number := hr_api.g_varchar2;
2944: l_hire_date := trunc(p_hire_date);
2945: --
2946: -- perform business process validation
2947: --

Line 2976: when hr_api.cannot_find_prog_unit then

2972: ,p_person_type_id =>p_person_type_id
2973: ,p_rehire_reason =>p_rehire_reason
2974: );
2975: exception
2976: when hr_api.cannot_find_prog_unit then
2977: hr_api.cannot_find_prog_unit_error
2978: (p_module_name => 'RE_HIRE_EX_EMPLOYEE'
2979: ,p_hook_type => 'BP'
2980: );

Line 2977: hr_api.cannot_find_prog_unit_error

2973: ,p_rehire_reason =>p_rehire_reason
2974: );
2975: exception
2976: when hr_api.cannot_find_prog_unit then
2977: hr_api.cannot_find_prog_unit_error
2978: (p_module_name => 'RE_HIRE_EX_EMPLOYEE'
2979: ,p_hook_type => 'BP'
2980: );
2981: --

Line 3149: when hr_api.cannot_find_prog_unit then

3145: ,p_assignment_number =>l_assignment_number
3146: ,p_assign_payroll_warning =>l_assign_payroll_warning
3147: );
3148: exception
3149: when hr_api.cannot_find_prog_unit then
3150: hr_api.cannot_find_prog_unit_error
3151: (p_module_name => 'RE_HIRE_EX_EMPLOYEE'
3152: ,p_hook_type => 'BP'
3153: );

Line 3150: hr_api.cannot_find_prog_unit_error

3146: ,p_assign_payroll_warning =>l_assign_payroll_warning
3147: );
3148: exception
3149: when hr_api.cannot_find_prog_unit then
3150: hr_api.cannot_find_prog_unit_error
3151: (p_module_name => 'RE_HIRE_EX_EMPLOYEE'
3152: ,p_hook_type => 'BP'
3153: );
3154: --

Line 3160: raise hr_api.validate_enabled;

3156: --
3157: end;
3158: --
3159: if p_validate then
3160: raise hr_api.validate_enabled;
3161: end if;
3162: --
3163: -- Set all output arguments
3164: --

Line 3179: when hr_api.validate_enabled then

3175: if g_debug then
3176: hr_utility.set_location(' Leaving:'||l_proc, 30);
3177: end if;
3178: exception
3179: when hr_api.validate_enabled then
3180: --
3181: -- As the Validate_Enabled exception has been raised
3182: -- we must rollback to the savepoint
3183: --

Line 3238: ,p_person_type_id in number default hr_api.g_number

3234: ,p_person_id in number
3235: ,p_applicant_number in out nocopy varchar2
3236: ,p_per_object_version_number in out nocopy number
3237: ,p_vacancy_id in number default null
3238: ,p_person_type_id in number default hr_api.g_number
3239: ,p_application_id out nocopy number
3240: ,p_assignment_id out nocopy number
3241: ,p_apl_object_version_number out nocopy number
3242: ,p_asg_object_version_number out nocopy number

Line 3281: ,p_person_type_id in number default hr_api.g_number

3277: ,p_person_id in number
3278: ,p_applicant_number in out nocopy varchar2
3279: ,p_per_object_version_number in out nocopy number
3280: ,p_vacancy_id in number default null
3281: ,p_person_type_id in number default hr_api.g_number
3282: ,p_application_id out nocopy number
3283: ,p_assignment_id out nocopy number
3284: ,p_apl_object_version_number out nocopy number
3285: ,p_asg_object_version_number out nocopy number

Line 3426: hr_api.mandatory_arg_error

3422: --
3423: -- Ensure that the mandatory parameter, p_person_id
3424: -- is not null
3425: --
3426: hr_api.mandatory_arg_error
3427: (p_api_name => l_proc
3428: ,p_argument => 'person id'
3429: ,p_argument_value => p_person_id);
3430: --

Line 3487: when hr_api.cannot_find_prog_unit then

3483: ,p_vacancy_id => p_vacancy_id
3484: ,p_person_type_id => p_person_type_id
3485: );
3486: exception
3487: when hr_api.cannot_find_prog_unit then
3488: hr_api.cannot_find_prog_unit_error
3489: (p_module_name => 'APPLY_FOR_INTERNAL_VACANCY'
3490: ,p_hook_type => 'BP'
3491: );

Line 3488: hr_api.cannot_find_prog_unit_error

3484: ,p_person_type_id => p_person_type_id
3485: );
3486: exception
3487: when hr_api.cannot_find_prog_unit then
3488: hr_api.cannot_find_prog_unit_error
3489: (p_module_name => 'APPLY_FOR_INTERNAL_VACANCY'
3490: ,p_hook_type => 'BP'
3491: );
3492: --

Line 3634: when hr_api.cannot_find_prog_unit then

3630: ,p_appl_override_warning => l_appl_override_warning
3631: );
3632: --
3633: exception
3634: when hr_api.cannot_find_prog_unit then
3635: hr_api.cannot_find_prog_unit_error
3636: (p_module_name => 'APPLY_FOR_INTERNAL_VACANCY'
3637: ,p_hook_type => 'BP'
3638: );

Line 3635: hr_api.cannot_find_prog_unit_error

3631: );
3632: --
3633: exception
3634: when hr_api.cannot_find_prog_unit then
3635: hr_api.cannot_find_prog_unit_error
3636: (p_module_name => 'APPLY_FOR_INTERNAL_VACANCY'
3637: ,p_hook_type => 'BP'
3638: );
3639: --

Line 3659: raise hr_api.validate_enabled;

3655: -- when in validation only mode raise the Validate_Enabled exception
3656: --
3657:
3658: if p_validate then
3659: raise hr_api.validate_enabled;
3660: end if;
3661: --
3662: if g_debug then
3663: hr_utility.set_location(' Leaving:'||l_proc, 50);

Line 3666: when hr_api.validate_enabled then

3662: if g_debug then
3663: hr_utility.set_location(' Leaving:'||l_proc, 50);
3664: end if;
3665: exception
3666: when hr_api.validate_enabled then
3667: --
3668: -- As the Validate_Enabled exception has been raised
3669: -- we must rollback to the savepoint
3670: --

Line 3873: hr_api.mandatory_arg_error

3869: end if;
3870: --
3871: -- Ensure mandatory arguments have been passed
3872: --
3873: hr_api.mandatory_arg_error
3874: (p_api_name => l_proc
3875: ,p_argument => 'person_id'
3876: ,p_argument_value => p_person_id
3877: );

Line 3879: hr_api.mandatory_arg_error

3875: ,p_argument => 'person_id'
3876: ,p_argument_value => p_person_id
3877: );
3878: --
3879: hr_api.mandatory_arg_error
3880: (p_api_name => l_proc
3881: ,p_argument => 'effective_date'
3882: ,p_argument_value => p_effective_date
3883: );

Line 3931: WHEN hr_api.cannot_find_prog_unit

3927: ,p_national_identifier => p_national_identifier
3928: ,p_per_information7 => p_per_information7 --3414274
3929: );
3930: EXCEPTION
3931: WHEN hr_api.cannot_find_prog_unit
3932: THEN
3933: hr_api.cannot_find_prog_unit_error
3934: (p_module_name => 'HIRE_INTO_JOB'
3935: ,p_hook_type => 'BP'

Line 3933: hr_api.cannot_find_prog_unit_error

3929: );
3930: EXCEPTION
3931: WHEN hr_api.cannot_find_prog_unit
3932: THEN
3933: hr_api.cannot_find_prog_unit_error
3934: (p_module_name => 'HIRE_INTO_JOB'
3935: ,p_hook_type => 'BP'
3936: );
3937: END;

Line 4082: AND NVL(p_employee_number,hr_api.g_number) <> l_per_details_rec.employee_number

4078:
4079: -- Ensure the employee number will not be changed if it exists
4080: --
4081: IF l_per_details_rec.employee_number IS NOT NULL
4082: AND NVL(p_employee_number,hr_api.g_number) <> l_per_details_rec.employee_number
4083: THEN
4084: if g_debug then
4085: hr_utility.set_location(l_proc,70);
4086: end if;

Line 4139: l_datetrack_update_mode := hr_api.g_correction;

4135: THEN
4136: IF (l_datetrack_update_mode IS NULL)
4137: THEN
4138: if l_effective_date = l_per_details_rec.effective_start_date then -- 3194314
4139: l_datetrack_update_mode := hr_api.g_correction;
4140: else
4141: l_datetrack_update_mode := hr_api.g_update;
4142: end if;
4143: ELSE

Line 4141: l_datetrack_update_mode := hr_api.g_update;

4137: THEN
4138: if l_effective_date = l_per_details_rec.effective_start_date then -- 3194314
4139: l_datetrack_update_mode := hr_api.g_correction;
4140: else
4141: l_datetrack_update_mode := hr_api.g_update;
4142: end if;
4143: ELSE
4144: IF (l_datetrack_update_mode NOT IN (hr_api.g_update,hr_api.g_correction))
4145: THEN

Line 4144: IF (l_datetrack_update_mode NOT IN (hr_api.g_update,hr_api.g_correction))

4140: else
4141: l_datetrack_update_mode := hr_api.g_update;
4142: end if;
4143: ELSE
4144: IF (l_datetrack_update_mode NOT IN (hr_api.g_update,hr_api.g_correction))
4145: THEN
4146: hr_utility.set_message(800,'HR_7203_DT_UPD_MODE_INVALID');
4147: hr_utility.raise_error;
4148: END IF;

Line 4151: l_datetrack_update_mode := hr_api.g_update;

4147: hr_utility.raise_error;
4148: END IF;
4149: END IF;
4150: ELSE
4151: l_datetrack_update_mode := hr_api.g_update;
4152: END IF;
4153: --
4154: -- PTU : Added
4155:

Line 4305: WHEN hr_api.cannot_find_prog_unit

4301: ,p_assign_payroll_warning => l_assign_payroll_warning
4302: ,p_orig_hire_warning => l_orig_hire_warning
4303: );
4304: EXCEPTION
4305: WHEN hr_api.cannot_find_prog_unit
4306: THEN
4307: hr_api.cannot_find_prog_unit_error
4308: (p_module_name => 'HIRE_INTO_JOB'
4309: ,p_hook_type => 'AP'

Line 4307: hr_api.cannot_find_prog_unit_error

4303: );
4304: EXCEPTION
4305: WHEN hr_api.cannot_find_prog_unit
4306: THEN
4307: hr_api.cannot_find_prog_unit_error
4308: (p_module_name => 'HIRE_INTO_JOB'
4309: ,p_hook_type => 'AP'
4310: );
4311: END;

Line 4321: RAISE hr_api.validate_enabled;

4317: -- When in validation only mode raise validate_enabled exception
4318: --
4319: IF p_validate
4320: THEN
4321: RAISE hr_api.validate_enabled;
4322: END IF;
4323: --
4324: -- Set OUT parameters
4325: --

Line 4338: WHEN hr_api.validate_enabled

4334: end if;
4335: --
4336: EXCEPTION
4337: --
4338: WHEN hr_api.validate_enabled
4339: THEN
4340: --
4341: -- In validation only mode
4342: -- Rollback to savepoint