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
3
votes
2 answers

How do you empty an array in Axapta 3.0?

Can someone please detail how to empty an array in Axapta 3.0?
Namadgi
  • 85
  • 1
  • 6
3
votes
2 answers

What is the difference between the CommaIO and Comma7IO classes?

There is no documentation in the help file as to the purpose of the Comma7IO class, just that it extends the CommaIO class. What is the difference?
William Mioch
  • 917
  • 9
  • 21
3
votes
1 answer

Using a variable created in other class extension

I need to pass a boolean variable from one class to another. How can I archive this ? I have 2 classes, one create and set the boolean value and the other class need to get this value. It's all because I need to run code on true value for a…
Tweene
  • 257
  • 4
  • 16
3
votes
1 answer

What are differences between FormControl and FormBuildControl in ax

While I was working on the enabling and disabling the form controls I noticed that there are two kinds of form elements. One is the object of the form control class which is accessible as below: FormControl _control =…
Nastaran Hakimi
  • 695
  • 1
  • 16
  • 36
3
votes
1 answer

Sending email via Axapta

I've managed to get my Axapta 3.0 to send email via the printjobSettings class. However, there doesn't appear to be anywhere I can create a body for my email. Currently I can send email with an attachment but I'd like to include some text to provide…
Namadgi
3
votes
2 answers

ComboBox in X++

In my ComboBox there are items like A B C D and bydefault the value is A where i want to make it as C something like comboBox.comboType(2) in the init form, but this doesnt seems to work. May be ComboBox.selection(2) helps, m not sure, Kindly…
piku
  • 471
  • 4
  • 12
  • 44
3
votes
2 answers

Dynamics AX 2012: How can I get, by code, a list of all the methods within a specific form?

Is there any way for me to get, by code, a list of all the methods in a given form in Dynamics AX 2012? I am working in developing a small tool that will insert some comments in all of the methods of custom objects through using the Editor class.…
3
votes
1 answer

Find unused labels

Is there any way I can find labels which are not used in D365 FO (labels which dont have references)?
andjelalj
  • 31
  • 1
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
3 answers

Why should I use positive logic in an if block?

I don't understand why it is a best practice to use positive logic in an if block http://msdn.microsoft.com/en-US/library/aa629483.aspx Preferred: if (true) { ... } else { ... } Why it is a best practice to have positive logic in…
Gainster
  • 5,481
  • 19
  • 61
  • 90
3
votes
1 answer

Casting CLR unsigned integer datatype in Dynamics Ax 2009

I am getting error in Dynamics Ax 2009 when I try to set a variable of CLR type UInt32 like in the following example: System.UInt32 duration; ; duration = 50; // Error : Cannot implicitly convert type 'int' to 'System.UInt32'. // Ax explicit…
Lets Do Green
  • 127
  • 11
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,549
  • 3
  • 37
  • 85
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
2 answers

MS Dynamics 365 for Operations source not found while debugging

In MS Dynamics 365 for Operations (AX7), I'm trying to debug a form method. I can set breakpoints. I can start debugging and it stops at breakpoint as it should. But then, when I click F11, an error is shown: "Source not found" There is no such…
3
votes
2 answers

Axapta 2012 - Ax Views and GETDATE()

I'm trying to make a date range in a view work relative to today. But I'm not find any function to set in the query range to make it dynamic. Example: Creates: SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW…
Reinard
  • 3,624
  • 10
  • 43
  • 61