Tagged: AX

AX7 URL Tablebrowser

AX7 / D365: Exploring URL Parameters

As AX7 / D365 for Operations and Finance is browser based, it reveals certain URL patterns. Today I want to show you a few of them, I use them on a daily basis. The following examples show calls which you just have to copy and paste, replace the [ ] placeholders with your values (e.g. your company) in...

AX7 Replace a Model

Replace a Model in AX7 / D365

Like stated in the official Im- / Export Model “Docs” article from Microsoft, we can use the ModelUtil.exe to im- / export and delete models in AX 7. But if you take a detailed look at it, you will see it provides you with another option – replace. If you look at my try to get help on the...

AX7 Extension Form Initialized Copy Handler

AX7 / D365 Extensions: Extend the Init Method on a Form

Today’s plan? I would like to extend the init() method of a D365fO form. The goal is to get the selected line from the caller after the newly opened form is initialized. Form Init Method Extension Like said before, I would like to get the callers record when opening a new form. In this example I will retrieve...

D365 Class Extension IntelliSense

AX7 / D365 Extensions: Add a Method to a Class

Today I want to start a small series of blog posts. In this series I would like to show you how to extend AX 7 / D365 objects, without overlayering them, starting with an easy class extension. Class extension 1.0 For this demo I created an extreme simple class, it only contains one method, which just puts out...

AX2012 Open Folder XPP

AX 2012: Open a Folder with X++

In this post I want to show you a quick and dirty way to open a folder via X++ in AX 2012. Open a Folder in AX 2012 I added the following code at a Button in the clicked method like this. All it takes to open a folder via X++, is the DocumentManagementHelper class and its static method...

AX2012 Threading Slow Method

Simple Threading in AX 2012

In this post I want to show, how easily you can utilize the Thread class in AX 2012. Simple Thread example First we want to setup a new class. Next we want to add two static methods, one “slow” method which will use a sleep to simulate a lengthy runtime and one “fast” method. The idea here is that...

Get the client name of your (rdp) maschine

Get the Client Name of your (Remote) Machine in AX2012

In this short post I want to highlight how you can get the name of the client which is connected to AX 2012, even if you run your session via a RDP connection. For this purpose I wrote a small Job, that outputs the client name in an Infolog. Code The first Info invokes the static global method...