DBA Data[Home] [Help]

APPS.AME_APPROVER_TYPE_PKG dependencies on WF_LOCAL_ROLES

Line 42: from wf_local_roles

38: return getApproverDisplayName(nameIn => name);
39: else
40: select display_name
41: into name
42: from wf_local_roles
43: where ((orig_system = origSystemIn and
44: orig_system_id = origSystemIdIn) or
45: (origSystemIn = ame_util.fndUserOrigSystem and
46: orig_system = ame_util.perOrigSystem and

Line 55: where u.user_name = wf_local_roles.name))

51: and (orig_system not in (ame_util.fndUserOrigSystem,ame_util.perOrigSystem)
52: or exists
53: (select null
54: from fnd_user u
55: where u.user_name = wf_local_roles.name))
56: and not exists (
57: select null from wf_local_roles wf2
58: where wf_local_roles.orig_system = wf2.orig_system
59: and wf_local_roles.orig_system_id = wf2.orig_system_id

Line 57: select null from wf_local_roles wf2

53: (select null
54: from fnd_user u
55: where u.user_name = wf_local_roles.name))
56: and not exists (
57: select null from wf_local_roles wf2
58: where wf_local_roles.orig_system = wf2.orig_system
59: and wf_local_roles.orig_system_id = wf2.orig_system_id
60: and wf_local_roles.start_date > wf2.start_date)
61: and rownum < 2;

Line 58: where wf_local_roles.orig_system = wf2.orig_system

54: from fnd_user u
55: where u.user_name = wf_local_roles.name))
56: and not exists (
57: select null from wf_local_roles wf2
58: where wf_local_roles.orig_system = wf2.orig_system
59: and wf_local_roles.orig_system_id = wf2.orig_system_id
60: and wf_local_roles.start_date > wf2.start_date)
61: and rownum < 2;
62: end if;

Line 59: and wf_local_roles.orig_system_id = wf2.orig_system_id

55: where u.user_name = wf_local_roles.name))
56: and not exists (
57: select null from wf_local_roles wf2
58: where wf_local_roles.orig_system = wf2.orig_system
59: and wf_local_roles.orig_system_id = wf2.orig_system_id
60: and wf_local_roles.start_date > wf2.start_date)
61: and rownum < 2;
62: end if;
63: return('Invalid Approver: ' || name);

Line 60: and wf_local_roles.start_date > wf2.start_date)

56: and not exists (
57: select null from wf_local_roles wf2
58: where wf_local_roles.orig_system = wf2.orig_system
59: and wf_local_roles.orig_system_id = wf2.orig_system_id
60: and wf_local_roles.start_date > wf2.start_date)
61: and rownum < 2;
62: end if;
63: return('Invalid Approver: ' || name);
64: exception

Line 206: from the wf_local_roles.

202: /*
203: This procedure returns the display name, origsystemid and origsystem for the given role name.
204: If the name is valid wf_roles name, validityOut is returned as true.If the name is not found,
205: validityOut is returned as false and the display name, origsystemid and origsystem are returned
206: from the wf_local_roles.
207: */
208: procedure getApproverDetails(nameIn in varchar2
209: ,validityOut out NOCOPY varchar2
210: ,displayNameOut out NOCOPY varchar2

Line 236: from WF_LOCAL_ROLES. (It may still be there, even though the approver is

232: when no_data_found then
233: begin
234: /*
235: When the approver is not valid in WF_ROLES, try to get the approver info
236: from WF_LOCAL_ROLES. (It may still be there, even though the approver is
237: invalid.) If not found in WF_LOCAL_ROLES, return nameIn in descriptionOut.
238: See bug 3286313.
239: */
240: select

Line 237: invalid.) If not found in WF_LOCAL_ROLES, return nameIn in descriptionOut.

233: begin
234: /*
235: When the approver is not valid in WF_ROLES, try to get the approver info
236: from WF_LOCAL_ROLES. (It may still be there, even though the approver is
237: invalid.) If not found in WF_LOCAL_ROLES, return nameIn in descriptionOut.
238: See bug 3286313.
239: */
240: select
241: display_name,

Line 248: from wf_local_roles

244: into
245: displayNameOut,
246: origSystemOut,
247: origSystemIdOut
248: from wf_local_roles
249: where
250: name = nameIn and
251: rownum < 2;
252: validityOut := 'INACTIVE';

Line 367: from WF_LOCAL_ROLES. (It may still be there, even though the approver is

363: when no_data_found then
364: begin
365: /*
366: When the approver is not valid in WF_ROLES, try to get the approver info
367: from WF_LOCAL_ROLES. (It may still be there, even though the approver is
368: invalid.) If not found in WF_LOCAL_ROLES, return nameIn in descriptionOut.
369: See bug 3286313.
370: */
371: select

Line 368: invalid.) If not found in WF_LOCAL_ROLES, return nameIn in descriptionOut.

364: begin
365: /*
366: When the approver is not valid in WF_ROLES, try to get the approver info
367: from WF_LOCAL_ROLES. (It may still be there, even though the approver is
368: invalid.) If not found in WF_LOCAL_ROLES, return nameIn in descriptionOut.
369: See bug 3286313.
370: */
371: select
372: orig_system

Line 375: from wf_local_roles

371: select
372: orig_system
373: into
374: origSystem
375: from wf_local_roles
376: where
377: name = nameIn and
378: rownum < 2;
379: return(origSystem);

Line 1022: from WF_LOCAL_ROLES. (It may still be there, even though the approver is

1018: when no_data_found then
1019: begin
1020: /*
1021: When the approver is not valid in WF_ROLES, try to get the approver info
1022: from WF_LOCAL_ROLES. (It may still be there, even though the approver is
1023: invalid.) If not found in WF_LOCAL_ROLES, return nameIn in descriptionOut.
1024: See bug 3286313.
1025: */
1026: select

Line 1023: invalid.) If not found in WF_LOCAL_ROLES, return nameIn in descriptionOut.

1019: begin
1020: /*
1021: When the approver is not valid in WF_ROLES, try to get the approver info
1022: from WF_LOCAL_ROLES. (It may still be there, even though the approver is
1023: invalid.) If not found in WF_LOCAL_ROLES, return nameIn in descriptionOut.
1024: See bug 3286313.
1025: */
1026: select
1027: display_name,

Line 1032: from wf_local_roles

1028: orig_system
1029: into
1030: descriptionOut,
1031: origSystem
1032: from wf_local_roles
1033: where
1034: name = nameIn and
1035: rownum < 2;
1036: exception