Return nested object from Java action

0
I have entities Customer and Order (one to many) in domain model.  I have Java function that is getting CustomerDTO , this CustomerDTO has list of OrderDTO.  How can i return Customer Mendix Object that has orders nested in it from Java action?
asked
2 answers
0

Hi Rakhi,

 

Refer similar posts

  1. https://forum.mendix.com/link/questions/8128
  2. https://forum.mendix.com/link/questions/91527 
  3. https://forum.mendix.com/link/questions/92126  

    ​​​​​​​Hope this helps.
answered
0

If the Customer has the association to Order already in place, just return the Customer object. You can then use a retrieve in a microflow to get the orders from the Customer over that association.

 

 

answered