Hi everyone,
I have a lookup form where I want to add range to the the querybuilddatasource.
this.queryBuildDataSource().addRange(fieldNum(ABCHRMEmployeeLookup,PositionId)).
value(HcmPosition::find(hcmPositionHierarchy.Position).PositionId);
this line is working fine with few Records but with 996 records it give this error.

Then I decided to keep the 996 records in the tempDB table and try to create join with my data source
which is a view of the query.
I wrote this code to join with my current datasource.

Then I got this Error

Please help me how I can solve the first and second problem.
P1: How to set multiple ranges without buffer overflow?
P2: How to Join Temp table with this data source? (datasource is AOT View of AOT query)
For Problem 2 I tried this suggestion. But I can't be able to use 'this. query().'
community.dynamics.com/.../the-data-source-is-not-embedded-within-a-parent-data-source
*This post is locked for comments
I have the same question (0)