Skip to main content

Enhanced Search Description

This module makes the item Search Description field more effective. When enabled, every time an item's Description is changed, the Search Description is automatically recalculated in a "normalized" form: letters and digits only, without spaces, punctuation or symbols, with optional user-defined character replacements.

This way, descriptions written in different ways (for example Screw M6x20 - stainless and SCREW M6 X 20 STAINLESS) produce similar search descriptions that are easier to find.

The Search Description field is also shown directly on the item card.

Open the Inventory Setup page; the General FastTab contains the new fields:

Field Description
Enhanced Item Search Description Enables the automatic calculation of the normalized search description. When disabled, Business Central behaves as usual.
Search Description Replace Comma-separated list of rules applied to the description before normalization (see below). Maximum 50 characters.

Each rule in the list can be:

  • two characters XY: every X character is replaced with Y (e.g. àa turns "à" into "a");
  • one character X: the X character is removed (e.g. -);
  • $: removes consecutive repeated characters (e.g. "BOTTLE" becomes "BOTLE").

Example: àa,èe,ìi,òo,ùu,$

Replacements are case-sensitive.

On the Item Card page, right after the Description field, the Search Description field is shown and can be viewed or edited manually.

When an item's Description is changed and Enhanced Item Search Description is enabled:

  1. the Search Description Replace rules are applied in order;
  2. only letters (A-Z, a-z, without accents) and digits are kept; spaces, punctuation, symbols and accented letters that were not replaced are discarded;
  3. if the $ rule is present, identical consecutive characters are reduced to one;
  4. the result is written to the Search Description field.

Example, with no rules: Screw M6x20 - stainless becomes ScrewM6x20stainless.

Existing items are not updated until their description is changed.