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 2829: ,p_person_type_id in number default hr_api.g_number

2825: (p_validate in boolean default false
2826: ,p_hire_date in date
2827: ,p_person_id in number
2828: ,p_per_object_version_number in out nocopy number
2829: ,p_person_type_id in number default hr_api.g_number
2830: ,p_rehire_reason in varchar2
2831: ,p_assignment_id out nocopy number
2832: ,p_asg_object_version_number out nocopy number
2833: ,p_per_effective_start_date out nocopy date

Line 3075: hr_api.mandatory_arg_error

3071: --
3072: -- 1. ensure that the mandatory parameters p_hire_date and p_person_id
3073: -- are not null
3074: --
3075: hr_api.mandatory_arg_error
3076: (p_api_name => l_proc
3077: ,p_argument => 'person id'
3078: ,p_argument_value => p_person_id);
3079: --

Line 3080: hr_api.mandatory_arg_error

3076: (p_api_name => l_proc
3077: ,p_argument => 'person id'
3078: ,p_argument_value => p_person_id);
3079: --
3080: hr_api.mandatory_arg_error
3081: (p_api_name => l_proc
3082: ,p_argument => 'hire date'
3083: ,p_argument_value => p_hire_date);
3084: --

Line 3254: l_applicant_number := hr_api.g_varchar2;

3250: --
3251: -- Initialise local variables
3252: --
3253: l_object_version_number := p_per_object_version_number;
3254: l_applicant_number := hr_api.g_varchar2;
3255: l_npw_number := hr_api.g_varchar2;
3256: l_hire_date := trunc(p_hire_date);
3257: --
3258: -- perform business process validation

Line 3255: l_npw_number := hr_api.g_varchar2;

3251: -- Initialise local variables
3252: --
3253: l_object_version_number := p_per_object_version_number;
3254: l_applicant_number := hr_api.g_varchar2;
3255: l_npw_number := hr_api.g_varchar2;
3256: l_hire_date := trunc(p_hire_date);
3257: --
3258: -- perform business process validation
3259: --

Line 3288: when hr_api.cannot_find_prog_unit then

3284: ,p_person_type_id =>p_person_type_id
3285: ,p_rehire_reason =>p_rehire_reason
3286: );
3287: exception
3288: when hr_api.cannot_find_prog_unit then
3289: hr_api.cannot_find_prog_unit_error
3290: (p_module_name => 'RE_HIRE_EX_EMPLOYEE'
3291: ,p_hook_type => 'BP'
3292: );

Line 3289: hr_api.cannot_find_prog_unit_error

3285: ,p_rehire_reason =>p_rehire_reason
3286: );
3287: exception
3288: when hr_api.cannot_find_prog_unit then
3289: hr_api.cannot_find_prog_unit_error
3290: (p_module_name => 'RE_HIRE_EX_EMPLOYEE'
3291: ,p_hook_type => 'BP'
3292: );
3293: --

Line 3461: when hr_api.cannot_find_prog_unit then

3457: ,p_assignment_number =>l_assignment_number
3458: ,p_assign_payroll_warning =>l_assign_payroll_warning
3459: );
3460: exception
3461: when hr_api.cannot_find_prog_unit then
3462: hr_api.cannot_find_prog_unit_error
3463: (p_module_name => 'RE_HIRE_EX_EMPLOYEE'
3464: ,p_hook_type => 'BP'
3465: );

Line 3462: hr_api.cannot_find_prog_unit_error

3458: ,p_assign_payroll_warning =>l_assign_payroll_warning
3459: );
3460: exception
3461: when hr_api.cannot_find_prog_unit then
3462: hr_api.cannot_find_prog_unit_error
3463: (p_module_name => 'RE_HIRE_EX_EMPLOYEE'
3464: ,p_hook_type => 'BP'
3465: );
3466: --

Line 3472: raise hr_api.validate_enabled;

3468: --
3469: end;
3470: --
3471: if p_validate then
3472: raise hr_api.validate_enabled;
3473: end if;
3474: --
3475: -- Set all output arguments
3476: --

Line 3491: when hr_api.validate_enabled then

3487: if g_debug then
3488: hr_utility.set_location(' Leaving:'||l_proc, 30);
3489: end if;
3490: exception
3491: when hr_api.validate_enabled then
3492: --
3493: -- As the Validate_Enabled exception has been raised
3494: -- we must rollback to the savepoint
3495: --

Line 3550: ,p_person_type_id in number default hr_api.g_number

