1 PACKAGE FA_ASSET_DESC_PUB AS
2 /* $Header: FAPADSCS.pls 120.2 2004/05/06 17:40:01 masethur noship $ */
3 /*#
4 * This is the public interface for the Asset, Invoice, and Retirement
5 * Descriptive APIs.
6 * @rep:scope public
7 * @rep:product FA
8 * @rep:lifecycle active
9 * @rep:displayname Update Asset Description API
10 * @rep:compatibility S
11 * @rep:category BUSINESS_ENTITY FA_ASSET
12 */
13
14
15 --*********************** Public procedures ******************************--
16 /*#
17 * Update the descriptive information of an asset.
18 * @param p_api_version The version of the API
19 * @param p_init_msg_list The initialize message list flag
20 * @param p_commit The Commit flag
21 * @param p_validation_level The validation level
22 * @param x_return_status The return status
23 * @param x_msg_count The message count
24 * @param x_msg_data The message data
25 * @param p_calling_fn The calling function
26 * @param px_trans_rec The transaction record
27 * @param px_asset_hdr_rec The asset header record
28 * @param px_asset_desc_rec_new The asset descriptive record
29 * @param px_asset_cat_rec_new The asset category record
30 * @rep:scope public
31 * @rep:lifecycle active
32 * @rep:displayname Update Asset Descriptive Information
33 * @rep:compatibility S
34 * @rep:metalink 206481.1 Oracle Assets Asset Description API Documentation Supplement
35 */
36 procedure update_desc(
37 -- Standard Parameters --
38 p_api_version IN NUMBER,
39 p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
40 p_commit IN VARCHAR2 := FND_API.G_FALSE,
41 p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,
42 x_return_status OUT NOCOPY VARCHAR2,
43 x_msg_count OUT NOCOPY NUMBER,
44 x_msg_data OUT NOCOPY VARCHAR2,
45 p_calling_fn IN VARCHAR2,
46 -- Transaction Object --
47 px_trans_rec IN OUT NOCOPY fa_api_types.trans_rec_type,
48 -- Asset Object --
49 px_asset_hdr_rec IN OUT NOCOPY fa_api_types.asset_hdr_rec_type,
50 px_asset_desc_rec_new IN OUT NOCOPY fa_api_types.asset_desc_rec_type,
51 px_asset_cat_rec_new IN OUT NOCOPY fa_api_types.asset_cat_rec_type);
52
53
54
55 /*#
56 * Update the descriptive information of an invoice.
57 * @param p_api_version The version of the API
58 * @param p_init_msg_list The initialize message list flag
59 * @param p_commit The Commit flag
60 * @param p_validation_level The validation level
61 * @param x_return_status The return status
62 * @param x_msg_count The message count
63 * @param x_msg_data The message data
64 * @param p_calling_fn The calling function
65 * @param px_trans_rec The transaction record
66 * @param px_asset_hdr_rec The asset header record
67 * @param px_inv_tbl_new The table of invoices
68 * @rep:scope public
69 * @rep:lifecycle active
70 * @rep:displayname Update Asset Source Line
71 * @rep:compatibility S
72 * @rep:metalink 206477.1 Oracle Assets Invoice Description API Documentation Supplement
73 */
74 procedure update_invoice_desc(
75 -- Standard Parameters --
76 p_api_version IN NUMBER,
77 p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
78 p_commit IN VARCHAR2 := FND_API.G_FALSE,
79 p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,
80 x_return_status OUT NOCOPY VARCHAR2,
81 x_msg_count OUT NOCOPY NUMBER,
82 x_msg_data OUT NOCOPY VARCHAR2,
83 p_calling_fn IN VARCHAR2,
84 -- Transaction Object --
85 px_trans_rec IN OUT NOCOPY fa_api_types.trans_rec_type,
86 -- Asset Object --
87 px_asset_hdr_rec IN OUT NOCOPY fa_api_types.asset_hdr_rec_type,
88 px_inv_tbl_new IN OUT NOCOPY fa_api_types.inv_tbl_type);
89
90
91
92 /*#
93 * Update the descriptive information of an asset retirement.
94 * @param p_api_version The version of the API
95 * @param p_init_msg_list initialize message list flag
96 * @param p_commit The Commit flag
97 * @param p_validation_level The validation level
98 * @param x_return_status The return status
99 * @param x_msg_count The message count
100 * @param x_msg_data The message data
101 * @param p_calling_fn The calling function
102 * @param px_trans_rec The transaction record
103 * @param px_asset_hdr_rec The asset header record
104 * @param px_asset_retire_rec_new The asset retirement record
105 * @rep:scope public
106 * @rep:lifecycle active
107 * @rep:displayname Update Asset Retirement Information
108 * @rep:compatibility S
109 */
110 procedure update_retirement_desc(
111 -- Standard Parameters --
112 p_api_version IN NUMBER,
113 p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
114 p_commit IN VARCHAR2 := FND_API.G_FALSE,
115 p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,
116 x_return_status OUT NOCOPY VARCHAR2,
117 x_msg_count OUT NOCOPY NUMBER,
118 x_msg_data OUT NOCOPY VARCHAR2,
119 p_calling_fn IN VARCHAR2,
120 -- Transaction Object --
121 px_trans_rec IN OUT NOCOPY fa_api_types.trans_rec_type,
122 -- Asset Object --
123 px_asset_hdr_rec IN OUT NOCOPY fa_api_types.asset_hdr_rec_type,
124 px_asset_retire_rec_new IN OUT NOCOPY fa_api_types.asset_retire_rec_type);
125
126 END FA_ASSET_DESC_PUB;