226: -- 21-OCT-87 jwhite - Updated as per Kevin Hudson's code review
227: -- 04-NOV-97 jwhite - Added workflow-started-date
228: -- to Start_Budget_WF procedure.
229: -- 25-NOV-97 jwhite - Replaced call to set_global_info
230: -- with FND_GLOBAL.Apps_Initialize.
231: -- Did not call Set_Global_Attr because
232: -- the WF does NOT exist yet.
233: --
234: -- 03-MAY-01 jwhite - As per the Non-Project Integration
496:
497: BEGIN
498:
499: --
500: -- Initialize FND Globals for Starting Approve Budget Workflow --------------
501: --
502: -- Please note that these globals will be populated from the calling
503: -- module (AMG procedure, Budgets form or Budget Integration Workflow).
504:
504:
505:
506: --dbms_output.put_line('Item Key(s/b null): '||itemkey);
507:
508: l_workflow_started_by_id := FND_GLOBAL.user_id;
509:
510: OPEN l_starter_user_name_csr( l_workflow_started_by_id );
511: FETCH l_starter_user_name_csr INTO l_user_name;
512: CLOSE l_starter_user_name_csr;
514: OPEN l_starter_full_name_csr( l_workflow_started_by_id );
515: FETCH l_starter_full_name_csr INTO l_full_name;
516: CLOSE l_starter_full_name_csr;
517:
518: l_resp_id := FND_GLOBAL.resp_id;
519:
520: -- Based on the Responsibility, Intialize the Application
521: -- Cannot call Set_Global_Attr here because the WF does NOT
522: -- Exist yet.
519:
520: -- Based on the Responsibility, Intialize the Application
521: -- Cannot call Set_Global_Attr here because the WF does NOT
522: -- Exist yet.
523: FND_GLOBAL.Apps_Initialize
524: (user_id => l_workflow_started_by_id
525: , resp_id => l_resp_id
526: , resp_appl_id => FND_GLOBAL.resp_appl_id
527: );
522: -- Exist yet.
523: FND_GLOBAL.Apps_Initialize
524: (user_id => l_workflow_started_by_id
525: , resp_id => l_resp_id
526: , resp_appl_id => FND_GLOBAL.resp_appl_id
527: );
528:
529:
530: