A multiplication between 2 attributes from 2 different entities

0
Hello everyone, I implemented a small online store in Mendix, and this is my domain model. Within the OrderTrack entity, I have the TotalValue attribute. I want this attribute to be the result of the multiplication between Quantity (the attribute from the same entity) and Price (attribute from the Product entity). How could I do this? Thank you!
asked
1 answers
0

Heey Valentin,

 

In a microflow you have to have both objects and then you can make a variable that does the multiplication. Then you can use that variable to set the value of the totalvalue attribute in your entity.

 

Kind regards,

Edo

answered