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

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

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.
