Results for “card_status”

50+ results




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

Overview

MTL_KANBAN_CARD_ACTIVITY_V is a reporting view owned by the APPS schema in Oracle E-Business Suite, belonging to the Inventory (INV) product family. It exposes the transactional activity history of Kanban cards, presenting one row per Kanban card activity record. The view is documented in ETRM as "Retrofitted," indicating it was introduced or re-pointed to bridge existing Oracle Forms and concurrent program logic with the underlying Kanban tables during an upgrade cycle. It is valid in both 12.1.1 and 12.2.2.

Its primary role is to present coded status values in decoded, human-readable form. Rather than returning raw lookup codes for supply status and card status, the view joins to MFG_LOOKUPS twice to resolve the corresponding meanings. This makes it well suited for reports, Oracle Discoverer or BI Publisher queries, inbound interfaces, and ad-hoc SQL where a business user must interpret Kanban activity without knowing the lookup code mappings.

Underlying Base Objects

The view is defined over two documented base objects: MTL_KANBAN_CARD_ACTIVITY (exposed via a synonym) and MFG_LOOKUPS (itself a view). The driving table is MTL_KANBAN_CARD_ACTIVITY, aliased MKA, which stores the actual Kanban card activity rows. MFG_LOOKUPS is joined twice under aliases MLK3 and MLK2.

Because both joins are inner joins, an activity row is only returned when a matching lookup code exists for both statuses. The view applies a DECODE to REPLENISHMENT_CYCLE_ID, translating the sentinel value of -1 into NULL so that "no replenishment cycle" is represented cleanly.

Key Columns

Common Use Cases and Queries

Typical scenarios include Kanban activity auditing, replenishment status reporting, and tracing the supply source of a card.

Activity by card number and decoded status:

SELECT kanban_card_number, supply_status_name, card_status_name, last_update_date
FROM   apps.mtl_kanban_card_activity_v
WHERE  kanban_card_number = :p_card_number;

Locating activity originating from a specific source locator:

SELECT kanban_activity_id, kanban_card_number, source_subinventory, source_locator_id, card_status_name
FROM   apps.mtl_kanban_card_activity_v
WHERE  source_locator_id = :p_locator_id;

Summary of activity grouped by card status for a given organization:

SELECT card_status_name, COUNT(*) activity_count
FROM   apps.mtl_kanban_card_activity_v
WHERE  organization_id = :p_org_id
GROUP  BY card_status_name;

Because the joins to MFG_LOOKUPS are inner joins, queries should account for the possibility that an invalid or unmapped status code will suppress a row; where completeness is critical, querying MTL_KANBAN_CARD_ACTIVITY directly and performing an outer join may be preferable.