Hi, we have a client using v2018 R2 and have setup a view for a custom entity and marked it for use via sdata. When trying to use is via the webservice it always errors. Looking at the sql logs, the query is asking for some comp_ fields even though the company table is not referenced in the view. I started to add the comp_ fields and realised that it wanted me to add the entire company table fields. I don't understand why.
If I create a new view based on primary entity then every seems to work. Has anyone has any issues like this?