Search Results wms_rules_b




Overview

The WMS_RULES_B table is the central repository for defining and storing business rules within the Warehouse Management System (WMS) module of Oracle E-Business Suite (EBS). It serves as the master definition table for rules that govern various warehouse operations, such as putaway, picking, replenishment, and cross-docking. Each record in this table represents a unique, configurable rule that the system evaluates to determine the most efficient execution of material handling tasks. The table's role is foundational to the WMS engine, enabling the automation of complex logistics decisions based on parameters like item attributes, location characteristics, and organizational policies. Its integrity is maintained by a primary key and enforced through numerous foreign key relationships with other core WMS transactional and setup tables.

Key Information Stored

While the provided metadata does not list all columns, the primary and foreign key relationships indicate the core data elements. The RULE_ID column is the unique system-generated identifier (primary key) for each rule. The ORGANIZATION_ID links the rule to a specific inventory organization, as defined in MTL_PARAMETERS, allowing for rule definitions to be organization-specific. The QTY_FUNCTION_PARAMETER_ID column establishes a relationship with WMS_PARAMETERS_B, suggesting the rule can reference specific quantitative functions or parameters for calculations. Other typical columns in such a table, though not explicitly listed here, would include fields for the rule name, type (e.g., 'Putaway', 'Picking'), enabled flag, effective dates, and the sequencing or weighting of the rule within a strategy.

Common Use Cases and Queries

This table is primarily accessed for setup, maintenance, and troubleshooting of warehouse rules. Common scenarios include generating a list of all active putaway rules for an organization, auditing rule assignments, or diagnosing workflow issues. A typical query would join WMS_RULES_B with its descriptive translation table, WMS_RULES_TL, to retrieve user-friendly rule names. For example, to find all rules for a specific organization, one might use: SELECT wrb.RULE_ID, wrtl.NAME FROM WMS.WMS_RULES_B wrb, WMS.WMS_RULES_TL wrtl WHERE wrb.ORGANIZATION_ID = :org_id AND wrb.RULE_ID = wrtl.RULE_ID AND wrtl.LANGUAGE = USERENV('LANG');. Reporting use cases often involve analyzing which rules are most frequently applied by joining to transactional tables like WMS_TRANSACTIONS_TEMP or WMS_STRATEGY_MEMBERS.

Related Objects

The WMS_RULES_B table has extensive relationships within the WMS schema, as documented by its foreign keys. It is the parent table for several key entities:

  • WMS_RULES_TL: Joined on RULE_ID, this table provides translated names and descriptions for the rules.
  • WMS_RULE_CONSISTENCIES: Joined on RULE_ID, linking rules to consistency checks.
  • WMS_SORT_CRITERIA: Joined on RULE_ID, defining how items or tasks are sorted when the rule is applied.
  • WMS_STRATEGY_MEMBERS: Joined on RULE_ID, associating individual rules with broader operational strategies.
  • WMS_RESTRICTIONS: Joined on RULE_ID, detailing any constraints or limitations for the rule.
  • WMS_TRANSACTIONS_TEMP: Joined on RULE_ID, indicating which rule was used to propose or execute a transaction.
It also references two setup tables:
  • MTL_PARAMETERS: Joined on ORGANIZATION_ID, to tie the rule to an inventory organization.
  • WMS_PARAMETERS_B: Joined on QTY_FUNCTION_PARAMETER_ID, for quantitative function parameters.