1: package body pv_pg_notif_utility_pvt_w as
2: /* $Header: pvxwpnub.pls 115.8 2003/12/01 19:18:31 pukken ship $ */
3: rosetta_g_mistake_date date := to_date('01/01/+4713', 'MM/DD/SYYYY');
4: rosetta_g_miss_date date := to_date('01/01/-4712', 'MM/DD/SYYYY');
5:
9: if d = rosetta_g_mistake_date then return fnd_api.g_miss_date; end if;
10: return d;
11: end;
12:
13: procedure rosetta_table_copy_in_p6(t out nocopy pv_pg_notif_utility_pvt.user_notify_rec_tbl_type, a0 JTF_NUMBER_TABLE
14: , a1 JTF_VARCHAR2_TABLE_400
15: , a2 JTF_NUMBER_TABLE
16: ) as
17: ddindx binary_integer; indx binary_integer;
32: end loop;
33: end if;
34: end if;
35: end rosetta_table_copy_in_p6;
36: procedure rosetta_table_copy_out_p6(t pv_pg_notif_utility_pvt.user_notify_rec_tbl_type, a0 out nocopy JTF_NUMBER_TABLE
37: , a1 out nocopy JTF_VARCHAR2_TABLE_400
38: , a2 out nocopy JTF_NUMBER_TABLE
39: ) as
40: ddindx binary_integer; indx binary_integer;
75: , x_return_status out nocopy VARCHAR2
76: )
77:
78: as
79: ddx_user_notify_rec_tbl pv_pg_notif_utility_pvt.user_notify_rec_tbl_type;
80: ddindx binary_integer; indx binary_integer;
81: begin
82:
83: -- copy data to the local IN or IN-OUT args, if any
85:
86:
87:
88: -- here's the delegated call to the old PL/SQL routine
89: pv_pg_notif_utility_pvt.get_users_list(p_partner_id,
90: ddx_user_notify_rec_tbl,
91: x_user_count,
92: x_return_status);
93:
92: x_return_status);
93:
94: -- copy data back from the local variables to OUT or IN-OUT args, if any
95:
96: pv_pg_notif_utility_pvt_w.rosetta_table_copy_out_p6(ddx_user_notify_rec_tbl, p1_a0
97: , p1_a1
98: , p1_a2
99: );
100:
139:
140:
141:
142: -- here's the delegated call to the old PL/SQL routine
143: pv_pg_notif_utility_pvt.set_pgp_notif(p_notif_id,
144: p_object_version,
145: p_partner_id,
146: p_user_id,
147: p_arc_notif_for_entity_code,
189: , p7_a5 VARCHAR2
190: )
191:
192: as
193: ddp_mbrship_chng_rec pv_pg_notif_utility_pvt.mbrship_chng_rec_type;
194: ddindx binary_integer; indx binary_integer;
195: begin
196:
197: -- copy data to the local IN or IN-OUT args, if any
209: ddp_mbrship_chng_rec.message_subj := p7_a4;
210: ddp_mbrship_chng_rec.message_body := p7_a5;
211:
212: -- here's the delegated call to the old PL/SQL routine
213: pv_pg_notif_utility_pvt.send_mbrship_chng_notif(p_api_version,
214: p_init_msg_list,
215: p_commit,
216: p_validation_level,
217: x_return_status,
268:
269:
270:
271: -- here's the delegated call to the old PL/SQL routine
272: pv_pg_notif_utility_pvt.send_invitations(p_api_version_number,
273: p_init_msg_list,
274: p_commit,
275: p_validation_level,
276: p_partner_id,
301:
302:
303: end;
304:
305: end pv_pg_notif_utility_pvt_w;