getting multiple orderRule objects into an order object.

i got an object called Order, which has one or more orderRule objects. how do i place orderRules into an Order? obviously i should use one (or more) microflow(s), but how should they be? thanks in advance.
1 answers

No need for microflows. On the page that has your Order entity (as Data View), inside that data view simply add a datagrid over the relation (association) OrderRule_Order. This way, when creating OrderRules using the DataGrid, Mendix will automatically link the OrderRule to the Order you're in.

Refer to the documentation for more information. Here an example is show where a Data grid is inserted inside a data view.