Search Results as_card_rule_qual_values_u1




Overview

The OSM.AS_CARD_RULE_QUAL_VALUES table is a seed-data table within the Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2 environment, owned by the OSM schema and registered under the FND Design Data application AS (Sales Foundation / Sales Scorecard). It stores the qualifying parameter values that are assembled when a scorecard rule is defined for sales lead and card-based qualification processing. Where the parent qualifier table identifies the name and type of a rule parameter, AS_CARD_RULE_QUAL_VALUES holds the actual value — or value range — bound to a specific rule within a specific scorecard.

Because each row represents the association between a card rule and a seeded qualifier definition, the table functions as a junction or cross-reference structure. Under the heuristic Data Vault classification mined from its foreign key topology, this table is best modelled as a link — it resolves many-to-many relationships between card rules, scorecards, and seeded qualifier definitions, and it should not be treated as a standalone reference or hub entity. Its business content is consequently dependent on the parent rule and scorecard records for full meaning.

Key Information Stored

The 21-column physical schema is organized around an identifier, standard audit columns, foreign keys, and typed value/range fields. The most significant columns are:

Standard Who columns (LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN) and ZD_EDITION_NAME complete the documented column set.

Common Use Cases and Queries

Typical usage centers on auditing, reporting, and troubleshooting scorecard rule configuration. A frequent pattern resolves qualifier values back to their seeded definitions:

  • Rule-value extraction: join AS_CARD_RULE_QUAL_VALUES to AS_SALES_LEAD_CARD_RULES on CARD_RULE_ID to list all qualifier values bound to a rule.
  • Scorecard rule audit: join to AS_SALES_LEAD_SCORECARDS on SCORECARD_ID to report which qualifiers and ranges apply to a given scorecard's rules.
  • Type-aware range reporting: select COALESCE(HIGH_VALUE_NUMBER, HIGH_VALUE_CHAR, TO_CHAR(HIGH_VALUE_DATE)) to present the effective upper bound regardless of data type.
  • Effective-dating checks: filter on START_DATE_ACTIVE / END_DATE_ACTIVE to identify currently active qualifier values.
  • Duplicate or orphan detection: validate that every QUAL_VALUE_ID is unique and that SEED_QUAL_ID and CARD_RULE_ID resolve to valid parents.

A representative query joining the primary relationships:

SELECT q.QUAL_VALUE_ID, r.CARD_RULE_ID, s.SCORECARD_ID, q.LOW_VALUE_NUMBER, q.HIGH_VALUE_NUMBER, q.SCORE FROM OSM.AS_CARD_RULE_QUAL_VALUES q, OSM.AS_SALES_LEAD_CARD_RULES r, OSM.AS_SALES_LEAD_SCORECARDS s WHERE q.CARD_RULE_ID = r.CARD_RULE_ID AND q.SCORECARD_ID = s.SCORECARD_ID AND q.START_DATE_ACTIVE <= SYSDATE AND (q.END_DATE_ACTIVE IS NULL OR q.END_DATE_ACTIVE >= SYSDATE);

Related Objects

The following tables and definitions are the most significant dependencies, based on the documented foreign keys:

  • AS_SALES_LEAD_CARD_RULES — joined via CARD_RULE_ID; the parent rule definition.
  • AS_SALES_LEAD_SCORECARDS — joined via SCORECARD_ID; the owning scorecard. (Note: the SCORECARD_ID column appears in the documented 12.2.2 column list.)
  • AS_SALES_LEAD_SEED_QUAL_B / AS_SALES_LEAD_QUALS_B — joined via SEED_QUAL_ID; provides qualifier names and data types.
  • FND_SECURITY_GROUPS — joined via SECURITY_GROUP_ID for subscriber-based data security.
  • FND_USER — referenced through the standard LAST_UPDATED_BY and CREATED_BY who-columns.
  • AS_CARD_RULE_QUAL_VALUES_U1 / _N1 / _N2 — the unique and non-unique indexes that support primary-key enforcement and join performance on QUAL_VALUE_ID, CARD_RULE_ID, and SCORECARD_ID respectively.

Collectively these dependencies confirm the table's role as a seeded, link-style configuration store bridging rules, scorecards, and qualifier definitions within the OSM scorecard subsystem.