Regras (tgbrg7500m000)

Use this session to view, specify, and maintain rules.

To create a rule expression (IF-part):

  1. Select a rule.
  2. Select the Condição de regra command to start the Text Editor.
  3. Enter business functions or business processes following the IF logical operator. Note that you must leave a space between the operators and the operands (for example BF,1).
  4. Close the Text Editor.

Select the Parte da regra Then command to create the Then part of the expression in one of these sessions:

You cannot select the Parte da regra Then command if the rule is of Consistência type. In that case, the Then segment of the rule expression must be specified in the Text Editor.

You cannot change rules:

  • From a derived-from version
  • From another version than the current modeling version.
Nota

If you have started this session by zooming, you can only find and select a record.

Using logical operators

If more than one business process or business function is incorporated in the rule expression, these must be separated by one of the following logical operators:

  • or
  • xor
  • and
  • not
  • (
  • )
Checking and applying rules

Rules are checked ( Consistência rule type) or applied (other rule types) in reference models and/or project models. Rules of Consistência type are checked:

The Help information of the sessions below describes how rules of type other than Consistência are applied:

 

Versão atual de modelagem

A versão que você usa atualmente para criar e modificar itens de modelo.

Tipo de regra

The type of rule.

Reg.

Uma expressão.

Uma regra é usada para:

  • verificar a consistência de um modelo de função de negócios (regras de consistência).
  • transformar um modelo de função de negócios em um modelo de processo de negócios (regras de transformação).
  • atribuir um valor aos parâmetros do aplicativo (regras de configuração de parâmetros).
  • atribuir um valor a condições estáticas (regras de configuração de condição estática).
Versão

Um grupo de itens de modelo que compartilham algumas características, como cliente, proprietário e data de efetividade

Descrição

The description or name of the rule.

Texto

This field indicates whether a text is available, which provides you with further information about the rule.

Venc.

This field indicates whether the rule has expired.

 

Condição de regra

If you click this button (or command), the Text Editor is started and you can create or maintain the IF part of the selected rule.

In the case of consistency rules, you must also use the Text Editor to create and maintain the Then part of the rule.

Parte da regra Then

If you click this button (or command), one of the following three sessions is started depending on the type of rule: Definir parâmetros por regra (tgbrg7117m000) session Selecionar processos de negócios por regra (tgbrg7127m000) session Definir condições estáticas por regra (tgbrg7137m000) session

In each of these sessions you can create or maintain the Then part of the rule.

Copiar regra para VA

If you click this button (or command), the selected rule is copied to the current modeling version.

Alt. a ver. atual para a ver. da regra

If you click this button (or command), the current modeling version is changed to the version of the selected rule.