on 09-28-2023 2:40 PM
Hi Experts,
i am trying to distribute value from one table to another which share the same model (live connection bw query).
So code goes similar to this:
var resultset_A = Table_A.getDataSource().getResultSet();
var value_A = resultset_A[0][Alias.MeasureDimension].rawValue / countervariable;
//Zeroing the initial value
Table_A.getPlanning().setUserInput({"@MeasureDimension":"abc", "Dimension1":"xyz", "Dimension2":"0001"}, "0");
Table_A.getPlanning().submitData();
//Writing it into another selections with the countervariable calculation
Table_B.getPlanning().setUserInput({"@MeasureDimension":"abc", "Dimension1":"xyz", "Dimension":"0002"}, "value_A");
Table_B.getPlanning().submitData();
The problem is now with the first Table_A.submitData(). It refreshes also Table_B and while Table_B is also loading/refreshing the code Table_B.submitData() seems to have problems submitting the values because it is in an "Illegal State" (Maybe cause refresh?!). Both submitData return true though.
Do i really need to have somehow a hidden table where both columns i want to change are in the same table widget?
Regards,
Max
User | Count |
---|---|
69 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.