Report listing all Change Notices with associated Change Requests
- November 10, 2020
- 1 reply
- 7822 views
I try to create a report using Query Builder, that gives me all Change Notices and their related Change Requests.
We have an one to many relationship between CR and CN, thus one CN can only have one CR or none.
From this article, I saw, that CN and CR are linked with "Adressed By": https://www.ptc.com/en/support/article/CS63595
I attached a Screenshot that shows my setup.
I selected Change Notice.number and Change Request.number as my output.
When I run my report and select the CN number only, I get every CN number. When I select both numbers, I get less results.
When I modify the join to be an outer join againt CR, I get every CN number for both, but some CR numbers are empty. When I open a CN with an empty CR number, there is a CR related to that CN in the Associated Process Objects table of the CN.
Results where the CR number is not empty look exactly the same like the one with an empfy filed, when I open the CN.
I want a list of CN where the CR number is empty only, when there is no related CN.

