updating calculations

Please bare with me. I hope you understand the below:

  1. I have a relationship ‘orders_to_orders_items’;
  2. orders_items has a calculated field (row_total) and an aggregation of that calculated field (aggregated_rows);
  3. orders has a calculation (order_aggregation) that only takes the value of the aggregated field ‘aggregated_rows’;

I now change a field in the form of orders_items. It is only after clicking in the form (out of the updated field) that the calculated field ‘row_total’ is refreshed. But I think this is solved in the new c release…

I also have a form in which I show a tab with a table view of the orders. When I show the aggregated field ‘aggregated_rows’ there is no issue. When I show the field ‘order_aggregation’ the value is not updated until I exit the application or click 2 or 3 times in that form. controller.saveData or application.updateUI don’t help.

The problem is that I need that field order_aggregation because I need to, again, aggregate those values for another task…

This is to difficult to solve without seeing a example.

If for example row_total isn’t refreshed if you change a value of that row then maybe this is also related to youre order_aggregation problem. But it is strange that you have to exit the applicaiton..

Johan, I replicated (somewhat) what I am doing in my solution. My conclusion for now that it is related to what I reported before. I leave the field but don’t leave the row by navigating in that same form but by navigating through a tab with a tableview. I think this should be solved in rc7 based on your input concerning another issue I reported…