DBA Data[Home] [Help]
Skip to content

PACKAGE: APPS.PER_PCE_INS

Source


1 PACKAGE per_pce_ins AUTHID CURRENT_USER as
2 /* $Header: pepcerhi.pkh 120.0 2005/05/31 12:56:18 appldev noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |---------------------------------< ins >----------------------------------|
6 -- ----------------------------------------------------------------------------
7 -- {Start Of Comments}
8 --
9 -- Description:
10 --   This procedure is the record interface for the insert process
11 --   for the specified entity. The role of this process is to insert a fully
12 --   validated row, into the HR schema passing back to  the calling process,
13 --   any system generated values (e.g. primary and object version NUMBER
14 --   attributes). This process is the main backbone of the ins
15 --   process. The processing of this procedure is as follows:
16 --   1) The controlling validation process insert_validate is executed
17 --      which will execute all private and public validation business rule
18 --      processes.
19 --   2) The pre_insert business process is then executed which enables any
20 --      logic to be processed before the insert dml process is executed.
21 --   3) The insert_dml process will physical perform the insert dml into the
22 --      specified entity.
23 --   4) The post_insert business process is then executed which enables any
24 --      logic to be processed after the insert dml process.
25 --
26 -- Prerequisites:
27 --   The main parameters to the this process have to be IN the record
28 --   format.
29 --
30 -- In Parameters:
31 --
32 -- Post Success:
33 --   A fully validated row will be inserted into the specified entity
34 --   without being committed.
35 --
36 -- Post Failure:
37 --   If an error has occurred, an error message will be raised.
38 --
39 -- Developer Implementation Notes:
40 --   None.
41 --
42 -- Access Status:
43 --   Internal Development Use Only.
44 --
45 -- {End Of Comments}
46 -- ----------------------------------------------------------------------------
47 PROCEDURE ins
48   (p_effective_date               IN DATE
49   ,p_rec                          IN OUT NOCOPY per_pce_shd.g_rec_type
50   );
51 --
52 -- ----------------------------------------------------------------------------
53 -- |---------------------------------< ins >----------------------------------|
54 -- ----------------------------------------------------------------------------
55 -- {Start Of Comments}
56 --
57 -- Description:
58 --   This procedure is the attribute interface for the insert
59 --   process for the specified entity and is the outermost layer. The role
60 --   of this process is to insert a fully validated row into the HR schema
61 --   passing back to the calling process, any system generated values
62 --   (e.g. object version NUMBER attributes).The processing of this
63 --   procedure is as follows:
64 --   1) The attributes are converted into a local record structure by
65 --      calling the convert_args function.
66 --   2) After the conversion has taken place, the corresponding record ins
67 --      interface process is executed.
68 --   3) OUT parameters are then set to their corresponding record attributes.
69 --
70 -- Prerequisites:
71 --
72 -- In Parameters:
73 --
74 -- Post Success:
75 --   A fully validated row will be inserted for the specified entity
76 --   without being committed.
77 --
78 -- Post Failure:
79 --   If an error has occurred, an error message will be raised.
80 --
81 -- Developer Implementation Notes:
82 --   None.
83 --
84 -- Access Status:
85 --   Internal Development Use Only.
86 --
87 -- {End Of Comments}
88 -- ----------------------------------------------------------------------------
89 PROCEDURE ins
90   (p_effective_date                 IN     DATE
91   ,p_cagr_entitlement_item_id       IN     NUMBER
92   ,p_collective_agreement_id        IN     NUMBER
93   ,p_status                         IN     VARCHAR2
94   ,p_formula_criteria               IN     VARCHAR2
95   ,p_end_date                       IN     DATE     DEFAULT NULL
96   ,p_formula_id                     IN     NUMBER   DEFAULT NULL
97   ,p_units_of_measure               IN     VARCHAR2 DEFAULT NULL
98   ,p_message_level                  IN     VARCHAR2
99   ,p_cagr_entitlement_id               OUT NOCOPY NUMBER
100   ,p_object_version_number             OUT NOCOPY NUMBER
101   );
102 --
103 END per_pce_ins;