Transaction rules when executed as Business Component

Official Content
This documentation is valid for:

When we use business components, all transaction rules are executed except:

  • Those that include a user interface (i.e. )
  • Those that are not applicable: 

The following specification message: "SPC0097 Rule <Rule> does not apply to Business Component" appears when the mentioned <Rule> is defined in a transaction used in an object as Business Component.

We can specify we want to execute certain rules defined in the transaction, only when it is executed as Business Component by preceding the rule with the qualifier [BC], as the following example shows:

[BC] Default(InvoiceDate, &today);

Or a set of rules like this example:


Likewise, we have the qualifier [WEB] to indicate that a rule or set of rules must be executed only if the transaction is running in web environment with its web form, and not when it is executed as business component.