A required device isn’t connected

Microsoft recently released Dynamics AX 2012 R2 Solution Demo Package V4, i.e. a new version of the virtual machine with Dynamics AX and related components installed and configured. The version of AX there is 2012 R2 CU7. I successfully downloaded, unpacked and imported VM A (30 GB), but when I tried to boot it, I …

Continue reading ‘A required device isn’t connected’ »

Size matters

X++ normally doesn’t distinguish letter case – you can call warning(“x”) or WaRnInG(“x”) and both will do the same (although your colleagues may not be as forgiving as the X++ compiler). Nevertheless the same doesn’t apply to .NET Interop from X++ – although you can use System.Math::Cos(0), for example, you’ll get a compilation error if you …

Continue reading ‘Size matters’ »

Lines for multiple headers

The goal of today’s excercise is to create a form with two grids (containing headers and corresponding lines). The trick is that if you select multiple headers, the form will display lines for all of them. The following form uses sales orders. Notice that selected orders are 1, 3 and 4 and displayed lines also …

Continue reading ‘Lines for multiple headers’ »

Printing reports from code in AX2012

How to print a report from X++ and change print settings in AX2012? I have a concrete example for you – it should give a good idea how to do that even if your situation is a little bit different. SrsReportRunController controller = new SrsReportRunController(); SysUserLicenseCountRDPContract rdpContract = new SysUserLicenseCountRDPContract(); SRSPrintDestinationSettings settings;   // Define …

Continue reading ‘Printing reports from code in AX2012’ »

Microsoft Virtual Academy Jump Starts

Microsoft Virtual Academy offers an amazing number of Jump Starts next two weeks: Designing Your XAML UI with Blend (November 12, 2013 9:00am – 5:00pm PST) Developing Windows Azure and Web Services (November 13, 2013 9:00am – 5:00pm PST) What’s New in Windows 8.1 for IT Professionals (November 14, 2013 10:00am-5:00pm PST) Windows Store App …

Continue reading ‘Microsoft Virtual Academy Jump Starts’ »