55: Itemkey => ItemKey,
56: aname => 'BUSINESSAREAID');
57:
58:
59: fnd_global.apps_initialize(ownerID, respID, RespAppId);
60:
61:
62: -- Get status and name of AC
63: --
364: -- Lookfor and Abort Running process because it is a restart
365: ZPB_WF.CallWFAbort(ACID);
366:
367:
368: -- ownerID := fnd_global.USER_ID;
369: -- respID := fnd_global.RESP_ID;
370: -- respAppID := fnd_global.RESP_APPL_ID;
371:
372:
365: ZPB_WF.CallWFAbort(ACID);
366:
367:
368: -- ownerID := fnd_global.USER_ID;
369: -- respID := fnd_global.RESP_ID;
370: -- respAppID := fnd_global.RESP_APPL_ID;
371:
372:
373: --==============================================================
366:
367:
368: -- ownerID := fnd_global.USER_ID;
369: -- respID := fnd_global.RESP_ID;
370: -- respAppID := fnd_global.RESP_APPL_ID;
371:
372:
373: --==============================================================
374: -- Get responsiblity for published by user ID
382: and g.RESPONSIBILITY_ID in (select r.RESPONSIBILITY_ID
383: from FND_RESPONSIBILITY r where RESPONSIBILITY_KEY in
384: ('ZPB_CONTROLLER_RESP', 'ZPB_SUPER_CONTROLLER_RESP', 'ZPB_MANAGER_RESP'));
385:
386: -- fnd_global.apps_initialize(ownerID, respID, RespAppId);
387:
388: Owner := ZPB_WF_NTF.ID_to_FNDUser(OwnerID);
389: workflow := 'ACIDWFEVENT_START';
390:
414: wf_event.AddParameterToList('EPBPERFORMER', Owner, l_parameter_list);
415: wf_event.AddParameterToList('WF_ADMINISTRATOR', Owner, l_parameter_list);
416: -- wf_event.AddParameterToList('FNDUSERNAM', Owner, l_parameter_list);
417: -- caller of program
418: wf_event.AddParameterToList('FNDUSERNAM', ZPB_WF_NTF.ID_to_FNDUser(fnd_global.USER_ID), l_parameter_list);
419:
420:
421: -- Budnik, A. 1/12/06 B 4947816 add in business area id
422: wf_event.AddParameterToList('BUSINESSAREAID', l_business_area_id, l_parameter_list);