[Home] [Help]
PACKAGE: APPS.OKC_REP_SIGN_WF_PVT
Source
1 PACKAGE okc_rep_sign_wf_pvt AUTHID CURRENT_USER AS
2 /* $Header: OKCREPSWFS.pls 120.0.12020000.3 2013/03/14 16:26:32 kkolukul noship $ */
3
4 ---------------------------------------------------------------------------
5 -- Procedures and Functions
6 ---------------------------------------------------------------------------
7
8 -- Start of comments
9 --API name : initialize_attributes
10 --Type : Private.
11 --Function : This procedure is called by workflow to initialize workflow attributes.
12 --Pre-reqs : None.
13 --Parameters :
14 --IN : itemtype IN VARCHAR2 Required
15 -- Workflow item type parameter
16 -- : itemkey IN VARCHAR2 Required
17 -- Workflow item key parameter
18 -- : actid IN VARCHAR2 Required
19 -- Workflow actid parameter
20 -- : funcmode IN VARCHAR2 Required
21 -- Workflow function mode parameter
22 --OUT : resultout OUT VARCHAR2(1)
23 -- Workflow standard out parameter
24 -- Note :
25 -- End of comments
26 PROCEDURE initialize_attributes(
27 itemtype in varchar2,
28 itemkey in varchar2,
29 actid in number,
30 funcmode in varchar2,
31 resultout out nocopy varchar2
32 );
33
34
35 -- Start of comments
36 --API name : has_next_signer
37 --Type : Private.
38 --Function : This procedure is called by workflow to get the next signer in the list.
39 --Pre-reqs : None.
40 --Parameters :
41 --IN : itemtype IN VARCHAR2 Required
42 -- Workflow item type parameter
43 -- : itemkey IN VARCHAR2 Required
44 -- Workflow item key parameter
45 -- : actid IN VARCHAR2 Required
46 -- Workflow actid parameter
47 -- : funcmode IN VARCHAR2 Required
48 -- Workflow function mode parameter
49 --OUT : resultout OUT VARCHAR2(1)
50 -- Workflow standard out parameter
51 -- Note :
52 -- End of comments
53 PROCEDURE has_next_signer(
54 itemtype in varchar2,
55 itemkey in varchar2,
56 actid in number,
57 funcmode in varchar2,
58 resultout out nocopy varchar2
59 );
60
61
62 -- Start of comments
63 --API name : update_hist_status_detailed
64 --Type : Private.
65 --Function : This procedure is called by workflow to update the signature history when the notification is responded
66 --Pre-reqs : None.
67 --Parameters :
68 --IN : itemtype IN VARCHAR2 Required
69 -- Workflow item type parameter
70 -- : itemkey IN VARCHAR2 Required
71 -- Workflow item key parameter
72 -- : actid IN VARCHAR2 Required
73 -- Workflow actid parameter
74 -- : funcmode IN VARCHAR2 Required
75 -- Workflow function mode parameter
76 --OUT : resultout OUT VARCHAR2(1)
77 -- Workflow standard out parameter
78 -- Note :
79 -- End of comments
80
81 PROCEDURE update_hist_status_detailed(
82 itemtype IN varchar2,
83 itemkey IN varchar2,
84 actid IN number,
85 funcmode IN varchar2,
86 resultout OUT nocopy varchar2
87 ) ;
88
89
90
91 -- Start of comments
92 --API name : reject_contract
93 --Type : Private.
94 --Function : This procedure is called by workflow after the contract is rejected. Updates Contract's status
95 -- to rejected and logs the status change in OKC_REP_CON_STATUS_HIST table.
96 --Pre-reqs : None.
97 --Parameters :
98 --IN : itemtype IN VARCHAR2 Required
99 -- Workflow item type parameter
100 -- : itemkey IN VARCHAR2 Required
101 -- Workflow item key parameter
102 -- : actid IN VARCHAR2 Required
103 -- Workflow actid parameter
104 -- : funcmode IN VARCHAR2 Required
105 -- Workflow function mode parameter
106 --OUT : resultout OUT VARCHAR2(1)
107 -- Workflow standard out parameter
108 -- Note :
109 -- End of comments
110 PROCEDURE reject_contract(
111 itemtype IN varchar2,
112 itemkey IN varchar2,
113 actid IN number,
114 funcmode IN varchar2,
115 resultout OUT nocopy varchar2
116 ) ;
117
118 -- Start of comments
119 --API name : sign_contract
120 --Type : Private.
121 --Function : This procedure is called by workflow after the contract is signed. Updates Contract's status
122 -- to Signed and logs the status change in OKC_REP_CON_STATUS_HIST table.
123 --Pre-reqs : None.
124 --Parameters :
125 --IN : itemtype IN VARCHAR2 Required
126 -- Workflow item type parameter
127 -- : itemkey IN VARCHAR2 Required
128 -- Workflow item key parameter
129 -- : actid IN VARCHAR2 Required
130 -- Workflow actid parameter
131 -- : funcmode IN VARCHAR2 Required
132 -- Workflow function mode parameter
133 --OUT : resultout OUT VARCHAR2(1)
134 -- Workflow standard out parameter
135 -- Note :
136 -- End of comments
137 PROCEDURE sign_contract(
138 itemtype IN varchar2,
139 itemkey IN varchar2,
140 actid IN number,
141 funcmode IN varchar2,
142 resultout OUT nocopy varchar2
143 ) ;
144
145 --bug 6957819
146 -- Start of comments
147 --API name : Con_Has_Terms
148 --Type : Private.
149 --Function : This procedure is called by workflow to check if terms has been applied on the document.
150 --Pre-reqs : None.
151 --Parameters :
152 --IN : itemtype IN VARCHAR2 Required
153 -- Workflow item type parameter
154 -- : itemkey IN VARCHAR2 Required
155 -- Workflow item key parameter
156 -- : actid IN VARCHAR2 Required
157 -- Workflow actid parameter
158 -- : funcmode IN VARCHAR2 Required
159 -- Workflow function mode parameter
160 --OUT : resultout OUT VARCHAR2(1)
161 -- Workflow standard out parameter
162 -- Note :
163 -- End of comments
164
165 PROCEDURE con_has_terms(
166 itemtype IN varchar2,
167 itemkey IN varchar2,
168 actid IN number,
169 funcmode IN varchar2,
170 resultout OUT nocopy varchar2
171 );
172
173 -- Start of comments
174 --API name : con_attach_generated_YN
175 --Type : Private.
176 --Function : This procedure is called by workflow to check if terms has been applied on the document.
177 --Pre-reqs : None.
178 --Parameters :
179 --IN : itemtype IN VARCHAR2 Required
180 -- Workflow item type parameter
181 -- : itemkey IN VARCHAR2 Required
182 -- Workflow item key parameter
183 -- : actid IN VARCHAR2 Required
184 -- Workflow actid parameter
185 -- : funcmode IN VARCHAR2 Required
186 -- Workflow function mode parameter
187 --OUT : resultout OUT VARCHAR2(1)
188 -- Workflow standard out parameter
189 -- Note :
190 -- End of comments
191
192 PROCEDURE con_attach_generated_yn(
193 itemtype IN varchar2,
194 itemkey IN varchar2,
195 actid IN number,
196 funcmode IN varchar2,
197 resultout OUT nocopy varchar2
198 );
199
200 -- Start of comments
201 --API name : contract_preview_yn
202 --Type : Private.
203 --Function : This procedure is checks if the contract can be printed or not
204 --Pre-reqs : None.
205 --Parameters :
206 -- Note :
207 -- End of comments
208 PROCEDURE contract_preview_yn
209 (itemtype IN varchar2,
210 itemkey IN varchar2,
211 actid IN number,
212 funcmode IN varchar2,
213 resultout OUT nocopy varchar2
214 ) ;
215
216
217 -- Start of comments
218 --API name : Apps_initialize
219 --Type : Private.
220 --Function : This procedure is sets apps context
221 --Pre-reqs : None.
222 --Parameters :
223 -- Note :
224 -- End of comments
225 PROCEDURE Apps_initialize(itemtype IN varchar2,
226 itemkey IN varchar2,
227 actid IN number,
228 funcmode IN varchar2,
229 resultout OUT nocopy varchar2);
230
231 END okc_rep_sign_wf_pvt;