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

Wrapping Microsoft Dynamics Business Connector .net assembly in python

I am writing a python wrapper to the Microsoft Dynamics Business Connector .net assembly. This is my code: """Implements wrapper for axapta business connector.""" import pathlib from msl.loadlib import LoadLibrary import clr DLL_PATH =…
zhukovgreen
  • 1,551
  • 16
  • 26
5
votes
3 answers

Dynamics Ax 2009, Exception Handling

In my x++ code I have the following void run() { try { startLengthyOperation(); this.readFile(); } catch (Exception::Deadlock) { retry; } catch (Exception::Error) { error(strfmt("An…
CaffGeek
  • 21,856
  • 17
  • 100
  • 184
5
votes
3 answers

catching the warning message from aif web service

I have a aif service in ax 2012. I pass information into it from .net applications. basically i'm posting to the general journal. But when there is an error, say bad information being passed in, it returns a general error usually "error…
Sirus
  • 382
  • 1
  • 8
  • 35
5
votes
1 answer

Extending an EDT for a Yes/No enum

I've created my yes/no EDT called IsSpecialCustomer. When I choose the Extends property of NoYesId, it triggers a database sync. If I use the base enum NoYes, it won't trigger a sync. Is there any reason to use the NoYesId EDT over the NoYes…
William YK
  • 1,025
  • 12
  • 26
5
votes
2 answers

How to do multi-select so that multiple selections on a parent datasource will display combined child datasource

I'll be using SalesTable/SalesLine for the sake of this discussion. I have a simple form with two DataSources, SalesTable and SalesLine, with SalesLine joined to SalesTable. There is a header and lines grid. The header grid has property…
Alex Kwitny
  • 11,211
  • 2
  • 49
  • 71
5
votes
4 answers

How to do unit testing in Microsoft Dynamics AX 2012 in a real world project

Dynamics AX 2012 comes with unit testing support. To have meaningful tests some test data needs to be provided (stored in tables in the database). To get a reproducable outcome of the unit tests we need to have the same data stored in the tables…
elToro
  • 1,003
  • 9
  • 31
5
votes
2 answers

How to pass more than one record between two forms?

I want to pass more than one record between two forms. The user opens Form-A, selects multiple records and then clicks a button that opens Form-B. In Form-B there are two (or more) StringEdit controls and they should display values from the selected…
ulisses
  • 1,549
  • 3
  • 37
  • 85
5
votes
1 answer

Ax 2012 tts error

HI i am facing an error while updating a record in the invent table. I am using the following sample code. static void Job4(Args _args) { CsInvBOMSplitQtyCalcHelper bomCalc; Qty qty; InventTable …
user3226663
  • 137
  • 3
  • 17
5
votes
1 answer

Axapta User Permission

Im working on a report in AX2009 that will show what users have what permission, my question is, how can i find through code (in x++) if user1 has got permission to post movement journals ? thanks
5
votes
4 answers

What is the best way to print columns from different tables on the same row using the Axapta reporting tool?

It seems like each body section in an axapta report can only print columns from a single table(consistantly). For instance: I have a report that has the following tables: SalesLine, InventTable and CustTable. Then I would like to print columns…
James Moore
  • 2,501
  • 6
  • 26
  • 29
5
votes
2 answers

What handles dynamics:// URLs?

I'm trying to create my own custom drilldown functionality, where a URL dynamics://0?myfunction_123456 will launch my own code. In C\SysStartupCmd\construct, this base code: case 'viewalert': sysStartupCmd = new…
Alex Kwitny
  • 11,211
  • 2
  • 49
  • 71
5
votes
1 answer

How do I get the previous field value in the modifiedField method of a Dynamic Ax table?

I would like to be able to perform some logic in the table.modifiedField method which compares the previous value of a field to the new value. How do I get to the previous value?
James Moore
  • 2,501
  • 6
  • 26
  • 29
5
votes
4 answers

Debugging in Dynamics AX

I'm facing some troubles still while learning, so I guess it tends to get worse once I play with the big kids: warnings in dynamics aren't as precise and informative as VS's, there are no mouse-over tips, and exceptions to show me exactly where I've…
Marcelo
  • 3,371
  • 10
  • 45
  • 76
5
votes
1 answer

Table Update Event Handler

I am investigating the capabilities of the new delegate & event subscription pattern in AX 2012. At the moment I am looking to detect when a particular field has been modified, for example when SalesTable.SalesStatus is changed to…
AnthonyBlake
  • 2,334
  • 1
  • 25
  • 39
5
votes
1 answer

Hide form tabs for specific user groups

There is requirement to hide certain tabs for certain user groups on a form. Thing is, hiding all the fields in the tab does not seem to work. Any ideas are appreciated. Working with AX 2009.
romandek
  • 95
  • 5