DBA Data[Home] [Help]

APPS.PO_ENCUMBRANCE_PREPROCESSING dependencies on PO_CORE_S

Line 927: RAISE PO_CORE_S.g_INVALID_CALL_EXC;

923: l_progress := '050';
924:
925: ELSE
926: l_progress := '060';
927: RAISE PO_CORE_S.g_INVALID_CALL_EXC;
928: END IF;
929:
930: l_progress := '070';
931:

Line 938: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN

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

Line 1201: RAISE PO_CORE_S.g_INVALID_CALL_EXC;

1197: l_doc_level := p_doc_level;
1198:
1199: ELSE
1200: l_progress := '190';
1201: RAISE PO_CORE_S.g_INVALID_CALL_EXC;
1202: END IF;
1203:
1204: l_progress := '200';
1205:

Line 1306: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN

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

Line 1950: RAISE PO_CORE_S.g_INVALID_CALL_EXC;

1946: l_progress := '070';
1947:
1948: ELSE
1949: l_progress := '090';
1950: RAISE PO_CORE_S.g_INVALID_CALL_EXC;
1951: END IF;
1952:
1953: l_progress := '100';
1954:

Line 1979: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN

1975: END IF;
1976:
1977: EXCEPTION
1978:
1979: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN
1980: IF g_debug_unexp THEN
1981: PO_DEBUG.debug_exc(l_log_head,l_progress);
1982: END IF;
1983: FND_MESSAGE.set_name('PO', 'PO_ALL_INVALID_PARAMETER');

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

2069: -- num2 distribution_id of backing req
2070: -- num3 recreated req's distribution_id
2071: ----------------------------------------------------------------
2072:
2073: l_backing_req_key := PO_CORE_S.get_session_gt_nextval();
2074:
2075: l_progress := '030';
2076:
2077: -- Get the encumbrance-impacted req distributions.

Line 2299: RAISE PO_CORE_S.g_INVALID_CALL_EXC;

2295: l_progress := '250';
2296:
2297: ELSE
2298: l_progress := '300';
2299: RAISE PO_CORE_S.g_INVALID_CALL_EXC;
2300: END IF;
2301:
2302: l_progress := '400';
2303:

Line 2312: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN

2308: END IF;
2309:
2310: EXCEPTION
2311:
2312: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN
2313: IF g_debug_unexp THEN
2314: PO_DEBUG.debug_exc(l_log_head,l_progress);
2315: END IF;
2316: FND_MESSAGE.set_name('PO', 'PO_ALL_INVALID_PARAMETER');

Line 2412: RAISE PO_CORE_S.g_INVALID_CALL_EXC;

2408: ELSIF (p_distribution_type = g_dist_type_MIXED_PO_RELEASE) THEN
2409: x_doc_type := g_doc_type_MIXED_PO_RELEASE;
2410: x_doc_subtype := g_doc_subtype_MIXED_PO_RELEASE;
2411: ELSE
2412: RAISE PO_CORE_S.g_INVALID_CALL_EXC;
2413: END IF;
2414:
2415: l_progress := '900';
2416:

Line 2425: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN

2421: END IF;
2422:
2423: EXCEPTION
2424:
2425: WHEN PO_CORE_S.G_INVALID_CALL_EXC THEN
2426: IF g_debug_unexp THEN
2427: PO_DEBUG.debug_exc(l_log_head,l_progress);
2428: END IF;
2429: FND_MESSAGE.set_name('PO', 'PO_ALL_INVALID_PARAMETER');

