DBA Data[Home] [Help]

APPS.GHR_WF_PD_PKG dependencies on WF_ENGINE

Line 37: wf_engine.createProcess( ItemType => l_ItemType,

33: --
34: begin
35: -- Creates a new runtime process for an application item (OF8)
36: --
37: wf_engine.createProcess( ItemType => l_ItemType,
38: ItemKey => l_ItemKey,
39: process => 'OF8' );
40: --
41: --

Line 42: wf_engine.SetItemAttrText ( itemtype => l_ItemType,

38: ItemKey => l_ItemKey,
39: process => 'OF8' );
40: --
41: --
42: wf_engine.SetItemAttrText ( itemtype => l_ItemType,
43: itemkey => l_Itemkey,
44: aname => 'PD_ID',
45: avalue => p_position_description_id );
46: wf_engine.SetItemAttrText( itemtype => l_itemtype,

Line 46: wf_engine.SetItemAttrText( itemtype => l_itemtype,

42: wf_engine.SetItemAttrText ( itemtype => l_ItemType,
43: itemkey => l_Itemkey,
44: aname => 'PD_ID',
45: avalue => p_position_description_id );
46: wf_engine.SetItemAttrText( itemtype => l_itemtype,
47: itemkey => l_itemkey,
48: aname => 'FWD_NAME',
49: avalue => p_forward_to_name );
50: l_load_form := 'GHRWSPDI:p_position_description_id=' || p_position_description_id

Line 52: wf_engine.SetItemAttrText( itemtype => l_itemtype,

48: aname => 'FWD_NAME',
49: avalue => p_forward_to_name );
50: l_load_form := 'GHRWSPDI:p_position_description_id=' || p_position_description_id
51: || ' p_inbox_query_only="NO"';
52: wf_engine.SetItemAttrText( itemtype => l_itemtype,
53: itemkey => l_itemkey,
54: aname => 'LOAD_PD',
55: avalue => l_load_form
56: );

Line 58: wf_engine.SetItemAttrText( itemtype => l_itemtype,

54: aname => 'LOAD_PD',
55: avalue => l_load_form
56: );
57: l_load_pdrh := 'GHRWSPDH:p_position_description_id =' || p_position_description_id;
58: wf_engine.SetItemAttrText( itemtype => l_itemtype,
59: itemkey => l_itemkey,
60: aname => 'LOAD_PDRH',
61: avalue => l_load_pdrh
62: );

Line 80: wf_engine.SetItemAttrText( itemtype => l_itemtype,

76: );
77: --
78: --
79: --
80: wf_engine.SetItemAttrText( itemtype => l_itemtype,
81: itemkey => l_itemkey,
82: aname => 'FROM_NAME',
83: avalue => l_from_name
84: );

Line 85: wf_engine.SetItemAttrText( itemtype => l_itemtype,

81: itemkey => l_itemkey,
82: aname => 'FROM_NAME',
83: avalue => l_from_name
84: );
85: wf_engine.SetItemAttrText( itemtype => l_itemtype,
86: itemkey => l_itemkey,
87: aname => 'CATEGORY',
88: avalue => l_category
89: );

Line 90: wf_engine.SetItemAttrText( itemtype => l_itemtype,

86: itemkey => l_itemkey,
87: aname => 'CATEGORY',
88: avalue => l_category
89: );
90: wf_engine.SetItemAttrText( itemtype => l_itemtype,
91: itemkey => l_itemkey,
92: aname => 'OCCUPATIONAL_CODE',
93: avalue => l_occupational_code
94: );

Line 95: wf_engine.SetItemAttrText( itemtype => l_itemtype,

91: itemkey => l_itemkey,
92: aname => 'OCCUPATIONAL_CODE',
93: avalue => l_occupational_code
94: );
95: wf_engine.SetItemAttrText( itemtype => l_itemtype,
96: itemkey => l_itemkey,
97: aname => 'GRADE_LEVEL',
98: avalue => l_grade_level
99: );

Line 100: wf_engine.SetItemAttrText( itemtype => l_itemtype,

96: itemkey => l_itemkey,
97: aname => 'GRADE_LEVEL',
98: avalue => l_grade_level
99: );
100: wf_engine.SetItemAttrText( itemtype => l_itemtype,
101: itemkey => l_itemkey,
102: aname => 'OFFICIAL_TITLE',
103: avalue => l_official_title
104: );

Line 105: wf_engine.SetItemAttrText( itemtype => l_itemtype,

101: itemkey => l_itemkey,
102: aname => 'OFFICIAL_TITLE',
103: avalue => l_official_title
104: );
105: wf_engine.SetItemAttrText( itemtype => l_itemtype,
106: itemkey => l_itemkey,
107: aname => 'PAY_PLAN',
108: avalue => l_pay_plan
109: );

Line 110: wf_engine.SetItemAttrText( itemtype => l_itemtype,

106: itemkey => l_itemkey,
107: aname => 'PAY_PLAN',
108: avalue => l_pay_plan
109: );
110: wf_engine.SetItemAttrText( itemtype => l_itemtype,
111: itemkey => l_itemkey,
112: aname => 'ROUTING_GROUP',
113: avalue => l_routing_group
114: );

Line 117: wf_engine.SetItemAttrText( itemtype => l_itemtype,

113: avalue => l_routing_group
114: );
115:
116: l_date_initiated := fnd_date.date_to_displaydate(sysdate);
117: wf_engine.SetItemAttrText( itemtype => l_itemtype,
118: itemkey => l_itemkey,
119: aname => 'DATE_INITIATED',
120: avalue => l_date_initiated
121: );

Line 122: wf_engine.SetItemAttrText( itemtype => l_itemtype,

118: itemkey => l_itemkey,
119: aname => 'DATE_INITIATED',
120: avalue => l_date_initiated
121: );
122: wf_engine.SetItemAttrText( itemtype => l_itemtype,
123: itemkey => l_itemkey,
124: aname => 'DATE_RECEIVED',
125: avalue => l_date_received || ' / ' || l_date_initiated
126: );

Line 127: wf_engine.SetItemAttrText( itemtype => l_itemtype,

123: itemkey => l_itemkey,
124: aname => 'DATE_RECEIVED',
125: avalue => l_date_received || ' / ' || l_date_initiated
126: );
127: wf_engine.SetItemAttrText( itemtype => l_itemtype,
128: itemkey => l_itemkey,
129: aname => 'CURRENT_STATUS',
130: avalue => l_current_status
131: );

Line 136: wf_engine.StartProcess ( ItemType => l_ItemType,

132: --
133: --
134: -- Start the PD workflow process for Position Description WF process
135: --
136: wf_engine.StartProcess ( ItemType => l_ItemType,
137: ItemKey => l_ItemKey );
138: --
139: --
140: --

Line 158: l_position_description_id := wf_engine.GetItemAttrText (

154: begin
155: -- NOCOPY Changes
156: l_result := result;
157: if funcmode = 'RUN' then
158: l_position_description_id := wf_engine.GetItemAttrText (
159: itemtype => itemtype,
160: itemkey => itemkey,
161: aname => 'PD_ID');
162: ghr_pdh_api.upd_date_notif_sent (

Line 221: l_position_description_id := wf_engine.GetItemAttrText (

217: -- NOCOPY CHANGES
218: l_result := result;
219: if funcmode = 'RUN' then
220: --
221: l_position_description_id := wf_engine.GetItemAttrText (
222: itemtype => itemtype,
223: itemkey => itemkey,
224: aname => 'PD_ID');
225: ghr_wf_pd_pkg.SetDestinationDetails (

Line 239: wf_engine.SetItemAttrText( itemtype => itemtype,

235: p_date_inititated => l_date_initiated,
236: p_date_received => l_date_received
237: );
238:
239: wf_engine.SetItemAttrText( itemtype => itemtype,
240: itemkey => itemkey,
241: aname => 'FROM_NAME',
242: avalue => l_from_name
243: );

Line 244: wf_engine.SetItemAttrText( itemtype => itemtype,

240: itemkey => itemkey,
241: aname => 'FROM_NAME',
242: avalue => l_from_name
243: );
244: wf_engine.SetItemAttrText( itemtype => itemtype,
245: itemkey => itemkey,
246: aname => 'CATEGORY',
247: avalue => l_category
248: );

Line 249: wf_engine.SetItemAttrText( itemtype => itemtype,

245: itemkey => itemkey,
246: aname => 'CATEGORY',
247: avalue => l_category
248: );
249: wf_engine.SetItemAttrText( itemtype => itemtype,
250: itemkey => itemkey,
251: aname => 'OCCUPATIONAL_CODE',
252: avalue => l_occupational_code
253: );

Line 254: wf_engine.SetItemAttrText( itemtype => itemtype,

250: itemkey => itemkey,
251: aname => 'OCCUPATIONAL_CODE',
252: avalue => l_occupational_code
253: );
254: wf_engine.SetItemAttrText( itemtype => itemtype,
255: itemkey => itemkey,
256: aname => 'GRADE_LEVEL',
257: avalue => l_grade_level
258: );

Line 259: wf_engine.SetItemAttrText( itemtype => itemtype,

255: itemkey => itemkey,
256: aname => 'GRADE_LEVEL',
257: avalue => l_grade_level
258: );
259: wf_engine.SetItemAttrText( itemtype => itemtype,
260: itemkey => itemkey,
261: aname => 'OFFICIAL_TITLE',
262: avalue => l_official_title
263: );

Line 264: wf_engine.SetItemAttrText( itemtype => itemtype,

260: itemkey => itemkey,
261: aname => 'OFFICIAL_TITLE',
262: avalue => l_official_title
263: );
264: wf_engine.SetItemAttrText( itemtype => itemtype,
265: itemkey => itemkey,
266: aname => 'PAY_PLAN',
267: avalue => l_pay_plan
268: );

Line 269: wf_engine.SetItemAttrText( itemtype => itemtype,

265: itemkey => itemkey,
266: aname => 'PAY_PLAN',
267: avalue => l_pay_plan
268: );
269: wf_engine.SetItemAttrText( itemtype => itemtype,
270: itemkey => itemkey,
271: aname => 'ROUTING_GROUP',
272: avalue => l_routing_group
273: );

Line 274: wf_engine.SetItemAttrText( itemtype => itemtype,

270: itemkey => itemkey,
271: aname => 'ROUTING_GROUP',
272: avalue => l_routing_group
273: );
274: wf_engine.SetItemAttrText( itemtype => itemtype,
275: itemkey => itemkey,
276: aname => 'DATE_INITIATED',
277: avalue => l_date_initiated
278: );

Line 279: wf_engine.SetItemAttrText( itemtype => itemtype,

275: itemkey => itemkey,
276: aname => 'DATE_INITIATED',
277: avalue => l_date_initiated
278: );
279: wf_engine.SetItemAttrText( itemtype => itemtype,
280: itemkey => itemkey,
281: aname => 'DATE_RECEIVED',
282: avalue => l_date_received
283: );

Line 284: wf_engine.SetItemAttrText( itemtype => itemtype,

280: itemkey => itemkey,
281: aname => 'DATE_RECEIVED',
282: avalue => l_date_received
283: );
284: wf_engine.SetItemAttrText( itemtype => itemtype,
285: itemkey => itemkey,
286: aname => 'CURRENT_STATUS',
287: avalue => l_current_status
288: );

Line 306: wf_engine.SetItemAttrText( itemtype => Itemtype,

302: return;
303: else
304: --
305: if l_user_name Is Not Null then
306: wf_engine.SetItemAttrText( itemtype => Itemtype,
307: itemkey => Itemkey,
308: aname => 'FWD_NAME',
309: avalue => l_user_name );
310: result := 'COMPLETE:CONTINUE';

Line 314: wf_engine.SetItemAttrText( itemtype => Itemtype,

310: result := 'COMPLETE:CONTINUE';
311: return;
312: else
313:
314: wf_engine.SetItemAttrText( itemtype => Itemtype,
315: itemkey => Itemkey,
316: aname => 'FWD_NAME',
317: avalue => l_groupbox_name );
318: result := 'COMPLETE:CONTINUE';

Line 631: wf_engine.CompleteActivity('OF8', l_item_key, 'GH_NOTIFY_PD','COMPLETE');

627: if csr_pdh%notfound then
628: hr_utility.set_message(8301,'GHR_PD_ID_PRIMARY_KEY_INVALID');
629: hr_utility.raise_error;
630: else
631: wf_engine.CompleteActivity('OF8', l_item_key, 'GH_NOTIFY_PD','COMPLETE');
632: end if;
633: close csr_pdh;
634: --
635: end;

Line 768: l_position_description_id := wf_engine.GetItemAttrText (

764: begin
765: -- NOCOPY CHANGES
766: l_result := result;
767: if funcmode = 'RUN' then
768: l_position_description_id := wf_engine.GetItemAttrText (
769: itemtype => itemtype,
770: itemkey => itemkey,
771: aname => 'PD_ID');
772: open csr_pdh;

Line 781: wf_engine.SetItemAttrText( itemtype => itemtype,

777: end if;
778: close csr_pdh;
779: l_load_form := 'GHRWSPDI:p_position_description_id=' || l_position_description_id
780: || ' p_inbox_query_only="YES"';
781: wf_engine.SetItemAttrText( itemtype => itemtype,
782: itemkey => itemkey,
783: aname => 'PD_FORM_RO',
784: avalue => l_load_form
785: );