Good day,
On a screen full of data we have a screen for assigning detail data to the said parent data. The parent data is assigned to projects. And so is the detail data. The detail data can also be unassigned (so not assigned to a project).
I was trying to make a prefilter so only the project with unassigned detail data and the detail data assigned to the current project the user works with is shown. This proved to be difficult. As the detail data does not know about the parent data’s unique ID and project ID. And when I give the data via the reference, only the detail data assigned to the project shows up. This is not the wished outcome.
How can I make it so that the detail data assigned to a project is shown only with the project it's assigned with, and when the detail data is unassigned to a project, it is also shown (unasigned detail data needs to be shown to all projects)?
So it comes down to the following: I want to show the detail data to a specific project if the detail data is assigned to it, or when the detail data is completely unassigned. And giving the strict relation to to the parent data removes the option of detail data being unassigned, that is not the wished outcome. How could this be achieved?