Hi,
We run a multitenant setup on NAV 2013R2 and are now in the process of upgrading. At first we will only upgrade to 2016 CU2. We run the Danish DK version of NAV.
When I try to upgrade tenant, I get error when running the dataupgrade. Error is:
SessionId : 3156
CodeunitId : 104025
FunctionName : UpdateItemNextCountingPeriod
CompanyName : MK.Regnskab ApS
StartTime : 02-09-2016 11:28:39
Duration :
State : FailedPendingResume
Error : The UPG Item does not exist. Identification fields and values: No.='1000'
My steps in the upgrade:
Save tenant db in bak file
Restore tenant on upgrade environment
Mount tenant to NAV 2016 CU2 multitenant env.
Import NAV 2016 license to tenant db
Create myself as a user in tenant db, with SUPER rights
Run schema sync
Import upgrade packages Upgrade710900.FOB and after that Upgrade710900.DK.fob with schema sync each time
Run dataupgrade from env. client
Topic has been discussed here, but I do not see a solution that works for me.
http://forum.mibuso.com/discussion/66172/first-nav-2013-r2-to-nav-2016-upgrade-failing-the-upg-item-does-not-exist
Thanks
Comments
1)2013R2-2015
2) 2015-2016
Reports transformation to RDLC
List -1h , Complex List -3h, Document -4h (dev hours)
navisionupgrade.com
http://forum.mibuso.com/discussion/66172/first-nav-2013-r2-to-nav-2016-upgrade-failing-the-upg-item-does-not-exist
You can change standard upgrade procedure by the method it was in early NAV verisons where upgrade was splitted into 2 steps. Save values to UPG item temporary table in 2013R2 (before database conversion to 2016) then, after conversion, using these values change Upgrade codeunit to calculate NextCountingPeriod in NAV2016.
Reports transformation to RDLC
List -1h , Complex List -3h, Document -4h (dev hours)
navisionupgrade.com
The reason for this is that the UpgradeToolkit copies data to the UPG Item table on Schema Sync.
This is vaguely described in the last line of Task 8 of the Upgrading to Microsoft Dynamics NAV 2016 guide.
The "magic" can be found in Codeunit 104025 in the function GetTableSyncSetupW1 which is marked as a TableSyncSetup function:
You did indeed help me! Thank you!
I imported upgrade elements before schema sync, and things worked like a charm.
As I am doing a couple of these upgrades over the next months I have a couple of questions:
I don't have much experience with upgrading multi tenant environments, so I hope some one else can answer your questions.
I suggest you make a new topic here on the forum for these new questions.