Create/Import Blanket Sales Order using dataport from csv file in NAV 2009 R2.

ManiNav
Member Posts: 120
Hi Everyone,
I tried to create 'Blanket Sales order' using one dataport from csv file. In csv file suppose: have 8 mandatory column in one row, 3 from sales header and remaining 5 from sales line.
How will i linked each other so that data will import from single row that is from two different table? or, can be exported the all 8 column in single row?
Thanks,
Mani.
I tried to create 'Blanket Sales order' using one dataport from csv file. In csv file suppose: have 8 mandatory column in one row, 3 from sales header and remaining 5 from sales line.
How will i linked each other so that data will import from single row that is from two different table? or, can be exported the all 8 column in single row?
Thanks,
Mani.
0
Answers
-
Hi Expert,
I created sales line as dataitem and created global variable for 'document type', 'No.' and 'Sell to customer No.' of sales header field and assign it in sales Line onBeforeExport trigger. after that thinking to add the SH variable in Sales line dataport fields manually including Sales line field. then try to export.
Still not getting as expect. Working on that.
Please advice/guide, whether i am on correct path or should be some different.
Thanks,
Mani.0 -
@ManiNav - Making a SO/PO is never recommended this way, you should never directly operate to these base tables. I will suggest include an intermediate table before the Blanket SO and then make it in 3 step. It will help in debugging too.
Any specific reason for CSV, Why not excel?Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
Hi @RockWithNAV ,
Thanks for your valuable response.
First, if i am trying with single dataport with field validation importation, then also its not good to import directly in base table SH,SL?
If not then ,suppose i imported the csv file in any staging/intermediate table. so what will be the 3 steps to proceed?
Second, If i am importing from excel then what will the short procedure?
Thanks alot for your guide..
Mani.0 -
Hi Expert,
I am stucking still on above. please guide me.
Thanks,
Mani.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