How to import multiple lines in table using dataport in nav 2009 r2..?

shubham
Member Posts: 9
and the problem is that when i am importing the the lines only the last line from the dataset is importing rest all are not getting imported ....please tell me how to do this in detail ...as i am a beginner
0
Best Answer
-
Hi, It depends on dataport properties and code, primary key on table.
You have problem since all your records are overwritten each other except last record.
Nav Upgrades and DEV outsourcing
Reports transformation to RDLC
List -1h , Complex List -3h, Document -4h (dev hours)
navisionupgrade.com1
Answers
-
Hi, It depends on dataport properties and code, primary key on table.
You have problem since all your records are overwritten each other except last record.
Nav Upgrades and DEV outsourcing
Reports transformation to RDLC
List -1h , Complex List -3h, Document -4h (dev hours)
navisionupgrade.com1 -
can you help me to corret that overwritten part
0 -
Hi. If the primary key field for a table is, say, Code then you can only have 1 record for that code in the table. If the primary key field is Code, Text then you can have multiple entries for the code as long as the text is different. This is relevant to dataports as when you load in a csv file for a record and the primary key is Code, for example, then if the csv file contains mutiple entries for the same code only the last will be recorded in the table. It can only hold one record for the Code.
If this makes no sense, let me know which table you are trying to populate and I will explain further.
Hope this helps.
Neil0 -
i am explaining you my senario,
i have made an bhav copy table of my own which include following field names; entry no. as code, ISIN as code , Date as date , rate as decimal
, exchange as option , symbol as code.
Now my concern is that i have to import a file to this table using dataport which includes only 3 source expression ISIN, DATE , RATE these and my file which i have to import contains three lines with these three fields
now my problem is that when i am importing this file only the last line from these three lines are imported to the bhav copy table....now can you help me ??
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