I want to create a js file to take as result a grid of fields from two different entities. Here, is the problem:
I have a custom entity with the name New and the fields name1,name2,name3 with 400 records. The name1 has 400 different values.
I have another custom entity with the name Old and the fields last1,last2,last3 with 5000 records.
I want as result to take all the records from Old entity where last1 = "XXXX" and last2=name2.
The final result will have the fields name1,name2,name3,last1,last2,last3.
*This post is locked for comments