Search Results oks_pm_entitlements_pvt
Overview
The OKS_PM_ENTITLEMENTS_PVT package is a private PL/SQL API within the Oracle E-Business Suite Service (OKS) module, classified under the APPS schema as a PVT (private) API. Its principal business function is to expose preventive maintenance (PM) entitlement information to callers, bridging service contract data held in the OKC contract schema with the service entitlement logic maintained in OKS. In practical terms, the package resolves, for a given service contract or customer, which preventive maintenance activities and schedules a product or customer is entitled to receive, and it formats that information for downstream presentation.
Because this is a private package, it is not intended to be called directly by external integrators. It exists as an internal implementation layer supporting the public counterpart OKS_PM_ENTITLEMENTS_PUB, which is the only documented object that references this package. The package is marked VALID and depends on several foundational APIs, including FND_API (for the standard EBS API return-status conventions), OKC_API (contract authoring operations), and OKS_ENTITLEMENTS_PUB and OKS_ENTITLEMENTS_PVT for entitlement processing.
Key Procedures and Functions
The documented package exposes six procedures and functions. Descriptions follow from their names and the ETRM metadata; no parameter signatures are asserted.
- GET_PMCONTRACTS_02_FORMAT — Returns preventive maintenance contract information in a presentation-ready layout. It likely wraps or reformats the data produced by GET_PMCONTRACTS_02 for consumption by a form, OAF page, or reporting layer.
- GET_PMCONTRACTS_02 — Retrieves the set of PM contracts associated with a given context. The "_02" suffix suggests a versioned variant retained for backward compatibility, a common pattern in OKS APIs.
- GET_PM_CONTRACTS — The general-purpose accessor that returns preventive maintenance contract records for a customer, product, or entitlement context.
- GET_PM_SCHEDULE — Returns the preventive maintenance schedule (due dates, frequencies, and planned PM visits) derived from the underlying OKS_PM_SCHEDULES data.
- GET_PM_CONFIRMATION — Confirms PM entitlement, returning whether a specific PM service or activity is covered under an existing service contract.
- CHECK_PM_EXISTS — A Boolean-style existence check that indicates whether any PM entitlement or PM activity exists for the supplied criteria, typically used to gate further processing.
Tables Accessed
The package references core service contract and status tables through APPS synonyms, reflecting its hybrid contract-plus-entitlement role:
- OKC_K_HEADERS_B / OKC_K_HEADERS_ALL_B — Contract headers, providing the parent contract identity and version.
- OKC_K_ITEMS, OKC_K_LINES_B — Contract line and item data identifying the covered products or services.
- OKC_K_PARTY_ROLES_B — Contract party roles, used to resolve the customer or covered party.
- OKC_STATUSES_B — Contract statuses, ensuring only active/valid contracts are considered.
- OKS_K_LINES_B — The service-specific extension of contract lines that carries entitlement attributes.
- OKS_PM_ACTIVITIES, OKS_PM_SCHEDULES — The preventive maintenance activity definitions and generated schedules.
- PLITBLM — A standard Oracle EBS PL/SQL index-by table of varchar2 used for passing lists/collections between procedures.
Usage Notes
OKS_PM_ENTITLEMENTS_PVT is normally invoked indirectly. The documented reference graph shows it is called by OKS_PM_ENTITLEMENTS_PUB, which is the sanctioned entry point for forms, OAF-based service pages, concurrent programs, and custom code that need PM entitlement data. It in turn calls OKS_ENTITLEMENTS_PVT and OKS_ENTITLEMENTS_PUB to layer entitlement resolution over the raw contract data.
Typical invocation scenarios include the Service Contracts and Preventive Maintenance forms, service workbench entitlement lookups, and concurrent programs that regenerate PM schedules against active contracts. Applications developers should not call this private package directly; because PVT packages carry no backward-compatibility guarantee, direct dependencies risk breakage during patching or upgrades between 12.1.1 and 12.2.2. When integrating PM entitlement logic, use the public wrapper and observe the FND_API return-status convention.
-
PACKAGE: APPS.OKS_PM_ENTITLEMENTS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_PM_ENTITLEMENTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_PM_ENTITLEMENTS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_PM_ENTITLEMENTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_PM_ENTITLEMENTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_PM_ENTITLEMENTS_PVT, status:VALID,
-
PACKAGE: APPS.OKS_ENTITLEMENTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_ENTITLEMENTS_PVT, status:VALID,
-
PACKAGE: APPS.OKS_ENTITLEMENTS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_ENTITLEMENTS_PVT, status:VALID,
-
PACKAGE: APPS.OKS_PM_ENTITLEMENTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_PM_ENTITLEMENTS_PVT, status:VALID,
-
PACKAGE: APPS.OKS_PM_ENTITLEMENTS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_PM_ENTITLEMENTS_PUB, status:VALID,
-
PACKAGE: APPS.OKS_PM_ENTITLEMENTS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_PM_ENTITLEMENTS_PUB, status:VALID,
-
PACKAGE: APPS.OKS_ENTITLEMENTS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_ENTITLEMENTS_PUB, status:VALID,
-
PACKAGE: APPS.OKS_ENTITLEMENTS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_ENTITLEMENTS_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKS_PM_ENTITLEMENTS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_PM_ENTITLEMENTS_PUB, status:VALID,
-
SYNONYM: APPS.OKS_PM_ACTIVITIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_PM_ACTIVITIES, status:VALID,
-
SYNONYM: APPS.OKS_PM_ACTIVITIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_PM_ACTIVITIES, status:VALID,
-
PACKAGE BODY: APPS.OKS_PM_ENTITLEMENTS_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_PM_ENTITLEMENTS_PUB, status:VALID,
-
SYNONYM: APPS.OKS_PM_SCHEDULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_PM_SCHEDULES, status:VALID,
-
SYNONYM: APPS.OKS_PM_SCHEDULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_PM_SCHEDULES, status:VALID,
-
PACKAGE: APPS.OKS_PM_ENTITLEMENTS_PVT
12.2.2
-
PACKAGE: APPS.OKS_PM_ENTITLEMENTS_PVT
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.OKS_K_LINES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_K_LINES_B, 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_K_ITEMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ITEMS, status:VALID,
-
SYNONYM: APPS.OKC_K_ITEMS
12.2.2
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,
-
SYNONYM: APPS.OKC_K_PARTY_ROLES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_PARTY_ROLES_B, 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_STATUSES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_STATUSES_B, 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,
-
SYNONYM: APPS.OKC_K_HEADERS_ALL_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_ALL_B, status:VALID,
-
APPS.OKS_PM_ENTITLEMENTS_PVT dependencies on OKS_PM_ENTITLEMENTS_PVT
12.1.1
-
APPS.OKS_PM_ENTITLEMENTS_PUB dependencies on OKS_PM_ENTITLEMENTS_PVT
12.2.2
-
APPS.OKS_PM_ENTITLEMENTS_PUB dependencies on OKS_PM_ENTITLEMENTS_PVT
12.1.1
-
APPS.OKS_PM_ENTITLEMENTS_PVT dependencies on OKS_PM_ENTITLEMENTS_PVT
12.2.2
-
SYNONYM: APPS.OKC_K_LINES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_LINES_B, status:VALID,
-
SYNONYM: APPS.OKC_K_LINES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_LINES_B, status:VALID,
-
SYNONYM: APPS.OKC_K_HEADERS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_B, status:VALID,
-
SYNONYM: APPS.OKC_K_HEADERS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_B, status:VALID,
-
PACKAGE BODY: APPS.OKS_PM_ENTITLEMENTS_PVT
12.2.2
-
PACKAGE BODY: APPS.OKS_PM_ENTITLEMENTS_PVT
12.1.1
-
PACKAGE: APPS.OKC_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_API, status:VALID,
-
PACKAGE: APPS.OKC_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_API, status:VALID,
-
APPS.OKS_PM_ENTITLEMENTS_PVT dependencies on OKS_ENTITLEMENTS_PVT
12.2.2
-
APPS.OKS_PM_ENTITLEMENTS_PVT dependencies on OKS_ENTITLEMENTS_PVT
12.1.1
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.2.2
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,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,