Tuesday, March 25, 2014

Setting Server Report parameters in Ax 2012 (rsItemNotFound)

                                Error while Setting server report parameters (rsItemNotFound)

Hello People..!!

Hope everyone is doing good and I would like to share an issue on generating invoice reports in Ax 2012 R2 CU7.

Scenario: when I am trying to open a report in AX 2012  R2 CU7 it is displaying an Infolog with an error.

"Error while Setting server Report parameters and the report cannot be found(rsItemNotfound)"




Solution: Make sure that the reports are deployed and all are in the correct layer.

In order to deploy a report, procedure is

Open a new development Workspace(CTRL + D)

In AOT-->SSRS Reports --> <type reportname> and right click on the selected report and deploy it.



Even, the deployment of all the reports can be done by using a single command in Microsoft DynamicsAx 2012 Management Shell 

Right click on the Management Shell and run as Administrator ,

Copy this command ----   "Publish-AXReport –ReportName *" and press enter.



you will see a window and shows the deploying of reports progress.

After deploying the reports a message is displayed that Deployment is Complete



Now restart the AOS and when you open a report it must resolve your issue.

Hope this post will be useful for everyone who gets this kind of error.

Thanks for reading ...Have a Great Day..!!!

Happy Daxing...:D

Monday, March 24, 2014

Axutil Commands fo MS Dynamics AX

                            Axutil Commands for Microsoft Dynamics Axapta 2012  

I hope you people know about the architecture of Microsoft dynamics AX, Layers and Models concept before doing any import or export of models.


To know the Models available in Modelstore:

axutil list /config: <specify the AOS name which is mentioned in Server Configuration>


To View the model elements :

axutil view /model:<model id> /config:<Specify the AOS Name>


To Create a model in the specific layer in the Specified AOS:

axutil create /model:<model name> /layer:<layer name in which you want to create> /config:<Specify the AOS Name if you have multiple servers installed in the same machine>


To Delete the existing model :

axutil delete /model:<model id> /config:<Specify the AOS Name>


To export the model store:

axutil exportstore /file:"specify the location where you need to export the file" /config:<Specify the AOS Name>

To Import a model store:

 axutil importstore /file:"specify the location from where you need to import the file" /config:<Specify the AOS Name>

 To Edit a model properties using manifest in axutil:

Axutil edit /model:"model id" /manifest:Version="<to which version you want to change>",Publisher="<company name or the publisher name>",Description="<any meaningful description will be helpful>"

To export a model:

axutil export /model:<model id> /file:"specify the location with .axmodel extension" /config:<Specify the AOS name>

 To Import a model:

A model can be imported using several options which can be defined in the Axutil Command

       Sample import of a model:

axutil import /file:"specify the location path where model file is available." /config:<Specify the AOS name>

      Import with Conflict overwrite option:

Use this option when you want to overwrite the complete model with a new one.

 axutil import /file:"specify the location path where model file is available." /config:<Specify the AOS name> /conflict:overwrite

     Import with Conflict push option ( only for developers and technical consultants):

Use this option when you want to merge the objects in higher layer and move it back to the existing layer.It is mainly used to achieve the functionality with new functionality. 

axutil import /file:"specify the location path where model file is available." /config:<Specify the AOS name> /conflict:push

       Import with conflict overwrite and also use replace keyword:

Use this option when upgrading from older version and replace keyword used to identify the model which is existing in the model store.

axutil import /file:"specify the location path where model file is available." /config:<Specify the AOS name> /conflict:overwrite /replace:"model name"

 

Hope you people like this post.


Thanks for reading and Happy Daxing...:)