Search Results bom_resource_flex_fences




Overview

BOM_RESOURCE_FLEX_FENCES is a table owned by the BOM (Bills of Material) schema in Oracle E-Business Suite, and it is documented as VALID in both release 12.1.1 and 12.2.2. Its purpose is to store the tolerance percentage by which the present capacity of a particular resource or production line can be increased. In discrete manufacturing environments, planners frequently need to schedule work beyond nominal capacity when demand spikes or when a resource can be temporarily over-driven; the flex fence record defines how much additional load the planning engine may place on a resource before the schedule is considered infeasible.

The object is classified as standalone under the heuristic Data Vault classification mined from its foreign key structure. As a modeling suggestion, this indicates the table behaves most like a reference or lookup satellite: it carries descriptive tolerance values tied to a department-resource combination rather than acting as a hub of business entities or a link resolving many-to-many relationships. The single documented outbound foreign key, DEPARTMENT_ID referencing BOM_DEPARTMENTS, anchors the record to a department context.

Key Information Stored

The table contains 29 documented columns. The most significant are:

  • DEPARTMENT_ID — identifies the department or line to which the flex fence applies; part of the business key and a foreign key to BOM_DEPARTMENTS.
  • RESOURCE_ID — identifies the specific resource within the department whose capacity tolerance is being defined.
  • FENCE_DAYS — the number of days into the future for which the tolerance is effective, allowing different tolerances at different planning horizons.
  • TOLERANCE_PERCENTAGE — the percentage by which current capacity may be increased for that resource over the specified fence window.
  • ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE15 — the standard Oracle EBS descriptive flexfield (DFF) columns, enabling customers to capture additional site-specific attributes without schema changes.
  • LAST_UPDATED_BY, LAST_UPDATE_LOGIN, LAST_UPDATE_DATE, CREATION_DATE, CREATED_BY — the standard WHO audit columns tracking record provenance.
  • REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE — concurrent program context columns indicating which process last wrote the row.

No surrogate primary key column is documented in the ETRM metadata; the table is instead constrained by the unique index BOM_RESOURCE_FLEX_FENCES_U1 on (DEPARTMENT_ID, RESOURCE_ID, FENCE_DAYS), which serves as the business-key candidate. Any query should treat that three-column combination as the natural identifier.

Common Use Cases and Queries

Typical scenarios include capacity planning reports that surface how much headroom exists per resource, and validation queries used before running the planning engine to confirm that flex fences are configured for all active resources. A representative query joining the foreign key target would be:

SELECT rff.department_id, rff.resource_id, rff.fence_days, rff.tolerance_percentage FROM bom.bom_resource_flex_fences rff, bom.bom_departments bd WHERE rff.department_id = bd.department_id;

Reporting use cases include exception reports listing resources whose tolerance is zero or null, trend analysis of tolerance values by department, and extracting DFF attributes via ATTRIBUTE_CATEGORY for downstream dashboards. Because the unique index covers DEPARTMENT_ID, RESOURCE_ID, and FENCE_DAYS, queries filtering on that triple resolve most efficiently.

Related Objects

  • BOM_DEPARTMENTS — parent of DEPARTMENT_ID; the definitive foreign key relationship documented for this table.
  • BOM_RESOURCES — the master resource definition that RESOURCE_ID is expected to reference logically, supplying resource names and capacities for reporting.
  • BOM_DEPARTMENT_RESOURCES — the association between departments and resources that establishes valid DEPARTMENT_ID/RESOURCE_ID pairings.
  • BOM_RESOURCE_SHIFTS — shift calendars that combine with flex fences to determine effective available capacity.
  • BOM_CALENDAR_DATES / BOM_RESOURCE_AVAILABILITY — availability data frequently joined to compute capacity plus tolerance.
  • BOM Standard APIs and concurrent programs — the planning and Bills of Material programs that read these tolerance values when generating schedules.