1 Package per_pem_del as
2 /* $Header: pepemrhi.pkh 120.0.12010000.3 2008/08/06 09:22:15 ubhat ship $ */
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 raised.
36 --
37 -- Developer Implementation Notes:
38 -- None.
39 --
40 -- Access Status:
41 -- Internal Development Use Only.
42 --
43 -- {End Of Comments}
44 -- ----------------------------------------------------------------------------
45 Procedure del
46 (p_rec in per_pem_shd.g_rec_type
47 );
48 --
49 -- ----------------------------------------------------------------------------
50 -- |---------------------------------< del >----------------------------------|
51 -- ----------------------------------------------------------------------------
52 -- {Start Of Comments}
53 --
54 -- Description:
55 -- This procedure is the attribute interface for the delete
56 -- process for the specified entity and is the outermost layer. The role
57 -- of this process is to validate and delete the specified row from the
58 -- HR schema. The processing of this procedure is as follows:
59 -- 1) The attributes are converted into a local record structure by
60 -- explicitly coding the attribute parameters into the g_rec_type
61 -- datatype.
62 -- 2) After the conversion has taken place, the corresponding record del
63 -- interface process is executed.
64 --
65 -- Prerequisites:
66 --
67 -- In Parameters:
68 --
69 -- Post Success:
70 -- The specified row will be fully validated and deleted for the specified
71 -- entity without being committed.
72 --
73 -- Post Failure:
74 -- If an error has occurred, an error message will be raised.
75 --
76 -- Developer Implementation Notes:
77 -- The attrbute in parameters should be modified as to the business process
78 -- requirements.
79 --
80 -- Access Status:
81 -- Internal Development Use Only.
82 --
83 -- {End Of Comments}
84 -- ----------------------------------------------------------------------------
85 Procedure del
86 (p_previous_employer_id in number
87 ,p_object_version_number in number
88 );
89 --
90 end per_pem_del;