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

Best Practice message: All duties should be part of a process cycle

I develop in many environments in MS Dynamics AX 2012. I made a Privilege and added some MenuItems under its EntryPoints-section. Then I created a new Duty and added the Privilege under the Privileges-section of the Duty. And finally I added the…
Tassisto
  • 9,877
  • 28
  • 100
  • 157
0
votes
2 answers

AX 2012 ContractFilter mismatch

I'm following the Microsoft document "Using Microsoft BizTalk Server 2010 to exchange documents with Microsoft Dynamics AX_AX2012.pdf". I have the sample XML order create collected by BizTalk, transformed and passed onto AX, this is being collected…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
0
votes
1 answer

Passing control object to method

I'm developing in Ax 2012. I have stringEdit controls on a form which holds the same type of information and share an EDT. I do validation on the EDT in a class. I call the class from a check method on the form. I use the same method on the form…
Celeste
  • 106
  • 1
  • 13
0
votes
1 answer

Axapta.ExecuteStmt - Is it safe?

I have some code, which uses the ExecuteStmt method on the Axapta Object when using the Business Connector, like so: AxaptaRecord record = (AxaptaRecord)ax.CreateAxaptaRecord("SalesTable"); record.ExecuteStmt("select * from %1 where %1.SalesId == '"…
CallumVass
  • 11,288
  • 26
  • 84
  • 154
0
votes
2 answers

Error executing code: Wrong argument type for function

I have some code in c# which uses the AX Business connector, and its like this: AxaptaRecord OrderRecord = (AxaptaRecord)ax.CallStaticClassMethod("BTNOnlineOrder", "getSalesOrder", salesRef); if (OrderRecord.Found) { AxaptaObject Lines =…
CallumVass
  • 11,288
  • 26
  • 84
  • 154
0
votes
1 answer

Using QueryRun datatype in C#

I was wondering if it is possible to use the QueryRun object in c# and if so, which namespace do I import to use it, as I have a method which returns a QueryRun object in my AX class, which I call in my C# code like…
CallumVass
  • 11,288
  • 26
  • 84
  • 154
0
votes
1 answer

What are the steps to follow to make a query and use it on a ListPage Form?

Could someone tell me the steps to complete to have a query and use it at a ListPage. The development takes place in Microsoft Dynamics AX. Thank you in advance.
Tassisto
  • 9,877
  • 28
  • 100
  • 157
0
votes
1 answer

Dynamics AX --> BizTalk incomplete message with new AIF-Service

i've got a little Problem regarding the AIF-Service in Dynamics Ax when sending a production order to BizTalk: I'v made a query (AxdProdTest) for the ProdTable including the ProdId, ItemId and ProdType as fields and the ProdJournalTable as sub…
Hemant Kumar
  • 4,593
  • 9
  • 56
  • 95
0
votes
3 answers

Dynamics AX Nested Query

Maybe I'm missing something simple, but is there a way to write a nested query in AX? I tried some syntax I thought would work, but with no luck. The following standard SQL statement would accomplish what I'm trying to do, but I need to do this in…
Brad
  • 1,357
  • 5
  • 33
  • 65
0
votes
1 answer

How to select records from multi-companies in Morphex reports?

I want to know if I can select data from multi-company in Morphex reports, for example: user wants to get report's data from CEU & CEE companies. I don't mean get the whole data from all companies, I mean to get data from specific multi-companies. I…
Emad Mokhtar
  • 3,237
  • 5
  • 31
  • 49
0
votes
3 answers

Using the compare tool during an object import in Dynamics AX 2009

I'm trying to import a list of objects into a Dynamics AX 2009 system. The problem that I have is that the object IDs differ for all the objects that I'm importing. I'm doing the import manually, and so as part of this I need to compare each…
Paul Michaels
  • 16,185
  • 43
  • 146
  • 269
0
votes
2 answers

Dynamics AX - Apply range on combobox datasource / items

I just want to limit the records brought in the combobox based on some condition, say like which menu item opened the form. So specific rows should return. I have no idea about the code, also tell which method/event to use, field's modified method,…
maqk
  • 313
  • 2
  • 7
  • 18
0
votes
1 answer

How to add columns to ledgertrans

I have to add a new column in ledgerTrans, and write data, but I don't want to do that with a direct x++ insert. I preffer do it throught a class and rights methods. I've saw classes like LedgerJournalCheckPost and CustVendVoucher but I've gotten…
0
votes
1 answer

Dynamics AX - Sales Packing Slip/Invoice Posting error

I am getting the below error whenever I try to post a Packing Slip or Invoice of a Sales Order in AX 2009. I have tried removing the tax adjustments and rearranging the orders. But even clicking the Arrange button results with the same error. Sales…
Zahir Khan
  • 35
  • 2
  • 7
0
votes
2 answers

How to use display method as a range in axapta 3.0 report

I am just wondering if someone could help me please. I am designing a report in Axapta 3.0 and facing a issue. I have got a display method in InventTable which is returning the ON-Hand stock quantity. I am using this in a report to show the quantity…