...
- Write the table "MasterTable".
- Write the table "SlaveTable".
- In the header configure "Master" as:
id = 5
name = TestMaster
inputType = List
dataTable = MasterTable
dataKeyColumn = MasterKey
dataDisplayColumn = MasterName
linkedElement = 6 - This points to the slave list. - In the header configure "Slave" as:
id = 6
name = TestSlave
inputType = List
dataTable = SlaveTable
dataKeyColumn = SlaveKey
dataDisplayColumn = SlaveName
filterColumn = SlaveMasterKey - This points to the column in SlaveTable to filter the values on.
Step-by-step guide - "linkColumn"
...
Whenever the "Master" field is change - the "Key" from the MasterTable is copied to the "Slave" field.
Tip | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
Example: this is used in Unplanned Move. Look a class Mob_GetReferenceData.addUnplannedMoveHeader(..)
|
...
For the examples, this data is used to demo the functionality.
MasterTable
MasterKey | MasterName |
---|---|
M1 | Bike |
M2 | Car |
M3 | Truck |
The 2 tables are linked so the MasterTable.MasterKey --> SlaveTable.SlaveMasterKey
SlaveTable
SlaveMasterKey | SlaveKey | SlaveName |
---|---|---|
M1 | S1 | City bike |
M1 | S2 | Mountainbike bike |
M1 | S3 | Motor bike |
M2 | S5 | Sports car |
M2 | S6 | MPV |
M2 | S7 | Wargon |
M3 | S9 | Just Truck |
Info |
---|
|
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
hidden | true |
---|
...