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
4
votes
1 answer

Dynamics AX Preload Behaviour

Questions Does the user option preload refer to caching on the client or on the server? Are there any ways to make this occur asynchronously so that users don't take a large performance hit when first requesting data from a table? More Info In…
JohnLBevan
  • 22,735
  • 13
  • 96
  • 178
4
votes
2 answers

Get value from ComboBox?

I have in MyForm a ComboBox (myComboBox ) with EnumType myEnumType . In the modified method , I want to get the value. I used the code looklike: if (myComboBox.enumTypeValue() == myEnumType::Value1 ) { //action } Or anothe way if…
ulisses
  • 1,549
  • 3
  • 37
  • 85
4
votes
1 answer

How to see the SQL expression of an X++ select statement?

I have below statement in a job in AX: select RecId from pjiTable join pID, Type, PrId from sjTable where pjiTable.Prid == sjTable.PrId && (sjTable.Type == PjType::TimeMaterial || sjTable.Type == PjType::FixedPrice); I have to use…
Raas
  • 261
  • 8
  • 25
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

splitting xpo into multiple xpo files

Is there a tool that allows an xpo file to be split into multiple xpo files? The exact opposite of what CombineXPOs does. The reason I'm asking is because I need to put multiple single xpo/models releases into source control and I want to avoid…
AndyD
  • 5,252
  • 35
  • 32
4
votes
2 answers

Multiple values in query range value in Dynamics AX 2012

How to build query with multiple values. I need to create filter which display only active BOMs in grid and I looking for solution. Here is my code which isnt working: public void executeQuery() { QueryBuildRange qbr; QueryRun …
user3824908
4
votes
1 answer

How is x++ different from ++x?

I'm currently going through the Dynamics AX 2012 X++ developer E-learning and have a question about the X++ language that is not obvious from the documentation. In one place it says that x++ and ++x are exactly the same. However it also has this…
wax eagle
  • 541
  • 11
  • 27
4
votes
0 answers

How to fix following issue to show Date Wise inventory records in SSRS from Microsoft Dynamics AX

I am new Microsoft Dynamics AX Business Analyst. I am writing an SQL Query to show Date Wise Inventory Records Like Opening Stock, Net Dispatch, Sold Stock, Transferred Out Stock, Stock Adjustment and Closing Stock. I wrote a query which displaying…
almond eyes
  • 283
  • 2
  • 4
  • 9
4
votes
1 answer

How to create an X++ batch job in Axapta 3.0?

I'd like to create a batch job in X++ for Microsoft Axapta 3.0 (Dynamics AX). How can I create a job which executes an X++ function like this one? static void ExternalDataRead(Args _args) { ... }
Enrico Detoma
  • 3,159
  • 3
  • 37
  • 53
4
votes
2 answers

How to invoke a menu item from code in AX 2012

I have some custom code in PurchTable "Register" menuitem's clicked method, Now I need to run the Register command from code after a buttons function has been perfomed. My question is that how can I call the Register command from code ?
alphaprolix
  • 601
  • 2
  • 10
  • 25
4
votes
2 answers

Duplicate type with name 'Dynamics.Ax.application.' in assembly 'Dynamics.Ax.application,

I see following error when I compile CIL in Dynamics 2012 ax - Duplicate type with name 'Dynamics.Ax.application.' in assembly 'Dynamics.Ax.application, version=6.0.947.280, culture... I tried Delete class from AOT Delete XppIL directory…
Andriy Kuzmych
  • 193
  • 2
  • 11
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
1 answer

In AX 2012, How to expose WCF service as REST

Right now i am exposing services from AX 2012, how to configure it to expose it as REST? I have to use this service in MAC Xcode for IOS integration, I believe its easy if it is a REST than SOAP.
4
votes
1 answer

Collection of objects

I want to store list of objects in X++. I've read in msdn that arrays and containers cannot store Objects, so the only option is to make a list of Collection. I have written the following code and tried to use Collection = new List(Types::AnyType);…
Bilal Saeed
  • 603
  • 2
  • 10
  • 24