Retrieve all Palettes

0
Hey Team, in my app I would like to display  all palettes assigned to one purchase order.  Right now I am working with a list view combined with a reference selector as shown below. But the problem here is that I get entries displayed for each object of the entity OrderItem. Does anyone has an idea how to solve this problem?   Thanks in advance...
asked
1 answers
0

Based on your domain model, the outermost object should be PurchaseOrder, not  OrderItem; so make PurchaseOrder the outermost object. If you want to display all Palettes that belong to a specific PurchaseOrder and are assigned to a specific OrderItem, the structure should be:

PurchaseOrder, then nested OrderItem, then nested Palette.

 

answered