Line 2709: := PO_CORE_S.is_encumbrance_on(

2705: -- Set up the global variables
2706: -- for the rest of the encumbrance flow.
2707:
2708: PO_DOCUMENT_FUNDS_PVT.g_req_encumbrance_on
2709: := PO_CORE_S.is_encumbrance_on(
2710: p_doc_type => g_doc_type_REQUISITION
2711: , p_org_id => NULL
2712: );
2713:

Line 2717: := PO_CORE_S.is_encumbrance_on(

2713:
2714: l_progress := '020';
2715:
2716: PO_DOCUMENT_FUNDS_PVT.g_po_encumbrance_on
2717: := PO_CORE_S.is_encumbrance_on(
2718: p_doc_type => g_doc_type_PO
2719: , p_org_id => NULL
2720: );
2721:

Line 2725: := PO_CORE_S.is_encumbrance_on(

2721:
2722: l_progress := '030';
2723:
2724: PO_DOCUMENT_FUNDS_PVT.g_pa_encumbrance_on
2725: := PO_CORE_S.is_encumbrance_on(
2726: p_doc_type => g_doc_type_PA
2727: , p_org_id => NULL
2728: );
2729:

Line 3130: PO_CORE_S.get_document_ids(

3126: IF (p_use_enc_gt_flag = g_parameter_NO) THEN
3127:
3128: l_progress := '320';
3129:
3130: PO_CORE_S.get_document_ids(
3131: p_doc_type => p_doc_type
3132: , p_doc_level => p_doc_level
3133: , p_doc_level_id_tbl => po_tbl_number( p_doc_level_id )
3134: , x_doc_id_tbl => l_id_tbl

Line 3558: PO_CORE_S.get_document_ids(

3554: ELSE
3555: -- the doc level is lower than header, so get the header id.
3556: l_progress := '030';
3557:
3558: PO_CORE_S.get_document_ids(
3559: p_doc_type => p_doc_type
3560: , p_doc_level => p_doc_level
3561: , p_doc_level_id_tbl => p_doc_level_id_tbl
3562: , x_doc_id_tbl => l_doc_id_tbl

Line 3576: PO_CORE_S.get_line_ids(

3572: IF (p_doc_type <> g_doc_type_RELEASE) THEN
3573: -- releases don't have lines
3574: l_progress := '060';
3575:
3576: PO_CORE_S.get_line_ids(
3577: p_doc_type => p_doc_type
3578: , p_doc_level => p_doc_level
3579: , p_doc_level_id_tbl => p_doc_level_id_tbl
3580: , x_line_id_tbl => l_line_id_tbl

Line 3596: PO_CORE_S.get_line_location_ids(

3592: IF (p_doc_type <> g_doc_type_REQUISITION) THEN
3593: -- Reqs don't have shipments
3594: l_progress := '090';
3595:
3596: PO_CORE_S.get_line_location_ids(
3597: p_doc_type => p_doc_type
3598: , p_doc_level => p_doc_level
3599: , p_doc_level_id_tbl => p_doc_level_id_tbl
3600: , x_line_location_id_tbl => l_line_location_id_tbl

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

4379: END IF;
4380:
4381: l_progress := '010';
4382:
4383: l_procedure_id := PO_CORE_S.get_session_gt_nextval();
4384:
4385: l_progress := '020';
4386:
4387: IF (p_override_attempt = 'N') THEN

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

6496: --Locks:
6497: -- None.
6498: --Function:
6499: -- This procedure is a wrapper around the currency rounding procedure
6500: -- in PO_CORE_S2. It pulls the appropriate column to be rounded from
6501: -- the Encumbrance GTT and also updates a corresponding column with
6502: -- the results of the round/conversion.
6503: -- GTT Column to Round Column with Rounded Result
6504: -- AMOUNT_TO_ENCUMBER AMT_TO_ENCUMBER_FUNC

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

6600: -- foreign currency code and rate in the GTT. We do not want to repeat
6601: -- the currency conversion a 2nd time. But rounding should occur for all
6602: -- 3 of these columns.
6603: -- Rounding without currency conversion is achieved by setting the
6604: -- round_only_flag to 'Y' when calling PO_CORE_S2.round_and_convert_currency
6605: , DECODE ( DISTS.distribution_type
6606: , g_dist_type_AGREEMENT, DECODE( p_column_to_use
6607: , g_column_AMOUNT_TO_ENCUMBER, 'N'
6608: , 'Y'

Line 6654: PO_CORE_S2.round_and_convert_currency(

6650:
6651: l_progress := '010';
6652:
6653: -- Call the currency conversion/rounding routine
6654: PO_CORE_S2.round_and_convert_currency(
6655: x_return_status => l_return_status
6656: , p_unique_id_tbl => l_sequence_num_tbl --bug 4878973
6657: , p_amount_in_tbl => l_amount_to_round_tbl
6658: , p_exchange_rate_tbl => l_exchange_rate_tbl

Line 8288: PO_CORE_S2.round_and_convert_currency(

8284: PO_DEBUG.debug_var(l_log_head,l_progress,'l_origin_sequence_num_tbl',l_origin_sequence_num_tbl);
8285: END IF;
8286: l_progress:= '080';
8287:
8288: PO_CORE_S2.round_and_convert_currency(
8289: x_return_status => l_return_status
8290: , p_unique_id_tbl => l_sequence_num_tbl
8291: , p_amount_in_tbl => l_amount_to_round_tbl
8292: , p_exchange_rate_tbl => l_exchange_rate_tbl

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

8299: );
8300:
8301: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8302:
8303: PO_DEBUG.debug_stmt(l_log_head,l_progress,'After completing PO_CORE_S2.round_and_convert_currency on distributions');
8304: PO_DEBUG.debug_var(l_log_head,l_progress,'l_return_status',l_return_status);
8305: l_progress := '090';
8306: RAISE FND_API.g_EXC_UNEXPECTED_ERROR;
8307: END IF;

Line 8552: PO_CORE_S2.round_and_convert_currency( x_return_status => l_return_status ,

8548: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Populated the tables required for Rounding');
8549: End If;
8550:
8551: -- Call the rounding routine for Final Amt
8552: PO_CORE_S2.round_and_convert_currency( x_return_status => l_return_status ,
8553: p_unique_id_tbl => l_sequence_num_tbl ,
8554: p_amount_in_tbl => l_amount_to_round_tbl ,
8555: p_exchange_rate_tbl => l_exchange_rate_tbl ,
8556: p_from_currency_precision_tbl => l_cur_precision_foreign_tbl ,