Tagged: Dynamics 365

AX7 Create Job

AX7 / D365: Where are my Jobs?

I get that question very often. People coming from AX 2012 often ask me that question. My answer is always the same, they are still there (as they are still a part of Dynamics 365 for Finance and Operations) and they are basically the same as before. The only thing that is new is how to run them,...

ax7 Labelc Error -1 Duplicate Label

AX7 / D365: Build: LabelC.exe exited with code -1

You’re seeing the following error in your build logs? LabelC.exe exited with code -1 What is the cause of the label compile error? One issue that can cause this error are duplicates in label files, as two or more rows with the same label id. Like you can see in this example: NewLabel1=MyText ;New Comment NewLabel1=AlsoMyTest ;New Comment...

AX7 D365 DB Sync Error: Failed to create a session

AX7 / D365: Database Sync Error “Failed to create a session;”

Ever ran into the following error while sync your AX7 / D365 Database? Microsoft.Dynamics.Ax.Xpp.ErrorException: Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics 365 for Finance and Operations. In Visual Studio it will look like this: What is the cause for the “Failed to create a session” issue?...

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...