Configuration BOM Mapping Rules

Overview

In Oracle, a Bill of Materials (BOM) is called a structure. When you add an item to a parent item, you create a simple structure. As items are added, the structure is always named and referred to by its top-level item. A structure holds all the items that make up an assembly or sub-assembly.

In Oracle CPQ, the product structures are stored in BOM definition tables. BOM Configuration rules are used to link the BOM definitions to the Oracle CPQ Configuration attribute selections. When a customer generates a quote, Oracle CPQ uses the BOM Mapping rules to create a BOM instance that represents a hierarchy of Commerce transaction lines, containing the BOM items and attributes associated with Configuration selections.

BOM mapping rules can have Simple or Advanced actions.

BOM mapping rules can also be automatically generated from the Product Workbench. When an administrator Auto Generates a Configuration for a BOM a comprehensive configuration model with all of the necessary objects is automatically generated. For more information, refer to Product Workbench > Manage BOMs.

Administration Pages

ClosedBOM Mapping Rule Page

BOM Mapping Rule Page

Item Description

1

The rule Actions menu provides the following functions:

  • Translations: Add translations for a rule.

  • Email the rule summary to the specified recipients.

  • Print the rule summary.

2

The Basic Details section contains general information about the rule.

  • What is the rule type? The rule type, after saving the value is read-only.

  • Name: The name of the rule

  • Variable Name: The variable name of the rule, after saving the value is read-only.

  • Description: The description of the rule.

    Click the Summarize Summarize icon to leverage generative AI to automatically produce human-readable summaries of rule logic, helping administrators quickly grasp the purpose and impact of rules without parsing complex expressions or condition sets.

  • Status

    • Active: Rule is fired when the condition is met.

    • Internal: Rule is active only for FullAccess users; it is inactive for all other users.

    • Inactive: Rule is not fired, even if the condition is met.

  • Effective Start Date and Effective End Date specify how long the rule will remain in the chosen status. If no duration is specified, the rule maintains its status until an administrator changes it.

  • Ajax enabled for JET UI: When enabled, the rule will automatically run when conditions are met. The rule will run without refreshing the page or performing an action.

3

The When section is used to define the conditions that specify when a rule should run. There are three options: Always True, Simple, and Advanced.

Always True: The rule will fire automatically, every time, because there are not any conditions to be met.

ClosedSimple: The rule will fire if the conditions you define using the rule editor are met.

Add conditions to select the necessary condition attributes and define the conditional values.

  • To add a conditions, click +Add Condition.
  • To edit a condition, click on the applicable condition.
  • To remove a condition, click the Delete Trash icon icon.

The order in which the conditions are evaluated in are defined in the Add or change () to change grouping field.

  • Click Match All if all of the conditions must be met.
  • Click Match Any if any condition needs to be met.
  • Click in the Add or change () to grouping field to define custom grouping.
    For example, (1 OR 2) AND 3

ClosedAdvanced: Use the BML function editor to define complex condition logic.

  • Click Convert to Advanced Condition to convert the simple condition to an advanced condition.

4

The Then section is used to define actions (i.e. what will happen if the conditions are met).

  • Simple: Select the BOM Item Mapping data table to map between configurable attributes and BOM items.
    • Select the Target BOM to associate BOM items to configurable attributes.

    • Select the Target Commerce Process to associate BOM items to Commerce line items.

    • Click Manage Mapping to manage item mappings and conditions.

  • Advanced Use BML to map between configurable attributes and BOM items.

Administration

ClosedAdd / Edit a BOM Mapping Rule

Complete the following steps to add or edit a BOM Mapping Rule.

  1. Navigate to:  Admin Home > Configurations > Product Family > Product Line > Model
  2. Select Rules in the left navigation.
  3. Create or edit a rule:

    • To create a new rule click + Rule. 

    • To edit an existing rule, click on the desired rule.

  4. Define or edit the Basic Details options:

    • What is the rule type? BOM Mapping.
    • What is the rule name? Enter the name of the rule.

    • Variable Name: Enter a variable name for the rule. The Variable Name field populates automatically. The entry can be changed before saving, but after saving the value is read-only. Variable names can only contain alpha-numeric characters and underscores.

    • Description: If desired, enter a rule description.

    • Set the Effective Start Date and Effective End Date to specify how long the rule will remain in the chosen status.
      If no duration is specified, the rule maintains its status until an administrator changes it.

    • Set the status: 

      • Active: Rule is fired when the condition is met.
      • Internal: Rule is active only for FullAccess users; it is inactive for all other users.
      • Inactive: Rule is not fired, even if the condition is met.
  5. Set the Condition Type and add conditions in the What section.

    ClosedAlways True The rule fires automatically.

    ClosedSimple Select attributes and define simple conditions.

    ClosedAdvanced Use the function editor to select attributes and define advanced conditions.

  6. Set the BOM Mapping Type and define targets in the Then section.

    ClosedSimple Use the rule editor to select the target BOM and manage mapping.

    1. Set BOM Mapping Type to Simple.

    2. Select the Target BOM to associate BOM items to configurable attributes.

    3. If applicable, click Manage Mapping to manage conditions for mapped items.

    4. (optional) Select the Target Commerce Process to associate BOM items to Commerce line items.

    ClosedAdvanced BOM Mapping Rules use BML to map between configurable attributes and BOM items.

    1. Set BOM Mapping Type to Advanced.

    2. Two BML expressions can be defined for the two-way mapping:

      • From Configuration to BOM

        Click Define BML Function, enter the Function Script, then click Save.

      • From BOM to Launch Configuration

        Click Define BML Function, enter the Function Script, then click Save.

  7. Click Create or Save.


ClosedDelete a Rule

Warning: Deleted rules cannot be recovered.

Complete the following steps to delete a configuration rule.

  1. Navigate to the desired product level:

    • All Product Families:  Admin Home > Configurations
    • Product Family: Admin Home > Configurations > Product Family
    • Product Line: Admin Home > Configurations > Product Family > Product Line
    • Model: Admin Home > Configurations > Product Family > Product Line > Model
  2. Click the Edit Edit icon icon for the desired item.
  3. Select Rules in the left navigation.
  4. Right click on the configuration rule's actions ellipsis, then select Delete.
  5. Click Delete in the confirmation dialog.

Related Topics

Related Topics Link IconSee Also