Dataporting Error
RS8
Member Posts: 121
Hi,
While Dataporting for Item master, i got an error as
"The Length of the source exceeds the size of the destination buffer"
i have increased field width of Description(250), Search Description(250), Description2(200). The size of the data is less comparing to the length of the field, but it gives error..
can anyone suggest a solution for this.
While Dataporting for Item master, i got an error as
"The Length of the source exceeds the size of the destination buffer"
i have increased field width of Description(250), Search Description(250), Description2(200). The size of the data is less comparing to the length of the field, but it gives error..
can anyone suggest a solution for this.
0
Comments
-
you increased the 3 fields in the item table? hope, that you also does this for the other tables and functions that use the item description and the search description.
To your error message: Did you start the debugger?Do you make it right, it works too!0 -
yes, i have increased width for all related objects, is ther any particular buffer table, for this.. can any one mention the ID of the object..0
-
Hi.. Activate Debbuger and then run Dataport. And you'll see where exactly the error occures.. Then go to the destination point and rechange size of the field.
Good Luck
MCSD
Attain Navision0 -
please do not increase the item description. Create new fields. You'll will be getting the error nonstop until you modify 100's of objects.0
-
Common Sence wrote:dude :? , Description(250), Search Description(250), Description2(200)
Lesson 1.. think about how your changes will effect other areas of the system.
I have a dataport that takes the description and if it's too big it cuts & sizes it.
basically if your dataport imports the description into a variable (mydescription) in this example.
the copystr takes care of the rest.
first 30 characters go to the item description - chars 31 to 60 go to "description 2"
Item.Description := UPPERCASE(COPYSTR(mydescription, 1, 30));
Item."Description 2" := UPPERCASE(COPYSTR(mydescription,31,30));0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K 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
- 326 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
