Search Results oki_load_terr_pvt
Overview
OKI_LOAD_TERR_PVT is a private PL/SQL package in the APPS schema that supports Oracle E-Business Suite's Contract Intelligence / Entitlements (OKI/OKC) territory loading infrastructure. Its business purpose is to populate and maintain the JTF territory tables (OKI_JTF_TERRITORIES and its staging counterpart) by deriving territory assignments from the underlying contract, party, and organization data held in the OKC and HR/HZ schemas. The package effectively bridges contract header, party role, and version number data with territory definitions, enabling downstream entitlement and coverage processing that depends on accurate territory membership.
The package carries the PVT (private) API classification, meaning it is an internal implementation package not intended as a public integration point. It is supported and valid in both EBS 12.1.1 and 12.2.2, and depends on SYS.STANDARD as its only listed external dependency at the package level. It is referenced by no other documented packages, confirming its role as a leaf-level worker package invoked by concurrent processing rather than by other PL/SQL APIs.
Key Procedures and Functions
The ETRM metadata documents four procedures:
- INITIAL_LOAD — Performs the full (first-time) load of territory data. It is the entry point for seeding the territory tables from the complete set of qualifying contract and party records.
- INCR_LOAD — Performs an incremental load, processing only records changed since the prior load cycle. This supports ongoing synchronization without rebuilding the full territory set.
- WORKER — The internal worker routine that performs the row-level processing for territories. Both INITIAL_LOAD and INCR_LOAD delegate the bulk of their work to WORKER, consistent with the standard worker/manager concurrency pattern used across EBS batch infrastructure.
- LOAD_JTF_TERR — Loads the JTF territory records themselves, transferring staged territory rows into the target territory table used by JTF-based territory functionality.
No parameter lists are documented, and none are assumed here.
Tables Accessed
The package references the following objects via APPS synonyms:
- OKC_K_HEADERS_ALL_B — contract headers, the primary source of contracts that participate in territory derivation.
- OKC_K_PARTY_ROLES_B and OKC_K_VERS_NUMBERS — contract party roles and version numbers, used to resolve the parties associated with each contract.
- OKC_STATUSES_B — contract status lookup, used to filter to active/qualifying contracts.
- HZ_PARTIES — party master data, supplying the party identifiers tied to territories.
- HR_ALL_ORGANIZATION_UNITS — organization unit definitions used for organizational territory mapping.
- OKI_JTF_TERRITORIES_STG — the staging table where derived territory rows are assembled before promotion.
- OKI_JTF_TERRITORIES — the target territory table populated by the load.
- OKI_DBI_WORKER_STATUS — worker tracking table recording batch progress and status.
- DBMS_LOCK — used to serialize concurrent load invocations.
- PLITBLM — PL/SQL table management utility used for in-memory collections during processing.
Usage Notes
OKI_LOAD_TERR_PVT is a private package and is not part of the supported public API surface. It is normally invoked indirectly, typically from a concurrent program or a higher-level manager process that drives INITIAL_LOAD for a full refresh or INCR_LOAD for periodic incremental synchronization. The WORKER procedure is called internally by those entry points and is not intended for direct invocation. Because the package acquires locks via DBMS_LOCK and writes worker status into OKI_DBI_WORKER_STATUS, concurrent execution against the same territory set should be avoided. Custom code should not call this package directly; integrations requiring territory data should consume the resulting OKI_JTF_TERRITORIES records instead.
-
PACKAGE: APPS.OKI_LOAD_TERR_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKI_LOAD_TERR_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_TERR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_TERR_PVT, status:VALID,
-
SYNONYM: APPS.OKI_JTF_TERRITORIES_STG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_JTF_TERRITORIES_STG, status:VALID,
-
SYNONYM: APPS.OKI_DBI_WORKER_STATUS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_DBI_WORKER_STATUS, status:VALID,
-
SYNONYM: APPS.OKI_JTF_TERRITORIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_JTF_TERRITORIES, status:VALID,
-
PACKAGE: APPS.OKI_LOAD_TERR_PVT
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_CONC_DATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_CONC_DATE, status:VALID,
-
PACKAGE: APPS.JTF_TERR_ASSIGN_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JTF_TERR_ASSIGN_PUB, status:VALID,
-
SYNONYM: APPS.OKC_K_VERS_NUMBERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_VERS_NUMBERS, status:VALID,
-
TYPE: APPS.JTF_TERR_NUMBER_LIST
12.1.1
owner:APPS, object_type:TYPE, object_name:JTF_TERR_NUMBER_LIST, status:VALID,
-
TYPE: APPS.JTF_TERR_CHAR_360LIST
12.1.1
owner:APPS, object_type:TYPE, object_name:JTF_TERR_CHAR_360LIST, status:VALID,
-
SYNONYM: APPS.OKC_STATUSES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_STATUSES_B, status:VALID,
-
PACKAGE: APPS.BIS_COLLECTION_UTILITIES
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BIS_COLLECTION_UTILITIES, status:VALID,
-
SYNONYM: APPS.OKC_K_HEADERS_ALL_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_ALL_B, status:VALID,
-
PACKAGE: APPS.BIS_COMMON_PARAMETERS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BIS_COMMON_PARAMETERS, status:VALID,
-
SYNONYM: PUBLIC.DBMS_LOCK
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_LOCK, 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_LOAD_TERR_PVT dependencies on OKI_LOAD_TERR_PVT
12.1.1
-
PACKAGE BODY: APPS.OKI_LOAD_TERR_PVT
12.1.1
-
VIEW: APPS.HR_LOCATIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOCATIONS, object_name:HR_LOCATIONS, status:VALID,
-
PACKAGE: APPS.FND_INSTALLATION
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_INSTALLATION, status:VALID,
-
APPS.OKI_LOAD_TERR_PVT dependencies on FND_FILE
12.1.1
-
PACKAGE: APPS.FND_REQUEST
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_REQUEST, status:VALID,
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS, status:VALID,
-
SYNONYM: APPS.HZ_PARTIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
PACKAGE: APPS.FND_DATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_DATE, status:VALID,
-
PACKAGE: SYS.DBMS_STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_STANDARD, status:VALID,
-
PACKAGE: APPS.FND_FILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_FILE, status:VALID,
-
PACKAGE: APPS.OKC_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_API, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,