3546: ,p_person_id in number
3547: ,p_applicant_number in out nocopy varchar2
3548: ,p_per_object_version_number in out nocopy number
3549: ,p_vacancy_id in number default null
3550: ,p_person_type_id in number default hr_api.g_number
3551: ,p_application_id out nocopy number
3552: ,p_assignment_id out nocopy number
3553: ,p_apl_object_version_number out nocopy number
3554: ,p_asg_object_version_number out nocopy number

Line 3593: ,p_person_type_id in number default hr_api.g_number

3589: ,p_person_id in number
3590: ,p_applicant_number in out nocopy varchar2
3591: ,p_per_object_version_number in out nocopy number
3592: ,p_vacancy_id in number default null
3593: ,p_person_type_id in number default hr_api.g_number
3594: ,p_application_id out nocopy number
3595: ,p_assignment_id out nocopy number
3596: ,p_apl_object_version_number out nocopy number
3597: ,p_asg_object_version_number out nocopy number

Line 3738: hr_api.mandatory_arg_error

3734: --
3735: -- Ensure that the mandatory parameter, p_person_id
3736: -- is not null
3737: --
3738: hr_api.mandatory_arg_error
3739: (p_api_name => l_proc
3740: ,p_argument => 'person id'
3741: ,p_argument_value => p_person_id);
3742: --

Line 3799: when hr_api.cannot_find_prog_unit then

3795: ,p_vacancy_id => p_vacancy_id
3796: ,p_person_type_id => p_person_type_id
3797: );
3798: exception
3799: when hr_api.cannot_find_prog_unit then
3800: hr_api.cannot_find_prog_unit_error
3801: (p_module_name => 'APPLY_FOR_INTERNAL_VACANCY'
3802: ,p_hook_type => 'BP'
3803: );

Line 3800: hr_api.cannot_find_prog_unit_error

3796: ,p_person_type_id => p_person_type_id
3797: );
3798: exception
3799: when hr_api.cannot_find_prog_unit then
3800: hr_api.cannot_find_prog_unit_error
3801: (p_module_name => 'APPLY_FOR_INTERNAL_VACANCY'
3802: ,p_hook_type => 'BP'
3803: );
3804: --

Line 3946: when hr_api.cannot_find_prog_unit then

3942: ,p_appl_override_warning => l_appl_override_warning
3943: );
3944: --
3945: exception
3946: when hr_api.cannot_find_prog_unit then
3947: hr_api.cannot_find_prog_unit_error
3948: (p_module_name => 'APPLY_FOR_INTERNAL_VACANCY'
3949: ,p_hook_type => 'BP'
3950: );

Line 3947: hr_api.cannot_find_prog_unit_error

3943: );
3944: --
3945: exception
3946: when hr_api.cannot_find_prog_unit then
3947: hr_api.cannot_find_prog_unit_error
3948: (p_module_name => 'APPLY_FOR_INTERNAL_VACANCY'
3949: ,p_hook_type => 'BP'
3950: );
3951: --

Line 3971: raise hr_api.validate_enabled;

3967: -- when in validation only mode raise the Validate_Enabled exception
3968: --
3969:
3970: if p_validate then
3971: raise hr_api.validate_enabled;
3972: end if;
3973: --
3974: if g_debug then
3975: hr_utility.set_location(' Leaving:'||l_proc, 50);

Line 3978: when hr_api.validate_enabled then

3974: if g_debug then
3975: hr_utility.set_location(' Leaving:'||l_proc, 50);
3976: end if;
3977: exception
3978: when hr_api.validate_enabled then
3979: --
3980: -- As the Validate_Enabled exception has been raised
3981: -- we must rollback to the savepoint
3982: --

Line 4196: hr_api.mandatory_arg_error

4192: end if;
4193: --
4194: -- Ensure mandatory arguments have been passed
4195: --
4196: hr_api.mandatory_arg_error
4197: (p_api_name => l_proc
4198: ,p_argument => 'person_id'
4199: ,p_argument_value => p_person_id
4200: );

Line 4202: hr_api.mandatory_arg_error

4198: ,p_argument => 'person_id'
4199: ,p_argument_value => p_person_id
4200: );
4201: --
4202: hr_api.mandatory_arg_error
4203: (p_api_name => l_proc
4204: ,p_argument => 'effective_date'
4205: ,p_argument_value => p_effective_date
4206: );

Line 4254: WHEN hr_api.cannot_find_prog_unit

