Thanks goshoom for the quick reply,
Sorry for the confusions.
Firstly I am on D365.
Secondly, my concise questions would be that how can I remove Filter of DataAreaId when two tables are joined in AOT query ( that query is then used in View ).
For example the query generated is following:
select * from InventSum ins join MyTable mt
on mt.ItemId = ins.ItemId and ins.DataAreaId = mt.DataAreaId
what I don't want is the filter of following in the query:
ins.DataAreaId = mt.DataAreaId
Is there any way I can achieve the above mentioned through AOT query used in a view. ( I have set AllowCrossCompany to True )
Note:
I did find in the documentation to use a Table that has SaveDataPerCompany set to NO as root datasource in order to achieve this but, I am not aware of any table that has SaveDataPerCompany set to NO for my scenario in order to work a way around.