Skip to content
Product Configurator app iconProduct ConfiguratorRules

Configurator Rule Builder for Microsoft Dynamics 365 Business Central

Product rules usually live in someone's head or in a spreadsheet: this handle only fits that door, desks over a certain length need a center support. If the configurator cannot enforce them, every order depends on the salesperson remembering. Product Configurator's Rule Builder sets up conditional rules with grouped conditions, without code.

Rules are built on the Rule Definition Builder page from condition lines and action lines, and they run as the salesperson makes choices.

How Configurator Rule Builder works in Product Configurator

  1. A product manager opens the Rule Definition Builder from the item category's options.
  2. The product manager adds a group and chooses how it evaluates its conditions.
  3. Condition lines compare option choices, quantities, or expressions.
  4. Actions are added for when each condition is true or false, in execution order.
  5. The product manager tests the configuration; rules then run in the BOM Designer as salespeople make choices.

Key capabilities

Grouped conditions

Conditions are organized in groups that execute while true (match all), until true (match any), when none match, or evaluate every line regardless of result, so one rule can express compound logic.

Comparisons on any option

Each condition compares an option's choice or quantity using operators such as is equal to, does not equal, or is blank. Comparison values can be expressions, such as a handlebar quantity times two.

Actions for true and false

Each condition has actions When Condition is True and When Condition is False, with an execution order. Actions include continue, error, message, hide or show an option, hide or show a choice, set value, run another rule, and a user prompt.

Lookups in rules

Rule expressions can use lookup functions to read values from generic lookup tables or existing Business Central tables, which keeps rules short when the answer lives in data.

Context-aware variables

Rules can reference variables from the record they run from, such as the choice code when a rule runs from an option choice.

Values stay current

When a set value action changes a numeric variable, the Rule Builder updates it during execution, so later conditions use the new value.

Formula language

Conditions and values use the same formula language as quantity and run time calculations.

See Configurator Rule Builder on screen

Real screens from Product Configurator, shown with demo data.

Details that matter on the floor

Configured, not coded

Rules are set up on a page with condition and action lines. Developers who prefer code can use AL, the Business Central development language, and the application programming interface (API) instead, but it is not required.

One place for product logic

Compatibility, defaults, required follow-up choices, and warnings live in the configuration, not in each salesperson's memory.

Learnable structure

Group, condition, and action lines read top to bottom, and a comment column explains what each rule is for.

Who uses Configurator Rule Builder

Product managers

Turn product knowledge into rules that every configuration follows.

Implementation consultants

Translate spreadsheet logic and engineering rules into Rule Builder groups and actions.

Manufacturing engineers

Make sure incompatible components and missing parts are caught at order entry.

Questions about Configurator Rule Builder

Do I need a developer to write configurator rules?

No. Rules are built in the Rule Builder on the Rule Definition Builder page, using condition and action lines. AL code and the API are an option for teams that prefer code.

What can a rule do?

A rule can hide or show an option or a choice, set a value, stop the configuration with an error, show a message, ask a yes or no question, continue, or run another rule. See constraint-based configuration and option dependency for common uses.

Can a rule check more than one condition?

Yes. Conditions are grouped, and each group can require all conditions, any condition, no conditions, or evaluate every line.

Can rules read data from Business Central tables?

Yes. Lookup functions in rule expressions can read values from generic lookup tables or existing Business Central tables.

Can rules change the price?

Rules set choices and quantities, and the price comes from each choice's unit price. A rule that sets a choice or a quantity changes the price through that choice. See automated pricing.

Product Configurator app icon

Part of Product Configurator

Simplify creating BOMs and routing to make quote and order generation more efficient.

Have a question about Configurator Rule Builder?

Send us a note and the Product Configurator team will reply by email. Ready to plan a rollout? Contact your Microsoft Partner.

Ask a product question

Product Questions