162: aname => 'ORG_ID');
163:
164: IF l_orgid is NOT NULL THEN
165:
166: PO_MOAC_UTILS_PVT.set_org_context(l_orgid) ; --
168: END IF;
169:
170: l_user_id := wf_engine.GetItemAttrNumber (itemtype => itemtype,
190: -- Bug 4290541
191: -- replaced apps init call with set doc mgr context
192:
193: PO_REQAPPROVAL_INIT1.Set_doc_mgr_context(itemtype, itemkey);
194: PO_MOAC_UTILS_PVT.set_org_context(l_orgid) ; --
196:
197:
198: x_progress := 'PO_REQAPPROVAL_LAUNCH.CreateWFInstance:01';
428: -- introduce an org context setting call here-
429: -- required in the case when the right resonder makes a response
430: -- from a NON-PO RESP.
431: IF l_org_id is NOT NULL THEN
432: PO_MOAC_UTILS_PVT.set_org_context(l_org_id) ;
433: END IF;
434:
435: return;
436: end if;
503: -- this is required since the responsibility might have a different OU attached
504: -- than what is required.
505:
506: IF l_org_id is NOT NULL THEN
507: PO_MOAC_UTILS_PVT.set_org_context(l_org_id) ;
508: END IF;
509:
510:
511: -- Need to set the sub ledger security also, requirement