Search Results ozf_resale_common_pvt
Overview
OZF_TP_ACCRUAL_PVT is an Oracle EBS Trade Management (formerly Oracle Trade Management / OZF schema) private PL/SQL package owned by the APPS schema. It belongs to the ETRM (Enterprise Trade Revenue Management) family of seeded application code and carries the standard _PVT suffix, indicating that it is an internal helper package meant to be called only by sibling public packages rather than directly by external code. Its central responsibility is trade promotion (TP) accrual processing: it validates accrual-related transaction records, computes accrual entries, and drives the end-to-end processing of accruals and resale adjustments tied to trade promotion offers, funds, and resale batches.
The package is documented as VALID and is referenced by three other seeded packages — OZF_FUND_UTILIZED_PVT, OZF_RESALE_COMMON_PVT (appearing twice), and OZF_RESALE_PVT — confirming that it is a low-level building block inside the accrual and resale processing chain rather than a top-level entry point.
Key Procedures and Functions
The ETRM 12.2.2 metadata documents five procedures/functions:
- VALIDATE_ORDER_RECORD — Performs record-level validation on order data before accrual processing proceeds, ensuring that the order information required for a valid accrual is present and consistent.
- PROCESS_ORDER — Drives order-level accrual processing, taking validated order records through the accrual calculation logic.
- PROCESS_RESALE — Handles the resale-related portion of accrual processing, operating against the resale batch and resale adjustment structures.
- PROCESS_TP_ACCRUAL — The core routine that performs trade promotion accrual processing, applying accrual rules to the related offer/fund/order data.
- START_TP_ACCRUAL — The orchestration entry point that initiates a trade promotion accrual run and sequences the other processing steps.
The order of invocation typically follows START_TP_ACCRUAL → VALIDATE_ORDER_RECORD / PROCESS_ORDER → PROCESS_TP_ACCRUAL → PROCESS_RESALE. Parameter lists are not documented in the metadata and are intentionally omitted here.
Tables Accessed
The package references several application tables via APPS synonyms, notably:
- OZF_RESALE_BATCHES_ALL, OZF_RESALE_BATCHES, OZF_RESALE_BATCHES_ALL_S, OZF_RESALE_BATCH_NUMBER_S — resale batch headers and their sequence/line-number generators.
- OZF_RESALE_BATCH_LINE_MAPS_ALL — mapping of resale batch lines to their source transaction lines.
- OZF_RESALE_ADJUSTMENTS, OZF_RESALE_ADJUSTMENTS_ALL — resale adjustment records generated or updated during accrual.
- OZF_RESALE_DRAFT_LOGS_ALL — logging of resale draft activity.
- OZF_FUNDS_UTILIZED_DRAFT_ALL, OZF_DRAFT_RUN_S — fund utilization draft data and draft run identifiers, used to stage accrual results.
- OZF_OFFERS, OZF_OFFER_ADJ_RLTD_LINES — the trade promotion offer and its associated adjustment-related lines.
- HZ_CUST_ACCOUNTS, HZ_CUST_ACCT_SITES, HZ_PARTIES — customer/party data relied upon to validate and attribute accruals to the correct trading partners.
Usage Notes
Because OZF_TP_ACCRUAL_PVT is a private (_PVT) package, it should never be invoked directly from customer forms, concurrent programs, or custom code. It is exercised internally by seeded public packages such as OZF_RESALE_PVT, OZF_RESALE_COMMON_PVT, and OZF_FUND_UTILIZED_PVT. In practice, accrual processing is triggered through the Trade Management accrual concurrent program or via the resale/offer UI actions, and those entry points ultimately call this package. The metadata shows the search term "ozf_resale_common_pvt" is a sibling caller, reinforcing that OZF_TP_ACCRUAL_PVT is a dependency in the resale/common processing path rather than a standalone API. Custom code should target the documented public packages, not this private package.
-
SYNONYM: APPS.OZF_RESALE_LINES_INT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_LINES_INT, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_BATCHES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_BATCHES, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_ADJUSTMENTS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_ADJUSTMENTS_ALL, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_HEADERS, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_LOGS_ALL_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_LOGS_ALL_S, status:VALID,
-
PACKAGE: APPS.OZF_TP_ACCRUAL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OZF_TP_ACCRUAL_PVT, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_LINES, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_LOGS_ALL_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_LOGS_ALL_S, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_ADJUSTMENTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_ADJUSTMENTS_ALL, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_LINES, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_BATCHES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_BATCHES, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_HEADERS, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_LINES_INT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_LINES_INT, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_BATCHES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_BATCHES_ALL, status:VALID,
-
PACKAGE: APPS.OZF_SALES_TRANSACTIONS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OZF_SALES_TRANSACTIONS_PVT, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_LINES_INT_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_LINES_INT_ALL, status:VALID,
-
PACKAGE BODY: APPS.OZF_RESALE_COMMON_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_RESALE_COMMON_PVT, status:VALID,
-
PACKAGE: APPS.OZF_SALES_TRANSACTIONS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OZF_SALES_TRANSACTIONS_PVT, status:VALID,
-
PACKAGE: APPS.OZF_RESALE_COMMON_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OZF_RESALE_COMMON_PVT, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_BATCHES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_BATCHES_ALL, status:VALID,
-
PACKAGE: APPS.OZF_FUNDS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OZF_FUNDS_PVT, status:VALID,
-
SYNONYM: APPS.OZF_SYS_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_SYS_PARAMETERS, status:VALID,
-
SYNONYM: APPS.OZF_SYS_PARAMETERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_SYS_PARAMETERS, status:VALID,
-
PACKAGE: APPS.OZF_ACTBUDGETS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OZF_ACTBUDGETS_PVT, status:VALID,
-
PACKAGE: APPS.OZF_RESALE_COMMON_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OZF_RESALE_COMMON_PVT, status:VALID,
-
PACKAGE: APPS.OZF_ACTBUDGETS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OZF_ACTBUDGETS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_RESALE_COMMON_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_RESALE_COMMON_PVT, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_BATCH_LINE_MAP_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_BATCH_LINE_MAP_S, status:VALID,
-
SYNONYM: APPS.OZF_ACT_BUDGETS_INT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_ACT_BUDGETS_INT, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_BATCH_LINE_MAPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_BATCH_LINE_MAPS, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_HEADERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_HEADERS_ALL, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_BATCH_LINE_MAPS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_BATCH_LINE_MAPS_ALL, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_ADJUSTMENTS_ALL_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_ADJUSTMENTS_ALL_S, status:VALID,
-
SYNONYM: APPS.OZF_FUNDS_UTILIZED_DRAFT_ALL_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_FUNDS_UTILIZED_DRAFT_ALL_S, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_ADJUSTMENTS_ALL_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_ADJUSTMENTS_ALL_S, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_LINES_ALL_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_LINES_ALL_S, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_HEADERS_ALL_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_HEADERS_ALL_S, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_LOGS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_LOGS_ALL, status:VALID,
-
SYNONYM: APPS.OZF_VOLUME_SUMMARY_INT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_VOLUME_SUMMARY_INT, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_LINES_ALL_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_LINES_ALL_S, status:VALID,
-
PACKAGE: APPS.OZF_RESALE_HEADERS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OZF_RESALE_HEADERS_PKG, status:VALID,
-
PACKAGE: APPS.OZF_RESALE_BATCH_LINE_MAPS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OZF_RESALE_BATCH_LINE_MAPS_PKG, status:VALID,
-
PACKAGE: APPS.OZF_RESALE_ADJUSTMENTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OZF_RESALE_ADJUSTMENTS_PKG, status:VALID,
-
PACKAGE: APPS.OZF_OBJFUNDSUM_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OZF_OBJFUNDSUM_PVT, status:VALID,
-
SYNONYM: APPS.OZF_VOLUME_SUMMARY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_VOLUME_SUMMARY, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_LOGS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_LOGS, status:VALID,
-
PACKAGE BODY: APPS.OZF_RESALE_LOGS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_RESALE_LOGS_PKG, status:VALID,
-
PACKAGE: APPS.OZF_RESALE_LINES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OZF_RESALE_LINES_PKG, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_HEADERS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_HEADERS_ALL, status:VALID,
-
SYNONYM: APPS.OZF_RESALE_HEADERS_ALL_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_RESALE_HEADERS_ALL_S, status:VALID,