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
Archives
Working with numbersequences – new NumberSequence
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
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);
Microsoft Dynamics AX 2012 X++ Editor Extensions
Improve your Ax 2012 code editor with Some extensions found on CodePlex.
Ax2012 An SQL Server 2012
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
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
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
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
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
How to run a Microsoft Ax 2012 Hyper-V on VirtualBox (Enterpris Portal Problem)
In my previous post I described how to run the standard Microsoft Ax 2012 Hyper-V VPC on your regular Windows Client with VirtualBox. There was one thing I forgot to mention, when you want to use the Enterprise Portal (and you probably will) you need to adjust the windows hosts-file on the VPC. How: Just … Continue Reading