DBA Data[Home] [Help]

PACKAGE BODY: APPS.OZF_FUND_EXTENSION_PVT_W

Source


1 package body ozf_fund_extension_pvt_w as
2   /* $Header: ozfwfexb.pls 115.5 2004/04/20 06:18:05 rimehrot noship $ */
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 
6   -- this is to workaround the JDBC bug regarding IN DATE of value GMiss
7   function rosetta_g_miss_date_in_map(d date) return date as
8   begin
9     if d = rosetta_g_mistake_date then return fnd_api.g_miss_date; end if;
10     return d;
11   end;
12 
13   procedure validate_delete_fund(p_api_version_number  NUMBER
14     , p_init_msg_list  VARCHAR2
15     , p_commit  VARCHAR2
16     , p_object_id  NUMBER
17     , p_object_version_number  NUMBER
18     , p5_a0 out nocopy JTF_VARCHAR2_TABLE_300
19     , p5_a1 out nocopy JTF_VARCHAR2_TABLE_100
20     , p5_a2 out nocopy JTF_VARCHAR2_TABLE_100
21     , p5_a3 out nocopy JTF_VARCHAR2_TABLE_300
22     , p5_a4 out nocopy JTF_VARCHAR2_TABLE_100
23     , x_return_status out nocopy  VARCHAR2
24     , x_msg_count out nocopy  NUMBER
25     , x_msg_data out nocopy  VARCHAR2
26   )
27 
28   as
29     ddx_dependent_object_tbl ams_utility_pvt.dependent_objects_tbl_type;
30     ddindx binary_integer; indx binary_integer;
31   begin
32 
33     -- copy data to the local IN or IN-OUT args, if any
34 
35 
36 
37 
38 
39 
40 
41 
42 
43     -- here's the delegated call to the old PL/SQL routine
44     ozf_fund_extension_pvt.validate_delete_fund(p_api_version_number,
45       p_init_msg_list,
46       p_commit,
47       p_object_id,
48       p_object_version_number,
49       ddx_dependent_object_tbl,
50       x_return_status,
51       x_msg_count,
52       x_msg_data);
53 
54     -- copy data back from the local variables to OUT or IN-OUT args, if any
55 
56 
57 
58 
59 
60     ams_utility_pvt_w.rosetta_table_copy_out_p45(ddx_dependent_object_tbl, p5_a0
61       , p5_a1
62       , p5_a2
63       , p5_a3
64       , p5_a4
65       );
66 
67 
68 
69   end;
70 
71 end ozf_fund_extension_pvt_w;