1 PACKAGE PA_CLIENT_EXTN_PRE_CAP_EVENT AUTHID CURRENT_USER AS
2 --$Header: PACCXCBS.pls 120.1 2006/07/25 20:41:58 skannoji noship $
3 /*#
4 * You can use this extension to create project assets and asset assignments automatically prior to the creation of capital
5 * events, based on transaction data entered for the project. Business Entity(ies): Project, Project Capital Asset.
6 * @rep:scope public
7 * @rep:product PA
8 * @rep:lifecycle active
9 * @rep:displayname Capital Event Processing 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 procedure contains the logic to create project assets and asset assighments prior to the creation of capital events.
18 * When you submit the PRC: Create Periodic Capital Event process, Oracle Projects calls this procedure for each project.
19 * @param p_project_id Identifier of the project
20 * @rep:paraminfo {@rep:required}
21 * @param p_event_period_name Runtime parameter for the PRC: Create Periodic Capital Events Process
22 * @rep:paraminfo {@rep:required}
23 * @param p_asset_date_through Runtime parameter for the PRC: Create Periodic Capital Events Process
24 * @rep:paraminfo {@rep:required}
25 * @param p_ei_date_through Runtime parameter for the PRC: Create Periodic Capital Events Process
26 * @param x_return_status API standard: return status of the API (S = success, F = failure, U = unexpected error)
27 * @rep:paraminfo {@rep:required}
28 * @param x_msg_data Error message text
29 * @rep:paraminfo {@rep:required}
30 * @rep:scope public
31 * @rep:lifecycle active
32 * @rep:displayname PRE Capital Event
33 * @rep:compatibility S
34 */
35 PROCEDURE PRE_CAPITAL_EVENT(p_project_id IN NUMBER,
36 p_event_period_name IN VARCHAR2,
37 p_asset_date_through IN DATE,
38 p_ei_date_through IN DATE DEFAULT NULL,
39 x_return_status OUT NOCOPY VARCHAR2,
40 x_msg_data OUT NOCOPY VARCHAR2);
41
42 END;