DBA Data[Home] [Help]

APPS.PO_ENCUMBRANCE_PREPROCESSING dependencies on PO_CORE_S

Line 924: RAISE PO_CORE_S.g_INVALID_CALL_EXC;

920: l_progress := '050';
921:
922: ELSE
923: l_progress := '060';
924: RAISE PO_CORE_S.g_INVALID_CALL_EXC;
925: END IF;
926:
927: l_progress := '070';
928:

Line 935: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN

931: END IF;
932:
933: EXCEPTION
934:
935: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN
936: IF g_debug_unexp THEN
937: PO_DEBUG.debug_exc(l_log_head,l_progress);
938: END IF;
939: FND_MESSAGE.set_name('PO', 'PO_ALL_INVALID_PARAMETER');

Line 1198: RAISE PO_CORE_S.g_INVALID_CALL_EXC;

1194: l_doc_level := p_doc_level;
1195:
1196: ELSE
1197: l_progress := '190';
1198: RAISE PO_CORE_S.g_INVALID_CALL_EXC;
1199: END IF;
1200:
1201: l_progress := '200';
1202:

Line 1303: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN

1299: -- populate_enc_gt should have left its error msg on the stack
1300: -- no further action required
1301: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1302:
1303: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN
1304: IF g_debug_unexp THEN
1305: PO_DEBUG.debug_exc(l_log_head,l_progress);
1306: END IF;
1307: FND_MESSAGE.set_name('PO', 'PO_ALL_INVALID_PARAMETER');

Line 1912: RAISE PO_CORE_S.g_INVALID_CALL_EXC;

1908: l_progress := '070';
1909:
1910: ELSE
1911: l_progress := '090';
1912: RAISE PO_CORE_S.g_INVALID_CALL_EXC;
1913: END IF;
1914:
1915: l_progress := '100';
1916:

Line 1941: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN

1937: END IF;
1938:
1939: EXCEPTION
1940:
1941: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN
1942: IF g_debug_unexp THEN
1943: PO_DEBUG.debug_exc(l_log_head,l_progress);
1944: END IF;
1945: FND_MESSAGE.set_name('PO', 'PO_ALL_INVALID_PARAMETER');

Line 2035: l_backing_req_key := PO_CORE_S.get_session_gt_nextval();

2031: -- num2 distribution_id of backing req
2032: -- num3 recreated req's distribution_id
2033: ----------------------------------------------------------------
2034:
2035: l_backing_req_key := PO_CORE_S.get_session_gt_nextval();
2036:
2037: l_progress := '030';
2038:
2039: -- Get the encumbrance-impacted req distributions.

Line 2261: RAISE PO_CORE_S.g_INVALID_CALL_EXC;

2257: l_progress := '250';
2258:
2259: ELSE
2260: l_progress := '300';
2261: RAISE PO_CORE_S.g_INVALID_CALL_EXC;
2262: END IF;
2263:
2264: l_progress := '400';
2265:

Line 2274: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN

2270: END IF;
2271:
2272: EXCEPTION
2273:
2274: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN
2275: IF g_debug_unexp THEN
2276: PO_DEBUG.debug_exc(l_log_head,l_progress);
2277: END IF;
2278: FND_MESSAGE.set_name('PO', 'PO_ALL_INVALID_PARAMETER');

Line 2374: RAISE PO_CORE_S.g_INVALID_CALL_EXC;

2370: ELSIF (p_distribution_type = g_dist_type_MIXED_PO_RELEASE) THEN
2371: x_doc_type := g_doc_type_MIXED_PO_RELEASE;
2372: x_doc_subtype := g_doc_subtype_MIXED_PO_RELEASE;
2373: ELSE
2374: RAISE PO_CORE_S.g_INVALID_CALL_EXC;
2375: END IF;
2376:
2377: l_progress := '900';
2378:

Line 2387: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN

2383: END IF;
2384:
2385: EXCEPTION
2386:
2387: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN
2388: IF g_debug_unexp THEN
2389: PO_DEBUG.debug_exc(l_log_head,l_progress);
2390: END IF;
2391: FND_MESSAGE.set_name('PO', 'PO_ALL_INVALID_PARAMETER');

