I’m currently trying to combine the lower part from /“to_SupplierInvoiceItmAcctAssgmt” with the upper part from /“to_SuplrInvcItemPurOrdRef”. I try it via the json column
(there are more entries below, but they don’t contribute to this solution) and multiple value columns.
Then I use the table to json column as
Hi @ArminFan , I checked the data from your workflow. Is there any reason why you need the elements in to_SupplierInvoiceItmAcctAssgmt in an array? Based on what you built, you will always have just 1 set of these elements, is that correct?
I can modify your workflow so that that it gives you this:
It will need additional manipulation to add the array.
EDIT: I added the additional manipulation. Basically I added a GroupBy to convert them to a list which is recognized as an array in JSON. If you don’t need the elements to be in an array, you just need to remove the GroupBy (and you’ll get the results of my first screenshot above).