DBA Data[Home] [Help]

PACKAGE: APPS.HR_TEMPLATE_DATA_GROUPS_API

Source


1 Package hr_template_data_groups_api as
2 /* $Header: hrtdgapi.pkh 120.0 2005/05/31 03:03:39 appldev noship $ */
3 --
4 --
5 -- ----------------------------------------------------------------------------
6 -- |------------------------< copy_template_data_group >-----------------------|
7 -- ----------------------------------------------------------------------------
8 -- {Start Of Comments}
9 --
10 -- Description: This business process inserts a new template data group in
11 --              the HR Schema based on an existing template data group. It also --              creates a copy of every object within the copied from template
12 --              data group in the new template data group.
13 --
14 -- Prerequisites:
15 --
16 --
17 -- In Parameters:
18 --   Name                           Reqd Type     Description
19 --   p_language_code                N    Varchar2
20 --   p_template_data_group_id_from  Y    Number
21 --   p_form_template_id             Y    Number
22 --
23 --
24 -- Post Success:
25 --
26 --
27 --   Name                           Type     Description
28 --   p_template_data_group_id_to    Number
29 --   p_object_version_number        Number
30 --
31 -- Post Failure:
32 --
33 --
34 -- Access Status:
35 --   Internal.
36 --
37 -- {End Of Comments}
38 --
39 procedure copy_template_data_group
40   (p_validate                      in     boolean  default false
41   ,p_effective_date                in     date
42   ,p_language_code                 in     varchar2 default hr_api.userenv_lang
43   ,p_template_data_group_id_from   in     number
44   ,p_form_template_id              in     number
45   ,p_template_data_group_id_to        out nocopy number
46   ,p_object_version_number            out nocopy number
47   );
48 --
49 --
50 -- ----------------------------------------------------------------------------
51 -- |----------------------< create_template_data_group >----------------------|
52 -- ----------------------------------------------------------------------------
53 -- {Start Of Comments}
54 --
55 -- Description: This business process inserts a new template data group in
56 --              the HR Schema. It also creates a template item for each form
57 --              item associated with the form data group.
58 --
59 -- Prerequisites:
60 --
61 --
62 -- In Parameters:
63 --   Name                           Reqd Type     Description
64 --   p_form_data_group_id           Y    Number
65 --   p_form_template_id             Y    Number
66 --
67 --
68 -- Post Success:
69 --
70 --
71 --   Name                           Type     Description
72 --   p_template_data_group_id       Number
73 --   p_object_version_number        Number
74 --
75 -- Post Failure:
76 --
77 --
78 -- Access Status:
79 --   Internal.
80 --
81 -- {End Of Comments}
82 --
83 procedure create_template_data_group
84   (p_validate                      in     boolean  default false
85   ,p_effective_date                in     date
86   ,p_form_template_id              in     number
87   ,p_form_data_group_id            in     number
88   ,p_template_data_group_id           out nocopy number
89   ,p_object_version_number            out nocopy number
90   );
91 --
92 --
93 -- ----------------------------------------------------------------------------
94 -- |-----------------------< delete_template_data_group >---------------------|
95 -- ----------------------------------------------------------------------------
96 -- {Start Of Comments}
97 --
98 -- Description: This business process deletes a template data group form the
99 --              HR Schema. It also removes any items associated with the form
100 --              data group which are not associated with any other data group
101 --              within the template.
102 --
103 -- Prerequisites:
104 --
105 --
106 -- In Parameters:
107 --   Name                           Reqd Type     Description
108 --   p_template_data_group_id       Y    Number
109 --   p_object_version_number        Y    Number
110 --
111 --
112 -- Post Success:
113 --
114 --
115 --   Name                           Type     Description
116 --
117 -- Post Failure:
118 --
119 --
120 -- Access Status:
121 --   Internal.
122 --
123 -- {End Of Comments}
124 --
125 procedure delete_template_data_group
126   (p_validate                      in     boolean  default false
127   ,p_template_data_group_id        in     number
128   ,p_object_version_number         in     number
129   );
130 --
131 end hr_template_data_groups_api;