[Home] [Help]
PACKAGE BODY: APPS.GHR_MASS_ACT_CUSTOM
Source
1 PACKAGE BODY GHR_MASS_ACT_CUSTOM AS
2 /* $Header: ghmascus.pkb 120.0.12010000.1 2008/07/28 10:32:34 appldev ship $ */
3
4 g_package varchar2(32) := 'GHR_MASS_ACT_CUSTOM';
5 l_mass_errbuf varchar2(2000) := null;
6
7 procedure pre_insert ( p_cust_in_rec in ghr_mass_custom_in_rec_type,
8 p_cust_rec in out nocopy ghr_mass_custom_out_rec_type) is
9 l_cust_rec ghr_mass_custom_out_rec_type;
10 BEGIN
11
12 initialize_out_param(p_cust_rec);
13
14 exception
15 when others then
16 p_cust_rec := l_cust_rec;
17
18 END pre_insert;
19
20 procedure initialize_out_param(p_cust_rec in out nocopy ghr_mass_custom_out_rec_type)
21 is
22 l_cust_rec ghr_mass_custom_out_rec_type;
23
24 begin
25
26 --For nocopy changes.
27 l_cust_rec := p_cust_rec;
28 p_cust_rec.user_attribute1 := NULL;
29 p_cust_rec.user_attribute2 := NULL;
30 p_cust_rec.user_attribute3 := NULL;
31 p_cust_rec.user_attribute4 := NULL;
32 p_cust_rec.user_attribute5 := NULL;
33 p_cust_rec.user_attribute6 := NULL;
34 p_cust_rec.user_attribute7 := NULL;
35 p_cust_rec.user_attribute8 := NULL;
36 p_cust_rec.user_attribute9 := NULL;
37 p_cust_rec.user_attribute10 := NULL;
38 p_cust_rec.user_attribute11 := NULL;
39 p_cust_rec.user_attribute12 := NULL;
40 p_cust_rec.user_attribute13 := NULL;
41 p_cust_rec.user_attribute14 := NULL;
42 p_cust_rec.user_attribute15 := NULL;
43 p_cust_rec.user_attribute16 := NULL;
44 p_cust_rec.user_attribute17 := NULL;
45 p_cust_rec.user_attribute18 := NULL;
46 p_cust_rec.user_attribute19 := NULL;
47 p_cust_rec.user_attribute20 := NULL;
48 p_cust_rec.user_attribute21 := NULL;
49 p_cust_rec.user_attribute22 := NULL;
50 p_cust_rec.user_attribute23 := NULL;
51 p_cust_rec.user_attribute24 := NULL;
52 p_cust_rec.user_attribute25 := NULL;
53 p_cust_rec.user_attribute26 := NULL;
54 p_cust_rec.user_attribute27 := NULL;
55 p_cust_rec.user_attribute28 := NULL;
56 p_cust_rec.user_attribute29 := NULL;
57 p_cust_rec.user_attribute30 := NULL;
58
59 exception
60 when others then
61 p_cust_rec := l_cust_rec;
62
63 end;
64
65 END GHR_MASS_ACT_CUSTOM;