How to use Mapping Form to import item journal
selece28
Member Posts: 316
Hi all
I have a problem when importing data from excel file to item journal line
I can do mapping for some fields but having problem with the [Line No.] fields because when importing the auto number in Line No. fields didn't work
So everytime i import using mapping form, it only imported 1 records
Could someone tell me how to solve this problem?
Thanks
I have a problem when importing data from excel file to item journal line
I can do mapping for some fields but having problem with the [Line No.] fields because when importing the auto number in Line No. fields didn't work
So everytime i import using mapping form, it only imported 1 records
Could someone tell me how to solve this problem?
Thanks
______________
Regards,
Steven
Regards,
Steven
0
Answers
-
Make a field "Line Number" in the excel sheet and specify it in the dataport. Give different line number on each row in the excel sheet and import.
It will solve the problem.CA Sandeep Singla
http://ssdynamics.co.in0 -
Or you can generate the line no on import...
Variable
LineNo (Integer)
OnPreDataPort()
LineNo := 10000;
OnAfterImportRecord()
LineNo := LineNo + 10000;
"Line No." := LineNo;0 -
Just to clear something up.Savatage wrote:Or you can generate the line no on import...
Variable
LineNo (Integer)
OnPreDataPort()
LineNo := 10000;
OnAfterImportRecord()
LineNo := LineNo + 10000;
"Line No." := LineNo;
This is indeed a correct solution when using dataports, but selece28 is using the mapping form (form 8601). This can import stuff directly from the excel sheet. ssingla's solutions should work.0 -
Thanks,
But what did i get after the import process? The number from excel or the original Line No. autonumber? I want my imported records to have the original Line No. autonumber
Regards,
Steven______________
Regards,
Steven0 -
What is original Line Number.Auto Number. :-k
It is increment of 10000 (Indian Version) , so define the line number accordingly in the excel sheet.CA Sandeep Singla
http://ssdynamics.co.in0 -
Never seen those forms before and im pretty sure they wont last till vers. 5.0 Honestly with the bad translation and the bad numbering etc. it looks like its a mistake its even in the database.
Is it somewhere on the menusuite?0 -
Mbad wrote:Never seen those forms before and im pretty sure they wont last till vers. 5.0 Honestly with the bad translation and the bad numbering etc. it looks like its a mistake its even in the database.
Is it somewhere on the menusuite?
The new tool in 5.0 is for export only (for now at least
) so this will still be the way for importing I guess. David Singleton0 -
Your build must be higher than mine then cause i cant find it.
Still I wouldnt use this. It looks like unfinished business. I mean a fieldcaption that is called ValidateInsertModify?0 -
I am not a techie but I guess it validates the fields which are inserted.
I always puts the validation on the field for which master data/related data exists in the database. i do not know whether it is right or wrong but it saves wrong insertion of data.
I am finding this mapping pretty useful .CA Sandeep Singla
http://ssdynamics.co.in0 -
Yes, i find this form very useful to import data from excel sheet
The problem is when importing auto number fields
And yes, i would like the auto number to be the increment of 10000. Then it means i have to create a column in my excel file with the value of increment number by 10000, is that true ssingla?______________
Regards,
Steven0 -
-
Ok then, my problems solved.
Just curious, Is there any other way without creating Line No. column in my excel sheet?
Thank You ssingla______________
Regards,
Steven0 -
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

