- Create an element of type Group and name it SumGroup.
- Click the Advanced tab and in the Advanced pre-search relations field, specify additional search constraints for all the elements in the group:Search for the object below the last detected table. In the FlexiLayout language, this constraint can be written as follows:
If not InvoiceTable.LastSubTable.Body.IsNull then
Below: InvoiceTable.LastSubTable.Body.Rect.Bottom;
Step 9: TotalAmount field, SumGroup group element
Sample 4. Step 9: TotalAmount field, SumGroup Group element
Once you have analyzed the test documents, you will notice that the Total Amount field occurs only together with the field name on the last page below the table. Additionally, the field itself is either on the same level as the field name or below the name. Since the field contains only one line, we will create a Character String element to search for it.
To specify the settings common to the field and its name, we will use a Group element.
To create a SumGroup element:
Sample 4. Step 8: Table element, InvoiceTable element
Previous
Sample 4. Step 9.1: Total Amount name, kwTotal element
Next
