Thursday, 21 November 2013

Microsoft Dynamics AX 2012 Finance Training-Microsoft Dynamics AX 2012 Reporting - tips how to improve performance

There are some tips we can use to improve performance of reports for Dynamics AX 2012.
  1. Use static reports. The deployment of static reports is described here:  In this way we will safe several calls to Metadata service to get labels values and correct formatting of dates and numbers.
  2. Install application hotfix KB 2879661 which fix the situation when first generation of a report after Dynamics AX client restart takes long. This happens for each user.
  3. Newest kernel. Hotfixes for performance improvement are included in new kernels that are released; sometimes there is a dramatic impact on performance.
  4. In the morning a first report generation takes a lot of time
SSRS uses session pooling. The first request that comes in from a user – a session will be created for them within the AOS services. Each user gets a session cached on the AOS services, so subsequent calls just reuse the session which matches the user who is making the request. This means that the first time this is created for the user the report will perform slower.
SSRS also uses a metadata cache the first request coming in which needs a certain piece of metadata, the metadata is read from the application code, and then cached in SSRS so it doesn’t have to read it subsequent times. There is one metadata cache for all users – once an object is cached in metadata, the services don’t go back to the code and retrieve it again, and they just read from cache, until the cache is cleared. This is also why a report may become slower the first time it is run.
The RecycleTime is used to restart the application domain which causes a refresh of the metadata.You could edit the RecycleTime (value is in Minutes) to therefore stop the cache from clearing and which then stop the extra hop to the AOS to gather the metadata.
Edit the <RecycleTime> element within:
RSReportServer.config 
Open the RsReportServer.config file.
•              If you are using SQL Server 2008, the default location of this file is: \Program Files\Microsoft SQL Server\MSRS10.[SSRSInstanceName]\Reporting Services\ReportServer.
•              If you are using SQL Server 2008 R2, the default location of this file is: \Program Files\Microsoft SQL Server\MSRS10_50.[SSRSInstanceName]\Reporting Services\ReportServer.
•              If you are using SQL Server 2012, the default location of this file is: \Program Files\Microsoft SQL Server\MSRS11.[SSRSInstanceName]\Reporting Services\ReportServer
The default value is 720 (the value is in min so it is 12 hours.
NOTE:
Problems you may see when deploying reports because of metadata caching.
A new field is added to a table in AX, the field is used on a report in VS. The report deploys to SSRS.
However when the report is called, it fails on the new field.
This is because SSRS caches metadata. The new object is not recognized as the old metadata is still cached
The other solution is when every morning the first user has to wait for report very long is to pre-warm up the specific report. We would have to choose those reports which are critical for customer and have to run fast regards the time. To pre-warm up the report we can:
  1. Run report in batch job ie. SalesInvoice report:
public void run()
    {
       SrsReportRunController controller = new SrsReportRunController();
    SrsReportDataContract contract;
    SalesInvoiceContract rdpContractClass;
    LogisticsAddressCountryRegionISOCode code = "US";
    // establish the report name
    controller.parmReportName(ssrsReportStr(SalesInvoice, Report));
    // suppress the parameter dialog
    controller.parmShowDialog(false);
    controller.parmReportContract().parmPrintSettings().printMediumType(SRSPrintMediumType::File);
    controller.parmReportContract().parmPrintSettings().fileFormat(SRSReportFileFormat::PDF);
    controller.parmReportContract().parmPrintSettings().overwriteFile(true);
    controller.parmReportContract().parmPrintSettings().fileName("c:\\TEMP\\DummyReport.pdf");
    // set the required parameter.
    contract = controller.parmReportContract();  
    rdpContractClass = contract.parmRdpContract() as SalesInvoiceContract;
    rdpContractClass.parmCountryRegionISOCode(code);
    // start the operation
    controller.runReport();
    }
* Resume preparation and Interview assistance will be provided.
For any further details please 
contact 
India +91-9052666559
         USA : +1-678-693-3475.
please mail us all queries to info@magnifictraining.com 

Microsoft Dynamics AX Financial Training | Dynamics AX Training

Microsoft Dynamics AX 2012 represents the ERP solution by excellence: agile and easy-to-use, it clearly adds value across your organization, today and tomorrow, guarantying time saving and faster returns on investment.
With more than 1,000 new features and enhancements across core enterprise resource planning (ERP) and industry capabilities, Microsoft Dynamics AX 2012 will help provide more business value faster, enable agility and insight in your organization, and helpdrive faster adoption, broader usage, and easier maintenance and upgrade through a continued emphasis on simplicity.
consultants have indeed developed a perfect functional and technical knowledge of Microsoft AX accounting and financial scope. Should you have just started your projects or already in the production mode, they will make you benefit from their successful solutions.

The training courses are adapted to your needs and could cover the software configuration but also your employees operational activities 
The wide range of training courses will bring to your teams a pratical and operational training to efficiently support the users in their daily tasks, by a better use of the standards tools offered in Microsoft Dynamics AX solution.

Sessions that cover the whole ERP financial and accounting scope, including piloting.
The entire financial and accounting scope is covered throught sessions based upon your role and your level:

Accounting ( General accounting, customer, supplier)
Cash Accounting
Consolidation
Budget Management
Management Control & Analytical allocations
Financial and Analytical Reporting.

* Resume preparation and Interview assistance will be provided.
For any further details please 

contact India +91-9052666559
         USA : +1-678-693-3475.


please mail us all queries to info@magnifictraining.com 

Thursday, 7 November 2013

microsoft dynamics ax axapta training | Magnific training

This course is intended for customers and partners that want to learn more advanced features and functions offered in Microsoft Dynamics AX 2012 Trade and Distribution feature areas. The course is targeted toward sales and purchase managers, salespeople, purchasers, and other users in organizations that are responsible for the setup and administration of trade and logistics, inventory management, and quarantine management functionality.

Prerequisites

Before attending this course, students must have:
  • General knowledge of Microsoft Windows
  • The ability to use Microsoft Dynamics AX 2012 for basic processing.
  • Completed the Supply Chain Foundation in Microsoft Dynamics AX 2012 course.
  • Knowledge of trade and logistics.
  • Knowledge of inventory management concepts.
Module 1: Overview
This module provides an overview of the content of the Distribution and Trade in Microsoft Dynamics AX 2012 course.
Lessons
  • Distribution and Trade
After completing this module, students will be able to:
  • Introduce the Distribution and Trade features in Microsoft Dynamics AX 2012
Module 2: Over/Under Delivery and Charges
This module examines how to handle differences between ordered and received or delivered quantities in Microsoft Dynamics AX 2012. Also, it discusses how to handle charges in Sales and Purchase orders that include how to allocate charges to items and how to include landed costs in an item's total cost.
Lessons
  • Introduction
  • Over/Under Delivery
  • Charges
  • Price Charges
  • Charges Codes
  • Manual Charges
  • Automatic Charges.

contact India +91-9052666559
         USA : +1-678-693-3475.


please mail us all queries to info@magnifictraining.com