1 Package ben_dsq_del as
2 /* $Header: bedsqrhi.pkh 120.0 2005/05/28 01:41:14 appldev noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |---------------------------------< del >----------------------------------|
6 -- ----------------------------------------------------------------------------
7 -- {Start Of Comments}
8 --
9 -- Description:
10 -- This procedure is the record interface for the delete process
11 -- for the specified entity. The role of this process is to delete the
12 -- row from the HR schema. This process is the main backbone of the del
13 -- business process. The processing of this procedure is as follows:
14 -- 1) The controlling validation process delete_validate is then executed
15 -- which will execute all private and public validation business rule
16 -- processes.
17 -- 2) The pre_delete process is then executed which enables any
18 -- logic to be processed before the delete dml process is executed.
19 -- 3) The delete_dml process will physical perform the delete dml for the
20 -- specified row.
21 -- 4) The post_delete process is then executed which enables any
22 -- logic to be processed after the delete dml process.
23 --
24 -- Prerequisites:
25 -- The main parameters to the business process have to be in the record
26 -- format.
27 --
28 -- In Parameters:
29 --
30 -- Post Success:
31 -- The specified row will be fully validated and deleted for the specified
32 -- entity without being committed.
33 --
34 -- Post Failure:
35 -- If an error has occurred, an error message will be supplied with the work
36 -- rolled back.
37 --
38 -- Developer Implementation Notes:
39 -- None.
40 --
41 -- Access Status:
42 -- Internal Development Use Only.
43 --
44 -- {End Of Comments}
45 -- ----------------------------------------------------------------------------
46 Procedure del
47 (
48 p_effective_date in date,
49 p_rec in ben_dsq_shd.g_rec_type
50 );
51 --
52 -- ----------------------------------------------------------------------------
53 -- |---------------------------------< del >----------------------------------|
54 -- ----------------------------------------------------------------------------
55 -- {Start Of Comments}
56 --
57 -- Description:
58 -- This procedure is the attribute interface for the delete
59 -- process for the specified entity and is the outermost layer. The role
60 -- of this process is to validate and delete the specified row from the
61 -- HR schema. The processing of this procedure is as follows:
62 -- 1) The attributes are converted into a local record structure by
63 -- explicitly coding the attribute parameters into the g_rec_type
64 -- datatype.
65 -- 2) After the conversion has taken place, the corresponding record del
66 -- interface process is executed.
67 --
68 -- Prerequisites:
69 --
70 -- In Parameters:
71 --
72 -- Post Success:
73 -- The specified row will be fully validated and deleted for the specified
74 -- entity without being committed.
75 --
76 -- Post Failure:
77 -- If an error has occurred, an error message will be supplied with the work
78 -- rolled back.
79 --
80 -- Developer Implementation Notes:
81 -- The attrbute in parameters should be modified as to the business process
82 -- requirements.
83 --
84 -- Access Status:
85 -- Internal Development Use Only.
86 --
87 -- {End Of Comments}
88 -- ----------------------------------------------------------------------------
89 Procedure del
90 (
91 p_effective_date in date,
92 p_ded_sched_py_freq_id in number,
93 p_object_version_number in number
94 );
95 --
96 end ben_dsq_del;