Results for “charge_source_code”

2 results




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

Overview

FTE_FREIGHT_COSTS_TEMP is a transient staging table within the Oracle E-Business Suite Transportation Execution (FTE) module. It stores temporary freight cost records produced during rating and freight estimation processes before those records are validated, reviewed, or promoted into permanent freight cost storage. The table exists primarily to support rating estimates — the speculative calculation of charges against trips, stops, delivery legs, and lanes — without immediately committing those results to the transactional freight cost tables. The MOVED_TO_MAIN_FLAG column explicitly signals whether a given estimate has been transferred to the permanent freight cost repository.

The ETRM metadata does not assign a formal Data Vault classification to this table; a heuristic reading suggests a satellite-style modeling pattern, since the object is keyed by a single surrogate identifier (FREIGHT_COST_ID) and carries descriptive, measurable attributes tied to a parent business process rather than serving as a pure hub or link.

Key Information Stored

The table contains 59 documented columns. The most operationally significant are:

Common Use Cases and Queries

A frequent scenario is retrieving the full rating estimate set for a comparison request to validate rates before promotion to main freight cost tables:

SELECT f.FREIGHT_COST_ID, f.FREIGHT_COST_TYPE_ID,
       f.UNIT_AMOUNT, f.TOTAL_AMOUNT, f.CURRENCY_CODE,
       f.ESTIMATED_FLAG, f.MOVED_TO_MAIN_FLAG
FROM   FTE.FTE_FREIGHT_COSTS_TEMP f
WHERE  f.COMPARISON_REQUEST_ID = :p_comparison_request_id
AND    f.MOVED_TO_MAIN_FLAG = 'N';

Another common query joins the template to the lane definition to analyse rate competitiveness across corridors:

SELECT l.LANE_NAME, SUM(f.TOTAL_AMOUNT) AS estimated_cost
FROM   FTE.FTE_FREIGHT_COSTS_TEMP f,
       FTE.FTE_LANES l
WHERE  f.LANE_ID = l.LANE_ID
GROUP  BY l.LANE_NAME;

Because the table is transient, purge or archival reporting is also typical: identifying stale estimate rows by CREATION_DATE for cleanup to avoid unbounded growth.

Related Objects

  • WSH_FREIGHT_COST_TYPES — joined via FREIGHT_COST_TYPE_ID to resolve charge type descriptions.
  • WSH_TRIPS — joined via TRIP_ID to associate estimates with the parent trip.
  • WSH_TRIP_STOPS — joined via STOP_ID to attribute costs to individual stops.
  • WSH_DELIVERY_LEGS — joined via DELIVERY_LEG_ID for leg-level costing.
  • FTE_LANES — joined via LANE_ID to link estimates to predefined transportation lanes.
  • FTE_FREIGHT_COSTS (conceptual) — the permanent destination referenced conceptually via MOVED_TO_MAIN_FLAG.