Skip to main content

Hi,

I got this structure(see below) from my rest api and I need to add order_id into each line of order_line. 

How can I flatten out order_lines with the order_id? I have tryed different  ways, but when I have two order lines only one get the right order_id value….

 

Order/Orderlines

best regards,
Bjørn A.

Hi ​@bjorn 

The order_lines part needs to be the root. Then if you add the fields from the orders level there will be a order_id with multiple order_id_lines.

Are you using TDI or v20?

 


Hi Thomas,

I am using TDI,

Thanks, will try out your suggestion…

 

/Bjørn A.


Hi Thomas,

Thanks, I used “Data structure” = Generic to get it to work :-)
 


best regards,

Bjørn A: