1 Package pay_sta_del as
2 /* $Header: pystarhi.pkh 120.0.12000000.2 2007/05/01 22:41:10 ahanda noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |------------------------------< delete_dml >------------------------------|
6 -- ----------------------------------------------------------------------------
7 -- {Start Of Comments}
8 --
9 -- Description:
10 -- This procedure calls the dt_delete_dml control logic which handles
11 -- the actual datetrack dml.
12 --
13 -- Prerequisites:
14 -- This is an internal private procedure which must be called from the del
15 -- procedure.
16 --
17 -- In Parameters:
18 -- A Pl/Sql record structre.
19 --
20 -- Post Success:
21 -- Processing contines.
22 --
23 -- Post Failure:
24 -- No specific error handling is required within this procedure.
25 --
26 -- Developer Implementation Notes:
27 -- None.
28 --
29 -- Access Status:
30 -- Internal Row Handler Use Only.
31 --
32 -- {End Of Comments}
33 -- ----------------------------------------------------------------------------
34 Procedure delete_dml
35 (p_rec in out nocopy pay_sta_shd.g_rec_type,
36 p_effective_date in date,
37 p_datetrack_mode in varchar2,
38 p_validation_start_date in date,
39 p_validation_end_date in date);
40 --
41 -- ----------------------------------------------------------------------------
42 -- |---------------------------------< del >----------------------------------|
43 -- ----------------------------------------------------------------------------
44 -- {Start Of Comments}
45 --
46 -- Description:
47 -- This procedure is the record interface for the datetrack delete
48 -- process for the specified entity. The role of this
49 -- process is to delete the dateracked row from the HR schema.
50 -- This process is the main backbone of the del business process. The
51 -- processing of this procedure is as follows:
52 -- 1) Ensure that the datetrack delete mode is valid.
53 -- 2) The controlling validation process delete_validate is then executed
54 -- which will execute all private and public validation business rule
55 -- processes.
56 -- 3) The pre_delete process is then executed which enables any
57 -- logic to be processed before the delete dml process is executed.
58 -- 4) The delete_dml process will physical perform the delete dml for the
59 -- specified row.
60 -- 5) The post_delete process is then executed which enables any
61 -- logic to be processed after the delete dml process.
62 --
63 -- Prerequisites:
64 -- The main parameters to the business process have to be in the record
65 -- format.
66 --
67 -- In Parameters:
68 -- p_effective_date
69 -- Specifies the date of the datetrack update operation.
70 -- p_datetrack_mode
71 -- Determines the datetrack update mode.
72 -- p_delete_routine
73 -- Identifies if delete is the result of an assignment delete.
74 --
75 -- Post Success:
76 -- The specified row will be fully validated and deleted for the specified
77 -- entity without being committed.
78 --
79 -- Post Failure:
80 -- If an error has occurred, an error message will be supplied with the work
81 -- rolled back.
82 --
83 -- Developer Implementation Notes:
84 -- None.
85 --
86 -- Access Status:
87 -- Internal Development Use Only.
88 --
89 -- {End Of Comments}
90 -- ----------------------------------------------------------------------------
91 Procedure del
92 (
93 p_rec in out nocopy pay_sta_shd.g_rec_type,
94 p_effective_date in date,
95 p_datetrack_mode in varchar2,
96 p_delete_routine in varchar2 default null --#2364468
97 );
98 --
99 -- ----------------------------------------------------------------------------
100 -- |---------------------------------< del >----------------------------------|
101 -- ----------------------------------------------------------------------------
102 -- {Start Of Comments}
103 --
104 -- Description:
105 -- This procedure is the attribute interface for the delete
106 -- process for the specified entity and is the outermost layer. The role
107 -- of this process is to validate and delete the specified row from the
108 -- HR schema. The processing of this procedure is as follows:
109 -- 1) The attributes are converted into a local record structure by
110 -- explicitly coding the attribute parameters into the g_rec_type
111 -- datatype.
112 -- 2) After the conversion has taken place, the corresponding record del
113 -- interface business process is executed.
114 --
115 -- Prerequisites:
116 --
117 -- In Parameters:
118 -- p_effective_date
119 -- Specifies the date of the datetrack update operation.
120 -- p_datetrack_mode
121 -- Determines the datetrack update mode.
122 -- p_delete_routine
123 -- Identifies if delete is the result of an assignment delete.
124 --
125 -- Post Success:
126 -- The specified row will be fully validated and deleted for the specified
127 -- entity without being committed.
128 --
129 -- Post Failure:
130 -- If an error has occurred, an error message will be supplied with the work
131 -- rolled back.
132 --
133 -- Developer Implementation Notes:
134 -- The attrbute in parameters should be modified as to the business process
135 -- requirements.
136 --
137 -- Access Status:
138 -- Internal Development Use Only.
139 --
140 -- {End Of Comments}
141 -- ----------------------------------------------------------------------------
142 Procedure del
143 (
144 p_emp_state_tax_rule_id in number,
145 p_effective_start_date out nocopy date,
146 p_effective_end_date out nocopy date,
147 p_object_version_number in out nocopy number,
148 p_effective_date in date,
149 p_datetrack_mode in varchar2,
150 p_delete_routine in varchar2 default null --#2364468
151 );
152 --
153 end pay_sta_del;