4250: ,p_national_identifier => p_national_identifier
4251: ,p_per_information7 => p_per_information7 --3414274
4252: );
4253: EXCEPTION
4254: WHEN hr_api.cannot_find_prog_unit
4255: THEN
4256: hr_api.cannot_find_prog_unit_error
4257: (p_module_name => 'HIRE_INTO_JOB'
4258: ,p_hook_type => 'BP'

Line 4256: hr_api.cannot_find_prog_unit_error

4252: );
4253: EXCEPTION
4254: WHEN hr_api.cannot_find_prog_unit
4255: THEN
4256: hr_api.cannot_find_prog_unit_error
4257: (p_module_name => 'HIRE_INTO_JOB'
4258: ,p_hook_type => 'BP'
4259: );
4260: END;

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

4402:
4403: -- Ensure the employee number will not be changed if it exists
4404: --
4405: IF l_per_details_rec.employee_number IS NOT NULL
4406: AND NVL(p_employee_number,hr_api.g_number) <> l_per_details_rec.employee_number
4407: THEN
4408: if g_debug then
4409: hr_utility.set_location(l_proc,70);
4410: end if;

Line 4463: l_datetrack_update_mode := hr_api.g_correction;

4459: THEN
4460: IF (l_datetrack_update_mode IS NULL)
4461: THEN
4462: if l_effective_date = l_per_details_rec.effective_start_date then -- 3194314
4463: l_datetrack_update_mode := hr_api.g_correction;
4464: else
4465: l_datetrack_update_mode := hr_api.g_update;
4466: end if;
4467: ELSE

Line 4465: l_datetrack_update_mode := hr_api.g_update;

4461: THEN
4462: if l_effective_date = l_per_details_rec.effective_start_date then -- 3194314
4463: l_datetrack_update_mode := hr_api.g_correction;
4464: else
4465: l_datetrack_update_mode := hr_api.g_update;
4466: end if;
4467: ELSE
4468: IF (l_datetrack_update_mode NOT IN (hr_api.g_update,hr_api.g_correction))
4469: THEN

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

4464: else
4465: l_datetrack_update_mode := hr_api.g_update;
4466: end if;
4467: ELSE
4468: IF (l_datetrack_update_mode NOT IN (hr_api.g_update,hr_api.g_correction))
4469: THEN
4470: hr_utility.set_message(800,'HR_7203_DT_UPD_MODE_INVALID');
4471: hr_utility.raise_error;
4472: END IF;

Line 4475: l_datetrack_update_mode := hr_api.g_update;

4471: hr_utility.raise_error;
4472: END IF;
4473: END IF;
4474: ELSE
4475: l_datetrack_update_mode := hr_api.g_update;
4476: END IF;
4477: --
4478: -- PTU : Added
4479:

Line 4618: ,p_datetrack_update_mode => hr_api.g_update

4614: hr_per_type_usage_internal.maintain_person_type_usage
4615: (p_effective_date => l_effective_date
4616: ,p_person_id => p_person_id
4617: ,p_person_type_id => l_person_type_id
4618: ,p_datetrack_update_mode => hr_api.g_update
4619: );
4620: end if;
4621: --end changes for bug8506648
4622:

Line 4651: WHEN hr_api.cannot_find_prog_unit

4647: ,p_assign_payroll_warning => l_assign_payroll_warning
4648: ,p_orig_hire_warning => l_orig_hire_warning
4649: );
4650: EXCEPTION
4651: WHEN hr_api.cannot_find_prog_unit
4652: THEN
4653: hr_api.cannot_find_prog_unit_error
4654: (p_module_name => 'HIRE_INTO_JOB'
4655: ,p_hook_type => 'AP'

Line 4653: hr_api.cannot_find_prog_unit_error

4649: );
4650: EXCEPTION
4651: WHEN hr_api.cannot_find_prog_unit
4652: THEN
4653: hr_api.cannot_find_prog_unit_error
4654: (p_module_name => 'HIRE_INTO_JOB'
4655: ,p_hook_type => 'AP'
4656: );
4657: END;

Line 4667: RAISE hr_api.validate_enabled;

4663: -- When in validation only mode raise validate_enabled exception
4664: --
4665: IF p_validate
4666: THEN
4667: RAISE hr_api.validate_enabled;
4668: END IF;
4669: --
4670: -- Set OUT parameters
4671: --

Line 4684: WHEN hr_api.validate_enabled

4680: end if;
4681: --
4682: EXCEPTION
4683: --
4684: WHEN hr_api.validate_enabled
4685: THEN
4686: --
4687: -- In validation only mode
4688: -- Rollback to savepoint