Search Results oki_refresh_pvt
Overview
OKI_REFRESH_PVT is a private PL/SQL package owned by the APPS schema in Oracle E-Business Suite. It forms the core refresh engine of the Oracle Knowledge Integration (OKI) module, which underpins the Service Contracts and Telecommunications Service Management functionality delivered through Oracle's Enterprise Telecommunications Resource Management (ETRM) applications. The package is classified as a Private (PVT) API, meaning it is intended for internal invocation by sibling OKI packages and public APIs rather than by external or customer-written code.
Its principal business function is to maintain and synchronize the OKI refresh staging tables (referenced via OKI_REFRESHS) with operational contract data held in the OKC contract tables and with general ledger, human resources, and inventory reference data. This ensures that downstream OKI load processes operate against an accurate, current snapshot of contract headers, lines, addresses, sales representatives, pricing rules, and coverage periods. Refresh operations are typically executed on a scheduled basis, supporting daily rate updates and periodic contract data resynchronization.
Key Procedures and Functions
The package exposes approximately twenty-five documented procedures and functions. The principal groups are as follows:
- Refresh procedures — REFRESH_DAILY_RATES, REFRESH_SALES_K_HDRS, REFRESH_ADDRS, REFRESH_SOLD_ITM_LINES, REFRESH_COV_PRD_LINES, REFRESH_EXPIRED_LINES, REFRESH_K_SALESREPS, REFRESH_K_CONV_RATES, and REFRESH_K_PRICING_RULES populate or update the OKI refresh staging data for their respective business entities (daily currency rates, contract headers, addresses, sold item lines, covered product lines, expired lines, sales representatives, conversion rates, and pricing rules).
- Fast refresh procedures — FAST_SALES_K_HDRS, FAST_SOLD_ITM_LINES, FAST_COV_PRD_LINES, FAST_EXPIRED_LINES, FAST_K_SALESREPS, and FAST_ADDRS provide abbreviated or incremental refresh paths for the corresponding entities, generally used when a full resynchronization is unnecessary.
- Job control procedures — INITIAL_JOB_CHECK, JOB_START, and JOB_END bracket and validate refresh runs, tracking job state and enforcing preconditions before a refresh job proceeds.
- Utility functions — GET_CONVERSION_RATE retrieves currency conversion factors for use during refresh processing, while UPDATE_OKI_REFRESH updates refresh control or status records.
Parameter lists are not documented in the ETRM metadata and should be obtained by inspecting the package specification in the database.
Tables Accessed
The package reads and writes the following tables through APPS synonyms. Contract data is drawn from OKC_K_HEADERS_B, OKC_K_LINES_B, OKC_K_ITEMS, OKC_K_PARTY_ROLES_B, OKC_K_REL_OBJS, OKC_K_VERS_NUMBERS, OKC_STATUSES_B, OKC_OPERATION_LINES, OKC_CONTACTS, and OKC_GOVERNANCES. Reference and lookup data is sourced from CSI_ITEM_INSTANCES (installed base items), GL_DAILY_RATES and FND_CURRENCIES (currency conversion), GL_PERIODS (accounting periods), and HR_ORGANIZATION_INFORMATION (organization attributes). The package also references OKI_REFRESHS, the staging table that holds the refreshed output consumed by OKI load programs.
Usage Notes
OKI_REFRESH_PVT is referenced by eleven other packages, most notably the OKI load packages (OKI_LOAD_ENR_PVT, OKI_LOAD_ETR_PVT, OKI_LOAD_FBO_PVT, OKI_LOAD_OKV_PVT, OKI_LOAD_RAG_PVT, OKI_LOAD_RBK_PVT, OKI_LOAD_RBS_PVT, OKI_LOAD_SGR_PVT, OKI_LOAD_WBC_PVT, and OKI_LOAD_YRA_PVT) and the public wrapper OKI_REFRESH_PUB. It is therefore invoked indirectly through those layers rather than called directly. In practice, refresh activity is triggered by concurrent programs and scheduled jobs that call the public API, which in turn delegates to this private package. Customers extending ETRM should invoke OKI_REFRESH_PUB or the relevant load APIs; direct calls to OKI_REFRESH_PVT are not supported and are vulnerable to change between releases. Both Oracle EBS 12.1.1 and 12.2.2 retain this package with a VALID status, and its dependency footprint is consistent across both releases.
-
PACKAGE: APPS.OKI_REFRESH_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKI_REFRESH_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_REFRESH_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_REFRESH_PVT, status:VALID,
-
SYNONYM: APPS.OKI_JOB_RUN_DTL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_JOB_RUN_DTL, status:VALID,
-
SYNONYM: APPS.OKI_JOB_RUNS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_JOB_RUNS, status:VALID,
-
SYNONYM: APPS.OKI_DAILY_RATES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_DAILY_RATES, status:VALID,
-
SYNONYM: APPS.OKI_JOB_RUNS_S1
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_JOB_RUNS_S1, status:VALID,
-
SYNONYM: APPS.OKI_REFRESHS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_REFRESHS, status:VALID,
-
SYNONYM: APPS.OKI_K_SALESREPS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_K_SALESREPS, status:VALID,
-
SYNONYM: APPS.OKI_SOLD_ITM_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_SOLD_ITM_LINES, status:VALID,
-
SYNONYM: APPS.OKI_COV_PRD_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_COV_PRD_LINES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
APPS.OKI_REFRESH_PUB SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OKI_REFRESH_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_REFRESH_PUB, status:VALID,
-
SYNONYM: PUBLIC.DBA_TABLESPACES
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_TABLESPACES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.OKI_DISCO_UTIL_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKI_DISCO_UTIL_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_YRA_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_YRA_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_FBO_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_FBO_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_RBK_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_RBK_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_SGR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_SGR_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_ENR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_ENR_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_ETR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_ETR_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_RBS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_RBS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_OKV_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_OKV_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_RAG_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_RAG_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_WBC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_WBC_PVT, status:VALID,
-
SYNONYM: APPS.OKI_SALES_K_HDRS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_SALES_K_HDRS, status:VALID,
-
VIEW: APPS.OKI_SOLD_ITM_LINES_CPL_V
12.1.1
owner:APPS, object_type:VIEW, object_name:OKI_SOLD_ITM_LINES_CPL_V, status:VALID,
-
SYNONYM: APPS.OKC_K_VERS_NUMBERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_VERS_NUMBERS, status:VALID,
-
SYNONYM: APPS.OKC_OPERATION_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_OPERATION_LINES, status:VALID,
-
PACKAGE: APPS.FND_CONC_DATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_CONC_DATE, status:VALID,
-
SYNONYM: APPS.OKC_GOVERNANCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_GOVERNANCES, status:VALID,
-
SYNONYM: APPS.GL_DAILY_RATES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_DAILY_RATES, status:VALID,
-
SYNONYM: APPS.OKC_K_REL_OBJS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_REL_OBJS, status:VALID,
-
SYNONYM: APPS.OKS_K_HEADERS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_K_HEADERS_B, status:VALID,
-
SYNONYM: PUBLIC.ALL_INDEXES
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:ALL_INDEXES, status:VALID,
-
TABLE: OKI.OKI_REFRESHS
12.1.1
owner:OKI, object_type:TABLE, fnd_design_data:OKI.OKI_REFRESHS, object_name:OKI_REFRESHS, status:VALID,
-
SYNONYM: APPS.OKS_K_LINES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_K_LINES_B, status:VALID,
-
SYNONYM: APPS.OKC_CONTACTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_CONTACTS, status:VALID,
-
PACKAGE: APPS.OKI_REFRESH_PVT
12.1.1
-
SYNONYM: PUBLIC.DBA_USERS
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_USERS, status:VALID,
-
VIEW: APPS.OKX_ORDER_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_ORDER_HEADERS_V, object_name:OKX_ORDER_HEADERS_V, status:VALID,
-
SYNONYM: APPS.OKC_STATUSES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_STATUSES_B, status:VALID,
-
SYNONYM: APPS.OKC_K_ITEMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ITEMS, status:VALID,
-
SYNONYM: APPS.OKC_K_PARTY_ROLES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_PARTY_ROLES_B, status:VALID,
-
PACKAGE: APPS.FND_STATS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_STATS, status:VALID,
-
APPS.OKI_REFRESH_PUB dependencies on OKI_REFRESH_PVT
12.1.1
-
PACKAGE BODY: APPS.OKI_REFRESH_PUB
12.1.1
-
APPS.OKI_LOAD_RBS_PVT dependencies on OKI_REFRESH_PVT
12.1.1
-
APPS.OKI_LOAD_YRA_PVT dependencies on OKI_REFRESH_PVT
12.1.1