1 Package hr_mass_move_api as
2 /* $Header: pemmvapi.pkh 120.0 2005/05/31 11:25:54 appldev noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |-----------------------------< mass_move >--------------------------------|
6 -- ----------------------------------------------------------------------------
7 --
8 -- Description:
9 -- This batch process moves a group of positions from one organization
10 -- to another.
11 -- Some or all of the employee assignments may also move. The applicant
12 -- assignments will be moved if they are not associated with a vacancy and
13 -- the position will no longer exist in the old organization.
14 --
15 -- Prerequisites:
16 -- The mass move detail records have been inserted into the following
17 -- tables:
18 -- PER_MASS_MOVES
19 -- PER_MM_POSITIONS
20 -- PER_MM_ASSIGNMENTS
21 -- PER_MM_VALID_GRADES
22 -- PER_MM_JOB_REQUIREMENTS
23 --
24 -- In Parameters:
25 -- Name Reqd Type Description
26 -- p_validate No boolean If true, the database remains
27 -- unchanged. If false a the database
28 -- will be changed.
29 --
30 -- p_mass_move_id Yes number The identifier for the
31 -- mass move occurrence.
32 --
33 -- Post Success:
34 -- There are no out parameters. All errors and warning messages
35 -- generated during this process and other processes that are called
36 -- by this process are written to the HR_API_BATCH_MESSAGE_LINES table.
37 --
38 -- Post Failure:
39 -- The batch process does not process the mass move occurrence.
40 --
41 -- Access Status:
42 -- Private.
43 --
44 procedure mass_move
45 (p_validate in boolean default false,
46 p_mass_move_id in number
47 );
48 --
49 end hr_mass_move_api;
50 --