Quantcast
Channel: Microsoft Dynamics NAV
Viewing all articles
Browse latest Browse all 64865

Forum Post: RE: XML Port in NAV 2013 R2 does not Handle Format Variable Length correctly

$
0
0

Hi Roberto,

Thanks for your input.

I created two other XML Ports from Scratch in NAV 20013 R2:

a. The first just imported a CSV file with both Field Separators (Commas) and Field Delimiters (Quote), and It imported 100%.

b. Re-created the XML Port for the specific Customer File Import, and it failed in exactly the same way as the original one.

I now believe it has to do with the file format, which is unusual, because it has some header rows before it gets into the actual data.

I hope this is not too detailed for this forum, but here goes:

The File looks like this (NOTE: two blank rows (NewLine NewLine) either side for Column Caption Row:

TRIAL BALANCE: 03/2013-10/2013 vs 03/2013-09/2013

"Ledger","Account Name","Category","Type","Debit","Credit","","Company","Report Per","Comp Per","Abs Diff","Rel Diff"

 

 

"0001","Fixed Capital","","B",142163362.26,0,"","00102613",142163362.26,139832988.98,2330373.28,1.66654042

"0012","Equipment","","B",7965,0,"","00102613",7965,7965,0,0

"0016","Furniture & Fittings","","B",22760,0,"","00102613",22760,22760,0,0

"2000","Working Ledger Loan Account","","B",956667.27,0,"","00102613",956667.27,960129.44,-3462.17,-.36059409

It must have something to do with the way I'm Handling the File Header and Caption Rows that is causing it to fail in the new R2 version. Will have to do some experimenting, I think.

Thanks again for the help.

Regards,

Theo


Viewing all articles
Browse latest Browse all 64865

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>