I am working on the upgrade codeunit for NAV 2018 and came across something odd. When removing a field it seems Microsoft uses 2 ways to force the data to be deleted:
DataUpgradeMgt.SetTableSyncSetup(37,0,TableSynchSetup.Mode::Force); or
DataUpgradeMgt.SetTableSyncSetup(37,DATABASE::"Sales Line",TableSynchSetup.Mode::Force);
The only difference is the second parameter. I prefer the first method as it doesn't really make sense to include the second parameter when you are forcing deletion. Is there actually a difference in behavior of the 2 above statements?
0
Answers
jwilder@stonewallkitchen.com