Questions tagged [dynamics-ax-2009]

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 R3) are called Dynamics AX.

Microsoft Dynamics AX was originally developed as a collaboration between IBM and Danish Damgaard Data as IBM Axapta. 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.

587 questions
20
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,231
  • 1
  • 17
  • 34
14
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
  • 141
  • 1
  • 1
  • 3
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
  • 4,904
  • 19
  • 54
  • 90
11
votes
1 answer

Magento and Microsoft dynamics AX Integration

We are planning to integrate Magento with Microsoft AX 2009 (Product and Customers).Since I am a C# developer I am confused how to get started. On exploring I came to know that best way to integrate is through WCF. But I would like to know How do…
Jayaraj.K
  • 908
  • 9
  • 30
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
  • 8,589
  • 27
  • 91
  • 140
9
votes
1 answer

How do i write a txt file using Microsoft Dynamics AX?

I want to write a txt file (just like i'd do in visual studio with c# using string writer and everything, with which i'm already very familiar) what class and method do i use? how does it work? what's the X++ syntax?
Marcelo
  • 3,321
  • 10
  • 43
  • 74
8
votes
1 answer

How should I go about creating a multilingual text translation editor in VS 2010?

Feature explained below is available in Microsoft Dynamics AX (formerly known as Axapta), an ERP application. However, my question is related to Visual Studio 2010 and MVC 3 application. Please find my questions after this feature…
user756519
8
votes
1 answer

How to pass a parameter between two forms in Axapta?

How can i pass a single parameter between a form in axapta ? I want to run a Form B from a clicked button event in a Form A and pass... for example the customer id ? How can i read it in the destination form, maybe in the init method ? Thanks
stighy
  • 7,395
  • 22
  • 82
  • 147
7
votes
1 answer

Table = Table vs Table.Data(Table)

What is the difference between the two statements below? newTable = orginalTable or newTable.data(originalTable) I suspect there is a performance benefit to the .data() method as it is more commonly used in standard AX.
AnthonyBlake
  • 2,314
  • 1
  • 22
  • 38
6
votes
1 answer

gotFocus and enter methods on Form field not being called

I have some fields in my Sales Order Form (SalesTable) that need to be disabled if another field is set to a specific value. To do this I overrode the enter and the gotFocus methods on the form field (I did both to test it out). The code compiles…
Ben Hoffman
  • 7,769
  • 6
  • 41
  • 69
6
votes
2 answers

How to automatically resize the grid when the form is resized?

How to automatically resize grid or another child component when my form is resized?
stighy
  • 7,395
  • 22
  • 82
  • 147
6
votes
7 answers

Examples of Dynamics AX 2009 programming?

I'm just learning to program Dynamics AX 2009. So far I got the dev system running, I got some background about the architecture. Now I'm looking for some walkthrough-samples to learn more about programming in this system. Are there some samples…
Sam
  • 26,538
  • 45
  • 157
  • 240
6
votes
4 answers

Creating Tables and Retrieving Query results with Dynamics AX 2009 business connector

I'm writing a C# command line tool to fetch data from AX and to add data (create new tables) to AX. Fetching data from an AX table is easy and documented here: http://msdn.microsoft.com/en-us/library/cc197126.aspx Adding data to an existing table is…
namenlos
  • 4,875
  • 9
  • 36
  • 37
6
votes
2 answers

Dynamics AX: Disable datasource from form in code while being able to use advanced filter/sort option

I've modified the InventTable form so the users can filter the items depending on their "Stopped" status on the default order settings setup form. They get a list of the "buyable" items, "sellable" items, all items or blocked items for sale or…
Adrià
  • 118
  • 2
  • 7
6
votes
1 answer

How to get the results of a direct SQL call to a stored procedure?

I'm calling a stored procedure via direct SQL from X++, and I can't figure out how to get the integer return value from it. 0 is good, -1 is bad. // Login to SQL DB loginProperty = new…
Alex Kwitny
  • 10,154
  • 2
  • 41
  • 66
1
2 3
39 40