DBA Data[Home] [Help]

APPS.AP_WEB_RECEIPT_MANAGEMENT_UTIL dependencies on AP_WEB_RECEIPTS_WF

Line 368: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);

364: END IF;
365: END IF;
366: IF (l_new_status IS NOT NULL AND header_rec.receipts_status IS NOT NULL)
367: AND (l_new_status = C_STATUS_NOT_REQUIRED AND header_rec.receipts_status <> C_STATUS_NOT_REQUIRED) THEN
368: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);
369: END IF;
370:
371: IF (p_event = C_EVENT_WAIVE_RECEIPTS OR p_event = C_EVENT_WAIVE_COMPLETE) THEN
372: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);

Line 372: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);

368: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);
369: END IF;
370:
371: IF (p_event = C_EVENT_WAIVE_RECEIPTS OR p_event = C_EVENT_WAIVE_COMPLETE) THEN
372: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);
373: ELSIF (p_event = C_EVENT_RECEIVE_RECEIPTS) THEN
374: AP_WEB_RECEIPTS_WF.RaiseReceivedEvent(p_report_header_id);
375: ELSIF (p_event = C_EVENT_RECEIPTS_NOT_RECEIVED) THEN
376: -- currently no additional processing for this event

Line 374: AP_WEB_RECEIPTS_WF.RaiseReceivedEvent(p_report_header_id);

370:
371: IF (p_event = C_EVENT_WAIVE_RECEIPTS OR p_event = C_EVENT_WAIVE_COMPLETE) THEN
372: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);
373: ELSIF (p_event = C_EVENT_RECEIVE_RECEIPTS) THEN
374: AP_WEB_RECEIPTS_WF.RaiseReceivedEvent(p_report_header_id);
375: ELSIF (p_event = C_EVENT_RECEIPTS_NOT_RECEIVED) THEN
376: -- currently no additional processing for this event
377: null;
378: ELSIF (p_event = C_EVENT_REJECT) THEN

Line 382: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);

378: ELSIF (p_event = C_EVENT_REJECT) THEN
379: /* Aborted event is raised in Expenses WF SetRejectStatusAndResetAttr(),
380: * which is shared by manager rejection. However since the auditor can
381: * reject prior to manager approval, raising the event here */
382: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);
383:
384: ELSIF (p_event = C_EVENT_REQUEST_INFO) THEN
385: -- Bug 12746833: Abort shortpay process (if exists), when the auditor requests more info
386: AbortShortPayProcess(p_report_header_id);

Line 437: AND 'Y' = AP_WEB_RECEIPT_MANAGEMENT_UTIL.is_shortpaid_report(p_report_header_id, AP_WEB_RECEIPTS_WF.C_POLICY_VIOLATION_PROCESS) THEN

433: null;
434: ELSIF (p_event = C_EVENT_COMPLETE_AUDIT) THEN
435: IF header_rec.shortpay_parent_id is not null
436: AND header_rec.receipts_status = C_STATUS_RECEIVED
437: AND 'Y' = AP_WEB_RECEIPT_MANAGEMENT_UTIL.is_shortpaid_report(p_report_header_id, AP_WEB_RECEIPTS_WF.C_POLICY_VIOLATION_PROCESS) THEN
438: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);
439:
440: ELSIF ( header_rec.shortpay_parent_id is not null
441: AND (header_rec.receipts_status <> 'NOT_REQUIRED' OR header_rec.image_receipts_status <> 'NOT_REQUIRED')) THEN

Line 438: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);

434: ELSIF (p_event = C_EVENT_COMPLETE_AUDIT) THEN
435: IF header_rec.shortpay_parent_id is not null
436: AND header_rec.receipts_status = C_STATUS_RECEIVED
437: AND 'Y' = AP_WEB_RECEIPT_MANAGEMENT_UTIL.is_shortpaid_report(p_report_header_id, AP_WEB_RECEIPTS_WF.C_POLICY_VIOLATION_PROCESS) THEN
438: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);
439:
440: ELSIF ( header_rec.shortpay_parent_id is not null
441: AND (header_rec.receipts_status <> 'NOT_REQUIRED' OR header_rec.image_receipts_status <> 'NOT_REQUIRED')) THEN
442: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);

Line 442: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);

438: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);
439:
440: ELSIF ( header_rec.shortpay_parent_id is not null
441: AND (header_rec.receipts_status <> 'NOT_REQUIRED' OR header_rec.image_receipts_status <> 'NOT_REQUIRED')) THEN
442: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);
443: l_temp_org_status := get_receipt_status(p_report_header_id, C_EVENT_NONE);
444: l_temp_img_status := get_image_receipt_status(p_report_header_id, C_EVENT_NONE);
445: UPDATE ap_expense_report_headers_all
446: SET receipts_status = l_temp_org_status,

Line 450: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);

446: SET receipts_status = l_temp_org_status,
447: image_receipts_status = l_temp_img_status
448: WHERE report_header_id = p_report_header_id;
449: ELSIF header_rec.receipts_status = 'RECEIVED' THEN
450: AP_WEB_RECEIPTS_WF.RaiseAbortedEvent(p_report_header_id);
451: END IF;
452: END IF;
453:
454: CLOSE header_cur;

Line 474: | AP_WEB_RECEIPTS_WF.C_NO_RECEIPTS_SHORTPAY_PROCESS

470: |
471: | PARAMETERS
472: | p_report_header_id IN Expense report identifier
473: | p_shortpay_type IN type of the shortpay:
474: | AP_WEB_RECEIPTS_WF.C_NO_RECEIPTS_SHORTPAY_PROCESS
475: | AP_WEB_RECEIPTS_WF.C_POLICY_VIOLATION_PROCESS
476: |
477: | MODIFICATION HISTORY
478: | Date Author Description of Changes

Line 475: | AP_WEB_RECEIPTS_WF.C_POLICY_VIOLATION_PROCESS

471: | PARAMETERS
472: | p_report_header_id IN Expense report identifier
473: | p_shortpay_type IN type of the shortpay:
474: | AP_WEB_RECEIPTS_WF.C_NO_RECEIPTS_SHORTPAY_PROCESS
475: | AP_WEB_RECEIPTS_WF.C_POLICY_VIOLATION_PROCESS
476: |
477: | MODIFICATION HISTORY
478: | Date Author Description of Changes
479: | 31-Dec-2004 J Rautiainen Created

Line 498: OR p_shortpay_type not in (AP_WEB_RECEIPTS_WF.C_NO_RECEIPTS_SHORTPAY_PROCESS,

494: wf_rec wf_cur%ROWTYPE;
495: BEGIN
496: IF p_report_header_id IS NULL
497: OR p_shortpay_type IS NULL
498: OR p_shortpay_type not in (AP_WEB_RECEIPTS_WF.C_NO_RECEIPTS_SHORTPAY_PROCESS,
499: AP_WEB_RECEIPTS_WF.C_POLICY_VIOLATION_PROCESS) THEN
500: return 'N';
501: END IF;
502:

Line 499: AP_WEB_RECEIPTS_WF.C_POLICY_VIOLATION_PROCESS) THEN

495: BEGIN
496: IF p_report_header_id IS NULL
497: OR p_shortpay_type IS NULL
498: OR p_shortpay_type not in (AP_WEB_RECEIPTS_WF.C_NO_RECEIPTS_SHORTPAY_PROCESS,
499: AP_WEB_RECEIPTS_WF.C_POLICY_VIOLATION_PROCESS) THEN
500: return 'N';
501: END IF;
502:
503: OPEN wf_cur;