DBA Data[Home] [Help]

APPS.PO_COMMUNICATION_PVT dependencies on PO_MOAC_UTILS_PVT

Line 289: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);

285: Passing ICX_NUMERIC_CHARACTERS profile value to the POPDF program */
286: l_set_lang := fnd_request.set_options('NO', 'NO', l_language, l_territory, NULL, FND_PROFILE.VALUE('ICX_NUMERIC_CHARACTERS')); --
287:
288: --
289: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);
290: --
291:
292:
293: --Bug13774287 Need to pass document type as

Line 810: l_orgid := po_moac_utils_pvt.get_current_org_id; --

806: itemkey => l_itemkey,
807: aname => 'EMAIL_TEXT_WITH_PDF',
808: avalue => FND_MESSAGE.GET_STRING('PO', 'PO_PDF_EMAIL_TEXT'));
809:
810: l_orgid := po_moac_utils_pvt.get_current_org_id; --
811:
812: IF l_orgid is not null THEN
813: --bug#3682458 replaced the sql that retrieves legal entity
814: --name with sql that retrieves operating unit name

Line 1223: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);

1219: l_set_lang := fnd_request.set_options('NO', 'NO', l_supp_lang, l_territory, NULL, FND_PROFILE.VALUE('ICX_NUMERIC_CHARACTERS'));
1220:
1221: --- Set the org context
1222: --
1223: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);
1224: --
1225: --
1226: --Bug5080617 Pass the parameters P_PO_TEMPLATE_CODE and P_CONTRACT_TEMPLATE_CODE as null
1227: l_request_id := fnd_request.submit_request('PO',

Line 1808: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);

1804: /*Bug 8135201*/
1805: l_set_lang := fnd_request.set_options('NO', 'NO', l_language, l_territory, NULL, FND_PROFILE.VALUE('ICX_NUMERIC_CHARACTERS')); --
1806:
1807: --
1808: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);
1809: --
1810: --Bug5080617 Pass the parameters P_PO_TEMPLATE_CODE and P_CONTRACT_TEMPLATE_CODE as null
1811: l_request_id := fnd_request.submit_request('PO',
1812: 'POXPOPDF',

Line 2048: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);

2044: l_document_subtype := 'RELEASE';
2045: END IF;
2046:
2047: --
2048: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);
2049: --
2050: --Bug5080617 Pass the parameters P_PO_TEMPLATE_CODE and P_CONTRACT_TEMPLATE_CODE as null
2051: l_request_id := fnd_request.submit_request('PO',
2052: 'POXPOPDF',

Line 2255: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);

2251:
2252: END IF;
2253:
2254: --
2255: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);
2256: --
2257: --Bug13774287 Need to pass document type as
2258: --RELEASE in case of a release to the concurrent program
2259: IF l_document_type ='RELEASE' THEN

Line 2384: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);

2380: if p_document_type in ('STANDARD', 'BLANKET', 'CONTRACT') then
2381:
2382:
2383: --
2384: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);
2385: --
2386: --Bug5080617 Pass the parameters P_PO_TEMPLATE_CODE and P_CONTRACT_TEMPLATE_CODE as null
2387: p_request_id := fnd_request.submit_request('PO',
2388: 'POXPOPDF',

Line 2436: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);

2432:
2433:
2434: elsif p_document_type = 'RELEASE' then
2435: --
2436: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);
2437: --
2438: --Bug5080617 Pass the parameters P_PO_TEMPLATE_CODE and P_CONTRACT_TEMPLATE_CODE as null
2439: p_request_id := fnd_request.submit_request('PO',
2440: 'POXPOPDF',

Line 2494: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);

2490:
2491: if p_document_type in ('STANDARD', 'BLANKET', 'CONTRACT') then
2492:
2493: --
2494: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);
2495: --
2496: --Bug5080617 Pass the parameters P_PO_TEMPLATE_CODE and P_CONTRACT_TEMPLATE_CODE as null
2497: p_request_id := fnd_request.submit_request('PO',
2498: 'POXPOFAX',--Bug 6332444

Line 2545: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);

2541:
2542:
2543: elsif p_document_type = 'RELEASE' then
2544: --
2545: po_moac_utils_pvt.set_request_context(po_moac_utils_pvt.get_current_org_id);
2546: --
2547: --Bug5080617 Pass the parameters P_PO_TEMPLATE_CODE and P_CONTRACT_TEMPLATE_CODE as null
2548:
2549: /*Bug5134811 For release fax the fax number and fax enable parameters are not passed due to which

Line 2688: l_org_id := po_moac_utils_pvt.get_current_org_id; --

2684: p_token => l_progress,
2685: p_message => 'With Terms '|| p_with_terms);
2686: END IF;
2687:
2688: l_org_id := po_moac_utils_pvt.get_current_org_id; --
2689:
2690: l_doctype := p_document_type;
2691: if p_document_type in ('BLANKET', 'CONTRACT') then
2692: l_doctype := 'PA';

Line 3290: l_org_id := po_moac_utils_pvt.get_current_org_id; --

3286: IF p_blob_type = 'PDF' THEN
3287: l_file_content_type := 'application/pdf';
3288: l_file_name := p_file_name;
3289: ELSIF p_blob_type = 'ZIP' THEN
3290: l_org_id := po_moac_utils_pvt.get_current_org_id; --
3291: IF g_debug_stmt THEN
3292: PO_DEBUG.debug_stmt(p_log_head => g_log_head || l_api_name,
3293: p_token => l_progress,
3294: p_message => 'Calculated org_id = '|| l_org_id);

Line 3300: po_moac_utils_pvt.SET_POLICY_CONTEXT('S', l_org_id );

3296:
3297: --Start of code changes for the bug 12799972
3298: IF (l_org_id IS null) THEN
3299: SELECT org_id INTO l_org_id FROM po_headers_all WHERE po_header_id = p_document_id;
3300: po_moac_utils_pvt.SET_POLICY_CONTEXT('S', l_org_id );
3301: END IF;
3302: -- End of code changes for the bug 12799972
3303:
3304: l_file_content_type := 'application/x-zip-compressed';

Line 4944: l_org_id := po_moac_utils_pvt.get_current_org_id;

4940:
4941: PO_COMMUNICATION_PVT.g_documentType := null;
4942: --Bug#3279968 Added the language column to the below sql statement to fetch onlyone record.
4943: --Bug 9391634 org_id was not set because of which fetching data from PO_DOCUMENT_TYPES_TL give error
4944: l_org_id := po_moac_utils_pvt.get_current_org_id;
4945:
4946: IF(l_org_id IS null) Then
4947:
4948: SELECT org_id INTO l_org_id FROM po_headers_all WHERE po_header_id = p_document_id;

Line 4949: po_moac_utils_pvt.SET_POLICY_CONTEXT('S', l_org_id );

4945:
4946: IF(l_org_id IS null) Then
4947:
4948: SELECT org_id INTO l_org_id FROM po_headers_all WHERE po_header_id = p_document_id;
4949: po_moac_utils_pvt.SET_POLICY_CONTEXT('S', l_org_id );
4950:
4951: END IF;
4952: --Bug 9391634 org_id was not set because of which fetching data from PO_DOCUMENT_TYPES_TL give error
4953: