I need some help in using nested details tables in Designer.
I already have a datamapper, which extracts the data from an xml source in the way I need it. This gives me a data model similar to this (greatly simplified):
Record
Items
stocks
There is no problem to list all items for the record, but I need also all the stocks for the item.
You may want to try changing your data mapping so that it uses detail tables at the same level under each record.
The (simplified) structure would then look something like this:
Record
Items
Stocks
In the Stocks table, you should simply add an additional field that contains the parent Item’s ID. This will allow you to use simple detail tables in the Designer without having to fuss with complex scripts.
It wouldn’t be a problem to flatten the xml structure and keep the relations through parentIDs in the data mapper. But I still don’t know, how to filter the view, based on these parentIDs, like for example: