Results for “invfv_subinventories”

20 results




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

Overview

INVFV_SUBINVENTORIES is an APPS-owned database view in the Oracle E-Business Suite Inventory (INV) module. It is documented as retrofitted in both release 12.1.1 and 12.2.2, and presents a denormalized, reporting-friendly projection of the MTL_SECONDARY_INVENTORIES table, which is the transactional repository for subinventory definitions in Oracle Inventory. The view enriches each subinventory record with the corresponding organization identifier and code, the operating unit name, the meanings of several coded lookup columns, and the resolved accounting flexfield combinations used for material, resource, overhead, and encumbrance accounting. It also embeds Flexfield metadata strings (the "_LA:" and "_KF:SQLGL:" prefixes) that identify lookup types and key flexfield references for downstream tools.

Because subinventories define where material physically resides within an inventory organization, this view is a standard source for reporting, reconciliation, and integration, particularly where a consumer needs human-readable descriptions rather than raw coded values.

Underlying Base Objects

The view is defined over the following documented base objects, all referenced through APPS synonyms:

  • MTL_SECONDARY_INVENTORIES (MSS) — the primary source, supplying subinventory name, description, material/overhead/resource/encumbrance accounts, locator and quantity-tracking attributes, and lead times.
  • MTL_PARAMETERS (MP1, MP2) — joined to provide the organization code; MP2 is used only for source-child subinventories (SOURCE_TYPE = 1).
  • HR_ALL_ORGANIZATION_UNITS (HOU1, HOU2) — supplies the operating unit name; HOU2 likewise applies to source-child rows.
  • GL_CODE_COMBINATIONS (GLC1 through GLC7) — outer-joined to resolve the seven accounting segment combinations.

The joins on GL_CODE_COMBINATIONS are outer joins (indicated by the "(+)" syntax), so a subinventory without a valid account combination still appears, with a NULL account. The DECODE expressions on SOURCE_TYPE conditionally surface source organization, source subinventory, and source organization code only for source-type rows.

Key Columns

Common Use Cases and Queries

Typical usage includes listing active subinventories per organization, validating account assignments, and feeding subinventory data into integrations. A representative query follows:

SELECT secondary_inventory_name, organization_code, description, disable_date
FROM apps.invfv_subinventories
WHERE organization_id = :org_id
AND disable_date IS NULL
ORDER BY secondary_inventory_name;

A second common pattern inspects accounting assignments:

SELECT secondary_inventory_name, material_account, resource_account, encumbrance_account
FROM apps.invfv_subinventories
WHERE organization_code = :org_code;

Because lookups and flexfields are resolved through the metadata columns, the view is well suited to self-service reporting tools that read those annotations to render coded attributes and accounts in readable form.