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
1
vote
1 answer

Assembly containing type XXXX.XXXX.XXX.XXXX is not referenced when running a C# based service in AX 2012 batch job?

I have created a project using Visual studio to consume web service, and when running on a AX-client it works perfectly. But when running same using batch job it gives error like: Assembly containing type XXXX.XXXX.XXX.XXXX is not referenced. Object…
Mohd Saddaf khan
  • 289
  • 2
  • 14
  • 26
1
vote
1 answer

How can I set the Backgoundcolor of an AX2012 Action Pane Button

I'm trying to set the background color of an Action Pane Button so I changed the init-Method to this: public void init() { super(); myButton.colorScheme(FormColorScheme::RGB); myButton.backgroundColor(WinAPI::RGB2int(255,0,0)); } but…
Michael
  • 23
  • 4
1
vote
1 answer

AX 2012 R2 I don't have LoginProperty class?

I am migrating Payroll Module from Ax 2009 to Ax 2012 and when I was trying to fix the Connection to DB replacing the deprecated CCADOConnection class for LoginProperty class functionality, I found out that this does not exist on my AOT. I have some…
Sebas Tian
  • 65
  • 6
1
vote
2 answers

Assign return value to a table field

I need to insert a value to the field table and I have a display method which returns this value Is there a way to assign a return value from display method to a table field or calling this display method in insert()? Thanks
Alec
  • 13
  • 3
1
vote
2 answers

Truncate table via web service

Hi does anybody know if its possible to truncate a staging table via a web service in AX 2012? There is the delete method, however this is a bit slow for a large number of records.
Vince Ashby-Smith
  • 1,152
  • 4
  • 18
  • 36
1
vote
1 answer

Invalid field/related field combination

I'm trying to make an entity like vendor in ax 2012. When I click the "new" button I get following error; Invalid field/related field combination. I have looked for it on search engines and found out that it might be due to wrong joins used in…
1
vote
0 answers

Dynamics Ax(R2) Excel add-in: How do I work with arrays?

In previous versions, the Dynamics Ax Excel add-in has returned an error when working with tables containing an array (A column named 'name' already belongs to this Data Table). This seems to have been fixed to a degree in R2, because the tables can…
1
vote
2 answers

Programmatically add an invoice to Dynamics AX 2009

I'm am pretty new to Dynamics AX 2009 and since I haven't really found the way to solve what I'm doing I decided to ask here. I have a requirement to post(?) an invoice through X++. I already found this HOWTO: Facturación selectiva de líneas en…
ackzell
  • 277
  • 1
  • 3
  • 15
1
vote
1 answer

Microsoft.Dynamics.BusinessConnectorNet mixed mode assembly error

"FileLoadException was unhandled by user code" (Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information) as the matter above.i got exception when…
Firdaus
  • 31
  • 1
  • 5
1
vote
2 answers

Mark mandatory fields on form, if not filled with valid value

if you create a new dataset, mandatory fields which are not set yet are marked with a wiggly red line. it seems, that only string-values ( or several fields, but at least no integers ) are marked this way. if integer-references are used ( 1-based…
Nico
1
vote
1 answer

AX 2009 / 2012 CS database collation

I've found several articles, posts and threads that case sensitive database collation isn't supported. Neither by 2009 nor by 2012. In Installation-progress, you'll be faced with this, latest. But I wasn't able to find a concrete reason for that…
Nico
  • 1,175
  • 15
  • 33
1
vote
1 answer

Dynamics Ax 2012 Overriding empty values of a field

I have some custom fields in the SalesTable form where I have overridden the lookup method to fill a combobox. I have also overrode the form's initValue method of my custom data source to automatically fill in the default values of these fields…
Luke Wyatt
  • 1,126
  • 2
  • 12
  • 23
1
vote
2 answers

Rounding in salesLine price field

I need to show 5 decimal places in the price field in sales line, purch line and item master (sales tab). I created new EDTs with 5 decimal places to replace the salesLine.SalesPrice and InventTableModule.Price field. But as soon as the sales line…
Harry
  • 145
  • 1
  • 4
  • 13
1
vote
1 answer

How to open text file with the help of button under any form?

I have one text file(Notepad) put under resources node in AX 2012 AOT. Now, my task is to open this file with the help of button under any form. http://msdn.microsoft.com/en-us/library/cc967403.aspx Above link is helpful when creating temporary file…
Mohd Saddaf khan
  • 289
  • 2
  • 14
  • 26
1
vote
1 answer

Initialize values in AX 2012 Wizard controls....

I have created a wizard in Ax 2012 using wizard>wizard and i am calling this wizard from Custtablelistpage form... now, i have put some controls in this wizard like CustAccount, and i need to initialize value in this control from selected record in…
Mohd Saddaf khan
  • 289
  • 2
  • 14
  • 26