DBA Data[Home] [Help]

APPS.WF_PROCESS_ACTIVITY dependencies on WF_CORE

Line 29: Wf_Core.Context('Wf_Process_Activity', 'ClearCache');

25: wf_process_activity.c_process := '';
26: wf_process_activity.c_rootid := '';
27: exception
28: when others then
29: Wf_Core.Context('Wf_Process_Activity', 'ClearCache');
30: raise;
31: end ClearCache;
32:
33: --

Line 92: Wf_Core.Context('Wf_Process_Activity', 'RootInstanceId', itemtype,

88: exception
89: when NO_DATA_FOUND then
90: return '';
91: when OTHERS then
92: Wf_Core.Context('Wf_Process_Activity', 'RootInstanceId', itemtype,
93: itemkey, process);
94: raise;
95: end RootInstanceId;
96:

Line 133: Wf_Core.Token('ACTID', to_char(actid));

129: act_name := WF_CACHE.ProcessActivities(actid).ACTIVITY_NAME;
130:
131: exception
132: when no_data_found then
133: Wf_Core.Token('ACTID', to_char(actid));
134: Wf_Core.Token('DATE', '');
135: Wf_Core.Raise('WFENG_ACTID');
136: when others then
137: Wf_Core.Context('Wf_Process_Activity', 'ActivityName', to_char(actid));

Line 134: Wf_Core.Token('DATE', '');

130:
131: exception
132: when no_data_found then
133: Wf_Core.Token('ACTID', to_char(actid));
134: Wf_Core.Token('DATE', '');
135: Wf_Core.Raise('WFENG_ACTID');
136: when others then
137: Wf_Core.Context('Wf_Process_Activity', 'ActivityName', to_char(actid));
138: raise;

Line 135: Wf_Core.Raise('WFENG_ACTID');

131: exception
132: when no_data_found then
133: Wf_Core.Token('ACTID', to_char(actid));
134: Wf_Core.Token('DATE', '');
135: Wf_Core.Raise('WFENG_ACTID');
136: when others then
137: Wf_Core.Context('Wf_Process_Activity', 'ActivityName', to_char(actid));
138: raise;
139: end ActivityName;

Line 137: Wf_Core.Context('Wf_Process_Activity', 'ActivityName', to_char(actid));

133: Wf_Core.Token('ACTID', to_char(actid));
134: Wf_Core.Token('DATE', '');
135: Wf_Core.Raise('WFENG_ACTID');
136: when others then
137: Wf_Core.Context('Wf_Process_Activity', 'ActivityName', to_char(actid));
138: raise;
139: end ActivityName;
140:
141: --

Line 184: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,

180:
181: return instid;
182: exception
183: when no_data_found then
184: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,
185: process, to_char(version), activity);
186: Wf_Core.Token('TYPE', itemtype);
187: Wf_Core.Token('PROCESS', process);
188: Wf_Core.Token('NAME', activity);

Line 186: Wf_Core.Token('TYPE', itemtype);

182: exception
183: when no_data_found then
184: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,
185: process, to_char(version), activity);
186: Wf_Core.Token('TYPE', itemtype);
187: Wf_Core.Token('PROCESS', process);
188: Wf_Core.Token('NAME', activity);
189: Wf_Core.Raise('WFENG_NOT_START');
190: when too_many_rows then

Line 187: Wf_Core.Token('PROCESS', process);

183: when no_data_found then
184: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,
185: process, to_char(version), activity);
186: Wf_Core.Token('TYPE', itemtype);
187: Wf_Core.Token('PROCESS', process);
188: Wf_Core.Token('NAME', activity);
189: Wf_Core.Raise('WFENG_NOT_START');
190: when too_many_rows then
191: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,

Line 188: Wf_Core.Token('NAME', activity);

184: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,
185: process, to_char(version), activity);
186: Wf_Core.Token('TYPE', itemtype);
187: Wf_Core.Token('PROCESS', process);
188: Wf_Core.Token('NAME', activity);
189: Wf_Core.Raise('WFENG_NOT_START');
190: when too_many_rows then
191: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,
192: process, to_char(version), activity);

Line 189: Wf_Core.Raise('WFENG_NOT_START');

