Results for “whse_code”

2 results




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

Overview

BIS_PROCESS_MFG_WAREHOUSES_V is a lightweight validation view in the Oracle E-Business Suite BIS (Business Intelligence System / Applications BIS) product family. It exposes a filtered list of manufacturing warehouse definitions suitable for use as a value set source, typically for concurrent program parameters or Oracle Reports / Oracle Forms list-of-values (LOV) components. The view presents manufacturing warehouses in an ID/VALUE pair format, which is the standard Oracle Applications convention for key-flexfield or parameter value sets.

In ETRM 12.2.2, the view is documented but not implemented in the reference database. In Oracle EBS 12.1.1 the same metadata model applies: the object exists in the BIS application schema, but its presence depends on whether the BIS product is installed and whether the underlying IC_WHSE_MST table is available in that environment.

Underlying Base Objects

The view is defined over a single documented base object: IC_WHSE_MST, the master table of warehouse definitions in Oracle Inventory. No other base tables are referenced in the view text. The definition is:

The predicate calls PMI_SECURITY_PKG.SHOW_RECORD against the operating unit code (ORGN_CODE). This is the Process Manufacturing (PMI) security package, which enforces organization-level access control. Because of this dependency on PMI_SECURITY_PKG, the view is effectively coupled to Process Manufacturing / Process Inventory security, and the rows returned to a caller are limited to warehouses the current session is authorized to see.

The TO_NUMBER(NULL) column (implicitly RESPONSIBILITY_ID per the documented column list) is a placeholder column that returns no data. It exists to satisfy a fixed column signature expected by the calling form, report, or value set definition.

Key Columns

  • ID — alias for WHSE_CODE. Supplies the value returned to a value set as the stored code.
  • VALUE — alias for WHSE_NAME. The descriptive value presented to the user in the LOV.
  • ORGN_CODE — the organization code of the warehouse, used both as the security filter input and for operating-unit-restricted queries.
  • WHSE_CODE — the warehouse (subinventory location) code; also mapped to the ID column.
  • WHSE_NAME — the descriptive warehouse name; also mapped to the VALUE column.
  • RESPONSIBILITY_ID — a NULL placeholder derived from TO_NUMBER(NULL). It carries no actual data and should not be used for filtering.

Common Use Cases and Queries

Typical uses include populating a warehouse LOV on a BIS or Process Manufacturing concurrent program, driving parameter defaults, and constraining report output to the warehouses visible to the current responsibility's organization.

Sample query to list accessible warehouses:

  • SELECT id, value, orgn_code FROM bis_process_mfg_warehouses_v ORDER BY value;

Sample query to validate a specific warehouse code before submission:

  • SELECT value FROM bis_process_mfg_warehouses_v WHERE id = :warehouse_code;

Sample query filtering to a single operating unit:

  • SELECT whse_code, whse_name FROM bis_process_mfg_warehouses_v WHERE orgn_code = :org_code;

Because the view is not implemented in the documented ETRM database, confirm its existence in the target instance with a query against ALL_VIEWS before referencing it in custom code. Where it is absent, the equivalent result can be obtained directly from IC_WHSE_MST applying PMI_SECURITY_PKG.SHOW_RECORD to ORGN_CODE.