Results for “amv_vendor_keys”

38 results




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

Overview

The AMV_VENDOR_KEYS table resides in the AMV schema, which supports the Marketing Encyclopedia System (MES) module in Oracle E-Business Suite 12.1.1 and 12.2.2. Its documented purpose is to store the key identifier of each vendor or content provider associated with stocks recorded in AMV_STOCKS. In practical terms, the table acts as the bridge between the marketing encyclopedia's stock catalog and the vendor identities that supply it, resolving every stock entry to both a sourcing vendor (through PO_VENDORS) and a party record (through HZ_PARTIES).

From a Data Vault modeling perspective, the heuristic classification of this table is link. This is appropriate because AMV_VENDOR_KEYS does not hold descriptive attributes of vendors or stocks; it records the relationship between a vendor, a party, and a stock. The table also carries standard Oracle EBS audit columns (who/hwn columns) and a security group column, which are typical of relational tables that serve as link entities in a normalized model.

Key Information Stored

The table is documented with 14 columns. The most significant columns and their roles are:

  • VENDOR_KEY_ID — The surrogate primary key of the table, enforced through the AMV_VENDOR_KEYS_PK constraint and also indexed by the unique index AMV_VENDOR_KEYS_U1. This is the column most commonly referenced by downstream tables and by the search term "amv_vendor_keys_pk," since it is the object most users locate when tracing the primary key definition. This is the surrogate key, not a business key.
  • VENDOR_ID — Foreign key to PO_VENDORS, identifying the supplier or content provider.
  • PARTY_ID — Foreign key to HZ_PARTIES, tying the vendor to its registered party record in the Trading Community Architecture (TCA).
  • STOCK_ID — Foreign key to AMV_STOCKS, identifying the stock item to which the vendor key applies.
  • VENDOR_KEY — The descriptive key value associated with the vendor, likely the external content-provider key used by the marketing encyclopedia.
  • EFFECTIVE_START_DATE and EXPIRATION_DATE — Date-effective range columns that determine when the vendor key mapping is active.
  • SECURITY_GROUP_ID — Foreign key to FND_SECURITY_GROUPS, enforcing multi-org or data-group access control.

The remaining columns — OBJECT_VERSION_NUMBER, LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, and LAST_UPDATE_LOGIN — are standard audit and concurrency-control attributes maintained automatically by Oracle EBS.

Common Use Cases and Queries

Typical usage centers on identifying which vendors supply specific stocks and on validating vendor keys. A representative query joining the table to its parent objects follows:

  • SELECT k.vendor_key_id, k.vendor_key, s.stock_name, p.vendor_name FROM amv_vendor_keys k, amv_stocks s, po_vendors p WHERE k.stock_id = s.stock_id AND k.vendor_id = p.vendor_id;
  • Reporting on active vendor keys for a date range using EFFECTIVE_START_DATE and EXPIRATION_DATE.
  • Resolving the trading community party behind a vendor via HZ_PARTIES for 360-degree vendor analysis.
  • Data-group security filtering using SECURITY_GROUP_ID when querying from a specific operating unit.
  • Tracing referential integrity issues when downstream tables reference VENDOR_KEY_ID.

Related Objects

The following objects have a documented relationship to AMV_VENDOR_KEYS:

  • AMV_STOCKS — Referenced through STOCK_ID; supplies the stock catalog entries that the vendor keys map to.
  • PO_VENDORS — Referenced through VENDOR_ID; provides vendor master data.
  • HZ_PARTIES — Referenced through PARTY_ID; provides the TCA party identity behind each vendor.
  • FND_SECURITY_GROUPS — Referenced through SECURITY_GROUP_ID; governs data-group access.
  • AMV_VENDOR_KEYS_PK — The primary key constraint defined on VENDOR_KEY_ID, the object most commonly referenced when identifying this table's uniqueness rule.
  • AMV_VENDOR_KEYS_U1 — The unique index on VENDOR_KEY_ID, reinforcing the surrogate key constraint.