Skip to content

Adding Test Configurations in Test Fields Child Table

Steps to Configure Child Table Field Check

This configuration is used to enter a value into a child table field and then validate other fields in the same child row based on the input. It’s especially helpful when working with item tables or sub-forms.

πŸ”Ή Note:

  • Set Is Child to βœ… to indicate it’s a child table row.
  • Specify the Child Table Name and Child Index to define where the value is being entered.
  • Use follow-up Pos entries (10.01, 10.02, etc.) to validate fields after the change.

Configuration Guide for Child Tables

FieldDescription
ActionUse OnChange if the field update affects others; use Onload if loading data.
PosPosition number (e.g., 10, 10.01, etc.).
Field NameThe field inside the child table to set or validate.
ValueThe value to set or check.
Data TypeType of the field (e.g., Link, Data, Select).
Is Mandatoryβœ… if the field should be mandatory.
Is Read Onlyβœ… if the field should be read-only.
Is Hiddenβœ… if the field should be hidden.
Is Childβœ… if the field belongs to a child table.
Child Table NameName of the child table (e.g., items).
Child IndexRow index where the action should occur (e.g., 0 for first row).
TabTab where the child table is located.

Example Configuration: Entering and Validating Child Table Fields

No.PosActionField NameValueData TypeIs MandatoryIs Read OnlyIs HiddenIs ChildChild Table NameChild IndexTab
110OnChangeitem_codeITEM-001Linkβœ…βœ…items1Items
210.01rate100.00Dataβœ…βœ…items1Items
310.02amount100.00Currencyβœ…βœ…items1Items

Summary

  • Use this format when you want to enter data into a child table row (like items in a sales invoice).
  • After setting a value (e.g., item_code), validate fields like rate, amount, etc., within the same row.
  • Be sure to specify Child Table Name and Child Index accurately for correct targeting.