Rule Conditions

Price Lists and Routings can be connected to rules, for example, to add a surcharge or set a specific method in a process order. These rules are linked to a Rule Condition which is evaluated and executed in the context of the current order.

Rule conditions are a core feature for controlling routings, price lists, and quality requirements within the JOP extension. They allow for highly flexible and granular production setups.

A rule condition consists of a header and one or more lines.

Header

The header includes the following fields:

  • Code — The unique identifier of the rule condition.
  • Description — A short description of the rule or its purpose.
  • Active — Indicates whether the rule condition is currently active or in evaluation.

Condition Lines

Each line contains a single condition, such as:

  • Service = "PVD"
  • Material = "HSS"
  • Recoating = Yes

Multiple lines can be combined using Boolean operators: AND, OR, and NOT. Complex logical expressions can include up to 10 levels of parentheses.

Supported Tables

Conditions can reference values from the following tables:

  • Property
  • Customer
  • Customer Group
  • Product
  • Product Group
  • Material
  • Material Group
  • Service
  • Service Group
  • Production Department
  • Price Category
  • JOP Item
  • Responsibility Center