- In the TableHeader element, create an element of type Static Text and name it ExtraQtyTag.
- Click the Static Text tab.
- In the Search text field, specify the text to search for:
Quantity *BK.ORD. - Set Max error percentage to 35.
- Since the ExtraQuantity field contains multiple lines, select the options Take spaces into account and Permit multiple lines.
- Do not penalize hypotheses carried over to the next line: set Line break penalty to 1.
- To specify that the name being searched for is located on the same level as the name Designation, click the Relations tab and specify the following additional constraints:
- Above the lower boundary of the kwDesignation element, Offset = -50, Reference boundary = Bottom
- Below the upper boundary of the kwDesignation element, Offset = -50, Reference boundary = Top

-
To optimize the search process, specify an additional condition: Do not search for the name if the name Designation has not been detected. Click the Advanced tab and specify this condition in Advanced pre-search relations. In the FlexiLayout language, this condition can be written as follows:
-
In Advanced pre-search relations, also specify additional constraints:
- Match the FlexiLayout to make sure that the element is detected on the first page of the document.
