Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyNotFound Error in join #542

Closed
MarkMpn opened this issue Sep 5, 2024 · 0 comments · Fixed by #549
Closed

KeyNotFound Error in join #542

MarkMpn opened this issue Sep 5, 2024 · 0 comments · Fixed by #549

Comments

@MarkMpn
Copy link
Owner

MarkMpn commented Sep 5, 2024

https://markcarrington.dev/2021/04/29/sql-4-cds-v5-released/#comment-10201

select DISTINCT
(select D.displayname
from metadata.entity as D
where D.logicalname=R.referencingentity) as ThisEntity,
(select D.logicalname
from metadata.entity as D
where D.logicalname=R.referencingentity) as [ThisEntity Logical Name],
R.introducedversion as Version,
E.displayname as DependsOn,
E.logicalname as [DependsOn Logical Name],
E.description as [DependsOn Description]
from metadata.relationship_n_1 as R
left join metadata.entity as E
on E.schemaname=R.referencedentity
where

R.referencingentity='opportunity'
@MarkMpn MarkMpn linked a pull request Sep 14, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant