
Can we verify Custom model exists in D365 by using X++
*This post is locked for comments
I have the same question (0)Hi Sheikh Sohail Hussain,
var modules = Microsoft.Dynamics.Ax.Xpp.MetadataSupport::GetInstalledModuleNames();
var models = Microsoft.Dynamics.Ax.Xpp.MetadataSupport::GetModelsInModule('Ledger');
First line gives you all modules and second all models in specific module.