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.
-
Simple (Table-based) actions allow administrators to select the Target BOM and use Manage Mapping to select and define conditions for configurable attributes.
-
Advanced actions are defined using BML and can be used in addition to the Simple actions to refine the mapping results. In rare cases, BOM Item Mapping tables are not used at all, and administrators use advanced BML-based actions to establish Configuration and Commerce association with BOM items.
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
| Item | Description |
|---|---|
|
1 |
The rule Actions menu provides the following functions:
|
|
2 |
The Basic Details section contains general information about the rule.
|
|
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.
Add conditions to select the necessary condition attributes and define the conditional values.
The order in which the conditions are evaluated in are defined in the Add or change () to change grouping field.
|
|
4 |
The Then section is used to define actions (i.e. what will happen if the conditions are met).
|
Administration
Complete the following steps to add or edit a BOM Mapping Rule.
- Navigate to: Admin Home > Configurations > Product Family > Product Line > Model
- Select Rules in the left navigation.
-
Create or edit a rule:
-
To create a new rule click + Rule.
-
To edit an existing rule, click on the desired rule.
-
-
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.
-
Set the Condition Type and add conditions in the What section.
Always True The rule fires automatically.-
If applicable, set Condition Type to Always True
-
No conditions are defined.
Simple Select attributes and define simple conditions.- Set Condition Type to Simple.
- To add a condition, click +Add Condition.
- Select an attribute from What is the attribute to associate to this condition?
- Set the Operator for the condition.
- Enter or select the Value.
- Click Create.
- Repeat this step to add additional conditions.
- Click the Delete
icon to remove a condition.
- Set the match criteria:
- Match All if all of the conditions must be met.
- 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 - Select Convert to Advanced Condition to convert the simple condition to an advanced condition.
Advanced Use the function editor to select attributes and define advanced conditions.- Set Condition Type to Advanced.
- Click Define BML Function.
- Enter the Function Script.
- Click Save.
-
-
Set the BOM Mapping Type and define targets in the Then section.
Simple Use the rule editor to select the target BOM and manage mapping.-
Set BOM Mapping Type to Simple.
-
Select the Target BOM to associate BOM items to configurable attributes.
-
If applicable, click Manage Mapping to manage conditions for mapped items.
-
(optional) Select the Target Commerce Process to associate BOM items to Commerce line items.
Advanced BOM Mapping Rules use BML to map between configurable attributes and BOM items.-
Set BOM Mapping Type to Advanced.
-
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.
-
-
-
Click Create or Save.
Warning: Deleted rules cannot be recovered.
Complete the following steps to delete a configuration rule.
-
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
- Click the Edit
icon for the desired item.
- Select Rules in the left navigation.
- Right click on the configuration rule's actions ellipsis, then select Delete.
- Click Delete in the confirmation dialog.





