Show TOC

Function documentationDependencies as Formulas

 

You use formula dependencies to do the following:

  • Describe dependencies between different characteristics of an object

  • Calculate and set values

  • Restrict value ranges

  • Set default values

Features

Dependencies as formulas are made up of two entry areas: a formula and a condition. In the condition part (If field), you enter the conditions under which the formula is to be applied.

You can make it easier to enter the syntax for the formula part and the condition part by using the Suggest button. You can then test the syntax that was entered by using the Check Syntax button.

Note Note

Characteristics with multiple values can lead to unexpected conflicts. For example, if a multiple-value characteristic (mvChar) has values "red" and "green", the conditions mvChar = "red" and mvChar <> "red" are both met, even though the conditions seem to be exclusionary.

End of the note.

Activities

  1. In screen area Dependencies, enter a new Formula for a product, component, or class.

  2. Enter an ID and a description.

  3. In the Explanation, enter a language-dependent text.

  4. Enter a condition (If field) and a formula (Then field). Use the suggestion help.

  5. Check the syntax.

  6. To use the dependency editor in the interactive configuration, set the status Released.

  7. Save your entries.

Example

If

COLOR <> 'black'.

Then

MODEL = 'Standard'

In the configuration, if you select a color other than black, the system automatically selects model "Standard".