DBA Data[Home] [Help]

APPS.PO_NEGOTIATIONS4_PVT dependencies on PO_MOAC_UTILS_PVT

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

1492: FROM po_requisition_lines_all
1493: WHERE requisition_line_id = requisition_line_id_rslt_tbl(l_create_dist_index);
1494:
1495: IF l_line_requesting_ou_id <> l_old_line_requesting_ou_id THEN
1496: PO_MOAC_UTILS_PVT.set_org_context(l_line_requesting_ou_id) ; --
1497: l_org_context_changed := 'Y';
1498: l_old_line_requesting_ou_id := l_line_requesting_ou_id;
1499: END IF;
1500:

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

1731: END IF;
1732:
1733: -- Switch the org context back to the current OU if it has been changed
1734: IF (l_org_context_changed = 'Y') THEN
1735: PO_MOAC_UTILS_PVT.set_org_context(l_current_ou_id) ; --
1736: l_org_context_changed := 'N';
1737: END IF;
1738:
1739: RAISE;

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

1741: END;
1742:
1743: -- Switch the org context back to the current OU if it has been changed
1744: IF (l_org_context_changed = 'Y') THEN
1745: PO_MOAC_UTILS_PVT.set_org_context(l_current_ou_id) ; --
1746: l_org_context_changed := 'N';
1747: END IF;
1748: --
1749:

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

2380: end if;
2381:
2382: IF l_orgid is NOT NULL THEN
2383: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,'setting org');
2384: PO_MOAC_UTILS_PVT.set_org_context(l_orgid) ; --
2385: END IF;
2386:
2387: x_progress := 'PO_NEGOTIATIONS4_PVT.Launch_CreateDocWF:01';
2388: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

Line 2521: l_orig_org_id := PO_MOAC_UTILS_PVT.GET_CURRENT_ORG_ID;

2517: BEGIN
2518:
2519: l_progress :='000';
2520: l_module := G_MODULE_PREFIX||l_api_name||'.'||l_progress||'.';
2521: l_orig_org_id := PO_MOAC_UTILS_PVT.GET_CURRENT_ORG_ID;
2522: IF G_FND_DEBUG = 'Y' THEN
2523: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_PROCEDURE) THEN
2524: FND_LOG.string(FND_LOG.LEVEL_PROCEDURE, l_module,
2525: 'Entering ' || G_PKG_NAME || '.' || l_api_name);

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

2584: for l_index IN 1..l_req_org_id.count
2585: LOOP
2586: --Set Org Context to the Requisition OrgId
2587: IF l_req_org_id(l_index) <> l_orig_org_id THEN
2588: PO_MOAC_UTILS_PVT.set_org_context(l_req_org_id(l_index)) ;
2589: l_org_context_changed := 'Y';
2590: END IF;
2591: IF G_FND_DEBUG = 'Y' THEN
2592: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_PROCEDURE) THEN

Line 2750: PO_MOAC_UTILS_PVT.set_org_context(l_orig_org_id);

2746: END LOOP;
2747:
2748: -- Switch the org context back to the current OU if it has been changed
2749: IF (l_org_context_changed = 'Y') THEN
2750: PO_MOAC_UTILS_PVT.set_org_context(l_orig_org_id);
2751: l_org_context_changed := 'N';
2752: END IF;
2753: --Bug 5666854 END
2754: