DBA Data[Home] [Help]

APPS.PO_NEGOTIATIONS4_PVT dependencies on PO_MOAC_UTILS_PVT

Line 1577: PO_MOAC_UTILS_PVT.set_org_context(l_line_requesting_ou_id) ; --

1573: FROM po_requisition_lines_all
1574: WHERE requisition_line_id = requisition_line_id_rslt_tbl(l_create_dist_index);
1575:
1576: IF l_line_requesting_ou_id <> l_old_line_requesting_ou_id THEN
1577: PO_MOAC_UTILS_PVT.set_org_context(l_line_requesting_ou_id) ; --
1578: l_org_context_changed := 'Y';
1579: l_old_line_requesting_ou_id := l_line_requesting_ou_id;
1580: END IF;
1581:

Line 1816: PO_MOAC_UTILS_PVT.set_org_context(l_current_ou_id) ; --

1812: END IF;
1813:
1814: -- Switch the org context back to the current OU if it has been changed
1815: IF (l_org_context_changed = 'Y') THEN
1816: PO_MOAC_UTILS_PVT.set_org_context(l_current_ou_id) ; --
1817: l_org_context_changed := 'N';
1818: END IF;
1819:
1820: RAISE;

Line 1826: PO_MOAC_UTILS_PVT.set_org_context(l_current_ou_id) ; --

1822: END;
1823:
1824: -- Switch the org context back to the current OU if it has been changed
1825: IF (l_org_context_changed = 'Y') THEN
1826: PO_MOAC_UTILS_PVT.set_org_context(l_current_ou_id) ; --
1827: l_org_context_changed := 'N';
1828: END IF;
1829: --
1830:

Line 2471: PO_MOAC_UTILS_PVT.set_org_context(l_orgid) ; --

2467: end if;
2468:
2469: IF l_orgid is NOT NULL THEN
2470: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,'setting org');
2471: PO_MOAC_UTILS_PVT.set_org_context(l_orgid) ; --
2472: END IF;
2473:
2474: x_progress := 'PO_NEGOTIATIONS4_PVT.Launch_CreateDocWF:01';
2475: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

Line 2610: l_orig_org_id := PO_MOAC_UTILS_PVT.GET_CURRENT_ORG_ID;

2606: BEGIN
2607:
2608: l_progress :='000';
2609: l_module := G_MODULE_PREFIX||l_api_name||'.'||l_progress||'.';
2610: l_orig_org_id := PO_MOAC_UTILS_PVT.GET_CURRENT_ORG_ID;
2611: IF G_FND_DEBUG = 'Y' THEN
2612: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_PROCEDURE) THEN
2613: FND_LOG.string(FND_LOG.LEVEL_PROCEDURE, l_module,
2614: 'Entering ' || G_PKG_NAME || '.' || l_api_name);

Line 2678: PO_MOAC_UTILS_PVT.set_org_context(l_req_org_id(l_index)) ;

2674: LOOP
2675: --Set Org Context to the Requisition OrgId
2676: --Bug 10131290.Added (l_orig_org_id is null) to the IF condition
2677: IF (l_orig_org_id is null) OR (l_req_org_id(l_index) <> l_orig_org_id) THEN
2678: PO_MOAC_UTILS_PVT.set_org_context(l_req_org_id(l_index)) ;
2679: l_org_context_changed := 'Y';
2680: END IF;
2681: IF G_FND_DEBUG = 'Y' THEN
2682: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_PROCEDURE) THEN

Line 2840: PO_MOAC_UTILS_PVT.set_org_context(l_orig_org_id);

2836: END LOOP;
2837:
2838: -- Switch the org context back to the current OU if it has been changed
2839: IF (l_org_context_changed = 'Y') THEN
2840: PO_MOAC_UTILS_PVT.set_org_context(l_orig_org_id);
2841: l_org_context_changed := 'N';
2842: END IF;
2843: --Bug 5666854 END
2844: