Importing data

imurphy
Member Posts: 308
This is a long shot - Anyone know if its possible to insert rows and fill out fields programmatically in Nav?
I want to import some order data from excel but don't want to have to check all the fields.
I want to import description, qty and price for the currently open order.
I've been looking at the Universal Excel Import tool written by Stawek Guzek but it imports to tables and will require a *lot* of work to use it as the documentation is only partially complete.
Ian
I want to import some order data from excel but don't want to have to check all the fields.
I want to import description, qty and price for the currently open order.
I've been looking at the Universal Excel Import tool written by Stawek Guzek but it imports to tables and will require a *lot* of work to use it as the documentation is only partially complete.
Ian
0
Comments
-
what you need is a dataport.
Export the excel data to a TXT file.
Create a data port & Import.
You sales line data need to contain something like:
"Order"~"12345"~"Item"~"10000"~"AAA111"~"1"~"Hi Mom"
Order=Document Type
12345=Document No
Item=Type
10000=Line No
aaa111=Item "No"
1=Qty
Hi Mom=Description
A real good sample is the last post on page 1 of this post
http://www.mibuso.com/forum/viewtopic.php?t=160240 -
Thanks, hadn't thought of using dataports. I'll give it a try.0
-
imurphy wrote:I've been looking at the Universal Excel Import tool written by Stawek Guzek but it imports to tables and will require a *lot* of work to use it as the documentation is only partially complete.
Ian
If you want to insert or update the table you need as a minimum the fields which are in primary key. For importing Order Line it is Document Type, Document No., and Line No. Plus any other fields which are required by you. If you want to create sales line with Item you need to have in Excel also Document Type, Item No, and Quantity. Perhaps Unit Price.
You need all this fields regardless of what you choose - Importer or dataport.
The documentation doesn't cover such a details (and probably will not cover in future releases) because it is not about Importer, it is about your specific table (table 37 - Sales Line) to which you want to import the data.
Regards,
SlawekSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030
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