Search Results oe_pc_assignments




Overview

The OE_PC_ASSIGNMENTS table is a core data object within the Oracle E-Business Suite (EBS) Order Management (ONT) module, specifically in versions 12.1.1 and 12.2.2. It functions as a junction table within the Pricing Constraints framework, a system used to enforce business rules on which pricing actions or promotions can be applied based on user responsibility. Its primary role is to store the mapping between defined pricing constraints and the specific EBS responsibilities to which those constraints are assigned. This ensures that pricing logic is appropriately gated, allowing organizations to control discounting and promotional authority based on a user's functional role within the application.

Key Information Stored

The table's structure is designed to manage the assignment relationship. While the full column list is not detailed in the provided metadata, the documented primary and foreign keys reveal the essential data points. The ASSIGNMENT_ID column serves as the unique primary key for each record. The CONSTRAINT_ID is a foreign key that links the assignment to a specific pricing constraint definition stored in the OE_PC_CONSTRAINTS table. Crucially, the RESPONSIBILITY_ID column stores the identifier for the EBS responsibility to which the constraint applies. This column is part of a unique key constraint (OE_PC_ASSIGNMENTS_UK), ensuring that a given responsibility cannot be assigned to the same constraint more than once.

Common Use Cases and Queries

This table is central to administrative and diagnostic activities related to pricing security. A common use case involves auditing which responsibilities are restricted from applying certain discounts or promotions. For instance, to list all constraints and the responsibilities assigned to them, a join with the FND_RESPONSIBILITY_TL table is typical. Troubleshooting often involves queries to verify if a user's active responsibility is preventing a pricing action. A sample diagnostic query would be:

  • SELECT pc.constraint_name, frt.responsibility_name FROM ont.oe_pc_assignments pca, ont.oe_pc_constraints pc, apps.fnd_responsibility_tl frt WHERE pca.constraint_id = pc.constraint_id AND pca.responsibility_id = frt.responsibility_id AND frt.language = USERENV('LANG');

Reporting use cases include generating security matrices for pricing approvals and validating constraint assignments during system configuration or upgrades.

Related Objects

OE_PC_ASSIGNMENTS is a pivotal table within a small, tightly integrated schema for pricing constraints. Its documented relationships, as per the provided metadata, are as follows:

  • References (Foreign Key): The table has a mandatory foreign key relationship to OE_PC_CONSTRAINTS via the CONSTRAINT_ID column. This links each assignment to its parent constraint definition.
  • Referenced By (Foreign Key): The table is referenced by OE_PC_EXCLUSIONS via the ASSIGNMENT_ID column. This indicates that exclusions (specific overrides or exceptions to a constraint) are defined at the granularity of an individual responsibility assignment, further refining the pricing control mechanism.

These relationships establish OE_PC_ASSIGNMENTS as the connector between the abstract constraint (OE_PC_CONSTRAINTS) and its detailed exception rules (OE_PC_EXCLUSIONS), all scoped to a specific user responsibility.