DBA Data[Home] [Help]

APPS.HR_WORKFLOW_SS dependencies on FND_GLOBAL

Line 901: -- then the fnd_global.apps_initialize called with

897: -- Method to initialize the session apps context if there is no context already
898: -- set.
899: -- The method checks the current session context userid ,
900: -- If the userid is not same stored in the item attribute HR_USER_ID_ATTR
901: -- then the fnd_global.apps_initialize called with
902: -- user id as stored in the item attribute HR_USER_ID_ATTR.
903: -- ------------------------------------------------------------------------
904:
905:

Line 929: l_session_user_id := FND_GLOBAL.USER_ID;

925: ) THEN
926: -- Code that compares current session context
927: -- with the work item context required to execute
928: -- the workflow safely
929: l_session_user_id := FND_GLOBAL.USER_ID;
930: l_fnd_user_id := wf_engine.GetItemAttrNumber(itemtype =>p_itemtype,
931: itemkey =>p_itemkey,
932: aname =>'HR_USER_ID_ATTR',
933: ignore_notfound=>true);

Line 950: fnd_global.apps_initialize(user_id =>l_fnd_user_id,

946: aname =>'HR_RESP_APPL_ID_ATTR',
947: ignore_notfound=>true);
948:
949: -- set the fnd session context with the last approver user id
950: fnd_global.apps_initialize(user_id =>l_fnd_user_id,
951: resp_id =>l_resp_id,
952: resp_appl_id=> l_resp_appl_id);
953:
954:

Line 1014: avalue => FND_GLOBAL.USER_ID ) ;

1010: ,p_name => 'HR_USER_ID_ATTR');
1011: wf_engine.SetItemAttrNumber (itemtype => p_item_type,
1012: itemkey => p_item_key,
1013: aname => 'HR_USER_ID_ATTR',
1014: avalue => FND_GLOBAL.USER_ID ) ;
1015: -- get the resp_id, FND_GLOBAL.RESP_ID
1016: hr_approval_wf.create_item_attrib_if_notexist
1017: (p_item_type => p_item_type
1018: ,p_item_key => p_item_key

Line 1015: -- get the resp_id, FND_GLOBAL.RESP_ID

1011: wf_engine.SetItemAttrNumber (itemtype => p_item_type,
1012: itemkey => p_item_key,
1013: aname => 'HR_USER_ID_ATTR',
1014: avalue => FND_GLOBAL.USER_ID ) ;
1015: -- get the resp_id, FND_GLOBAL.RESP_ID
1016: hr_approval_wf.create_item_attrib_if_notexist
1017: (p_item_type => p_item_type
1018: ,p_item_key => p_item_key
1019: ,p_name => 'HR_RESP_ID_ATTR');

Line 1023: avalue => FND_GLOBAL.RESP_ID ) ;

1019: ,p_name => 'HR_RESP_ID_ATTR');
1020: wf_engine.SetItemAttrNumber (itemtype => p_item_type,
1021: itemkey => p_item_key,
1022: aname => 'HR_RESP_ID_ATTR',
1023: avalue => FND_GLOBAL.RESP_ID ) ;
1024:
1025: -- get resp_appl_id , FND_GLOBAL.RESP_APPL_ID
1026: hr_approval_wf.create_item_attrib_if_notexist
1027: (p_item_type => p_item_type

Line 1025: -- get resp_appl_id , FND_GLOBAL.RESP_APPL_ID

1021: itemkey => p_item_key,
1022: aname => 'HR_RESP_ID_ATTR',
1023: avalue => FND_GLOBAL.RESP_ID ) ;
1024:
1025: -- get resp_appl_id , FND_GLOBAL.RESP_APPL_ID
1026: hr_approval_wf.create_item_attrib_if_notexist
1027: (p_item_type => p_item_type
1028: ,p_item_key => p_item_key
1029: ,p_name => 'HR_RESP_APPL_ID_ATTR');

Line 1033: avalue => FND_GLOBAL.RESP_APPL_ID ) ;

1029: ,p_name => 'HR_RESP_APPL_ID_ATTR');
1030: wf_engine.SetItemAttrNumber (itemtype => p_item_type,
1031: itemkey => p_item_key,
1032: aname => 'HR_RESP_APPL_ID_ATTR',
1033: avalue => FND_GLOBAL.RESP_APPL_ID ) ;
1034: hr_approval_wf.create_item_attrib_if_notexist
1035: (p_item_type => p_item_type
1036: ,p_item_key => p_item_key
1037: ,p_name => 'HR_DEFER_COMMIT_ATTR');

Line 1488: if(fnd_global.USER_NAME=wf_engine.GetItemAttrText(itemtype=>lv_item_type,

1484:
1485: if(lv_restrict_edit_to_owner='Y') then
1486: hr_utility.set_location('process configured to restrict edit to owner/creator, no edit so returning',4);
1487: -- get the current login user name and compare with the creator user name
1488: if(fnd_global.USER_NAME=wf_engine.GetItemAttrText(itemtype=>lv_item_type,
1489: itemkey=>lv_item_key,
1490: aname=>'CREATOR_PERSON_USERNAME',
1491: ignore_notfound=>TRUE))then
1492: null;

Line 2310: return fnd_global.user_name;

2306:
2307:
2308: -- check if the ln_nextApprover_person_id is null
2309: if(ln_nextApprover_person_id is null) then
2310: return fnd_global.user_name;
2311: else
2312: wf_directory.GetUserName(p_orig_system => 'PER'
2313: ,p_orig_system_id => ln_nextApprover_person_id
2314: ,p_name => ln_nextApprover_userName