Questions tagged [dynamics-ax-2012]

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.

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 is 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 is integrated in the language.

Se also Wikipidia article.

1187 questions
4
votes
1 answer

How is x++ different from ++x?

I'm currently going through the Dynamics AX 2012 X++ developer E-learning and have a question about the X++ language that is not obvious from the documentation. In one place it says that x++ and ++x are exactly the same. However it also has this…
wax eagle
  • 541
  • 11
  • 26
4
votes
1 answer

Consuming ax2012 services in windows console application

I have a remote machine with AX2012 installed and in it I have built a custom service in AX2012 and I am able to use it properly in a windows console application (VS2010). But when I try to connect to the service from my own machine through a…
4
votes
2 answers

How to invoke a menu item from code in AX 2012

I have some custom code in PurchTable "Register" menuitem's clicked method, Now I need to run the Register command from code after a buttons function has been perfomed. My question is that how can I call the Register command from code ?
alphaprolix
  • 601
  • 2
  • 10
  • 24
4
votes
2 answers

Duplicate type with name 'Dynamics.Ax.application.' in assembly 'Dynamics.Ax.application,

I see following error when I compile CIL in Dynamics 2012 ax - Duplicate type with name 'Dynamics.Ax.application.' in assembly 'Dynamics.Ax.application, version=6.0.947.280, culture... I tried Delete class from AOT Delete XppIL directory…
Andriy Kuzmych
  • 193
  • 2
  • 11
4
votes
1 answer

In AX 2012, How to expose WCF service as REST

Right now i am exposing services from AX 2012, how to configure it to expose it as REST? I have to use this service in MAC Xcode for IOS integration, I believe its easy if it is a REST than SOAP.
4
votes
1 answer

Collection of objects

I want to store list of objects in X++. I've read in msdn that arrays and containers cannot store Objects, so the only option is to make a list of Collection. I have written the following code and tried to use Collection = new List(Types::AnyType);…
Bilal Saeed
  • 573
  • 8
  • 21
4
votes
1 answer

Change the background color of a column in a grid

I have following form and I want to change the background color of a column, based on the values of other columns; In the orange columns, instead of displaying orange background, I want the cell color to be the RGB combo of Red, Green & Blue fields…
Bilal Saeed
  • 573
  • 8
  • 21
4
votes
1 answer

Why does Dynamics AX Client stop working, after deploying a Service Group?

I know this is not a coding issue, but this is part of the development in AX. THE PROBLEM > After deploying a Service Group in the Client, AX crashes and I get this error: Microsoft Dynamics AX has stopped working and then Microsoft Dynamics AX…
Tassisto
  • 8,589
  • 27
  • 91
  • 140
3
votes
3 answers

There is already an object named I_XXXRECID in the database

This error is coming while synchronizing the DataDictionary. SQL error description: [Microsoft][SQL Server Native Client 11.0][SQL Server]There is already an object named 'I_100013RECID' in the database. SQL statement: ALTER TABLE…
3
votes
2 answers

How to convert the string to TimeHour24?

I have to populate by code a Table Field. The table filed having a EDT TimeHour24. My String is like "05:30:15" I have to convert the string to EDT TimeHour24. I used the function str2time but it is not useful. How can I import and fill the…
ulisses
  • 1,347
  • 1
  • 31
  • 69
3
votes
3 answers

Multi Threading in AX 2012 X++

Many of us are going through the optimization issues in AX 2012. In many of the cases optimization issues in process related code have no solution like we do have many other way around in reports. Case: I had a case in which I have to perform a…
3
votes
1 answer

Mobile application for Dynamics AX

In our organisation we are trying to develop a mobile application/website as a front-end for a Dynamics AX 2012. We are following the architecture which is suggested by MICROSOFT (https://technet.microsoft.com/en-us/library/dn155874.aspx). Even…
jln1989
  • 31
  • 2
3
votes
1 answer

Who is executing this particular query?

Looking for some help on the source of the below query. This query executes every 5 minutes against our DynamicsAX database, and average execution time is 25 sec. I know it's coming from our SSRS server that also hosts our ManagementReporter dbs,…
Greg
  • 3,326
  • 2
  • 16
  • 38
3
votes
1 answer

Check objects type

I am using a C# application to do some work and send back the results in AX via a service. I've created a few classes in AX and use their instances in C# then I send the objects back with the help of a classic array. In AX I receive the stuff in a…
3
votes
1 answer

Highlight a record in a grid on form open

I'm currently running into an issue with the following situation: I have a right click event which executes a static method "inventTransferOrder". In that I have the following code: select firstOnly invTransLine where invTransLine.TransferId ==…
Tekumi
  • 55
  • 6
1 2
3
79 80