Skip to content · Zum Inhalt

Conditional pop-up notes

A conditional pop-up note appears only when a document line meets a rule. It is the tool for a warning that is right for a big order and wrong for a small one.

Before you start: the item the rule is about must exist, and the conditional note itself must be created on the pop-up notes list.

Create the rule behind a conditional note

  1. Choose the search icon, enter QUARN Cond. PopUp Rules and choose the list.
  2. Choose New.
  3. Enter the Item No. the rule applies to, for example 1896-S, and a Code that groups the rules of one note.
  4. Give the rule a Priority: the lower the number, the earlier the rule is checked.
  5. Choose the Document Context — a sales order or a purchase order.
  6. Leave the row enabled.

The list of rules that decide when a conditional note appears

Choose the field, the operator and the compare value

  1. On the rule, enter the Field No. of the line field to check, or pick the field with Field Name.
  2. Choose the Operator: greater than, less than, equal, or one of the other comparisons.
  3. Enter the Compare Value the line is compared with.
  4. Save the rule, then open QUARN PopUp Notes and switch Enabled on for the conditional note that uses the rule.
  5. Test it on a document line that meets the rule.

A rule with its field, operator and compare value

Example. Item 1896-S must warn the salesperson when more than 10 pieces are ordered. The rule carries the item 1896-S, the code of the note, priority 1, the context Sales Order, the field Minimum quantity with the operator Greater Than and the compare value 10. A line with 12 pieces shows the note; a line with 5 does not.

What happens. The app checks the rules of the note when a line of the chosen document context changes. All enabled rules of the note must match before the note appears.

If something goes wrong

  • "Choose the field to check in the conditional rule." The rule has no field number, so it can never match. Enter the field number or pick the field name.
  • "A conditional note must have at least one enabled rule." A conditional note was switched on before any rule was written. Add a rule and enable it, or switch the note off.

Note: A rule whose operator and compare value do not fit the field never fires. A text field compared with a number, or a date compared with a word, is silently ignored.