Excel automation using dataset

Read the invoice number from regular field either read cell or read range and get the invoice number

read the line item to datatable

Add column to Datatbale with columnname Invoice_no

Refer below to move column to 0 index position

https://forum.uipath.com/t/how-to-move-column-from-index-0-to-index-10-in-datatable/137583/3

if the invoice no is same for all the records
use assign activity in to field use Dt.Columns(“Invoice_no”).Expression and in Value field give invoice no
otherwise you have use either for each and use assign activity to set the value

Regards