DBA Data[Home] [Help]

PACKAGE: APPS.BEN_PLN_UPD2

Source


1 Package ben_pln_upd2 as
2 /* $Header: beplnrhi.pkh 120.2.12010000.1 2008/07/29 12:51:04 appldev ship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |-----------------------------< convert_defs >-----------------------------|
6 -- ----------------------------------------------------------------------------
7 -- {Start Of Comments}
8 --
9 -- Description:
10 --   The Convert_Defs procedure has one very important function:
11 --   It must return the record structure for the row with all system defaulted
12 --   values converted into its corresponding parameter value for update. When
13 --   we attempt to update a row through the Upd process , certain
14 --   parameters can be defaulted which enables flexibility in the calling of
15 --   the upd process (e.g. only attributes which need to be updated need to be
16 --   specified). For the upd process to determine which attributes
17 --   have NOT been specified we need to check if the parameter has a reserved
18 --   system default value. Therefore, for all parameters which have a
19 --   corresponding reserved system default mechanism specified we need to
20 --   check if a system default is being used. If a system default is being
21 --   used then we convert the defaulted value into its corresponding attribute
22 --   value held in the g_old_rec data structure.
23 --
24 -- Prerequisites:
25 --   This private function can only be called from the upd process.
26 --
27 -- In Parameters:
28 --   A Pl/Sql record structre.
29 --
30 -- Post Success:
31 --   The record structure will be returned with all system defaulted parameter
32 --   values converted into its current row attribute value.
33 --
34 -- Post Failure:
35 --   No direct error handling is required within this function. Any possible
36 --   errors within this procedure will be a PL/SQL value error due to conversion
37 
38 --   of datatypes or data lengths.
39 --
40 -- Developer Implementation Notes:
41 --   None.
42 -- Access Status:
43 --   Internal Row Handler Use Only.
44 --
45 -- {End Of Comments}
46 -- ----------------------------------------------------------------------------
47 
48 Procedure convert_defs(p_rec in out nocopy ben_pln_shd.g_rec_type);
49 --
50 end ben_pln_upd2;