185: process, to_char(version), activity);
186: Wf_Core.Token('TYPE', itemtype);
187: Wf_Core.Token('PROCESS', process);
188: Wf_Core.Token('NAME', activity);
189: Wf_Core.Raise('WFENG_NOT_START');
190: when too_many_rows then
191: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,
192: process, to_char(version), activity);
193: Wf_Core.Token('TYPE', itemtype);

Line 191: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,

187: Wf_Core.Token('PROCESS', process);
188: Wf_Core.Token('NAME', activity);
189: Wf_Core.Raise('WFENG_NOT_START');
190: when too_many_rows then
191: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,
192: process, to_char(version), activity);
193: Wf_Core.Token('TYPE', itemtype);
194: Wf_Core.Token('PROCESS', process);
195: Wf_Core.Token('NAME', activity);

Line 193: Wf_Core.Token('TYPE', itemtype);

189: Wf_Core.Raise('WFENG_NOT_START');
190: when too_many_rows then
191: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,
192: process, to_char(version), activity);
193: Wf_Core.Token('TYPE', itemtype);
194: Wf_Core.Token('PROCESS', process);
195: Wf_Core.Token('NAME', activity);
196: Wf_Core.Raise('WFENG_ACTIVITY_UNIQUE');
197: when others then

Line 194: Wf_Core.Token('PROCESS', process);

190: when too_many_rows then
191: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,
192: process, to_char(version), activity);
193: Wf_Core.Token('TYPE', itemtype);
194: Wf_Core.Token('PROCESS', process);
195: Wf_Core.Token('NAME', activity);
196: Wf_Core.Raise('WFENG_ACTIVITY_UNIQUE');
197: when others then
198: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,

Line 195: Wf_Core.Token('NAME', activity);

191: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,
192: process, to_char(version), activity);
193: Wf_Core.Token('TYPE', itemtype);
194: Wf_Core.Token('PROCESS', process);
195: Wf_Core.Token('NAME', activity);
196: Wf_Core.Raise('WFENG_ACTIVITY_UNIQUE');
197: when others then
198: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,
199: process, to_char(version), activity);

Line 196: Wf_Core.Raise('WFENG_ACTIVITY_UNIQUE');

192: process, to_char(version), activity);
193: Wf_Core.Token('TYPE', itemtype);
194: Wf_Core.Token('PROCESS', process);
195: Wf_Core.Token('NAME', activity);
196: Wf_Core.Raise('WFENG_ACTIVITY_UNIQUE');
197: when others then
198: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,
199: process, to_char(version), activity);
200: raise;

Line 198: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,

194: Wf_Core.Token('PROCESS', process);
195: Wf_Core.Token('NAME', activity);
196: Wf_Core.Raise('WFENG_ACTIVITY_UNIQUE');
197: when others then
198: Wf_Core.Context('Wf_Process_Activity', 'StartInstanceId', itemtype,
199: process, to_char(version), activity);
200: raise;
201: end StartInstanceId;
202:

