1 PACKAGE cn_post_collection_tae_pub AS
2 --$Header: cnppcols.pls 120.1 2005/11/25 03:09:39 rramakri noship $
3 /*#
4 * This public package integrates the Oracle Incentive Compensation collection
5 * process with the Territory Assignment Engine.
6 * @rep:scope public
7 * @rep:product CN
8 * @rep:displayname OIC Integration With TA Engine Public Application Program Interface
9 * @rep:lifecycle active
10 * @rep:compatibility S
11 * @rep:category BUSINESS_ENTITY CN_COMP_PLANS
12 */
13
14 -- Start of Comments
15 -- API name : get_assignments
16 -- Type : Public.
17 -- Pre-reqs : None.
18 -- Usage : Used to add your code to populate the attribute data into the
19 -- TAE input interface table, make the TAE calls to process the
20 -- territory assignment and update the original OIC transactions
21 -- with the new territory resource information.
22 -- Parameters :
23 -- IN : p_api_version IN NUMBER Require
24 -- p_init_msg_list IN VARCHAR2 Optional
25 -- Default = FND_API.G_FALSE
26 -- p_commit IN VARCHAR2 Optional
27 -- Default = FND_API.G_FALSE
28 -- p_validation_level IN NUMBER Optional
29 -- Default = FND_API.G_VALID_LEVEL_FULL
30 -- x_start_period_id IN cn_periods.period_id%TYPE
31 -- x_end_period_id IN cn_periods.period_id%TYPE,
32 -- x_conc_program_id IN NUMBER
33 -- OUT : x_return_status OUT VARCHAR2(1)
34 -- x_msg_count OUT NUMBER
35 -- x_msg_data OUT VARCHAR2(2000)
36 -- Version : Current version 1.0
37 -- Initial version 1.0
38
39 /*#
40 * This procedure allows you to add your code to populate the attribute data into the
41 * TAE input interface table, make the TAE calls to process the territory assignment
42 * and update the original OIC transactions with the new territory resource
43 * information.
44 * @param p_api_version API Version
45 * @param p_init_msg_list Initialize Message List
46 * @param p_commit Commit after create
47 * @param p_validation_level Validation Level
48 * @param x_start_period_id period_id from cn_periods
49 * @param x_end_period_id period_id from cn_periods
50 * @param x_conc_program_id Concurrent Program Number
51 * @param x_return_status Status of the create operation
52 * @param x_msg_count Number of error messages returned
53 * @param x_msg_data Error messages
54 * @rep:scope public
55 * @rep:lifecycle active
56 * @rep:displayname Get Assignements Information For OIC TAE Integration
57 */
58
59 PROCEDURE get_assignments
60 ( p_api_version IN NUMBER,
61 p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
62 p_commit IN VARCHAR2 := FND_API.G_FALSE,
63 p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,
64 x_start_period_id IN cn_periods.period_id%TYPE,
65 x_end_period_id IN cn_periods.period_id%TYPE,
66 x_conc_program_id IN NUMBER,
67 x_return_status OUT NOCOPY VARCHAR2,
68 x_msg_count OUT NOCOPY NUMBER,
69 x_msg_data OUT NOCOPY VARCHAR2,
70 x_org_id IN NUMBER
71 );
72
73 END cn_post_collection_tae_pub;