Questions tagged [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.

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.

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

230 questions
2
votes
2 answers

How to debug or unit test DataProvider classes in dynamics AX 2012

Is there any way to debug a DataProvider class, a class that extendes from SRSReportDataProviderBase, When my AOS, my client and my SQL are separated in different servers? Or there is any way to create a unit test or a job, that I could execute the…
elranu
  • 2,292
  • 6
  • 31
  • 55
2
votes
1 answer

getting filename attached to a record in AX 2012?

how to get a filename attached to a record in AX 2012... e.g., I have some table named table1 in which I have attached a file with each record. Now, i want to write a job to fetch the name of files attached to a particular record in a table. I got…
Mohd Saddaf khan
  • 289
  • 2
  • 14
  • 26
2
votes
1 answer

Pie chart Reports in AX 2009

Is it possible to create a pie chart report in AX 2009 Standard reports?
KRISHNA
  • 21
  • 2
2
votes
1 answer

what difference between ax query and select

I'm looking for difference between ax query and select (or while select) In this example i don't see what's i can not do with statement select : the example of ax query in msdn I think I misunderstood the syntax of ax query ranges :'(
jawhar_m
  • 145
  • 5
  • 13
2
votes
2 answers

Object not initialized error when looping over a List in Dynamics AX?

The Problem: I have a list with Objects as elements. I use enumerator to loop over the list. While looping I assign elements to a variable object with the same type as the element. When I call a method on the object, but I get the following…
Tassisto
  • 9,877
  • 28
  • 100
  • 157
1
vote
2 answers

Pass a table method to addLink method of a QueryBuildDataSorce object

Is there any way to pass a table method instead of fieldid to addLink method of a QueryBuildDataSource object? I have this code: qbdsLedgerTrans.addLink( FieldNum(LedgerTable, AccountNum), // Here i need to pass a conditional value of a…
Artem Antonov
  • 109
  • 1
  • 6
1
vote
2 answers

MS Dynamics AX 2009 SSRS reports

I have to create AX 2009 ssrs reports. In my machine I only have Visual Studio 2008. All data and tables are in AX 2009. Do i have to install AX 2009 on my machine or there is a way to fetch records from AX 2009 from MS ssrs tool?
Ritesh
  • 401
  • 4
  • 11
  • 19
1
vote
2 answers

Dynamics AX 2012 SRSS report: SysDictClass object not initialised

I created a report Data Provider class that returns a temp table and a Data Contract for the parameters (as per http://technet.microsoft.com/en-us/library/gg731917.aspx). I created a report in Visual Studio. When I test the report in VS, it works…
Peetzilla
  • 23
  • 1
  • 5
1
vote
2 answers

General quesions about Dynamics Ax

I'm a newbie in Dynamics Ax and have mountains of quesions: *What computer programmering language do you use to code new functionality in Ax? Is it C#? *When you do some coding, does it take place in Visual studio 2010? *If ERP use C# as a coding…
HelloWorld1
  • 13,688
  • 28
  • 82
  • 145
1
vote
2 answers

Changing ProdRouteJob has no effect to WrkCtrCapRes or recalculating the capacity reservations

I'm changing the route jobs (ProdRouteJob) with optimised data from an external optimisation tool. The changed data is written with a simple ax class and a prodRouteJob.update(). The problem now is, that the capacity reservations (WrkCtrCapRes) will…
supertobi
  • 334
  • 2
  • 20
1
vote
2 answers

How can I change the production status via code? (AX 2009)

I have to change the production status via code, but not from the ProdTable form. The problem that I have is, that the class ProdMultiRelease expects to be run from the ProdTable form. (Line 10:…
supertobi
  • 334
  • 2
  • 20
1
vote
1 answer

Payment Proposal functionality in AX 2009

When we go to Payment Journal/Lines / Create Payment Proposal - Select the vendor and click ok , it now creates the Open Transaction lines in the top part of the form and a single line with the amount totalled in the Payment Proposal(lower part of…
Tejashree S
  • 311
  • 1
  • 12
  • 27
1
vote
1 answer

How do I query the objects UtilElements and UtilIdElements to fetch correct results?

I am having issues with querying UtilElements and UtilIdElements in Dynamics AX 2009. Screenshot #1 shows the class SalesFormLetter being present in the layers sys, syp, gls, glp and cup. However, when I run the following the code the output…
user756519
1
vote
3 answers

How to read text files that have line feed and carriage return intermixed using X++?

I am trying to read a text file using Dynamics AX. However, the following code replaces any spaces in the lines with commas: // Open file for read access myFile = new TextIo(fileName , 'R'); myFile.inFieldDelimiter('\n'); fileRecord =…
Paul Michaels
  • 16,185
  • 43
  • 146
  • 269
1
vote
1 answer

How to get the LookUp of fetched values from different company?

Am trying to fetch company name while am dealing with a cross company task. I used the following code to get the company name which has the current comapny as invoice company. CrossCompanyPostingRules crossCompanyPostingRulesLoc; int i; …
Raavi
  • 11
  • 1