Calculate total amount order details

0
My applciations is for restaurants to order products from different and multiple suppliers. I have a catalogue with all the items from all sorts of suppliers. Restaurant owners can place an order and see the order details. I want the total amount of the items calculated into the order details.   And when suppliers receive an order they should only see the total amount of the products ordered at them.   Here is the domain model
asked
1 answers
1

Hi, 

Perhaps this page can help you: https://docs.mendix.com/howto6/working-with-lists-in-a-microflow.

For calculation of totals: https://docs.mendix.com/howto6/working-with-lists-in-a-microflow#4-calculating-a-total-list-value-using-a-variable-and-a-loop and https://docs.mendix.com/howto6/working-with-lists-in-a-microflow#5-calculate-a-total-list-value-using-an-aggregate-function.

I think that when you read this page, you will get your answer on how to get the total amount of products per supplier.

answered