Search Results active_from_date




Overview

The view EDW_BIM_SCHN_SLSCHN_LTC_IV is a warehouse-layer construct belonging to the BIS (Business Intelligence System) product family in Oracle E-Business Suite. Its naming convention follows the Oracle EBS EDW staging standard: the EDW_ prefix denotes the Enterprise Data Warehouse staging area, BIM indicates the Business Intelligence module context, SCHN and SLSCHN identify the sales channel dimension, and the LTC_IV suffix denotes a "latest changed" incremental view used to feed dimension loading processes.

The view presents a denormalized, change-tracking projection of sales channel records for consumption by ETL routines that populate the sales channel dimension in an Oracle Business Intelligence Applications (OBIA) or custom EDW target schema. Because sales channels in Oracle EBS can be re-enabled, renamed, or deactivated over time, the view exposes both surrogate and natural key columns alongside the effective-dating attributes required to construct slowly changing dimensions (SCD). The presence of ACTIVE_FROM_DATE and ACTIVE_TO_DATE — the columns most directly associated with the search term "active_to_date" — allows downstream processes to establish the validity window of each channel record and to detect the point at which a channel ceased to be active.

Per the ETRM metadata, this view is documented as not implemented in the current database. It exists in the ETRM repository as specification-level documentation, and its presence in a running environment depends on whether the corresponding BIS/EDW staging objects have been deployed.

Underlying Base Objects

The view is defined over a single documented base object, EDW_BIM_SCHN_SLSCHN_LTC. No additional referenced base objects are documented in the ETRM metadata. The view text performs a straight column projection from this source table, adding two synthetic columns: a literal ' ' aliased as OPERATION_CODE, and the row pseudocolumn ROWID aliased as ROW_ID.

The OPERATION_CODE placeholder column is a standard EDW pattern; it is populated by downstream incremental processing logic to flag whether a record represents an insert, update, or delete in the change feed. The ROW_ID column preserves the physical row identifier of the underlying EDW_BIM_SCHN_SLSCHN_LTC record, enabling precise targeting of source rows during subsequent processing. The _LTC suffix on the base table reinforces the "latest changed" semantics — the table is typically maintained by change-capture logic that retains only the most recent version of each sales channel record since the last extraction cycle.

Key Columns

The view exposes one or more of the following columns, each serving a defined role in dimension construction:

  • SCHANNEL_PK / SCHANNEL_PK_KEY — surrogate primary key of the sales channel and its corresponding warehouse key.
  • ALL_FK / ALL_FK_KEY — foreign key linking the channel to its parent dimension hierarchy (for example, an "All" or organization-level rollup).
  • SCHANNEL_DP — the data-processing or derivation column used to track record provenance.
  • SALES_CHANNEL_CODE / SALES_CHANNEL_NAME — the business natural key and descriptive label for the channel.
  • ENABLED_FLAG — indicates whether the channel is currently enabled in EBS.
  • ACTIVE_FROM_DATE / ACTIVE_TO_DATE — the effective-dating pair that defines the validity interval of the record. ACTIVE_TO_DATE is the high-water mark of the interval; a NULL or high-date sentinel typically indicates the record is the current, active version.
  • INSTANCE — identifies the source EBS instance for multi-instance consolidations.
  • CREATION_DATE / LAST_UPDATE_DATE — audit timestamps from the source record.
  • SCHANNEL_PK_ROWID — preserved row identifier from the primary sales channel table.
  • USER_ATTRIBUTE1–15 — flexfield-style descriptive attributes carried through for extensibility.
  • OPERATION_CODE / ROW_ID — synthetic columns added by the view for ETL control purposes.

Common Use Cases and Queries

The primary use case is incremental dimension loading. ETL jobs query the view to identify channels whose effective date range has closed, allowing the warehouse to expire the prior dimension row and insert the new version. A typical query retrieving currently active channels is:

SELECT SCHANNEL_PK_KEY,
       SALES_CHANNEL_CODE,
       SALES_CHANNEL_NAME,
       ACTIVE_FROM_DATE,
       ACTIVE_TO_DATE
FROM   EDW_BIM_SCHN_SLSCHN_LTC_IV
WHERE  ENABLED_FLAG = 'Y'
AND    (ACTIVE_TO_DATE IS NULL OR ACTIVE_TO_DATE > SYSDATE);

A second pattern identifies records that have transitioned out of the active window since the last load, driving the SCD expiration step:

SELECT SCHANNEL_PK_KEY,
       ACTIVE_TO_DATE,
       OPERATION_CODE,
       ROW_ID
FROM   EDW_BIM_SCHN_SLSCHN_LTC_IV
WHERE  ACTIVE_TO_DATE <= SYSDATE
AND    ACTIVE_TO_DATE > SYSDATE - 1;

Because the metadata states the view is not implemented in this database, these queries should be validated against the deployed environment before being scheduled. Where implemented, the view is also suitable for data-quality reconciliation — comparing channel counts and effective-date ranges between the EBS source and the EDW target dimension to confirm that no validity intervals overlap and that ACTIVE_TO_DATE values are consistent with the successor record's ACTIVE_FROM_DATE.