DBA Data[Home] [Help]

APPS.PO_CORE_S dependencies on PO_CORE_S

Line 1: PACKAGE BODY PO_CORE_S AS

1: PACKAGE BODY PO_CORE_S AS
2: -- $Header: POXCOC1B.pls 120.24.12010000.2 2008/11/11 11:14:47 bisdas ship $
3:
4:
5: -----------------------------------------------------------------------------

Line 13: := 'PO_CORE_S'

9: -- Debugging
10:
11: g_pkg_name CONSTANT
12: VARCHAR2(30)
13: := 'PO_CORE_S'
14: ;
15: g_log_head CONSTANT
16: VARCHAR2(50)
17: := 'po.plsql.' || g_pkg_name || '.'

Line 1203: po_core_s2.get_po_currency (x_object_id,

1199: /* Result should be returned in base currency. Get the currency code
1200: of the PO and the base currency code
1201: */
1202: x_progress := 10;
1203: po_core_s2.get_po_currency (x_object_id,
1204: x_base_currency,
1205: x_po_currency );
1206:
1207: /* Chk if base_currency = po_currency */

Line 1211: po_core_s2.get_currency_info (x_po_currency,

1207: /* Chk if base_currency = po_currency */
1208: if x_base_currency <> x_po_currency then
1209: /* Get precision and minimum accountable unit of the PO CURRENCY */
1210: x_progress := 20;
1211: po_core_s2.get_currency_info (x_po_currency,
1212: x_precision,
1213: x_min_unit );
1214:
1215: /* Get precision and minimum accountable unit of the base CURRENCY */

Line 1217: po_core_s2.get_currency_info (x_base_currency,

1213: x_min_unit );
1214:
1215: /* Get precision and minimum accountable unit of the base CURRENCY */
1216: x_progress := 30;
1217: po_core_s2.get_currency_info (x_base_currency,
1218: x_base_precision,
1219: x_base_min_unit );
1220:
1221:

Line 1454: po_core_s2.get_po_currency (x_object_id,

1450: /* Result should be returned in base currency. Get the currency code
1451: of the PO and the base currency code */
1452:
1453: x_progress := 60;
1454: po_core_s2.get_po_currency (x_object_id,
1455: x_base_currency,
1456: x_po_currency );
1457:
1458: /* Chk if base_currency = po_currency */

Line 1462: po_core_s2.get_currency_info (x_po_currency,

1458: /* Chk if base_currency = po_currency */
1459: if x_base_currency <> x_po_currency then
1460: /* Get precision and minimum accountable unit of the PO CURRENCY */
1461: x_progress := 70;
1462: po_core_s2.get_currency_info (x_po_currency,
1463: x_precision,
1464: x_min_unit );
1465:
1466: /* Get precision and minimum accountable unit of the base CURRENCY */

Line 1468: po_core_s2.get_currency_info (x_base_currency,

1464: x_min_unit );
1465:
1466: /* Get precision and minimum accountable unit of the base CURRENCY */
1467: x_progress := 80;
1468: po_core_s2.get_currency_info (x_base_currency,
1469: x_base_precision,
1470: x_base_min_unit );
1471:
1472: /* iali - Bug 482497 - 05/09/97

Line 1627: po_core_s2.get_req_currency (x_object_id,

1623: PO_MOAC_UTILS_PVT.g_doc_type_REQUISITION
1624: , PO_MOAC_UTILS_PVT.g_doc_level_HEADER
1625: , x_object_id);--bug#5092574
1626:
1627: po_core_s2.get_req_currency (x_object_id,
1628: x_base_currency,
1629: l_org_id);--bug#5092574
1630:
1631: x_progress := 120;

Line 1632: po_core_s2.get_currency_info (x_base_currency,

1628: x_base_currency,
1629: l_org_id);--bug#5092574
1630:
1631: x_progress := 120;
1632: po_core_s2.get_currency_info (x_base_currency,
1633: x_base_precision,
1634: x_base_min_unit );
1635:
1636: if x_base_min_unit is null then

Line 1705: po_core_s2.get_req_currency (x_object_id,

1701: PO_MOAC_UTILS_PVT.g_doc_type_REQUISITION
1702: , PO_MOAC_UTILS_PVT.g_doc_level_LINE
1703: , x_object_id);--bug#5092574
1704:
1705: po_core_s2.get_req_currency (x_object_id,
1706: x_base_currency,
1707: l_org_id);--bug#5092574
1708:
1709: x_progress := 150;

Line 1710: po_core_s2.get_currency_info (x_base_currency,

1706: x_base_currency,
1707: l_org_id);--bug#5092574
1708:
1709: x_progress := 150;
1710: po_core_s2.get_currency_info (x_base_currency,
1711: x_base_precision,
1712: x_base_min_unit );
1713:
1714: if x_base_min_unit is null then

Line 1778: po_core_s2.get_req_currency (x_object_id,

1774: PO_MOAC_UTILS_PVT.g_doc_type_REQUISITION
1775: , PO_MOAC_UTILS_PVT.g_doc_level_DISTRIBUTION
1776: , x_object_id);--bug#5092574
1777:
1778: po_core_s2.get_req_currency (x_object_id,
1779: x_base_currency,
1780: l_org_id);--bug#5092574
1781: x_progress := 164;
1782: po_core_s2.get_currency_info (x_base_currency,

Line 1782: po_core_s2.get_currency_info (x_base_currency,

1778: po_core_s2.get_req_currency (x_object_id,
1779: x_base_currency,
1780: l_org_id);--bug#5092574
1781: x_progress := 164;
1782: po_core_s2.get_currency_info (x_base_currency,
1783: x_base_precision,
1784: x_base_min_unit );
1785:
1786: x_progress := 166;

Line 1941: po_core_s2.get_currency_info (x_po_currency,

1937:
1938: if (x_base_currency <> x_po_currency) then
1939: /* Get precision and minimum accountable unit of the PO CURRENCY */
1940: x_progress := 190;
1941: po_core_s2.get_currency_info (x_po_currency,
1942: x_precision,
1943: x_min_unit );
1944:
1945: /* Get precision and minimum accountable unit of the base CURRENCY */

Line 1947: po_core_s2.get_currency_info (x_base_currency,

1943: x_min_unit );
1944:
1945: /* Get precision and minimum accountable unit of the base CURRENCY */
1946: x_progress := 200;
1947: po_core_s2.get_currency_info (x_base_currency,
1948: x_base_precision,
1949: x_base_min_unit );
1950:
1951: if x_base_min_unit is null then

Line 2317: po_core_s2.get_po_currency (x_object_id=>p_object_id,

2313: IF (p_doc_type = 'PO') AND (p_doc_subtype = 'STANDARD') then
2314:
2315: --Get the currency code of the PO and the base currency code
2316:
2317: po_core_s2.get_po_currency (x_object_id=>p_object_id,
2318: x_base_currency =>l_base_currency,
2319: x_po_currency =>l_po_currency );
2320: l_progress := '020';
2321: --Get precision and minimum accountable unit of the PO CURRENCY

Line 2322: po_core_s2.get_currency_info (x_currency_code => l_po_currency,

2318: x_base_currency =>l_base_currency,
2319: x_po_currency =>l_po_currency );
2320: l_progress := '020';
2321: --Get precision and minimum accountable unit of the PO CURRENCY
2322: po_core_s2.get_currency_info (x_currency_code => l_po_currency,
2323: x_precision=>l_precision,
2324: x_min_unit=>l_min_unit );
2325: l_progress := '030';
2326: -- Chk if base_currency = po_currency

Line 2332: po_core_s2.get_currency_info (x_currency_code => l_base_currency,

2328:
2329: l_progress := '040';
2330: --Get precision and minimum accountable unit of the base CURRENCY
2331:
2332: po_core_s2.get_currency_info (x_currency_code => l_base_currency,
2333: x_precision=>l_base_precision,
2334: x_min_unit=>l_base_min_unit );
2335:
2336:

Line 2427: po_core_s2.get_po_currency (x_object_id=>p_object_id,

2423: IF p_object_type = 'H' then
2424:
2425: --Get the currency code of the PO and the base currency code
2426:
2427: po_core_s2.get_po_currency (x_object_id=>p_object_id,
2428: x_base_currency =>l_base_currency,
2429: x_po_currency =>l_po_currency );
2430: l_progress := '020';
2431: --Get precision and minimum accountable unit of the PO CURRENCY

Line 2432: po_core_s2.get_currency_info (x_currency_code => l_po_currency,

2428: x_base_currency =>l_base_currency,
2429: x_po_currency =>l_po_currency );
2430: l_progress := '020';
2431: --Get precision and minimum accountable unit of the PO CURRENCY
2432: po_core_s2.get_currency_info (x_currency_code => l_po_currency,
2433: x_precision=>l_precision,
2434: x_min_unit=>l_min_unit );
2435: l_progress := '030';
2436: -- Chk if base_currency = po_currency

Line 2442: po_core_s2.get_currency_info (x_currency_code => l_base_currency,

2438:
2439: l_progress := '040';
2440: --Get precision and minimum accountable unit of the base CURRENCY
2441:
2442: po_core_s2.get_currency_info (x_currency_code => l_base_currency,
2443: x_precision=>l_base_precision,
2444: x_min_unit=>l_base_min_unit );
2445:
2446:

Line 2644: po_core_s2.get_currency_info (l_po_currency,

2640:
2641: if (l_base_currency <> l_po_currency) then
2642: /* Get precision and minimum accountable unit of the PO CURRENCY */
2643: l_progress := '190';
2644: po_core_s2.get_currency_info (l_po_currency,
2645: l_precision,
2646: l_min_unit );
2647:
2648: /* Get precision and minimum accountable unit of the base CURRENCY */

Line 2650: po_core_s2.get_currency_info (l_base_currency,

2646: l_min_unit );
2647:
2648: /* Get precision and minimum accountable unit of the base CURRENCY */
2649: l_progress := '200';
2650: po_core_s2.get_currency_info (l_base_currency,
2651: l_base_precision,
2652: l_base_min_unit );
2653:
2654: if l_base_min_unit is null then

Line 2984: PO_CORE_S2.get_po_currency( p_po_header_id, -- IN

2980: BEGIN
2981:
2982: -- Get the functional currency code for the current org's Set of Books
2983: -- and the currency code defined for the PO
2984: PO_CORE_S2.get_po_currency( p_po_header_id, -- IN
2985: l_base_currency, --OUT
2986: l_po_currency ); --OUT
2987:
2988: -- Get the Precision (never NULL), Extended Precision, Minimum Accountable Unit

Line 3215: PO_CORE_S2.get_po_currency( p_po_header_id, -- IN

3211:
3212: BEGIN
3213:
3214: -- Get the currency code defined for the PO
3215: PO_CORE_S2.get_po_currency( p_po_header_id, -- IN
3216: l_base_currency, --OUT
3217: l_po_currency ); --OUT
3218:
3219: -- Get the Precision (never NULL), Extended Precision, Minimum Accountable Unit

Line 3318: PO_CORE_S2.get_po_currency ( x_object_id => p_po_header_id,

3314: END IF;
3315:
3316: l_progress := '010';
3317:
3318: PO_CORE_S2.get_po_currency ( x_object_id => p_po_header_id,
3319: x_base_currency => l_base_currency,
3320: x_po_currency => l_po_currency );
3321:
3322: PO_CORE_S2.get_currency_info ( x_currency_code => l_base_currency,

Line 3322: PO_CORE_S2.get_currency_info ( x_currency_code => l_base_currency,

3318: PO_CORE_S2.get_po_currency ( x_object_id => p_po_header_id,
3319: x_base_currency => l_base_currency,
3320: x_po_currency => l_po_currency );
3321:
3322: PO_CORE_S2.get_currency_info ( x_currency_code => l_base_currency,
3323: x_precision => l_base_precision,
3324: x_min_unit => l_base_min_unit );
3325:
3326: PO_CORE_S2.get_currency_info ( x_currency_code => l_po_currency,

Line 3326: PO_CORE_S2.get_currency_info ( x_currency_code => l_po_currency,

3322: PO_CORE_S2.get_currency_info ( x_currency_code => l_base_currency,
3323: x_precision => l_base_precision,
3324: x_min_unit => l_base_min_unit );
3325:
3326: PO_CORE_S2.get_currency_info ( x_currency_code => l_po_currency,
3327: x_precision => l_po_precision,
3328: x_min_unit => l_po_min_unit );
3329:
3330: --Bug# 5391346 START:

Line 6984: d_module VARCHAR2(70) := 'po.plsql.PO_CORE_S.get_document_status';

6980: IS
6981:
6982: d_msg VARCHAR2(200);
6983: d_progress NUMBER;
6984: d_module VARCHAR2(70) := 'po.plsql.PO_CORE_S.get_document_status';
6985:
6986: l_sep VARCHAR2(8) := ', ';
6987: l_ret_sts VARCHAR2(1);
6988:

Line 7335: d_module VARCHAR2(70) := 'po.plsql.PO_CORE_S.get_default_price';

7331: )
7332: IS
7333:
7334: d_progress NUMBER;
7335: d_module VARCHAR2(70) := 'po.plsql.PO_CORE_S.get_default_price';
7336: d_msg VARCHAR2(200);
7337:
7338: l_ret_sts VARCHAR2(1) := 'S';
7339: l_ship_to_loc_id HR_LOCATIONS.ship_to_location_id%TYPE;

Line 8021: END PO_CORE_S;

8017: RETURN FALSE;
8018: END is_equal_minutes;
8019: --
8020:
8021: END PO_CORE_S;