DBA Data[Home] [Help]

PACKAGE: APPS.CN_SCA_WF_CUST_PKG

Source


1 PACKAGE CN_SCA_WF_CUST_PKG AUTHID CURRENT_USER AS
2 /* $Header: cnpscacs.pls 120.0 2005/06/06 17:55:18 appldev noship $ */
3 /*#
4  * This package includes public APIs for Sales Credit Allocation custom Revenue
5  * Distribution and Transaction Transfer
6  * @rep:scope public
7  * @rep:product CN
8  * @rep:displayname Workflow Process custom Revenue Distribution
9  * @rep:lifecycle active
10  * @rep:compatibility S
11  * @rep:category BUSINESS_ENTITY CN_COMP_PLANS
12  */
13 G_PKG_NAME  CONSTANT VARCHAR2(30) := 'CN_SCA_WF_CUST_PKG';
14 
15 -- Start of comments
16 --    API name          : CUST_REV_DIST
17 --    Type              : Public.
18 --    Function          :
19 --    Pre-reqs          : None.
20 --    Parameters        :
21 --    IN                : itemType      IN  VARCHAR2    Required
22 --                        itemKey       IN  VARCHAR2    Required
23 --                        actId         IN  NUMBER      Required
24 --                        funcMode      IN  VARCHAR2    Required
25 --    OUT               : resultOut     OUT VARCHAR2
26 --    Version           : Current version   1.0
27 --                        Previous version
28 --                        Initial version   1.0
29 --    Notes             : Executes CUSTOM Revenue Distribution Function. Called
30 --                        by the WF Engine.
31 --                        itemType  - A valid item type from WF_ITEM_TYPES table.
32 --                        itemKey   - A string generated from application object's
33 --                                    PRIMARY key.
34 --                        actId     - The function activity (instance ID).
35 --                        funcMode  - Run/Cancel.
36 --                        resultOut - 'COMPLETE:'.
37 -- End of comments
38 /*#
39  * This procedure is an empty stub that allows you to implement a custom revenue
40  * distribution process.
41  * @param itemType Sales Credit Allocation Workflow item type ('CNSCARPR')
42  * @param itemKey Workflow item key generated by START_PROCESS procedure
43  * @param actId Commit flag (default F)
44  * @param funcMode Workflow execution mode, generated by Workflow
45  * @param resultOut Workflow function result code
46  * @rep:scope public
47  * @rep:lifecycle active
48  * @rep:displayname Custom Option for Revenue Distribution
49  */
50 PROCEDURE CUST_REV_DIST (
51     itemType    IN  varchar2,
52     itemKey     IN  varchar2,
53     actId       IN  number,
54     funcMode    IN  varchar2,
55     resultOut   OUT NOCOPY varchar2);
56 
57 -- Start of comments
58 --    API name          : CUST_TRX_LOAD
59 --    Type              : Public.
60 --    Function          :
61 --    Pre-reqs          : None.
62 --    Parameters        :
63 --    IN                : itemType      IN  VARCHAR2    Required
64 --                        itemKey       IN  VARCHAR2    Required
65 --                        actId         IN  NUMBER      Required
66 --                        funcMode      IN  VARCHAR2    Required
67 --    OUT               : resultOut     OUT VARCHAR2
68 --    Version           : Current version   1.0
69 --                        Previous version
70 --                        Initial version   1.0
71 --    Notes             : Executes CUSTOM Transaction Loading Function. Called
72 --                        by the WF Engine.
73 --                        itemType  - A valid item type from WF_ITEM_TYPES table.
74 --                        itemKey   - A string generated from application object's
75 --                                    PRIMARY key.
76 --                        actId     - The function activity (instance ID).
77 --                        funcMode  - Run/Cancel.
78 --                        resultOut - 'COMPLETE:'.
79 -- End of comments
80 /*#
81  * This procedure is an empty stub that allows you to implement a custom revenue
82  * distribution process.
83  * @param itemType Sales Credit Allocation Workflow item type ('CNSCARPR')
84  * @param itemKey Workflow item key generated by START_PROCESS procedure
85  * @param actId Commit flag (default F)
86  * @param funcMode Workflow execution mode, generated by Workflow
87  * @param resultOut Workflow function result code
88  * @rep:scope public
89  * @rep:lifecycle active
90  * @rep:displayname Custom Option for load transactions
91  */
92 
93 PROCEDURE CUST_TRX_LOAD (
94     itemType    IN  varchar2,
95     itemKey     IN  varchar2,
96     actId       IN  number,
97     funcMode    IN  varchar2,
98     resultOut   OUT NOCOPY varchar2);
99 
100 END CN_SCA_WF_CUST_PKG;