1 PACKAGE RCV_AccountHook_PUB AUTHID CURRENT_USER AS
2 /* $Header: RCVPAHKS.pls 115.0 2003/09/11 22:47:07 nnayak noship $ */
3
4 -- Start of comments
5 -- API name : Get_Account
6 -- Type : Public
7 -- Function : This function can be used to override the Retroactive
8 -- price adjustment account.
9 -- Pre-reqs :
10 -- Parameters :
11 -- IN : p_api_version IN NUMBER Required
12 -- p_init_msg_list IN VARCHAR2 Optional
13 -- Default = FND_API.G_FALSE
14 -- p_commit IN VARCHAR2 Optional
15 -- Default = FND_API.G_FALSE
16 -- p_validation_level IN NUMBER Optional
17 -- Default = FND_API.G_VALID_LEVEL_FULL
18 -- p_rcv_transaction_id IN NUMBER
19 -- p_accounting_line_type IN VARCHAR2
20 --
21 -- OUT : x_return_status OUT VARCHAR2(1)
22 -- x_msg_count OUT NUMBER
23 -- x_msg_data OUT VARCHAR2(2000)
24 -- x_distribution_acct_id OUT NUMBER
25 -- Version :
26 -- Initial version 1.0
27 --
28 -- Notes : This API can currently be used only to override the
29 -- Retroactive Price Adjustment Account. The parameter
30 -- p_rcv_transaction_id will contain the transaction_id
31 -- for the transaction being adjusted. Currently, the only
32 -- accounting line type supported is the 'Retroprice
33 -- Adjustment'. If the returned value in x_distribution_acct_id
34 -- is -1, the organization retroactive price adjustment account
35 -- will be used. Otherwise the returned account will be used.
36 --
37 -- End of comments
38 -------------------------------------------------------------------------------
39 PROCEDURE Get_Account(
40 p_api_version IN NUMBER,
41 x_return_status OUT NOCOPY VARCHAR2,
42 x_msg_count OUT NOCOPY NUMBER,
43 x_msg_data OUT NOCOPY VARCHAR2,
44 p_rcv_transaction_id IN NUMBER,
45 p_accounting_line_type IN VARCHAR2,
46 x_distribution_acct_id OUT NOCOPY NUMBER
47 );
48
49 END RCV_AccountHook_PUB;