> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sample 4. Step 7.3: Name of Quantity column, kwQuantity element

> Identify the Quantity column name with a kwQuantity Static Text element matching Qty, Quantity, ORDERED, or QtyNet while excluding the ExtraQtyTag region.

Rely on the already detected kwDesignation and ExtraQtyTag elements to describe this name.

To create a kwQuantity element:

1. In the **TableHeader** element, create an element of type Static Text and name it **kwQuantity**.
2. Click the Static Text tab.
3. In the Search text field, specify the text to search for: `Qty|Quantity|ORDERED|QtyNet`.
4. Set Max error percentage to 35.
5. Click the Search Constraints tab and exclude the already detected element `SearchElements.TableHeader.ExtraQtyTag` from the search area.
6. 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. For more information, see [Step 7.2](/flexi-capture/fls/tutorial4/4step7-2).
7. To optimize the search process, specify an additional condition: Do not search for the name if the name **Designation** has not been detected. For more information, see [Step 7.2](/flexi-capture/fls/tutorial4/4step7-2).
8. In **Advanced pre-search relations**, specify additional search constraints:

   ```text theme={null}
   WholeWordMode: true;// Only whole words will be considered as hypotheses.
   MaxGapInLine: 20dt;// This is the maximum distance between adjacent characters.
   ```
9. Match the FlexiLayout to make sure that the element is detected on the first page of the document.
