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

In Dynamics AX, X++, how do you increment a date variable

I am not sure if it is something with xslt or xpath..but how do I increment a date by 1 day? For example, if the date is 2/16/2009 I want the date to be incremented by 1 to become 2/17/2009 etc. etc.
ash
8
votes
1 answer

AX Retail POS Login Customization

I want to make a customization into AX POS retail login module. instead of typing operator id and password, can i read externally and pass to POS with operator id and password? Regards, Rassal
8
votes
3 answers

How to add checkBox in Dialog and get value?

I want to add a CheckBox in my Dialog. I used this code: Dialog dialog; DialogField dialogField; NoYesId checkValue; ; dialog = new Dialog("New dialog with checkBox"); dialogField = dialog.addFieldValue(identifierStr(NoYes) ,…
ulisses
  • 1,549
  • 3
  • 37
  • 85
8
votes
1 answer

LEFT JOIN in Dynamics AX View

Does anyone know how to do a LEFT OUTER JOIN in a Dynamics AX View from the AOT (not a programmatically-created query). Can't seem to find a way to do anything other than an INNER JOIN, and the documentation seems to indicate it isn't possible. …
Brad
  • 1,357
  • 5
  • 33
  • 65
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,260
  • 25
  • 97
  • 157
7
votes
1 answer

Reading a comma separated values (csv) file in dynamics ax

How do you open and parse a csv file in dynamics ax?
James Moore
  • 2,501
  • 6
  • 26
  • 29
7
votes
4 answers

What is the function to get the system date and current date in Dynamics AX?

What are the function calls to get the System Date and Current Date using X++ in Microsoft Dynamics AX?
James Moore
  • 2,501
  • 6
  • 26
  • 29
7
votes
1 answer

Dynamics AX 2012: Conversion failed when converting date and/or time from character string

In AX I have several entities. When I try to post unposted timesheets it works fine for all entities except of one where I'm getting SQL error: "Conversion failed when converting date and/or time from character string" The call stack is below: In…
AYETY
  • 698
  • 4
  • 23
  • 38
7
votes
3 answers

Dynamics ax 4.0, opening form without applying filter on current record

I have form with VendTable grid for example, which has CustAccount field. I want to place button, click on which will open CustTable form where all customers are visible. If I just put CustTable menuitem, then clicking on it will open CustTable…
maykeye
  • 1,286
  • 1
  • 12
  • 16
7
votes
2 answers

Refresh entire form in AX 2012?

I'm currently working with a form that has a grid at the bottom. Whenever I hit f5, the grid refreshes, but the rest of the form does not. What can I do to make the entire form refresh it's data? Thanks.
Mr. Dynamic
  • 499
  • 4
  • 6
  • 11
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,334
  • 1
  • 25
  • 39
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
  • 8,149
  • 8
  • 44
  • 71
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,260
  • 25
  • 97
  • 157
6
votes
3 answers

How to hide enum values on a combo box at runtime?

Suppose the combobox is linked to enum "ABC". The elements in it are A, B C and D. Now I need to get only A and C in the combobox and not B and D? Is this possible?
Tejashree S
  • 311
  • 1
  • 12
  • 27
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
  • 5,111
  • 10
  • 38
  • 38