DBA Data[Home] [Help]

PACKAGE: APPS.OTA_OCL_DEL

Source


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