Monthly Archives: December 2013

AX2012 R2: Failed to create a session

I retrive in AX2012 R2 the foolowing error when I sync the DB or when I try to load a queque of batch jobs:

Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics

A closer look into this learned that this is linked to the new partitions feature.

It seems the UserInfo table is not correctly updated and the partition administrator is not updated correctly when you restore an existing DB or the Demo database.
To fix this, you can do the following.

Stop the AOS
Restore the database again
Start the AOS
Start a client and complete the partition initialiasation checklist
Close the client and execute the script below on the SQL database
Restart the client and reimport your license (if you were restoring the Microsoft demo data, the demo license is back in there)
Then compile / generate CIL / DB sync and you should be on track again!
The script for updating the UserInfo inforation is as follows:

How to create a custom Dialog with AX 2012

Microsoft Dynamics AX 2012 R3: a preview

It’s all about Amazing Customer Experiences
Over the past few years Microsoft Dynamics AX has evolved to be the default enterprise resource planning (ERP) choice for many organizations. Our focus on innovation and business value to our customers has grown our Microsoft Dynamics AX community to more than 20,000 customers across more than 36 countries. That makes us happy.
Now, we’re so excited to be unveiling Microsoft Dynamics AX 2012 R3, planned for release in April 2014. And you know why? Because we know it will help you to provide Amazing Customer Experiences! With new features and tools available through this release, you’ll be able to engage with customers on their terms, run agile operations to exceed your customers’ needs, and expand your business to better serve your customers.
Engage with customers on their terms
Customers are increasingly demanding a seamless shopping experience across channels and an unprecedented degree of interaction with – or ‘ownership’ of – consumer brands. Mobile experiences delivered through Microsoft Dynamics AX 2012 R3 provide differentiating customer-facing experiences that help you:
  • Engage anytime, anywhere. Online, in store or on-the-go, customers want business on their own terms. With the next release, you can get tools to create seamless omni-channel engagements, with the ability to handle multiple languages and storefronts.
  • Offer deeply engaging, rich experiences. We’re closing the gap between the systems that capture the data and the people who can use it to benefit customers. You’ll be able to provide more meaningful services and advice to your customers in a way that makes sense for them.
  • Build profitable customer relationships. New social channels integration and ecommerce new features in Microsoft Dynamics AX 2012 R3 let teams work together to serve customers in new ways, including support for customer-specific pricing, wish lists, and unassisted sales. Get support for loyalty programs across legal-entities and tiering of customers as well as enhanced gift card functionality. Even incorporate Facebook and Twitter into campaigns right out of the box.
Satisfy changing customer needs
We know you want to respond to fast-changing business conditions and move quickly to capitalize on new opportunities. Look to Microsoft Dynamics AX 2012 R3 to help you streamline your business and make customers happy:
  • Offer choices. New and integrated Warehouse and Transportation Management capabilities helps you provide your customers with the fulfillment choices they want. You can even quickly act on their changing requirements with a few clicks of a button—and still keep logistics and transportation costs low.
  • Respond to continuously shifting customer requirements. Timely, end-to-end visibility into supply chain operations helps you balance inventory and operating expenses. In addition, we now provide support for basic SKU-level demand forecasting based on historic data, using a combination of Microsoft SQL Server and Microsoft Excel to view, visualize, and edit the forecast data.
  • Share highly-responsive, timely delivery insights with customers. With the integrated warehousing and transportation capabilities you have insight into your global supply chain with a few clicks, and can share this insight with your customers since they value information about their order status as much as receiving the order.
Serve your customers better and expand your business
Grow into new markets and new customer segments. Blend in new acquisitions and new lines of business without sacrificing enterprise-wide visibility and process controls. Microsoft Dynamics AX 2012 R3 can help reach new customers in new ways:
  • Deliver solutions to new geographies. Single-instance solutions help deploy organizational best practices to new geographies quickly and easily—without starting from scratch. The planned Master Data Management capabilities also support decentralized global installations. Manage Microsoft Dynamics AX projects from pre-sales to implementation and operations Lifecycle Services, a cloud-based framework that makes it easier to grow.
  • Innovate products and services. With Microsoft Dynamics AX 2012 R3, you and your employees have the insight and flexibility to drive innovation that improves business operations and the way they serve customers—empowering you to give customers what they want, when they want it.

How to find by X++ code On Hand Stock for an Item

The example below show how to find On Hand Stock quantity for and Item

How to use the Carriage Return on AX2012 & SSRS Reports

Below you can find an example to use the Carriage Return on a SSRS Report, in order to show the data in multiples lines