1 PACKAGE PA_CC_IDENT_CLIENT_EXTN AS
2 -- $Header: PACCIXTS.pls 120.4 2006/07/25 19:40:05 skannoji noship $
3 /*#
4 * This package contains the extensions you can use to implement your business rules for various aspects of cross charge feature.
5 * @rep:scope public
6 * @rep:product PA
7 * @rep:lifecycle active
8 * @rep:displayname Cross Charge Processing Method Override
9 * @rep:compatibility S
10 * @rep:category BUSINESS_ENTITY PA_PROJECT
11 * @rep:category BUSINESS_ENTITY PA_IC_TRANSACTION
12 * @rep:doccd 120pjapi.pdf See the Oracle Projects API's, Client Extensions, and Open Interfaces Reference
13 */
14
15 /*#
16 * You can use this extension to enforce cross charge rules at a higher level in the organization hierarchy than the level at which
17 * you assign resources and projects.
18 * @param P_PrvdrOrganizationId Identifier of the provider organization
19 * @rep:paraminfo {@rep:required}
20 * @param P_PrvdrOrgId Identifier of the provider operating unit
21 * @rep:paraminfo {@rep:required}
22 * @param P_RecvrOrganizationId Identifier of the receiver organization
23 * @rep:paraminfo {@rep:required}
24 * @param P_RecvrOrgId Identifier of the receiver operating unit
25 * @rep:paraminfo {@rep:required}
26 * @param P_TransId Identifier of the transaction
27 * @rep:paraminfo {@rep:required}
28 * @param P_SysLink Expenditure type class
29 * @rep:paraminfo {@rep:required}
30 * @param P_calling_mode Number of archive and purge records to be processed before commitment
31 * @rep:paraminfo {@rep:required}
32 * @param X_Status Error status (0 = successful execution, <0 = Oracle error, >0 = application error)
33 * @rep:paraminfo {@rep:required}
34 * @param X_PrvdrOrganizationId Output provider organization identifier
35 * @rep:paraminfo {@rep:required}
36 * @param X_RecvrOrganizationId Output receiver organization identifier
37 * @rep:paraminfo {@rep:required}
38 * @param X_Error_Stage The point of occurrence of an error
39 * @rep:paraminfo {@rep:required}
40 * @param X_Error_Code Error handling code
41 * @rep:paraminfo {@rep:required}
42 * @rep:scope public
43 * @rep:lifecycle active
44 * @rep:displayname Override Provider Receiver
45 * @rep:compatibility S
46 */
47 PROCEDURE OVERRIDE_PRVDR_RECVR (
48 P_PrvdrOrganizationId IN NUMBER,
49 P_PrvdrOrgId IN NUMBER,
50 P_RecvrOrganizationId IN NUMBER,
51 P_RecvrOrgId IN NUMBER,
52 P_TransId IN NUMBER,
53 P_SysLink IN VARCHAR2,
54 P_calling_mode IN VARCHAR2 default 'TRANSACTION',
55 X_Status IN OUT NOCOPY VARCHAR2,
56 X_PrvdrOrganizationId IN OUT NOCOPY NUMBER,
57 X_RecvrOrganizationId IN OUT NOCOPY NUMBER,
58 X_Error_Stage OUT NOCOPY VARCHAR2,
59 X_Error_Code OUT NOCOPY NUMBER);
60
61 /*#
62 * You can use this extension to enforce cross charge rules at a higher level in the organization hierarchy than the level at which
63 * you assign resources and projects.
64 * @param P_PrvdrOrganizationId Identifier of the provider organization
65 * @rep:paraminfo {@rep:required}
66 * @param P_RecvrOrganizationId Identifier of the receiver organization
67 * @rep:paraminfo {@rep:required}
68 * @param P_PrvdrOrgId Identifier of the provider operating unit
69 * @rep:paraminfo {@rep:required}
70 * @param P_RecvrOrgId Identifier of the receiver operating unit
71 * @rep:paraminfo {@rep:required}
72 * @param P_PrvdrLEId Identifier of the provider legal entity
73 * @rep:paraminfo {@rep:required}
74 * @param P_RecvrLEId Identifier of the receiver legal entity
75 * @rep:paraminfo {@rep:required}
76 * @param P_PersonId Identifier of the employee who charged the transaction
77 * @rep:paraminfo {@rep:required}
78 * @param P_ProjectId Identifier of the project
79 * @rep:paraminfo {@rep:required}
80 * @param P_TaskId Identifier of the task
81 * @rep:paraminfo {@rep:required}
82 * @param P_SysLink Expenditure type class
83 * @rep:paraminfo {@rep:required}
84 * @param P_TransDate Transaction date
85 * @rep:paraminfo {@rep:required}
86 * @param P_TransSource External source of the transaction, if the source was external
87 * @rep:paraminfo {@rep:required}
88 * @param P_TransId Identifier of the transaction interface
89 * @rep:paraminfo {@rep:required}
90 * @param P_CrossChargeCode Entered value for cross charge identification. Must
91 * be a valid cross charge code from the lookup CC_CROSS_CHARGE_CODE lookup
92 * @rep:paraminfo {@rep:required}
93 * @param P_CrossChargeType Cross charge type. Must be a valid cross charge type from the lookup CC_CROSS_CHARGE_TYPE lookup
94 * @rep:paraminfo {@rep:required}
95 * @param P_calling_mode Number of archive and purge records to be processed before commitment
96 * @param X_OvrridCrossChargeCode New cross charge code
97 * @rep:paraminfo {@rep:required}
98 * @param X_Status Error status (0 = successful execution, <0 = Oracle error, >0 = application error)
99 * @rep:paraminfo {@rep:required}
100 * @param X_Error_Stage The point of occurrence of an error
101 * @rep:paraminfo {@rep:required}
102 * @param X_Error_Code Error handling code
103 * @rep:paraminfo {@rep:required}
104 * @rep:scope public
105 * @rep:lifecycle active
106 * @rep:displayname Cross Charge Processing Method
107 * @rep:compatibility S
108 */
109 PROCEDURE OVERRIDE_CC_PROCESSING_METHOD (
110 P_PrvdrOrganizationId IN NUMBER,
111 P_RecvrOrganizationId IN NUMBER,
112 P_PrvdrOrgId IN NUMBER,
113 P_RecvrOrgId IN NUMBER,
114 P_PrvdrLEId IN NUMBER,
115 P_RecvrLEId IN NUMBER,
116 P_PersonId IN NUMBER,
117 P_ProjectId IN NUMBER,
118 P_TaskId IN NUMBER,
119 P_SysLink IN VARCHAR2,
120 P_TransDate IN DATE,
121 P_TransSource IN VARCHAR2,
122 P_TransId IN NUMBER,
123 P_CrossChargeCode IN VARCHAR2,
124 P_CrossChargeType IN VARCHAR2,
125 P_calling_mode IN VARCHAR2 default 'TRANSACTION',
126 X_OvrridCrossChargeCode OUT NOCOPY VARCHAR2,
127 X_Status IN OUT NOCOPY VARCHAR2,
128 X_Error_Stage OUT NOCOPY VARCHAR2,
129 X_Error_Code OUT NOCOPY NUMBER);
130
131 END PA_CC_IDENT_CLIENT_EXTN;