DBA Data[Home] [Help]

PACKAGE: APPS.PA_CLIENT_EXTN_DEPRN_EXP_OVR

Source


1 PACKAGE PA_CLIENT_EXTN_DEPRN_EXP_OVR AUTHID CURRENT_USER AS
2 --$Header: PACCXDES.pls 120.1 2006/07/25 20:42:20 skannoji noship $
3 /*#
4  * This extension enables you to specify logic for deriving the depreciation expense account assigned to a project asset.
5  * The extension is called once for every project asset processed.
6  * @rep:scope public
7  * @rep:product PA
8  * @rep:lifecycle active
9  * @rep:displayname Depreciation Account Override Extension
10  * @rep:compatibility S
11  * @rep:category BUSINESS_ENTITY PA_PROJECT
12  * @rep:category BUSINESS_ENTITY PA_CAPITAL_ASSET
13  * @rep:doccd 120pjapi.pdf See the Oracle Projects API's, Client Extensions, and Open Interfaces Reference
14 */
15 
16 /*#
17  * This function contains logic for deriving the depreciation expense account assigned to a project asset.
18  * The INTERFACE_ASSET_LINES procedure calls this function before it validates the complete asset information expense account.
19  * @return Returns the override expense account code
20  * @param p_project_asset_id The reference code that uniquely identifies the asset within a project in Oracle Projects
21  * @param p_book_type_code The corporate book to which the asset is assigned
22  * @rep:paraminfo {@rep:required}
23  * @param p_asset_category_id The identifier of the asset category to which the asset is assigned
24  * @rep:paraminfo {@rep:required}
25  * @param p_date_placed_in_service Date placed in service of the asset
26  * @rep:paraminfo {@rep:required}
27  * @param p_deprn_expense_acct_ccid The depreciation expense account for the asset
28  * @rep:scope public
29  * @rep:lifecycle active
30  * @rep:displayname Depreciation Expense Account Override
31  * @rep:compatibility S
32 */
33 FUNCTION DEPRN_EXPENSE_ACCT_OVERRIDE
34                            (p_project_asset_id      IN      NUMBER DEFAULT NULL,
35                            p_book_type_code         IN      VARCHAR2,
36                            p_asset_category_id      IN      NUMBER,
37                            p_date_placed_in_service IN      DATE,
38                            p_deprn_expense_acct_ccid IN     NUMBER DEFAULT NULL) RETURN NUMBER;
39 
40 END;