Line 2671: := PO_CORE_S.is_encumbrance_on(

2667: -- Set up the global variables
2668: -- for the rest of the encumbrance flow.
2669:
2670: PO_DOCUMENT_FUNDS_PVT.g_req_encumbrance_on
2671: := PO_CORE_S.is_encumbrance_on(
2672: p_doc_type => g_doc_type_REQUISITION
2673: , p_org_id => NULL
2674: );
2675:

Line 2679: := PO_CORE_S.is_encumbrance_on(

2675:
2676: l_progress := '020';
2677:
2678: PO_DOCUMENT_FUNDS_PVT.g_po_encumbrance_on
2679: := PO_CORE_S.is_encumbrance_on(
2680: p_doc_type => g_doc_type_PO
2681: , p_org_id => NULL
2682: );
2683:

Line 2687: := PO_CORE_S.is_encumbrance_on(

2683:
2684: l_progress := '030';
2685:
2686: PO_DOCUMENT_FUNDS_PVT.g_pa_encumbrance_on
2687: := PO_CORE_S.is_encumbrance_on(
2688: p_doc_type => g_doc_type_PA
2689: , p_org_id => NULL
2690: );
2691:

Line 3092: PO_CORE_S.get_document_ids(

3088: IF (p_use_enc_gt_flag = g_parameter_NO) THEN
3089:
3090: l_progress := '320';
3091:
3092: PO_CORE_S.get_document_ids(
3093: p_doc_type => p_doc_type
3094: , p_doc_level => p_doc_level
3095: , p_doc_level_id_tbl => po_tbl_number( p_doc_level_id )
3096: , x_doc_id_tbl => l_id_tbl

Line 3516: PO_CORE_S.get_document_ids(

3512: ELSE
3513: -- the doc level is lower than header, so get the header id.
3514: l_progress := '030';
3515:
3516: PO_CORE_S.get_document_ids(
3517: p_doc_type => p_doc_type
3518: , p_doc_level => p_doc_level
3519: , p_doc_level_id_tbl => p_doc_level_id_tbl
3520: , x_doc_id_tbl => l_doc_id_tbl

Line 3534: PO_CORE_S.get_line_ids(

3530: IF (p_doc_type <> g_doc_type_RELEASE) THEN
3531: -- releases don't have lines
3532: l_progress := '060';
3533:
3534: PO_CORE_S.get_line_ids(
3535: p_doc_type => p_doc_type
3536: , p_doc_level => p_doc_level
3537: , p_doc_level_id_tbl => p_doc_level_id_tbl
3538: , x_line_id_tbl => l_line_id_tbl

Line 3554: PO_CORE_S.get_line_location_ids(

3550: IF (p_doc_type <> g_doc_type_REQUISITION) THEN
3551: -- Reqs don't have shipments
3552: l_progress := '090';
3553:
3554: PO_CORE_S.get_line_location_ids(
3555: p_doc_type => p_doc_type
3556: , p_doc_level => p_doc_level
3557: , p_doc_level_id_tbl => p_doc_level_id_tbl
3558: , x_line_location_id_tbl => l_line_location_id_tbl

Line 4304: l_procedure_id := PO_CORE_S.get_session_gt_nextval();

4300: END IF;
4301:
4302: l_progress := '010';
4303:
4304: l_procedure_id := PO_CORE_S.get_session_gt_nextval();
4305:
4306: l_progress := '020';
4307:
4308: IF (p_override_attempt = 'N') THEN

Line 6123: -- in PO_CORE_S2. It pulls the appropriate column to be rounded from

6119: --Locks:
6120: -- None.
6121: --Function:
6122: -- This procedure is a wrapper around the currency rounding procedure
6123: -- in PO_CORE_S2. It pulls the appropriate column to be rounded from
6124: -- the Encumbrance GTT and also updates a corresponding column with
6125: -- the results of the round/conversion.
6126: -- GTT Column to Round Column with Rounded Result
6127: -- AMOUNT_TO_ENCUMBER AMT_TO_ENCUMBER_FUNC

Line 6221: -- round_only_flag to 'Y' when calling PO_CORE_S2.round_and_convert_currency

6217: -- foreign currency code and rate in the GTT. We do not want to repeat
6218: -- the currency conversion a 2nd time. But rounding should occur for all
6219: -- 3 of these columns.
6220: -- Rounding without currency conversion is achieved by setting the
6221: -- round_only_flag to 'Y' when calling PO_CORE_S2.round_and_convert_currency
6222: , DECODE ( DISTS.distribution_type
6223: , g_dist_type_AGREEMENT, DECODE( p_column_to_use
6224: , g_column_AMOUNT_TO_ENCUMBER, 'N'
6225: , 'Y'

Line 6271: PO_CORE_S2.round_and_convert_currency(

6267:
6268: l_progress := '010';
6269:
6270: -- Call the currency conversion/rounding routine
6271: PO_CORE_S2.round_and_convert_currency(
6272: x_return_status => l_return_status
6273: , p_unique_id_tbl => l_sequence_num_tbl --bug 4878973
6274: , p_amount_in_tbl => l_amount_to_round_tbl
6275: , p_exchange_rate_tbl => l_exchange_rate_tbl

Line 7867: PO_CORE_S2.round_and_convert_currency(

7863: PO_DEBUG.debug_var(l_log_head,l_progress,'l_origin_sequence_num_tbl',l_origin_sequence_num_tbl);
7864: END IF;
7865: l_progress:= '080';
7866:
7867: PO_CORE_S2.round_and_convert_currency(
7868: x_return_status => l_return_status
7869: , p_unique_id_tbl => l_sequence_num_tbl
7870: , p_amount_in_tbl => l_amount_to_round_tbl
7871: , p_exchange_rate_tbl => l_exchange_rate_tbl

Line 7882: PO_DEBUG.debug_stmt(l_log_head,l_progress,'After completing PO_CORE_S2.round_and_convert_currency on distributions');

7878: );
7879:
7880: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7881:
7882: PO_DEBUG.debug_stmt(l_log_head,l_progress,'After completing PO_CORE_S2.round_and_convert_currency on distributions');
7883: PO_DEBUG.debug_var(l_log_head,l_progress,'l_return_status',l_return_status);
7884: l_progress := '090';
7885: RAISE FND_API.g_EXC_UNEXPECTED_ERROR;
7886: END IF;