Results for “automatic_discount_flag”

30 results




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

Overview

SO_DISCOUNTS is a foundational table in the Oracle E-Business Suite (EBS) Order Entry (OE) module, residing in the OE schema. It stores the master discount definitions that drive price adjustments across pricing, quoting, and order management flows. Each row represents a named discount — qualifying customers and items, then applying either a percentage or an absolute amount off the list price. Its persistent role as the foreign-key target for price adjustments and discount qualifications makes it the anchor of the discount configuration model in both 12.1.1 and 12.2.2.

From a Data Vault modeling perspective, the mined FK structure suggests SO_DISCOUNTS is hub-leaning: its primary key DISCOUNT_ID is a stable business key referenced by many dependent tables, while descriptive columns such as NAME, PERCENT, and AMOUNT behave satellite-like. Analysts designing a warehouse should treat DISCOUNT_ID as a hub key and separate the descriptive and foreign-key narrative into satellites and links.

Key Information Stored

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

Common Use Cases and Queries

Typical usage centers on reviewing active discount definitions, auditing pricing configuration, and reconciling applied adjustments back to their source. Common patterns include:

  • Listing currently active discounts on a price list:
    SELECT discount_id, name, discount_type_code, percent, amount
    FROM   oe.so_discounts
    WHERE  price_list_id = :p_price_list_id
    AND    TRUNC(SYSDATE) BETWEEN start_date_active AND NVL(end_date_active, SYSDATE);
  • Identifying automatic versus manually applied discounts:
    SELECT name, automatic_discount_flag, manual_pricing_discount_flag, override_allowed_flag
    FROM   oe.so_discounts
    WHERE  automatic_discount_flag = 'Y';
  • Auditing created/updated discounts by concurrent request for troubleshooting:
    SELECT discount_id, name, request_id, last_update_date, last_updated_by
    FROM   oe.so_discounts
    ORDER  BY last_update_date DESC;
  • Reporting with price list context via join to SO_PRICE_LISTS_B on price_list_id.

These queries support pricing configuration reviews, discount effectiveness reporting, and post-implementation validation.

Related Objects

SO_DISCOUNTS participates in a broad relationship graph. The most significant dependents and references are:

Collectively these relationships confirm SO_DISCOUNTS as the central hub for discount definitions underpinning pricing, quoting, and service contract flows in Oracle EBS.