Hi everyone,
I am trying to import and export a CSV file to create a sales order. Here is a sample of it.
In the above image, the Format property is set to XML. Now for that indentation, there is no error. When I change the format property to variable Text. I get that Table indentation error.
"An element with source type Table cannot have Table element children."
Since I am exporting from multiple tables sales header and sales line. The indentation should not change right? I tried changing the indentation but it did not work the way I want, because the sales lines showed up at the end after all the sales header fields. Could someone help me out on what should I do?
EDIT: I checked out some forums and it seems like nav doesn't allow this combination. There were lots of suggestion to use an Integer table. Could someone throw me an example on how to use integer table or is there any other way?
Thanks in advance,
Mathan
Answers
In your case - to make things easier - I would create two XMLports.
The first exports the Header-data and the seconds export the line-data.
If you want to keep all in one, you have to go this way:
Cheers
This is the standard selected by default. Follow this structure and the import will work.
An easy way for understanding is to export data first. Then analysing the file and create an import-file based upon it.
Cheers,
Is there a way to get this right like continuous column wise?
What problem do you see with the columns?
As I wrote before, to make things easier, just create two XMLports.
Cheers,