DBA Data[Home] [Help]

PACKAGE: APPS.PER_PSE_DEL

Source


1 Package per_pse_del AUTHID CURRENT_USER as
2 /* $Header: pepserhi.pkh 120.0.12010000.1 2008/07/28 05:26:35 appldev 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_pse_shd.g_rec_type
47   ,p_hr_installed                         in     VARCHAR2
48   ,p_chk_children                         in     VARCHAR2
49   );
50 --
51 -- ----------------------------------------------------------------------------
52 -- |---------------------------------< del >----------------------------------|
53 -- ----------------------------------------------------------------------------
54 -- {Start Of Comments}
55 --
56 -- Description:
57 --   This procedure is the attribute interface for the delete
58 --   process for the specified entity and is the outermost layer. The role
59 --   of this process is to validate and delete the specified row from the
60 --   HR schema. The processing of this procedure is as follows:
61 --   1) The attributes are converted into a local record structure by
62 --      explicitly coding the attribute parameters into the g_rec_type
63 --      datatype.
64 --   2) After the conversion has taken place, the corresponding record del
65 --      interface process is executed.
66 --
67 -- Prerequisites:
68 --
69 -- In Parameters:
70 --
71 -- Post Success:
72 --   The specified row will be fully validated and deleted for the specified
73 --   entity without being committed.
74 --
75 -- Post Failure:
76 --   If an error has occurred, an error message will be raised.
77 --
78 -- Developer Implementation Notes:
79 --   The attrbute in parameters should be modified as to the business process
80 --   requirements.
81 --
82 -- Access Status:
83 --   Internal Development Use Only.
84 --
85 -- {End Of Comments}
86 -- ----------------------------------------------------------------------------
87 Procedure del
88   (p_pos_structure_element_id             in     number
89   ,p_object_version_number                in     number
90   ,p_hr_installed                         in     VARCHAR2
91   ,p_chk_children                         in     VARCHAR2
92   );
93 --
94 end per_pse_del;