Questions tagged [axapta]

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 and last version AX 7) 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.

Vote to join tags!

The early versions (from 1.0 to 3.0) were called Axapta, while the later versions (from 3.0 SP6 to AX 2012 and last version AX 7) are called Dynamics AX.

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.

See also: "Microsoft Dynamics AX" article on Wikipedia

2556 questions
26
votes
1 answer

Multiselect from Ax 2012 Listpage (EP) to downloadDocument.aspx

I have been struggling with this for a while now and can't seem to find a solution for my problem. I would really like some help here if possible, it would mean a great deal to me. I'm currently running a listpage from ax 2012 on a Enterprise portal…
Heygar
  • 553
  • 1
  • 7
  • 19
21
votes
2 answers

"this" vs. "element" keyword in X++

When writing code in X++ you sometimes need to reference this.functionYouWant() and sometimes it is element.FunctionYouWant(). Sometimes both are in scope. I often try one and if the function I want isn't there I try the other. Is there a rule that…
Michael Brown
  • 2,221
  • 2
  • 17
  • 34
18
votes
2 answers

SSRS report parameter.label showing parameter.value

I have a SSRS report, in my report I have a dataset which has an ID and NAME field, then I created a parameter and set its value to ID from dataset and Label to NAME of dataset. I can see the label when I preview report and select it, but I am also…
alphaprolix
  • 601
  • 2
  • 10
  • 25
18
votes
3 answers

Obtain Network Credentials from Current User in Windows Authentication Application

I was wondering whether it was possible to obtain the current user object and get their credentials so that I can pass them along to a NetworkCredential object which I am using to connect to my AX .NET Business Connector. As, at the moment I'm…
CallumVass
  • 11,288
  • 26
  • 84
  • 154
16
votes
8 answers

How to find a table name by ID in Dynamics AX

Each table in the AOT has an ID, how can I discover the table name given an ID?
David
  • 161
  • 1
  • 1
  • 3
13
votes
3 answers

How can you create a simple dialog box in Dynamics AX?

How can you create a simple dialog box in Dynamics ax?
James Moore
  • 2,501
  • 6
  • 26
  • 29
13
votes
5 answers

Microsoft Dynamics AX 2009 development

I'm new to Microsoft Dynamics AX development and I'd like to learn basic things about it. I have a virtual machine with the '09 version installed. Is it essential to get familiarized with the language (X++) from the beginning? What should I start…
Marcelo
  • 3,371
  • 10
  • 45
  • 76
12
votes
2 answers

Can I code in .NET/C# for Microsoft Dynamics AX?

I am a C# developer and want to start learning Dynamics AX. Please guide me can I use my .net/C# skills (knowledge of API) in Dynamics AX ? I know AX is developed in X++ but some one tell me it is possible. Kindly guide me does AX have a web…
haansi
  • 5,470
  • 21
  • 63
  • 91
11
votes
1 answer

How to change the level of AX info messages

In Dynamics AX 2009 I am trying to determine the level of indentation of an info message. What I want is something similar to this: Prefix Info1 Info2 Prefix2 Info3 I found this: http://www.doens.be/2010/05/the-ax-infolog/ But don't…
Paul Michaels
  • 16,185
  • 43
  • 146
  • 269
11
votes
4 answers

Is semicolon really needed after declarations in x++?

As said in the book Microsoft Dynamics AX 2009 Programming: Getting Started it´s needed to put semicolons after declarations in x++: The extra semicolon after the variable declaration is mandatory as long as the first line of code is not a …
Marcelo
  • 3,371
  • 10
  • 45
  • 76
11
votes
3 answers

Distinct operator on List

I'm trying to get distinct string values out of an Ax repository, but I'm getting a lot of identical strings out (strings only contains numbers) var ret = context.XInventTransBackOrder .Where(i => i.BatchRouteId != "") .Select(i =>…
nk2003dec
  • 534
  • 1
  • 4
  • 10
10
votes
3 answers

How to set a single dimension value in AX 2012?

My problem is setting some dimension values read from an external source. Given the AX 2009 statement: ledgerJournalTrans.Dimension = ledgerTable.Dimension; ledgerJournalTrans.Dimension[1] = "abc"; What is the equivalent way to that in AX…
Jan B. Kjeldsen
  • 17,817
  • 5
  • 32
  • 50
10
votes
1 answer

How to catch inner exception?

Is there any possibility to catch inner exception: try { ttsbegin; info("step one"); try { info("step two"); throw Error("error"); } catch { info("catch step two"); } …
ceth
  • 44,198
  • 62
  • 180
  • 289
9
votes
4 answers

What is the .toString() varient in X++ or Dynamics AX?

Is there something similar to the famous toString() method of C# in Axapta? I try to run underlying code: info(this.dataSource()); But it gives me this error message: "Argument 'txt' is incompatible with the required type."
Tassisto
  • 9,877
  • 28
  • 100
  • 157
8
votes
2 answers

How do you "Run" a class

I'm still a newbie when it comes to Dynamics AX development. I'm working through a tutorial here. Once finished writing the code in C# and X++ the tutorial says to run the class and messages will be displayed (the result of the test code). I can…
KevinManx
  • 519
  • 1
  • 5
  • 26
1
2 3
99 100