Results for “fte_load_history”

8 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

FTE_LOAD_HISTORY is a Transportation Execution (FTE) table within Oracle E-Business Suite that stores the action history for shipments. Each row captures a discrete event or action applied to a load, providing an auditable chronological trail of how a given shipment or load schedule progressed through the transportation lifecycle. In releases 12.1.1 and 12.2.2, the table resides in the FTE product schema and serves as the historical companion to the operational load tables, allowing users to reconstruct the sequence and timing of actions performed against a load without relying solely on transactional records.

Based on the foreign key structure mined from the metadata, the heuristic Data Vault classification for this object is a link. Conceptually, FTE_LOAD_HISTORY functions as an associative record that connects loads and load schedules to the actions and timestamps that describe their evolution. This classification is a modeling suggestion rather than a physical constraint; the table is implemented as a conventional relational structure with a composite primary key.

Key Information Stored

The table is defined by the primary key constraint FTE_LOAD_HISTORY_PK, which is composed of the columns LOAD_ID, ACTION_DATE, and ACTION. The most significant columns are:

  • LOAD_ID — Identifies the load to which the historical action belongs. It is part of the composite primary key and is a foreign key to FTE_LOAD_HEADERS.
  • ACTION_DATE — The timestamp indicating when the action occurred. It participates in the primary key, ensuring that multiple actions on the same load are uniquely sequenced by time.
  • ACTION — The code or label describing the action performed against the load (for example, creation, update, or status change). It is the third component of the primary key.
  • LOAD_SCHEDULE_ID — A foreign key referencing FTE_LOAD_SCHEDULES, linking the history record to a specific load schedule where applicable.

The composite nature of the primary key means that no single column can serve as a surrogate identifier in the conventional sense; instead, LOAD_ID and LOAD_SCHEDULE_ID are the business-key candidates that relate the history to its parent operational records, while ACTION_DATE and ACTION together provide the temporal and semantic qualification of each event. Because the primary key spans three columns, uniqueness is enforced at the granularity of load, moment in time, and action type.

The metadata notes that the table is not implemented in the database from which the documentation was sourced. This indicates that in some environment configurations the table may be absent or populated only when the associated FTE functionality is active.

Common Use Cases and Queries

Typical reporting scenarios include reconstructing the audit trail for a shipment, identifying when a particular action was taken, and comparing the timeline of activities across loads. A common query pattern retrieves the chronological history for a single load:

  • SELECT h.LOAD_ID, h.ACTION_DATE, h.ACTION FROM FTE_LOAD_HISTORY h WHERE h.LOAD_ID = :p_load_id ORDER BY h.ACTION_DATE ASC;
  • Join to FTE_LOAD_HEADERS to enrich history rows with shipment-level attributes: SELECT l.LOAD_ID, l.*, h.ACTION_DATE, h.ACTION FROM FTE_LOAD_HEADERS l, FTE_LOAD_HISTORY h WHERE l.LOAD_ID = h.LOAD_ID ORDER BY h.ACTION_DATE DESC;
  • Aggregate action frequency by period for operational monitoring: SELECT ACTION, TRUNC(ACTION_DATE) ACTION_DAY, COUNT(*) FROM FTE_LOAD_HISTORY GROUP BY ACTION, TRUNC(ACTION_DATE) ORDER BY ACTION_DAY;

These access paths benefit from the primary key ordering by LOAD_ID and ACTION_DATE, which supports range scans by load and by time window.

Related Objects

The table participates in two documented foreign key relationships that define its place in the FTE schema:

  • FTE_LOAD_HEADERS — joined on LOAD_ID; the parent object holding load-level shipment details.
  • FTE_LOAD_SCHEDULES — joined on LOAD_SCHEDULE_ID; the parent object holding schedule-level details.

Additional FTE objects that reference or depend on this table should be confirmed against the specific 12.1.1 or 12.2.2 instance, given the metadata note that the table was not implemented in the source database. In practice, FTE_LOAD_HISTORY is consumed alongside FTE_LOAD_HEADERS and FTE_LOAD_SCHEDULES for audit, tracking, and transportation reporting purposes.