Migrate data of Change Log Setup - get the error on NAV 2018

waynenl
Member Posts: 39
Dear,
I have this requirement to migrate the data of Change Log Setup (Table + Fields) to the newer version (NAV 2018) from NAV 2009. I use the SQL script to move data, why I do not use the RapidStart? Because of the performance and the huge data that I need to move and do some of transforming the data. The Change Log Setup is one of the tables that need to migrate.
I get the error when modifying the record on the table that has the setup in Change Log Setup, the migrated data has insert + modify + delete, but only modify get the error.
I try to delete the setup data of this table and set up again on RTC. Then it works. I check the data in SQL and found that the same.
I do not know the Change Log Setup has something hidden behind or not.
Please does anyone help me to find out the reason?
Type: System.ArgumentNullException
Message:
<ii>Value cannot be null.
Parameter name: value</ii>
ParamName: value
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavBLOB.CreateFromObject(Object value)
at Microsoft.Dynamics.Nav.Runtime.NavValue.CreateNavValueFromObject(INavValueMetadata metadata, Object value)
at Microsoft.Dynamics.Nav.Runtime.NavFieldRef.get_ALValue()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit423.LogModification_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit423.LogModification(ByRef`1 recRef)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit423.OnInvoke(Int32 memberId, Object[] args)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit1.OnDatabaseModify_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit1.OnDatabaseModify(NavRecordRef recRef)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit1.OnInvoke(Int32 memberId, Object[] args)
at Microsoft.Dynamics.Nav.Runtime.NavCodeunit1.Invoke(Int32 methodId, Object[] arguments)
I have this requirement to migrate the data of Change Log Setup (Table + Fields) to the newer version (NAV 2018) from NAV 2009. I use the SQL script to move data, why I do not use the RapidStart? Because of the performance and the huge data that I need to move and do some of transforming the data. The Change Log Setup is one of the tables that need to migrate.
I get the error when modifying the record on the table that has the setup in Change Log Setup, the migrated data has insert + modify + delete, but only modify get the error.
I try to delete the setup data of this table and set up again on RTC. Then it works. I check the data in SQL and found that the same.
I do not know the Change Log Setup has something hidden behind or not.
Please does anyone help me to find out the reason?
Type: System.ArgumentNullException
Message:
<ii>Value cannot be null.
Parameter name: value</ii>
ParamName: value
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavBLOB.CreateFromObject(Object value)
at Microsoft.Dynamics.Nav.Runtime.NavValue.CreateNavValueFromObject(INavValueMetadata metadata, Object value)
at Microsoft.Dynamics.Nav.Runtime.NavFieldRef.get_ALValue()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit423.LogModification_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit423.LogModification(ByRef`1 recRef)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit423.OnInvoke(Int32 memberId, Object[] args)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit1.OnDatabaseModify_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit1.OnDatabaseModify(NavRecordRef recRef)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit1.OnInvoke(Int32 memberId, Object[] args)
at Microsoft.Dynamics.Nav.Runtime.NavCodeunit1.Invoke(Int32 methodId, Object[] arguments)
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