1 Package ota_thg_swi AUTHID CURRENT_USER As
2 /* $Header: otthgswi.pkh 120.0 2005/06/24 07:59 appldev noship $ */
3 -- ----------------------------------------------------------------------------
4 -- |---------------------------< create_hr_gl_flex >--------------------------|
5 -- ----------------------------------------------------------------------------
6 -- {Start of comments}
7 --
8 -- Description:
9 -- This procedure is the self-service wrapper procedure to the following
10 -- API: ota_thg_api.create_hr_gl_flex
11 --
12 -- Pre-requisites
13 -- All 'IN' parameters to this procedure have been appropriately derived.
14 --
15 -- Post Success:
16 -- p_return_status will return value indicating success.
17 --
18 -- Post Failure:
19 -- p_return_status will return value indication failure.
20 --
21 -- Access Status:
22 -- Internal Development use only.
23 --
24 -- {End of comments}
25 -- ----------------------------------------------------------------------------
26 PROCEDURE create_hr_gl_flex
27 (p_effective_date in date
28 ,p_cross_charge_id in number
29 ,p_segment in varchar2
30 ,p_segment_num in number
31 ,p_hr_data_source in varchar2 default null
32 ,p_constant in varchar2 default null
33 ,p_hr_cost_segment in varchar2 default null
34 ,p_gl_default_segment_id out nocopy number
35 ,p_object_version_number out nocopy number
36 ,p_validate in number default hr_api.g_false_num
37 ,p_return_status out nocopy varchar2
38 );
39 -- ----------------------------------------------------------------------------
40 -- |---------------------------< update_hr_gl_flex >--------------------------|
41 -- ----------------------------------------------------------------------------
42 -- {Start of comments}
43 --
44 -- Description:
45 -- This procedure is the self-service wrapper procedure to the following
46 -- API: ota_thg_api.update_hr_gl_flex
47 --
48 -- Pre-requisites
49 -- All 'IN' parameters to this procedure have been appropriately derived.
50 --
51 -- Post Success:
52 -- p_return_status will return value indicating success.
53 --
54 -- Post Failure:
55 -- p_return_status will return value indication failure.
56 --
57 -- Access Status:
58 -- Internal Development use only.
59 --
60 -- {End of comments}
61 -- ----------------------------------------------------------------------------
62 PROCEDURE update_hr_gl_flex
63 (p_effective_date in date
64 ,p_gl_default_segment_id in number
65 ,p_object_version_number in out nocopy number
66 ,p_cross_charge_id in number default hr_api.g_number
67 ,p_segment in varchar2 default hr_api.g_varchar2
68 ,p_segment_num in number default hr_api.g_number
69 ,p_hr_data_source in varchar2 default hr_api.g_varchar2
70 ,p_constant in varchar2 default hr_api.g_varchar2
71 ,p_hr_cost_segment in varchar2 default hr_api.g_varchar2
72 ,p_validate in number default hr_api.g_false_num
73 ,p_return_status out nocopy varchar2
74 );
75 end ota_thg_swi;