DBA Data[Home] [Help]

APPS.AR_CMGT_WF_ENGINE dependencies on WF_DIRECTORY

Line 149: wf_directory.getusername ('PER', p_employee_id,

145: p_employee_id IN NUMBER,
146: p_user_name OUT NOCOPY VARCHAR2,
147: p_display_name OUT NOCOPY VARCHAR2) AS
148: BEGIN
149: wf_directory.getusername ('PER', p_employee_id,
150: p_user_name,
151: p_display_name);
152: EXCEPTION
153: WHEN OTHERS

Line 400: l_role_display_name := wf_directory.getRoleDisplayName (

396: -- this role will be used to re-assign credit analyst by Credit Scheduler
397: -- in case credit analyst is not available. Credit Analyst is defined in
398: -- resource manger as role_type CREDIT_ANALYST.
399:
400: l_role_display_name := wf_directory.getRoleDisplayName (
401: p_role_name => 'AR_CMGT_CREDIT_ANALYST_ROLE');
402: IF l_role_display_name IS NULL
403: THEN
404: l_role_display_name := 'Credit Analyst Role';

Line 405: wf_directory.CreateAdHocRole

401: p_role_name => 'AR_CMGT_CREDIT_ANALYST_ROLE');
402: IF l_role_display_name IS NULL
403: THEN
404: l_role_display_name := 'Credit Analyst Role';
405: wf_directory.CreateAdHocRole
406: (role_name => l_role_name,
407: role_display_name => l_role_display_name,
408: expiration_date => to_date('31/12/4712','DD/MM/RRRR'));
409: END IF;

Line 423: IF wf_directory.useractive(l_user_name)

419: get_employee_details(c_get_resurce_rec.source_id,
420: l_user_name,
421: l_display_name);
422: -- first check whether this is the active user or not
423: IF wf_directory.useractive(l_user_name)
424: THEN
425: --if user already added then it will raise an exception
426: --if not then it will add the user.
427: BEGIN

Line 428: wf_directory.AddUsersToAdHocRole

424: THEN
425: --if user already added then it will raise an exception
426: --if not then it will add the user.
427: BEGIN
428: wf_directory.AddUsersToAdHocRole
429: ('AR_CMGT_CREDIT_ANALYST_ROLE',l_user_name);
430: EXCEPTION
431: WHEN OTHERS THEN
432: NULL;

Line 2640: IF wf_directory.UserActive(l_approver_user_name)

2636: get_employee_details(l_approver_id,
2637: l_approver_user_name,
2638: l_approver_display_name);
2639:
2640: IF wf_directory.UserActive(l_approver_user_name)
2641: THEN
2642: WF_ENGINE.setItemAttrNumber(itemType => itemtype,
2643: itemKey => itemkey,
2644: aname => 'APPROVER_ID',