Extend the BOM with new business elements or properties.
About this task
You can extend the business object model (BOM) with new
business elements or new properties on BOM elements. You can also
manage values in the BOM editor by developing specific classes and
referencing them in BOM custom properties.
You start by adding
a package to a BOM entry, and then adding a class to the BOM package.
Procedure
To add a package to a BOM entry and add a class to
the package:
- In the Rule Explorer view, double-click
the BOM entry in the bom folder.
The Package tab of the BOM Editor displays the list of packages and classes in your BOM entry.
- Click New Package.
- In the New BOM Package wizard, in
the Name field, specify the fully qualified name of the package
you want to create.
- Click Finish.
The
BOM entry now contains the new package. You must now add a class to
the BOM package.
- To add a class, in the Rule Explorer view,
double-click the BOM entry in the bom folder.
The Package tab of the BOM Editor displays the list of packages and classes in the BOM entry.
- Click New Class.
- In the New BOM Class wizard, in the Package field,
specify the fully qualified name of the package in which you want
to create the class.
- In the Name field, specify the name of the class
you want to create.
- Click Finish.
Results
You now have a new BOM package, with a new class added
to it.
Note: When using the Intellirule editor to write rules,
you can create business elements on the fly. If you use a new element
in a rule, the Intellirule editor detects that it must be added to
the BOM and displays a Quick Fix message so that you can add it automatically.
See Correcting errors by using Quick Fix.