Rank: Member
Joined: 1/28/2015 Posts: 24 Location: Sweden
|
I´m stuck with a problem. So, i have this case where i generate some rows that will be used on an invoice. And i want to add a custom text at the bottom of the rows, like the example below.
The rows can be at different number.
Input file <InvoiceHeader InvoiceCustomerNo="1111" InvoiceDate="2019-11-27"> <InvoiceRow CustomerRowNo="1" RowDescription="Item 1"/> <InvoiceRow CustomerRowNo="2" RowDescription="Item 2"/> <InvoiceRow CustomerRowNo="3" RowDescription="Item 3"/> <InvoiceRow CustomerRowNo="4" RowDescription="Item 4"/> </InvoiceHeader> <InvoiceHeader InvoiceCustomerNo="1111" InvoiceDate="2019-11-27"> <InvoiceRow CustomerRowNo="1" RowDescription="Item 1"/> <InvoiceRow CustomerRowNo="2" RowDescription="Item 2"/> </InvoiceHeader>
Output file: <InvoiceHeader InvoiceCustomerNo="1111" InvoiceDate="2019-11-27"> <InvoiceRow CustomerRowNo="1" RowDescription="Item 1"/> <InvoiceRow CustomerRowNo="2" RowDescription="Item 2"/> <InvoiceRow CustomerRowNo="3" RowDescription="Item 3"/> <InvoiceRow CustomerRowNo="4" RowDescription="Item 4"/> <InvoiceRow CustomerRowNo="5" RowDescription="Custom text at bottom"/> </InvoiceHeader> <InvoiceHeader InvoiceCustomerNo="1111" InvoiceDate="2019-11-27"> <InvoiceRow CustomerRowNo="1" RowDescription="Item 1"/> <InvoiceRow CustomerRowNo="2" RowDescription="Item 2"/> <InvoiceRow CustomerRowNo="5" RowDescription="Custom text at bottom"/> </InvoiceHeader>
|
Rank: Member
Joined: 1/28/2015 Posts: 24 Location: Sweden
|
Solved it with "Add Duplicate Input After"
|