XML Port (import)- decimal fields not working

ccbryan63
Member Posts: 115
Hello. (Nav2009 R2) I have an XMLport pulling records from a text file into the general journal. The XMLport "works", that is it creates records in the journal and populates the fields, but where it fails is it doesn't insert the last three values in each line, which happen to be Amount, Debit Amount, and Credit amount. All the other fields are properly inserted into the journal, but Amount, Debit Amount, and Credit Amount are blank. These three fields look exactly like the others in the text file (except that they are decimal values), and the same as the others in the XMLport (Node Name = Amount; Node type = Element; Source Type = Field; Data Source = Gen. Journal Line::Amount).
The text file is comma delimited, with double quotes around each field. The xmlport properties that seem to be relevant are:
ID: 50100
Name: Import GL
Direction: Import
Format: Variable Text
FieldDelimiter: <">
FieldSeparator: <,>
The fields in the .txt file look like this:
......,"100.44","100.44","0.00"
......,"1023.15","1023.15","0.00"
Looking at the dataport in txt file format I see that those fields are type decimal.
Any thoughts??
Thanks,
Chandler
The text file is comma delimited, with double quotes around each field. The xmlport properties that seem to be relevant are:
ID: 50100
Name: Import GL
Direction: Import
Format: Variable Text
FieldDelimiter: <">
FieldSeparator: <,>
The fields in the .txt file look like this:
......,"100.44","100.44","0.00"
......,"1023.15","1023.15","0.00"
Looking at the dataport in txt file format I see that those fields are type decimal.
Any thoughts??
Thanks,
Chandler
0
Comments
-
Don't use semicolon, try something else.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions