Microsoft Dynamics 365 Blog

When deploying the AX 2009 smmOpportunityReports using the Reports Deployment tool or directly from the AOT, you may get the following warning:



One or more libraries built with warnings. Please see MSBuild log at C:\Users\<your username>\AppData\Local\Temp\1\tmp98ED.tmp
Deploying 1 data source(s) and 2 design(s) in 3 culture(s) (7 item(s) total)…
Deployment done at 13:25:38. Duration: 00:00:23.5803347
The deployment log file can be found at “C:\Users\<your username>\AppData\Local\Temp\1\tmp1319.txt”


(Note: any random tmp filename will be generated). Checking the .tmp file that is specified in the warning in notepad reveals the following warning:




Target CoreCompile:
    C:\Users\<interactive user>\AppData\Local\Temp\1\tmp1329.tmp\smmOpportunityReports\smmPipelineMonthOverMonthClosingTrend.moxl : warning AX3020: The data method ‘GetColor’ in class ‘smmPipelineMonthOverMonthClosingTrend’ is not present in the model.
Done building target “CoreCompile” in project “smmOpportunityReports.dynamicsproj”.


Done building project “smmOpportunityReports.dynamicsproj”.

Build succeeded.


C:\Users\<interactive user>\AppData\Local\Temp\1\tmp1329.tmp\smmOpportunityReports\smmPipelineMonthOverMonthClosingTrend.moxl : warning AX3020: The data method ‘GetColor’ in class ‘smmPipelineMonthOverMonthClosingTrend’ is not present in the model.
    1 Warning(s)
    0 Error(s)


 


You can safely ignore this warning. There is a code fragment left behind in the smmPipelineMonthOverMonthClosingTrend.cs file which declares a GetColor() method but it is actually not exposed or used in the report library model.


 

We're always looking for feedback and would like to hear from you. Please head to the Dynamics 365 Community to start a discussion, ask questions, and tell us what you think!