DBA Data[Home] [Help]

APPS.AME_API2 dependencies on AME_APPROVER_TYPE_PKG

Line 113: if not ame_approver_type_pkg.validateApprover(l_admin_apr) then

109: adminApproverOut.name := ame_util.getAdminName(applicationIdIn => tempAmeApplicationId);
110: end if;
111: l_admin_apr := adminApproverOut.name;
112: begin
113: if not ame_approver_type_pkg.validateApprover(l_admin_apr) then
114: l_count := 0;
115: select count(*)
116: into l_count
117: from ame_config_vars

Line 136: if not ame_approver_type_pkg.validateApprover(l_admin_apr) then

132: where variable_name = ame_util.adminApproverConfigVar and
133: (application_id is null or application_id = 0) and
134: sysdate between start_date and nvl(end_date - ame_util.oneSecond, sysdate) ;
135: adminApproverOut.name := l_admin_apr;
136: if not ame_approver_type_pkg.validateApprover(l_admin_apr) then
137: raise badAdminApproverException;
138: end if;
139: end if;
140: end if;

Line 142: ame_approver_type_pkg.getApproverOrigSystemAndId(nameIn =>adminApproverOut.name,

138: end if;
139: end if;
140: end if;
141: end;
142: ame_approver_type_pkg.getApproverOrigSystemAndId(nameIn =>adminApproverOut.name,
143: origSystemOut => adminApproverOut.orig_system,
144: origSystemIdOut => adminApproverOut.orig_system_id);
145: adminApproverOut.approval_status := ame_util.exceptionStatus;
146: adminApproverOut.item_class := null;

Line 1612: if ame_approver_type_pkg.getApproverOrigSystem(nameIn => approverIn.name)<>origSystemList(i) then

1608: open getOrigSystem(approverIn.action_type_id);
1609: fetch getOrigSystem bulk collect into origSystemList;
1610: close getOrigSystem;
1611: for i in 1..origSystemList.count loop
1612: if ame_approver_type_pkg.getApproverOrigSystem(nameIn => approverIn.name)<>origSystemList(i) then
1613: raise invalidApproverTypeException;
1614: end if;
1615: end loop;
1616: -- Cycle the engine, check if the approval process is complete for the transaction

Line 1819: ame_approver_type_pkg.getApproverOrigSystem(

1815: tokenNameOneIn => 'ACTION_TYPE',
1816: tokenvalueOneIn => actionTypeName,
1817: tokenNameTwoIn => 'ORIG_SYSTEM',
1818: tokenvalueTwoIn =>
1819: ame_approver_type_pkg.getApproverOrigSystem(
1820: nameIn => approverIn.name));
1821: ame_util.runtimeException(packageNameIn => 'ame_api2',
1822: routineNameIn => 'setFirstAuthorityApprover',
1823: exceptionNumberIn => errorCode,

Line 1933: ame_approver_type_pkg.getOrigSystemIdAndDisplayName(nameIn =>approver.name,

1929: approver.approval_status := approvalStatusIn;
1930: approver.action_type_id :=actionTypeIdIn ;
1931: approver.group_or_chain_id := groupOrChainIdIn;
1932: approver.occurrence := occurrenceIn;
1933: ame_approver_type_pkg.getOrigSystemIdAndDisplayName(nameIn =>approver.name,
1934: origSystemOut => approver.orig_system,
1935: origSystemIdOut => approver.orig_system_id,
1936: displayNameOut => approver.display_name);
1937: ame_engine.updateApprovalStatus(applicationIdIn => applicationIdIn,