DBA Data[Home] [Help]

PACKAGE: APPS.PAY_TXR_INS

Source


1 Package pay_txr_ins AUTHID CURRENT_USER as
2 /* $Header: pytxrrhi.pkh 120.0 2005/05/29 09:09 appldev noship $ */
3 -- ----------------------------------------------------------------------------
4 -- |------------------------< set_base_key_value >----------------------------|
5 -- ----------------------------------------------------------------------------
6 -- {Start of Comments}
7 -- Description:
8 --   This procedure is called to register the next ID value from the database
9 --   sequence.
10 --
11 -- Prerequisites:
12 --
13 -- In Parameters:
14 --   Primary Key
15 --
16 -- Post Success:
17 --
18 -- Post Failure:
19 --
20 -- Developer Implementation Notes:
21 --   None.
22 --
23 -- Access Status:
24 --   Internal Development Use Only.
25 --
26 -- {End of Comments}
27 -- ----------------------------------------------------------------------------
28 procedure set_base_key_value
29   (p_jurisdiction_code  in  number
30   ,p_tax_type  in  number
31   ,p_tax_category  in  number
32   ,p_classification_id  in  number
33   ,p_taxability_rules_date_id  in  number
34   ,p_secondary_classification_id in  number);
35 --
36 -- ----------------------------------------------------------------------------
37 -- |---------------------------------< ins >----------------------------------|
38 -- ----------------------------------------------------------------------------
39 -- {Start Of Comments}
40 --
41 -- Description:
42 --   This procedure is the record interface for the insert process
43 --   for the specified entity. The role of this process is to insert a fully
44 --   validated row, into the HR schema passing back to  the calling process,
45 --   any system generated values (e.g. primary and object version number
46 --   attributes). This process is the main backbone of the ins
47 --   process. The processing of this procedure is as follows:
48 --   1) The controlling validation process insert_validate is executed
49 --      which will execute all private and public validation business rule
50 --      processes.
51 --   2) The pre_insert business process is then executed which enables any
52 --      logic to be processed before the insert dml process is executed.
53 --   3) The insert_dml process will physical perform the insert dml into the
54 --      specified entity.
55 --   4) The post_insert business process is then executed which enables any
56 --      logic to be processed after the insert dml process.
57 --
58 -- Prerequisites:
59 --   The main parameters to the this process have to be in the record
60 --   format.
61 --
62 -- In Parameters:
63 --
64 -- Post Success:
65 --   A fully validated row will be inserted into the specified entity
66 --   without being committed.
67 --
68 -- Post Failure:
69 --   If an error has occurred, an error message will be raised.
70 --
71 -- Developer Implementation Notes:
72 --   None.
73 --
74 -- Access Status:
75 --   Internal Development Use Only.
76 --
77 -- {End Of Comments}
78 -- ----------------------------------------------------------------------------
79 Procedure ins
80   (p_effective_date               in date
81   ,p_rec                      in out nocopy pay_txr_shd.g_rec_type
82   );
83 --
84 -- ----------------------------------------------------------------------------
85 -- |---------------------------------< ins >----------------------------------|
86 -- ----------------------------------------------------------------------------
87 -- {Start Of Comments}
88 --
89 -- Description:
90 --   This procedure is the attribute interface for the insert
91 --   process for the specified entity and is the outermost layer. The role
92 --   of this process is to insert a fully validated row into the HR schema
93 --   passing back to the calling process, any system generated values
94 --   (e.g. object version number attributes).The processing of this
95 --   procedure is as follows:
96 --   1) The attributes are converted into a local record structure by
97 --      calling the convert_args function.
98 --   2) After the conversion has taken place, the corresponding record ins
99 --      interface process is executed.
100 --   3) OUT parameters are then set to their corresponding record attributes.
101 --
102 -- Prerequisites:
103 --
104 -- In Parameters:
105 --
106 -- Post Success:
107 --   A fully validated row will be inserted for the specified entity
108 --   without being committed.
109 --
110 -- Post Failure:
111 --   If an error has occurred, an error message will be raised.
112 --
113 -- Developer Implementation Notes:
114 --   None.
115 --
116 -- Access Status:
117 --   Internal Development Use Only.
118 --
119 -- {End Of Comments}
120 -- ----------------------------------------------------------------------------
121 Procedure ins
122   (p_effective_date               in     date
123   ,p_legislation_code               in     varchar2
124   ,p_status                         in     varchar2 default null
125   ,p_jurisdiction_code              in     varchar2
126   ,p_tax_type                       in     varchar2 default null
127   ,p_tax_category                   in     varchar2 default null
128   ,p_classification_id              in     number   default null
129   ,p_taxability_rules_date_id       in     number
130   ,p_secondary_classification_id    in     number   default null
131   );
132 --
133 end pay_txr_ins;