Good morning!
I need to cross-reference data from two different lists stored in the database.
In one list I have the price, in another list I have the quantity that will be multiplied by the price.
The objective is that the user selects a product, the quantity and the system makes a quote in several different stores that have the same product with different prices, obviously. That is, it is a price comparison function.
To organize this, I created a repeating group of the stores (where the prices are) and an internal repeating group, inside the store, where the products are => in this cell I calculate the unit value of the product X the quantity (available in the list of purchases)
It happens that the bubble does not allow getting values ​​within the internal repeating group and when I calculate the form through sumproduct for each product and each quantity, unfortunately the bubble cannot agglutinate the products by quantity, although there is information in the database of both lists (or I couldn’t get it to work). What the bubble does is add and multiply according to the precedence in the list, i.e. cell 1 of list 1 times cell 1 of list 2.
If the list has only one quantity or they happen to be in the same sequence, the result is correct, however, if they are in a different sequence, the result is wrong.
My pains and possible solutions:
1 how to make sumproduct identify the product in both lists and only then do each item?
2 how to add inputs within the internal repeating group to display the summed result in the stores’ repeating group?
Note: I’ve already tried using the Orchestra plug-in, list repeating group and math.js, none of them can concatenate the lists and the problem persists. In the case of the orchestra, it only works through the click of buttons, which makes the UI terrible.
Help please