Search Results so_discounts
Overview
The SO_DISCOUNTS table is a core data object within the Oracle E-Business Suite (EBS) Order Entry (OE) module. It serves as the master repository for defining discount rules that can be applied to sales orders for price adjustments. Its primary role is to store the definition and control parameters for discounts, which are then referenced during order pricing and invoicing processes to calculate final line or header-level price reductions. This table is integral to the pricing engine, enabling businesses to implement complex discounting strategies based on various criteria.
Key Information Stored
The table's structure is centered around a unique discount identifier and its association with a specific price list. Based on the documented primary and unique keys, the most critical columns are:
- DISCOUNT_ID: The primary key (PK) and unique identifier for each discount record.
- PRICE_LIST_ID: A foreign key linking the discount to a specific price list defined in the SO_PRICE_LISTS_B table. The combination of PRICE_LIST_ID and NAME forms a unique constraint (UK1), ensuring discount names are unique within a price list.
- NAME: The descriptive name of the discount as it appears within the application.
While the provided metadata does not list all columns, typical supplementary data in this table would include attributes such as discount type (percentage, fixed amount), start and end dates, calculation precedence, and activation status.
Common Use Cases and Queries
This table is central to pricing operations. A common use case is retrieving all active discounts available for a specific price list to display in a pricing engine or customer-facing application. For reporting, analysts often query this table to audit discount definitions and their usage. A typical SQL pattern involves joining with the price lists table and filtering by date and status.
SELECT d.name, d.discount_id, pl.name price_list
FROM oe.so_discounts d,
oe.so_price_lists_b pl
WHERE d.price_list_id = pl.price_list_id
AND SYSDATE BETWEEN d.start_date_active AND NVL(d.end_date_active, SYSDATE)
AND d.enabled_flag = 'Y';
Another critical use case is troubleshooting order pricing by tracing which discount rule (from SO_DISCOUNTS) was applied to a specific price adjustment recorded in the SO_PRICE_ADJUSTMENTS table.
Related Objects
The SO_DISCOUNTS table has defined relationships with several key transactional and setup tables in the Order Entry module, as documented by its foreign key constraints:
- SO_PRICE_LISTS_B: The parent table. A discount is defined for a specific price list via
SO_DISCOUNTS.PRICE_LIST_ID. - SO_DISCOUNT_CUSTOMERS: Stores customer-specific eligibility or overrides for discounts, linked by
DISCOUNT_ID. - SO_DISCOUNT_LINES_115: Likely holds detailed discount rules or qualifying conditions, linked by
DISCOUNT_ID. - SO_PRICE_ADJUSTMENTS: The primary transactional child table. Records the actual application of a discount to an order line, linked by
DISCOUNT_ID. - SO_PRICE_ADJUSTMENTS_INTERFACE: Used for importing price adjustments, linked by
DISCOUNT_ID.
These relationships underscore the table's position as a master definition, referenced throughout the discount setup, application, and transaction lifecycle.
-
Table: SO_DISCOUNTS
12.1.1
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_DISCOUNTS, object_name:SO_DISCOUNTS, status:VALID, product: OE - Order Entry , description: Discounts for use in price adjustments , implementation_dba_data: OE.SO_DISCOUNTS ,
-
Table: SO_DISCOUNTS
12.2.2
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_DISCOUNTS, object_name:SO_DISCOUNTS, status:VALID, product: OE - Order Entry , description: Discounts for use in price adjustments , implementation_dba_data: OE.SO_DISCOUNTS ,
-
APPS.QP_MODIFIER_UPGRADE_PVT dependencies on SO_DISCOUNTS
12.1.1
-
APPS.OE_LIN dependencies on SO_DISCOUNTS
12.1.1
-
APPS.OE_LIN dependencies on SO_DISCOUNTS
12.2.2
-
APPS.QP_MODIFIER_UPGRADE_PVT dependencies on SO_DISCOUNTS
12.2.2
-
View: OEFV_DISCOUNT_LINES
12.2.2
product: OE - Order Entry , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: OEFV_DISCOUNT_LINES
12.1.1
product: OE - Order Entry , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
SYNONYM: APPS.SO_DISCOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:SO_DISCOUNTS, status:VALID,
-
APPS.QP_MODIFIER_UPGRADE_PVT dependencies on QP_LIST_HEADERS_B
12.2.2
-
APPS.QP_MODIFIER_UPGRADE_PVT dependencies on QP_LIST_HEADERS_B
12.1.1
-
VIEW: OE.SO_DISCOUNTS#
12.2.2
owner:OE, object_type:VIEW, object_name:SO_DISCOUNTS#, status:VALID,
-
VIEW: APPS.SO_PRICE_ADJUSTMENTS_V
12.2.2
-
SYNONYM: APPS.SO_DISCOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:SO_DISCOUNTS, status:VALID,
-
VIEW: OE.SO_DISCOUNTS#
12.2.2
-
VIEW: APPS.CS_COVERAGE_TXN_GROUPS_V
12.1.1
-
VIEW: APPS.SO_MANUAL_DISCOUNTS_V
12.1.1
-
VIEW: APPS.SO_MANUAL_DISCOUNTS_V
12.2.2
-
VIEW: APPS.SO_PRICE_ADJUSTMENTS_V
12.1.1
-
Table: SO_PRICE_ADJUSTMENTS_INTERFACE
12.2.2
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_PRICE_ADJUSTMENTS_INTERFACE, object_name:SO_PRICE_ADJUSTMENTS_INTERFACE, status:VALID, product: OE - Order Entry , description: Imported price adjustments , implementation_dba_data: OE.SO_PRICE_ADJUSTMENTS_INTERFACE ,
-
Table: SO_PRICE_ADJUSTMENTS
12.1.1
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_PRICE_ADJUSTMENTS, object_name:SO_PRICE_ADJUSTMENTS, status:VALID, product: OE - Order Entry , description: Order and order line price adjustments , implementation_dba_data: OE.SO_PRICE_ADJUSTMENTS ,
-
Table: SO_DISCOUNT_LINES_115
12.2.2
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_DISCOUNT_LINES_115, object_name:SO_DISCOUNT_LINES_115, status:VALID, product: OE - Order Entry , description: Discounts for order lines , implementation_dba_data: OE.SO_DISCOUNT_LINES_115 ,
-
Table: SO_DISCOUNT_CUSTOMERS
12.1.1
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_DISCOUNT_CUSTOMERS, object_name:SO_DISCOUNT_CUSTOMERS, status:VALID, product: OE - Order Entry , description: Discounts for specific customers , implementation_dba_data: OE.SO_DISCOUNT_CUSTOMERS ,
-
TABLE: OE.SO_DISCOUNTS
12.2.2
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_DISCOUNTS, object_name:SO_DISCOUNTS, status:VALID,
-
View: OEBV_DISCOUNTS
12.2.2
product: OE - Order Entry , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
PACKAGE BODY: APPS.OE_LIN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LIN, status:VALID,
-
View: OEBV_DISCOUNTS
12.1.1
product: OE - Order Entry , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: OEFV_DISCOUNTS
12.1.1
product: OE - Order Entry , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.CS_COVERAGE_TXN_GROUPS_V
12.2.2
-
Table: SO_PRICE_LISTS_B
12.1.1
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_PRICE_LISTS_B, object_name:SO_PRICE_LISTS_B, status:VALID, product: OE - Order Entry , description: Price lists , implementation_dba_data: OE.SO_PRICE_LISTS_B ,
-
View: OEFV_PRICE_ADJUSTMENTS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.OEFV_PRICE_ADJUSTMENTS ONT.OEFV_PRICE_ADJUSTMENTS, object_name:OEFV_PRICE_ADJUSTMENTS, status:VALID, product: OE - Order Entry , description: - Retrofitted , implementation_dba_data: APPS.OEFV_PRICE_ADJUSTMENTS ,
-
Table: SO_PRICE_ADJUSTMENTS_INTERFACE
12.1.1
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_PRICE_ADJUSTMENTS_INTERFACE, object_name:SO_PRICE_ADJUSTMENTS_INTERFACE, status:VALID, product: OE - Order Entry , description: Imported price adjustments , implementation_dba_data: OE.SO_PRICE_ADJUSTMENTS_INTERFACE ,
-
APPS.QP_MODIFIER_UPGRADE_PVT dependencies on QP_DISCOUNT_MAPPING
12.1.1
-
Table: SO_DISCOUNT_CUSTOMERS
12.2.2
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_DISCOUNT_CUSTOMERS, object_name:SO_DISCOUNT_CUSTOMERS, status:VALID, product: OE - Order Entry , description: Discounts for specific customers , implementation_dba_data: OE.SO_DISCOUNT_CUSTOMERS ,
-
APPS.QP_MODIFIER_UPGRADE_PVT dependencies on QP_DISCOUNT_MAPPING
12.2.2
-
Table: SO_PRICE_ADJUSTMENTS
12.2.2
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_PRICE_ADJUSTMENTS, object_name:SO_PRICE_ADJUSTMENTS, status:VALID, product: OE - Order Entry , description: Order and order line price adjustments , implementation_dba_data: OE.SO_PRICE_ADJUSTMENTS ,
-
Table: SO_DISCOUNT_LINES_115
12.1.1
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_DISCOUNT_LINES_115, object_name:SO_DISCOUNT_LINES_115, status:VALID, product: OE - Order Entry , description: Discounts for order lines , implementation_dba_data: OE.SO_DISCOUNT_LINES_115 ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
View: OEFV_DSCNTCASGNS
12.2.2
product: OE - Order Entry , implementation_dba_data: Not implemented in this database ,
-
TABLE: OE.SO_DISCOUNTS
12.1.1
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_DISCOUNTS, object_name:SO_DISCOUNTS, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OE_LIN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LIN, status:VALID,
-
TABLE: OE.SO_PRICE_ADJUSTMENTS
12.2.2
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_PRICE_ADJUSTMENTS, object_name:SO_PRICE_ADJUSTMENTS, status:VALID,
-
TABLE: OE.SO_PRICE_ADJUSTMENTS
12.1.1
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_PRICE_ADJUSTMENTS, object_name:SO_PRICE_ADJUSTMENTS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
Table: SO_PRICE_LISTS_B
12.2.2
owner:OE, object_type:TABLE, fnd_design_data:OE.SO_PRICE_LISTS_B, object_name:SO_PRICE_LISTS_B, status:VALID, product: OE - Order Entry , description: Price lists , implementation_dba_data: OE.SO_PRICE_LISTS_B ,
-
View: OEFV_DISCOUNTS
12.2.2
product: OE - Order Entry , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
PACKAGE BODY: APPS.QP_MODIFIER_UPGRADE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_MODIFIER_UPGRADE_PVT, status:VALID,