Copying an object - function problems

Big_D
Member Posts: 213
Apologies if this has been covered already but my searches aren’t coming back with anything :oops: …
When I copy a report object say from 3.70 to 5.00 (N.B., I opened a copy of the 3.70 database in 5.00 for copying purposes), every so often a report won’t compile in 5.00 as a different function name has been picked up when inserting into 5.00, i.e.,
In 3.70 database report object…
IF ShiptoAddress.GET("Customer No.","Site No.") THEN
FormatAddr.ShipTo(CustAddr,ShiptoAddress)
Copying the object into
In 5.00 database report object gives…
IF ShiptoAddress.GET("Customer No.","Site No.") THEN
FormatAddr.TransferHeaderTransferFrom(CustAddr,ShiptoAddress)
I have been reliably informed that this is due to the ID of a function between databases does not match.
Is there anyway to get around this other than comparing the two objects each time?
Cheers
David
When I copy a report object say from 3.70 to 5.00 (N.B., I opened a copy of the 3.70 database in 5.00 for copying purposes), every so often a report won’t compile in 5.00 as a different function name has been picked up when inserting into 5.00, i.e.,
In 3.70 database report object…
IF ShiptoAddress.GET("Customer No.","Site No.") THEN
FormatAddr.ShipTo(CustAddr,ShiptoAddress)
Copying the object into
In 5.00 database report object gives…
IF ShiptoAddress.GET("Customer No.","Site No.") THEN
FormatAddr.TransferHeaderTransferFrom(CustAddr,ShiptoAddress)
I have been reliably informed that this is due to the ID of a function between databases does not match.
Is there anyway to get around this other than comparing the two objects each time?
Cheers
David
Big D signing off!
0
Comments
-
It will be hard... but best will be to transfer the object not through FOB but through text file. If you use text file, the connection will be done through the function name, not through ID which is used when importing FOB.0
-
Hi Kamil,
Yes I had noticed that a text import is a lot more reliable in this instance.
Thanks for the reply.
Cheers
DavidBig D signing off!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