Patrik Wikström
90 posts
Registered:
15 Oct 2018
17 Jan 2024
Link to this post
Used CustomContext for the POC and called FetchRealtedRecords in the ReceiveData method in the business entity when a certain value was delivered in the CustomContext.
Worked ok with the DatasetModel using your instructions, e.g. calling OpenQuery on the father TableModel. One additional thing was needed to get the DatasetModel in the right mode (UseDatasetQueries), we set the child table also as the FillChildTables.
xDM:Child:FillChildTables = "eChild" before calling the Fill method.
Thanks for the additional tip!