Questions tagged [dynamics-ax-2012-r2]

Microsoft Dynamics AX is one of Microsoft’s Enterprise Resource Planning software products. It is part of the Microsoft Dynamics family.

Microsoft Dynamics AX is one of Microsoft’s Enterprise Resource Planning software products. It is part of the Microsoft Dynamics family.

The early versions (from 1.0 to 3.0) were called Axapta, while the later versions (from 3.0 SP6 to AX 2012) are called Dynamics AX. R2 revision was published on Dec. 2012 (kernel build 6.2.158.x)

Axapta was initially released in March 1998 in the Danish and U.S. markets. Today it is available and supported in forty-five languages in most of the world.

MorphX is the IDE where development and modification are done. It resided (until Dynamics AX 2012) in the same client application that a normal day-to-day user would access, thus allowing development to take place on any instance of the client.

X++ is the development language used in Dynamics AX. It belongs to the curly brackets and dot-operator class of programming languages (like C# or Java). It is an object-oriented, class-based, single dispatch language. X++ supports garbage collection and SQL queries are integrated in the language.

Se also Wikipidia article.

259 questions
1
vote
2 answers

Is there a way to arrange the columns in the grid when the Sales order list page is loaded?

I'm stuck with an issue in the sales order Grid in Dynamics AX 2012 R2. Somehow after adding new columns to the grid via personalization, the newly added columns always shifts to the left side after closing/opening the sales order list page. Is…
michiboi
  • 65
  • 1
  • 8
1
vote
1 answer

How can I determine when a record is being inserted/updated from AIF?

I have a customer-sync built that syncs AX customers with an external system's customers. When an update/insert is performed on the external system, it dumps an AIF file that gets processed. I want to put some logic in the table method…
1
vote
1 answer

Error message why unit testing AIF: Maximum message size quota for incoming messages has been exceeded

Sorry for the long title. I am writing a Unit Test framework for Dynamics AX in C# to test an integration project we are working on using the Dynamics Connector. The basic structure of our timesheet tests is: Create snapshot of database (AX doesn't…
Keithin8a
  • 961
  • 7
  • 32
1
vote
1 answer

How does sorting work in AX 2012? particularly when using addsortfield()?

I was doing a simple sort on a table column that contains names of customer's using addsortfield() in a service class. And the result was correct but a bit strange, in the list after names starting with A** there were names starting with a special…
1
vote
1 answer

Nested Containers in AX 2012 R2

Scenario: An Aif Web Service handles incoming calls from a web application. There is a Visual Studio project in the AOS that contains objects that the service uses to communicate with other applications. I need to move some of that processing that…
tsweatt
  • 85
  • 2
  • 9
1
vote
1 answer

How do I see which code is executed when clicking the Start button on the AX 2012 R2 ProdTable form?

ProdTable form, Production Order tab, Process group, Start. Looking through the form designer, I can find the MenuItem in the DesignList, but the methods are empty. Where can I see which code is being executed?
Tom Studee
  • 10,316
  • 4
  • 38
  • 42
1
vote
1 answer

DYNAMICS AX 2012 R2 TABLE LOOKUP

Here's the scenario, Disclaimer: I'm a total NEWBIE TO DYNAMICS AX, USING AX 2012 R2 I need to be able to create a table, lets call it TABLE A, that allows for one to have a lookup of all other tables I have in my AOT. Now in my TABLE A, I want to…
1
vote
1 answer

I an not able to open an Ax form using a weblink outside AX2012

I am trying to achieve the same goal which is discussed here(What handles dynamics:// URLs?), and followed the code example given by "Jan B. Kjeldsen", then I created a HTML page to test that as follows
Jay
  • 13
  • 3
1
vote
1 answer

How do I refresh a Form to use the latest version of a Query?

I'm modifying the Query: EcoResProductListPage which is the datasource for Form: EcoResProductListPage. I've added a join to the InventTable, and the query seems to work fine. The problem is, the form itself is using the original version of the…
Tom Studee
  • 10,316
  • 4
  • 38
  • 42
1
vote
1 answer

Dynamics AX 2012 - Custom Lookup in a dialog

So, I am working on a class called DMFWriteExportData and trying to get it run in Batch. I am at a point where I need to figure out a way to get rid of fieldControl and the reason being it does not let me Run the class on the server and throws an…
khosla
  • 29
  • 1
  • 6
1
vote
1 answer

Determine if a job is running in X++ code

I have a scenario where a service passes is data to AX, and then we use the SysOperationFramework to process that data without making the service client wait for processing to finish. An issue arises if the user attempts to open the record in the…
tsweatt
  • 85
  • 2
  • 9
1
vote
1 answer

WinAPIServer::crypt(Un)ProtectData error on AOS-Cluster

Using the functions WinAPIServer::cryptProtectData() and WinAPServer::cryptUnprotectData() to store passwords in the database worked fine for a while. Using this technique on an AOS-Cluster doesn't. Code stops execution on…
Nico
  • 1,175
  • 15
  • 33
1
vote
2 answers

find out aif document service components

I'm in an AX 2012 R2 environment. I've a custom document service in our environment. I can see it by opening the AIFService form in the AOT. There may be a better way of browsing all the available document services. I haven't found it yet. Anyway,…
RT.
  • 435
  • 2
  • 9
  • 25
1
vote
2 answers

Product Label Report Setup (no report found in the Report name dropdown)

I've been trying to print labels in dynamics AX 2012 r2. I'm following this link: http://dynamicsaxtipoftheday.com/2014/04/30/generate-product-bar-code-labels-through-retail Somehow when I get to the Product label report setup form, there is no…
michiboi
  • 65
  • 1
  • 8
1
vote
1 answer

AX 2012 FormGridControl.gotFocus not working

I have a problem with the FormGridControl.gotFocus method. The method works if the grid is empty. If the grid contains data it does'nt work... I this a bug or can i do something else?
Frank
  • 147
  • 1
  • 9