Quantcast
Viewing all articles
Browse latest Browse all 82888

Getting the value of an associated entity's attribute

Hello everyone,

I am new to Mendix and I am trying to develop a very simple project. This is my domain model:

Image may be NSFW.
Clik here to view.

The value of the amount attribute should be unitPrice * Quantity. The thing is that the OrderLine unitPrice should be the Product unitPrice and I can't find a way to get it from the Product and assign that value to the OrderLine unitPrice. I tried to use a microflow with a Change Object action which would multiply the OrderLine quantity by the Product unitPrice, but there's no way I can access the Product unitPrice through the OrderLine ( which is a parameter of the microflow). Any ideas? Thank you in advance.


Viewing all articles
Browse latest Browse all 82888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>