I have two tables. One is table of Products in which ID column contains SKUs (unique). Another
table ProductsLines contains production line codes and SKUs and represent on which production line SKU can be produced. I have three columns is this table - ID, SKU, ProductionLineId. SKU and ProductionLineId are not unique (SKU can be produced on multiple production lines)
I can display filtered ProductsLines data based on selected SKU and ProductionLineType (starts with condition on ProductionLineId) on interactive table showing only ProductionLineId column.
For simplicity and optimized usage of screen space I would like to display ProductionLineId in comma separated value like Line1, Line3, Line4.
I would like to fill array with filtered ProductionLineId column (this is where I got stuck) and then use
Array join to string and store result into variable which is displayed to user on screen.