Create BoM Structure with Global Resources

In the FACTON CMD, resources can be local resources or master data resources, e.g. a material found and inserted by a resource search specification. The search specification can be controlled by the inputs made by the user/calculator. The BOM is created after the user triggers "Complete Structure", as defined in the FACTON CMD.

In the previous chapter (see Create BoM Structure with Local Resources) we created the material resources as local resources. Now we want to replace the local resources with master data ones. "TableTopMaterial" and "TableLegMaterial" should be master data resources that are found and inserted by the "Complete Structure" feature based on our selection of the main material on product level.

To do so, we need the information of the "TableMainMaterial" from the cost model header level for the part "TableTop".

Insert and define property group "TableModel"

  1. Select "Resource: Part - 'TableTop'" in "My Local Configuration".

    The "Properties" view opens on the right side.

  2. Click in the Properties view.
  3. In the ribbon, click on Property Group to insert a new property group.

    Alternative: Right-click in the Properties view > Property Group.

  4. Define the details of the property group in the Details view:
  5. Name Value
    Internal Name TableModel
    Label (en) Table Model
    Label (de) Tischmodell
    Highlighted
    Expanded
      If required, you can define more localizations for "Label", e.g. in French (fr), Japanese (ja) and Russian (ru) - as defined and provided by the base solution.

 

We define the next property to see what main material this part of the table has to use it in the search specification of the material "TableTopMaterial".

 

Define Properties for "TableTop"

  1. Select the property group " TableModel".
  2. In the ribbon, click on Property to insert a new property.

    Alternative: Right-click in the Properties view > Property.

  3. Define the details of the property in the Details view:
  4. Name Value  
    Internal name TableMainMaterial  
    Type Material  
    Category Output property  
    Object Type Resource  
    Formula SlotContext(TableMainMaterial) [...]

Now we want to replace the local resources with master data ones.

Define global resource for "TableTopMaterial"

  1. Select " Resource: Material - 'TableTopMaterial'" in "My Local Configuration".

    The Item Details view opens below.

  2. Define the details of the resource:
  3. Name Value  
    Internal name Table Top Material  
    Target Resource Material  
    Is Local  
    Quantity Type    
    BoM Availability Condition TRUE [...]
    Search Specification SlotContext(TableMainMaterial.Key) = Key [...]

 

Repeat the steps for "Resource: Part - 'TableLegs'" and "TableLegMaterial". You can also copy and paste these properties.