DBA Data[Home] [Help]

PACKAGE: APPS.BEN_PCG_DEL

Source


1 Package ben_pcg_del as
2 /* $Header: bepcgrhi.pkh 120.0 2005/05/28 10:11:18 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_rec	      in ben_pcg_shd.g_rec_type
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 supplied with the work
77 --   rolled back.
78 --
79 -- Developer Implementation Notes:
80 --   The attrbute in parameters should be modified as to the business process
81 --   requirements.
82 --
83 -- Access Status:
84 --   Internal Development Use Only.
85 --
86 -- {End Of Comments}
87 -- ----------------------------------------------------------------------------
88 Procedure del
89   (
90   p_prtt_clm_gd_or_svc_typ_id          in number,
91   p_object_version_number              in number
92   );
93 --
94 end ben_pcg_del;