Search Results ozf_resale_batch_line_maps_all




Overview

OZF_RESALE_BATCH_LINE_MAPS_ALL is a Trade Management (OZF) transactional table within the Oracle E-Business Suite 12.1.1 and 12.2.2 data model. Its documented purpose is to store the mappings between a resale batch header and the individual resale order lines that were submitted together with that batch. In effect, it functions as a resolution table that links one batch record to one or more resale lines, enabling downstream processing, reconciliation, and reporting of batch submissions at line-level granularity.

From a heuristic Data Vault modeling perspective, the FK structure supplied in the ETRM metadata suggests this object is best classified as a link table. It carries no descriptive payload columns beyond the standard who-columns and a small set of descriptive flexfield attributes, and its principal identity is a surrogate key resolving the relationship between two business entities. The "ALL" suffix denotes an org-striped table; the presence of ORG_ID alongside SECURITY_GROUP_ID indicates that multi-org and multi-tenant access controls are applied at row level.

Key Information Stored

Common Use Cases and Queries

The most frequent use of this table is to answer the question "which resale lines were included in a given batch?" and its converse "which batch processed a given resale line?". A typical reporting query joins the mapping to both parents:

  • Batch-to-line explosion: SELECT m.RESALE_BATCH_ID, m.RESALE_LINE_ID FROM OZF_RESALE_BATCH_LINE_MAPS_ALL m WHERE m.RESALE_BATCH_ID = :batch_id.
  • Line-to-batch lookup: filter on RESALE_LINE_ID to determine the governing batch, useful when reconciling resale accruals or claims back to a submission run.
  • Financial reconciliation: joining to OZF_RESALE_LINES_ALL and the batch header to compare expected versus submitted line amounts per operating unit, filtered on ORG_ID.
  • Audit and troubleshooting: filtering on REQUEST_ID or PROGRAM_ID to trace which concurrent program created or refreshed a mapping set, and reviewing CREATED_BY / LAST_UPDATED_BY for change history.
  • Data security verification: joining to FND_SECURITY_GROUPS via SECURITY_GROUP_ID to confirm rows are visible only to authorized responsibility or security profiles.

Related Objects

  • OZF_RESALE_BATCHES_ALL — Parent batch header table; joined on RESALE_BATCH_ID = OZF_RESALE_BATCHES_ALL.RESALE_BATCH_ID.
  • OZF_RESALE_LINES_ALL — Parent resale line table; joined on RESALE_LINE_ID = OZF_RESALE_LINES_ALL.RESALE_LINE_ID.
  • FND_SECURITY_GROUPS — Referenced by SECURITY_GROUP_ID for row-level security.
  • OZF_RESALE_BATCH_LINE_MAPS_PK — Primary key constraint on RESALE_BATCH_LINE_MAP_ID.
  • OZF_RESALE_LINE_MAPS_ALL_U1 — Unique index supporting the surrogate key.