DBA Data[Home] [Help]

APPS.PAY_US_W4_WF dependencies on WF_ENGINE

Line 124: wf_engine.createProcess(itemtype => gv_itemtype

120: hr_utility.set_location('Entering: ' || l_proc,5);
121:
122: lv_itemkey := to_char(p_transaction_id);
123:
124: wf_engine.createProcess(itemtype => gv_itemtype
125: ,itemkey => lv_itemkey
126: ,process => p_process
127: );
128:

Line 129: wf_engine.SetItemAttrNumber(itemtype => gv_itemtype

125: ,itemkey => lv_itemkey
126: ,process => p_process
127: );
128:
129: wf_engine.SetItemAttrNumber(itemtype => gv_itemtype
130: ,itemkey => lv_itemkey
131: ,aname => 'TRANSACTION_ID'
132: ,avalue => p_transaction_id
133: );

Line 135: wf_engine.startProcess(itemtype => gv_itemtype

131: ,aname => 'TRANSACTION_ID'
132: ,avalue => p_transaction_id
133: );
134:
135: wf_engine.startProcess(itemtype => gv_itemtype
136: ,itemkey => lv_itemkey
137: );
138:
139: hr_utility.set_location('Leaving: ' || l_proc,20);

Line 225: ln_transaction_id := wf_engine.GetItemAttrNumber(

221:
222: if funcmode = 'RUN' then
223: -- get the transaction
224:
225: ln_transaction_id := wf_engine.GetItemAttrNumber(
226: itemtype => itemtype
227: ,itemkey => itemkey
228: ,aname => 'TRANSACTION_ID'
229: );

Line 242: wf_engine.SetItemAttrText(itemtype => itemtype

238: p_orig_system_id => r_trans_rec.person_id,
239: p_name => lv_username,
240: p_display_name => lv_disp_name );
241:
242: wf_engine.SetItemAttrText(itemtype => itemtype
243: ,itemkey => itemkey
244: ,aname => 'EMPLOYEE_USERNAME'
245: ,avalue => lv_username );
246:

Line 247: wf_engine.SetItemAttrText(itemtype => itemtype -- added by vaprakas bug 5673790

243: ,itemkey => itemkey
244: ,aname => 'EMPLOYEE_USERNAME'
245: ,avalue => lv_username );
246:
247: wf_engine.SetItemAttrText(itemtype => itemtype -- added by vaprakas bug 5673790
248: ,itemkey => itemkey
249: ,aname => 'PERFORMER'
250: ,avalue => lv_username );
251:

Line 252: wf_engine.SetItemAttrNumber(itemtype => itemtype

248: ,itemkey => itemkey
249: ,aname => 'PERFORMER'
250: ,avalue => lv_username );
251:
252: wf_engine.SetItemAttrNumber(itemtype => itemtype
253: ,itemkey => itemkey
254: ,aname => 'EMPLOYEE_PERSON_ID'
255: ,avalue => r_trans_rec.person_id);
256:

Line 257: wf_engine.SetItemAttrText(itemtype => itemtype

253: ,itemkey => itemkey
254: ,aname => 'EMPLOYEE_PERSON_ID'
255: ,avalue => r_trans_rec.person_id);
256:
257: wf_engine.SetItemAttrText(itemtype => itemtype
258: ,itemkey => itemkey
259: ,aname => 'EMPLOYEE_DISPLAY_NAME'
260: ,avalue => lv_disp_name);
261:

Line 262: wf_engine.SetItemAttrNumber(itemtype => itemtype

258: ,itemkey => itemkey
259: ,aname => 'EMPLOYEE_DISPLAY_NAME'
260: ,avalue => lv_disp_name);
261:
262: wf_engine.SetItemAttrNumber(itemtype => itemtype
263: ,itemkey => itemkey
264: ,aname => 'CURRENT_ASSIGNMENT_ID'
265: ,avalue => r_trans_rec.assignment_id );
266:

Line 267: wf_engine.SetItemAttrText(itemtype => itemtype

263: ,itemkey => itemkey
264: ,aname => 'CURRENT_ASSIGNMENT_ID'
265: ,avalue => r_trans_rec.assignment_id );
266:
267: wf_engine.SetItemAttrText(itemtype => itemtype
268: ,itemkey => itemkey
269: ,aname => 'TRANSACTION_SOURCE'
270: ,avalue => r_trans_rec.source3 );
271:

Line 272: wf_engine.SetItemAttrDate(itemtype => itemtype

268: ,itemkey => itemkey
269: ,aname => 'TRANSACTION_SOURCE'
270: ,avalue => r_trans_rec.source3 );
271:
272: wf_engine.SetItemAttrDate(itemtype => itemtype
273: ,itemkey => itemkey
274: ,aname => 'TRANSACTION_DATE'
275: ,avalue => r_trans_rec.transaction_date );
276:

Line 291: wf_engine.SetItemAttrText(

287: lv_status := lv_status_code;
288: end if;
289: close c_fed_filing_status_code;
290:
291: wf_engine.SetItemAttrText(
292: itemtype => itemtype
293: ,itemkey => itemkey
294: ,aname => 'FILING_STATUS_LABEL'
295: ,avalue => lv_status

Line 298: wf_engine.SetItemAttrText(

294: ,aname => 'FILING_STATUS_LABEL'
295: ,avalue => lv_status
296: );
297:
298: wf_engine.SetItemAttrText(
299: itemtype => itemtype
300: ,itemkey => itemkey
301: ,aname => 'ALLOWANCES'
302: ,avalue => r_trans_rec.audit_information2

Line 305: wf_engine.SetItemAttrText(

301: ,aname => 'ALLOWANCES'
302: ,avalue => r_trans_rec.audit_information2
303: );
304:
305: wf_engine.SetItemAttrText(
306: itemtype => itemtype
307: ,itemkey => itemkey
308: ,aname => 'ADDITIONAL_TAX'
309: ,avalue => r_trans_rec.audit_information3

Line 312: wf_engine.SetItemAttrText(

308: ,aname => 'ADDITIONAL_TAX'
309: ,avalue => r_trans_rec.audit_information3
310: );
311:
312: wf_engine.SetItemAttrText(
313: itemtype => itemtype
314: ,itemkey => itemkey
315: ,aname => 'FIT_EXEMPT'
316: ,avalue => r_trans_rec.audit_information4

Line 348: wf_engine.SetItemAttrText(itemtype => itemtype

344: fetch c_exempt_state_list into lv_exempt_state_name;
345: end loop;
346:
347: -- put the state list details in
348: wf_engine.SetItemAttrText(itemtype => itemtype
349: ,itemkey => itemkey
350: ,aname => 'STATE_LIST'
351: ,avalue => lv_state_list
352: );

Line 452: ln_transaction_id := wf_engine.GetItemAttrNumber

448:
449: if ( funcmode = 'RUN' ) then
450: lv_contact_source := fnd_profile.value('HR_PAYROLL_CONTACT_SOURCE');
451:
452: ln_transaction_id := wf_engine.GetItemAttrNumber
453: (itemtype => itemtype
454: ,itemkey => itemkey
455: ,aname => 'TRANSACTION_ID'
456: );

Line 458: ln_current_assignment_id := wf_engine.GetItemAttrNumber

454: ,itemkey => itemkey
455: ,aname => 'TRANSACTION_ID'
456: );
457:
458: ln_current_assignment_id := wf_engine.GetItemAttrNumber
459: (itemtype => itemtype
460: ,itemkey => itemkey
461: ,aname => 'CURRENT_ASSIGNMENT_ID'
462: );

Line 464: ln_contact_person_id := wf_engine.GetItemAttrNumber

460: ,itemkey => itemkey
461: ,aname => 'CURRENT_ASSIGNMENT_ID'
462: );
463:
464: ln_contact_person_id := wf_engine.GetItemAttrNumber
465: (itemtype => itemtype
466: ,itemkey => itemkey
467: ,aname => 'CONTACT_PERSON_ID'
468: );

Line 470: ln_employee_person_id := wf_engine.GetItemAttrNumber

466: ,itemkey => itemkey
467: ,aname => 'CONTACT_PERSON_ID'
468: );
469:
470: ln_employee_person_id := wf_engine.GetItemAttrNumber
471: (itemtype => itemtype
472: ,itemkey => itemkey
473: ,aname => 'EMPLOYEE_PERSON_ID'
474: );

Line 617: ln_transaction_id := wf_engine.GetItemAttrNumber

613: if ( funcmode = 'RUN' ) then
614:
615: lv_contact_source := fnd_profile.value('HR_PAYROLL_CONTACT_SOURCE');
616:
617: ln_transaction_id := wf_engine.GetItemAttrNumber
618: (itemtype => itemtype
619: ,itemkey => itemkey
620: ,aname => 'TRANSACTION_ID');
621:

Line 622: ln_current_assignment_id := wf_engine.GetItemAttrNumber

618: (itemtype => itemtype
619: ,itemkey => itemkey
620: ,aname => 'TRANSACTION_ID');
621:
622: ln_current_assignment_id := wf_engine.GetItemAttrNumber
623: (itemtype => itemtype
624: ,itemkey => itemkey
625: ,aname => 'CURRENT_ASSIGNMENT_ID');
626:

Line 627: lv_curr_contact_user := wf_engine.GetItemAttrText

623: (itemtype => itemtype
624: ,itemkey => itemkey
625: ,aname => 'CURRENT_ASSIGNMENT_ID');
626:
627: lv_curr_contact_user := wf_engine.GetItemAttrText
628: (itemtype => itemtype
629: ,itemkey => itemkey
630: ,aname => 'CONTACT_USERNAME');
631:

Line 632: ln_curr_contact_person_id := wf_engine.GetItemAttrNumber

628: (itemtype => itemtype
629: ,itemkey => itemkey
630: ,aname => 'CONTACT_USERNAME');
631:
632: ln_curr_contact_person_id := wf_engine.GetItemAttrNumber
633: (itemtype => itemtype
634: ,itemkey => itemkey
635: ,aname => 'CONTACT_PERSON_ID');
636:

Line 676: wf_engine.SetItemAttrNumber

672: ,p_orig_system_id => ln_next_contact_person_id
673: ,p_name => lv_next_contact_user
674: ,p_display_name => lv_dummy);
675:
676: wf_engine.SetItemAttrNumber
677: (itemtype => itemtype
678: ,itemkey => itemkey
679: ,aname => 'CONTACT_PERSON_ID'
680: ,avalue => ln_next_contact_person_id);

Line 682: wf_engine.SetItemAttrNumber

678: ,itemkey => itemkey
679: ,aname => 'CONTACT_PERSON_ID'
680: ,avalue => ln_next_contact_person_id);
681:
682: wf_engine.SetItemAttrNumber
683: (itemtype => itemtype
684: ,itemkey => itemkey
685: ,aname => 'CURRENT_ASSIGNMENT_ID'
686: ,avalue => ln_current_assignment_id);

Line 688: wf_engine.SetItemAttrText

684: ,itemkey => itemkey
685: ,aname => 'CURRENT_ASSIGNMENT_ID'
686: ,avalue => ln_current_assignment_id);
687:
688: wf_engine.SetItemAttrText
689: (itemtype => itemtype
690: ,itemkey => itemkey
691: ,aname => 'CONTACT_USERNAME'
692: ,avalue => lv_next_contact_user);

Line 761: ln_transaction_id := wf_engine.GetItemAttrNumber(itemtype => itemtype

757:
758: BEGIN
759: hr_utility.set_location('Entering: ' || l_proc || ':' || funcmode,5);
760: if (funcmode = 'RUN') then
761: ln_transaction_id := wf_engine.GetItemAttrNumber(itemtype => itemtype
762: ,itemkey => itemkey
763: ,aname => 'TRANSACTION_ID');
764:
765: hr_utility.trace('Transaction Id is : '|| to_char(ln_transaction_id));

Line 821: wf_engine.SetItemAttrText(itemtype => itemtype

817:
818: hr_utility.trace('Inside if for allowance checking.');
819: hr_utility.set_message(801,'PAY_US_OTF_W4_FED_OVERALLOW');
820:
821: wf_engine.SetItemAttrText(itemtype => itemtype
822: ,itemkey => itemkey
823: ,aname => 'EXCEPTION_REASON'
824: ,avalue => hr_utility.get_message);
825:

Line 832: wf_engine.SetItemAttrText(itemtype => itemtype

828: elsif lr_trans_rec.audit_information4 = 'Y' then
829: hr_utility.trace('Inside elsif lr_trans_rec.audit_information4.');
830: hr_utility.set_message(801,'PAY_US_OTF_FED_EXEMPTWARN');
831:
832: wf_engine.SetItemAttrText(itemtype => itemtype
833: ,itemkey => itemkey
834: ,aname => 'EXCEPTION_REASON'
835: ,avalue => hr_utility.get_message);
836: result := 'COMPLETE:Y';