Line 286: Wf_Core.Context('Wf_Process_Activity', 'ActiveInstanceId', itemtype,

282: exception
283: when no_data_found then
284: return '';
285: when too_many_rows then
286: Wf_Core.Context('Wf_Process_Activity', 'ActiveInstanceId', itemtype,
287: itemkey, activity, status);
288: Wf_Core.Token('TYPE', itemtype);
289: Wf_Core.Token('KEY', itemkey);
290: Wf_Core.Token('NAME', activity);

Line 288: Wf_Core.Token('TYPE', itemtype);

284: return '';
285: when too_many_rows then
286: Wf_Core.Context('Wf_Process_Activity', 'ActiveInstanceId', itemtype,
287: itemkey, activity, status);
288: Wf_Core.Token('TYPE', itemtype);
289: Wf_Core.Token('KEY', itemkey);
290: Wf_Core.Token('NAME', activity);
291: Wf_Core.Raise('WFENG_ITEM_ACTIVITY_UNIQUE');
292: when others then

Line 289: Wf_Core.Token('KEY', itemkey);

285: when too_many_rows then
286: Wf_Core.Context('Wf_Process_Activity', 'ActiveInstanceId', itemtype,
287: itemkey, activity, status);
288: Wf_Core.Token('TYPE', itemtype);
289: Wf_Core.Token('KEY', itemkey);
290: Wf_Core.Token('NAME', activity);
291: Wf_Core.Raise('WFENG_ITEM_ACTIVITY_UNIQUE');
292: when others then
293: Wf_Core.Context('Wf_Process_Activity', 'ActiveInstanceId', itemtype,

Line 290: Wf_Core.Token('NAME', activity);

286: Wf_Core.Context('Wf_Process_Activity', 'ActiveInstanceId', itemtype,
287: itemkey, activity, status);
288: Wf_Core.Token('TYPE', itemtype);
289: Wf_Core.Token('KEY', itemkey);
290: Wf_Core.Token('NAME', activity);
291: Wf_Core.Raise('WFENG_ITEM_ACTIVITY_UNIQUE');
292: when others then
293: Wf_Core.Context('Wf_Process_Activity', 'ActiveInstanceId', itemtype,
294: itemkey, activity, status);

Line 291: Wf_Core.Raise('WFENG_ITEM_ACTIVITY_UNIQUE');

287: itemkey, activity, status);
288: Wf_Core.Token('TYPE', itemtype);
289: Wf_Core.Token('KEY', itemkey);
290: Wf_Core.Token('NAME', activity);
291: Wf_Core.Raise('WFENG_ITEM_ACTIVITY_UNIQUE');
292: when others then
293: Wf_Core.Context('Wf_Process_Activity', 'ActiveInstanceId', itemtype,
294: itemkey, activity, status);
295: raise;

Line 293: Wf_Core.Context('Wf_Process_Activity', 'ActiveInstanceId', itemtype,

289: Wf_Core.Token('KEY', itemkey);
290: Wf_Core.Token('NAME', activity);
291: Wf_Core.Raise('WFENG_ITEM_ACTIVITY_UNIQUE');
292: when others then
293: Wf_Core.Context('Wf_Process_Activity', 'ActiveInstanceId', itemtype,
294: itemkey, activity, status);
295: raise;
296: end ActiveInstanceId;
297:

Line 477: Wf_Core.Context('Wf_Process_Activity', 'IsChild', to_char(rootid),

473: -- If you made it here the activity was not found anywhere in the tree.
474: return(FALSE);
475: exception
476: when OTHERS then
477: Wf_Core.Context('Wf_Process_Activity', 'IsChild', to_char(rootid),
478: acttype, actname, to_char(actdate));
479: raise;
480: end IsChild;
481:

Line 610: Wf_Core.Context('Wf_Process_Activity', 'FindActivity', to_char(parentid),

606: -- will still be null.
607: return(actid);
608: exception
609: when wf_dup_activity then
610: Wf_Core.Context('Wf_Process_Activity', 'FindActivity', to_char(parentid),
611: activity, to_char(actdate));
612: Wf_Core.Token('NAME', activity);
613: Wf_Core.Raise('WFENG_ACTIVITY_UNIQUE');
614: when OTHERS then

Line 612: Wf_Core.Token('NAME', activity);

608: exception
609: when wf_dup_activity then
610: Wf_Core.Context('Wf_Process_Activity', 'FindActivity', to_char(parentid),
611: activity, to_char(actdate));
612: Wf_Core.Token('NAME', activity);
613: Wf_Core.Raise('WFENG_ACTIVITY_UNIQUE');
614: when OTHERS then
615: Wf_Core.Context('Wf_Process_Activity', 'FindActivity', to_char(parentid),
616: activity, to_char(actdate));

Line 613: Wf_Core.Raise('WFENG_ACTIVITY_UNIQUE');

609: when wf_dup_activity then
610: Wf_Core.Context('Wf_Process_Activity', 'FindActivity', to_char(parentid),
611: activity, to_char(actdate));
612: Wf_Core.Token('NAME', activity);
613: Wf_Core.Raise('WFENG_ACTIVITY_UNIQUE');
614: when OTHERS then
615: Wf_Core.Context('Wf_Process_Activity', 'FindActivity', to_char(parentid),
616: activity, to_char(actdate));
617: raise;

Line 615: Wf_Core.Context('Wf_Process_Activity', 'FindActivity', to_char(parentid),

611: activity, to_char(actdate));
612: Wf_Core.Token('NAME', activity);
613: Wf_Core.Raise('WFENG_ACTIVITY_UNIQUE');
614: when OTHERS then
615: Wf_Core.Context('Wf_Process_Activity', 'FindActivity', to_char(parentid),
616: activity, to_char(actdate));
617: raise;
618: end FindActivity;
619: