Hi
I'm in the middel of a upgrade from Ax2012R3 to D365 v10.0.17
We are only doing Data dictionary (EDT, Enums and tables) upgrade
I have used the LCS tool to migrate the model store and as you know, it does not create extensions to standard tables so I have to do that manually.
example, new fields on VendtTable is ApplicationSuite foundation var model
I have moved all extra fields to a new model, by doing the following
1) open the Vendtable in designer
2) create extension
3) add the vendtable to a new project in the same solution
4) delete the vendttable
5) open the extension
6) drag and drop the customized (new) fields from vendtable (step 1) to the extension
7) save the extension
in the package directory, K:\AosService\PackagesLocalDirectory\ApplicationSuite\Foundation\AxTable\Delta there is nothing
and the extension is in the new model directory
but when doing a build it continue to say that the fields that is moved to the extension is still in the old model as well as in the new model so the full compilation falis.
using d365fo.tools to compile from the command line indicate that the metadata somehow is screwed up:
the Get-D365Model fail:
Exception calling "CreateRuntimeProvider" with "1" argument(s): "Runtime metadata is invalid because the same metadata
artifact has been defined in multiple assemblies. \nFirst 10 conflicting names:
AccountingDistribution,AccountingDistributionTmpJournalize,AODatosCadenaCliente. \nSee metadata events for complete
list."
At line:14869 char:9
+ $metadataProviderViaRuntime = $metadataProviderFactoryViaRunt ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : MetadataReadCrossAssemblyDuplicateException
How do I fix the metadata?