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.

594 questions
4
votes
3 answers

System.Io.Directory::GetFiles() Polling from AX 2009, Only Seeing New Files Every 10s

I wrote code in AX 2009 to poll a directory on a network drive, every 1 second, waiting for a response file from another system. I noticed that using a file explorer window, I could see the file appear, yet my code was not seeing and processing the…
Fleetie
  • 163
  • 5
4
votes
1 answer

is it necessary to revert something when using return inside a changeCompany

I have to add a control inside a changeCompany() in an existing class. I suppose the code below is OK, but I have a doubt : Does the "return" order imply that a return to the original company is done ? Or is there to add a statement, unknown by me,…
b2vincent
  • 610
  • 7
  • 14
4
votes
1 answer

Is there a way to improve this dynamics ax update job

I'm working on an AX 2009 installation. The job is to update the WMSOrderTrans table. Here is what I have got so far: WMSOrderTrans wmsOrderTrans; ; while select wmsOrderTrans { if (wmsOrderTrans.BBBpackingSlipExists()) { …
elToro
  • 1,003
  • 9
  • 31
4
votes
2 answers

join multiple tables to the same table using query class

I'm using the query class to build a query that will have two or three tables join to the same table like this: qbds1 = query.addDataSource(tablenum(Table1)); qbds2 = qbds1.addDataSource(tablenum(Table2)); qbds2.relations(true); qbds3 =…
Alex
  • 78
  • 1
  • 1
  • 7
4
votes
2 answers

In Dynamics AX, using the Business Connector, how do you call kernel functions?

I would like to know how to call kernel functions from AX using C# (.Net Business Connector). Specifically, can you call methods like fieldName2Id, tableName2Id and curUserId?
Brainman
  • 216
  • 2
  • 7
4
votes
1 answer

How to determine which field has been updated?

What's the correct way to determine which field has been changed in update() method on a table? I know it's possible in modifiedField() via fieldId but that's too early.
Nico
  • 1,175
  • 15
  • 33
4
votes
2 answers

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
  • 603
  • 2
  • 10
  • 24
4
votes
1 answer

Display Methods - Multiple Form Data Sources

This may seem a simple question, but for some reason I am vexed. I have a form with 3 datasources - InventTable, InventSum, InventDim. So, for example, my grid shows; Item, Name, Site, Warehouse, Physical Stock I have placed a display method on…
AnthonyBlake
  • 2,334
  • 1
  • 25
  • 39
4
votes
1 answer

Pivot Table in AX

I came across a problem in AX 2009 and I have to admit I'm basically clueless. I would like to build a view (based on an AOT query or not; but from what I understand you can do more using an AOT query than strictly with a view) using a table which…
Max
  • 3,453
  • 3
  • 32
  • 50
4
votes
2 answers

Where are the source files of AX stored?

I would like to run a periodic (each 4 hour) backup of 'only' the source file of Dynamics Ax 2009, so, the XPO source file. I'd like to know where they are stored physically.
stighy
  • 7,260
  • 25
  • 97
  • 157
4
votes
2 answers

When creating a new line in a grid, is there a way to have it create at the bottom instead of the middle of the grid?

Is there a way during record creation (Ctrl+N) to have the line be created automatically at the end of the grid instead of right in the middle? I know this is just visually where it creates it, but it still creates some confusion. This is what I've…
Alex Kwitny
  • 11,211
  • 2
  • 49
  • 71
4
votes
2 answers

How to add a button to a dialog and create a method for the click event

In Axapta, How to add a button to a dialog and intercept the click event? Thanks
stighy
  • 7,260
  • 25
  • 97
  • 157
3
votes
2 answers

Dynamics AX 2009: Displaying a name instead of an ID in a lookup field

I am creating a project in AX 2009 on a form. There is a lookup field called "SubsPersonName", which performs a lookup on the ContactPerson table using the following method. public void lookup() { boolean ret; Query query; …
Phil Matthews
  • 31
  • 1
  • 3
3
votes
1 answer

Axapta 2009 X++ download text file from a website

I would like to download a text file from a website, given I know the URL of it.
user733916
  • 143
  • 1
  • 6
  • 15
3
votes
2 answers

Add a lot of columns to the grid on a form

I have to add all 86 fields from a view based query inside a grid on a form. The problem is that a form is very slow and the application freezes. Is there any way to make it faster?
Artem Antonov
  • 109
  • 1
  • 6
1 2
3
39 40