Finding User Sessions from SPID in Dynamics AX 2012

  • October 20, 2017
  • 0 Comments

While check issues it could be usefull to make the link between the Ax user and the related SQL session. In the post below it is explained properly how you should do this. https://community.dynamics.com/ax/b/axfaqblog/archive/2016/08/27/disable-and-enable-users-in-ax-using-t-sql-scripts

Working with numbersequences – new NumberSequence

  • September 22, 2017
  • 0 Comments

A few years a go I made a few posts about numbersequences, in these posts I forgot to mention that you need to execute the following job before you can find your new created Numbersequence. static void NumberSeqLoadAll(Args _args) { NumberSeqApplicationModule::loadAll(); }static void NumberSeqLoadAll(Args _args) { NumberSeqApplicationModule::loadAll(); }

Maximize a form in Ax

  • September 15, 2017
  • 0 Comments

Change the properties width = ‘column width’ and height = ‘column height’ on the form. Add the following code in the run-method of the form: #WinApi ; super(); WinApi::showWindow(this.hWnd(), #SW_SHOWMAXIMIZED);#WinApi ; super(); WinApi::showWindow(this.hWnd(), #SW_SHOWMAXIMIZED);

Ax2012 An SQL Server 2012

  • March 15, 2012
  • 0 Comments

Microsoft SQL Server 2012 RTM is released and hotfix 2680186 is availible for compatibiliteit with Microsoft Dynamics Ax2012. https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;2680186

Install Ax2012 on SQL Server 2012 RC0

  • February 13, 2012
  • 2 Comments

During the preparations for Microsoft TechDays 2012 my colleague and I installed a fresh Windows Server 2008 R2 with SQL Server 2012 and Ax 2012. At first all seems to work (the AOS started and we could login with the client), but when we started to prepare and opened the ‘Datasource Name’ lookup on the ‘Document Datasources’ we got … Continue Reading

Ax 2012 Editor improvements

  • December 2, 2011
  • 0 Comments

In Microsoft Dynamics AX 2012, a new X++ Editor is introduced which replaces the current legacy editor. The new X++ Editor is based on hosting a Visual Studio 2010 Editor Framework control. Here are a few Tips & Tricks: Type ‘main’ + TAB: The editor generates a standard Main-method. Note: This trick works with all … Continue Reading

Change the language at runtime

  • November 30, 2011
  • 0 Comments

Normally when you change your language you go to your user options, change your current language and the restart the client. This week I got the question if it was possible to do so in runtime. You can do so by just calling the infolog.language(str 7 _languageCode). All labels that you load after calling this … Continue Reading

Amount in words

  • November 28, 2011
  • 0 Comments

This week one of my customers asked me to place the amount in words on a invoice. I couldn’t believe that sush function wasn’t availible in standard Ax. After some research I found that the Global-class contains the following methods: static TempStr numeralsToTxt(real _num) static TempStr numeralsToTxt_EN(real _num) static TempStr numeralsToTxt_ES(real _num) static TempStr numeralsToTxt_FR(real … Continue Reading