1476: from po_vendor_sites_all pvsa
1477: where vendor_id = p_vendor_id and
1478: vendor_site_id = p_vendor_site_id;
1479:
1480: FND_GLOBAL.set_nls_context( lang_name);
1481:
1482: end;
1483:
1484: /*
1739: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype, itemkey,x_progress
1740: || ':' || l_user_id || ':' || l_resp_id || ':' || l_appl_id);
1741: END IF;
1742:
1743: l_cur_user_id := fnd_global.user_id;
1744: l_cur_resp_id := fnd_global.resp_id;
1745: l_cur_appl_id := fnd_global.resp_appl_id;
1746:
1747:
1740: || ':' || l_user_id || ':' || l_resp_id || ':' || l_appl_id);
1741: END IF;
1742:
1743: l_cur_user_id := fnd_global.user_id;
1744: l_cur_resp_id := fnd_global.resp_id;
1745: l_cur_appl_id := fnd_global.resp_appl_id;
1746:
1747:
1748: x_progress := 'PO_XML_DELIVERY.set_user_context : 003';
1741: END IF;
1742:
1743: l_cur_user_id := fnd_global.user_id;
1744: l_cur_resp_id := fnd_global.resp_id;
1745: l_cur_appl_id := fnd_global.resp_appl_id;
1746:
1747:
1748: x_progress := 'PO_XML_DELIVERY.set_user_context : 003';
1749: IF (g_po_wf_debug = 'Y') THEN
1759: )
1760: ) then
1761: resultout := wf_engine.eng_completed || ':' || 'ACTIVITY_IGNORED';
1762: else
1763: FND_GLOBAL.apps_initialize( user_id => l_user_id,
1764: resp_id => l_resp_id,
1765: resp_appl_id => l_appl_id);
1766:
1767: resultout := wf_engine.eng_completed || ':' || 'ACTIVITY_PERFORMED';