
I am developing Sales Order Report using extension methodology and RDP class. I am using SalesTable and SalesLine. When I build it, it asked me to add reference. I added. It has again asked me to add another reference. I added.
Then it started giving error like this: A reference to 'Dynamics.AX.Retail, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is required to compile this module.
I added Retail and other modules (Source Documentation, Sales Contact etc. etc.) as reference it asked me in error like above.
On every build it takes a long time, kindly guide me. I am new at Microsoft Dynamics 365 FO.
Regards,
Moeen Ahmed Sultan
*This post is locked for comments
I have the same question (0)Hi Moeen,
The application is divided into several models, like you found out. It needs to have a reference to all models which is used in your customization. If not, you will indeed get this error until all models are referenced.
When it is really an extension, instead of a customization model, and you have only one report (multiple related objects) in it, the compilation time should not be that much. Before you start a build, you can try to end the xppcAgent service from the Task manager to see if this would lead to a better performance.