DBA Data[Home] [Help]

APPS.AP_WEB_EXPENSE_CUST_WF dependencies on AME_API

Line 431: AME_API2.clearAllApprovals(applicationIdIn => AP_WEB_DB_UTIL_PKG.GetApplicationID,

427: l_debug_info := 'Clear AME approval chain';
428: -------------------------------------------
429: -- 3103400:remove the call to HaveAMEReCreateApprovalChain and
430: -- add clearAllApprovals
431: AME_API2.clearAllApprovals(applicationIdIn => AP_WEB_DB_UTIL_PKG.GetApplicationID,
432: transactionIdIn => p_item_key,
433: transactionTypeIn => p_item_type);
434:
435: END IF; --if l_AMEEnabled

Line 453: l_debug_info := 'Calling AME_API.getNextApprover. If seeing this debug info, there are some exceptions caused by AME API.';

449: l_instructions,
450: l_special_instr);
451:
452: ---------------------------------------
453: l_debug_info := 'Calling AME_API.getNextApprover. If seeing this debug info, there are some exceptions caused by AME API.';
454: ---------------------------------------
455:
456: -- stub file ameeapin.pkb 115.0.1151.5 always returns null as l_recNextApprover
457: -- which will cause workflow failed

Line 456: -- stub file ameeapin.pkb 115.0.1151.5 always returns null as l_recNextApprover

452: ---------------------------------------
453: l_debug_info := 'Calling AME_API.getNextApprover. If seeing this debug info, there are some exceptions caused by AME API.';
454: ---------------------------------------
455:
456: -- stub file ameeapin.pkb 115.0.1151.5 always returns null as l_recNextApprover
457: -- which will cause workflow failed
458: BEGIN
459: AME_API.getNextApprover(applicationIdIn => AP_WEB_DB_UTIL_PKG.GetApplicationID,
460: transactionIdIn => p_item_key,

Line 459: AME_API.getNextApprover(applicationIdIn => AP_WEB_DB_UTIL_PKG.GetApplicationID,

455:
456: -- stub file ameeapin.pkb 115.0.1151.5 always returns null as l_recNextApprover
457: -- which will cause workflow failed
458: BEGIN
459: AME_API.getNextApprover(applicationIdIn => AP_WEB_DB_UTIL_PKG.GetApplicationID,
460: transactionIdIn => p_item_key,
461: transactionTypeIn => p_item_type,
462: nextApproverOut => l_recNextApprover);
463: EXCEPTION

Line 474: AME_API.getNextApprover will return administrator's id if exception

470: raise fixable_exception ;
471: END;
472:
473: /*
474: AME_API.getNextApprover will return administrator's id if exception
475: happened in AME. We need to confirm this by checking whether the employee's
476: manager happens to be the administrator.
477: */
478:

Line 480: l_debug_info := 'Calling AME_API.getAdminApprover. If seeing this debug info, there are some exceptions caused by AME API.';

476: manager happens to be the administrator.
477: */
478:
479: ---------------------------------------
480: l_debug_info := 'Calling AME_API.getAdminApprover. If seeing this debug info, there are some exceptions caused by AME API.';
481: ---------------------------------------
482: BEGIN
483: AME_API.getAdminApprover(applicationIdIn => AP_WEB_DB_UTIL_PKG.GetApplicationID,
484: transactionTypeIn => p_item_type,

Line 483: AME_API.getAdminApprover(applicationIdIn => AP_WEB_DB_UTIL_PKG.GetApplicationID,

479: ---------------------------------------
480: l_debug_info := 'Calling AME_API.getAdminApprover. If seeing this debug info, there are some exceptions caused by AME API.';
481: ---------------------------------------
482: BEGIN
483: AME_API.getAdminApprover(applicationIdIn => AP_WEB_DB_UTIL_PKG.GetApplicationID,
484: transactionTypeIn => p_item_type,
485: adminApproverOut => l_adminApprover);
486: EXCEPTION
487: when others then

Line 750: AME_API.updateApprovalStatus2(applicationIdIn => AP_WEB_DB_UTIL_PKG.GetApplicationID,

746:
747: ------------------------------------------------------
748: l_debug_info := 'Call AMEs updateApprovalAtatus api';
749: ------------------------------------------------------
750: AME_API.updateApprovalStatus2(applicationIdIn => AP_WEB_DB_UTIL_PKG.GetApplicationID,
751: transactionIdIn => p_item_key,
752: approvalStatusIn => AME_UTIL.approvedStatus,
753: approverPersonIdIn => l_approver_id,
754: approverUserIdIn => NULL,

Line 762: AME_API.getNextApprover(applicationIdIn => AP_WEB_DB_UTIL_PKG.GetApplicationID,

758: AMEs getNextApprover returns a null; */
759: -------------------------------------------------
760: l_debug_info := 'Call AMEs getNextApprover api';
761: -------------------------------------------------
762: AME_API.getNextApprover(applicationIdIn => AP_WEB_DB_UTIL_PKG.GetApplicationID,
763: transactionIdIn => p_item_key,
764: transactionTypeIn => p_item_type,
765: nextApproverOut => l_recNextApprover);
766: