Questions tagged [dynamics-ax-2012]

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. R2 revision was published on Dec. 2012 (kernel build 6.2.158.x)

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.

Se also Wikipidia article.

1187 questions
26
votes
1 answer

Multiselect from Ax 2012 Listpage (EP) to downloadDocument.aspx

I have been struggling with this for a while now and can't seem to find a solution for my problem. I would really like some help here if possible, it would mean a great deal to me. I'm currently running a listpage from ax 2012 on a Enterprise portal…
Heygar
  • 543
  • 1
  • 6
  • 19
17
votes
2 answers

SSRS report parameter.label showing parameter.value

I have a SSRS report, in my report I have a dataset which has an ID and NAME field, then I created a parameter and set its value to ID from dataset and Label to NAME of dataset. I can see the label when I preview report and select it, but I am also…
alphaprolix
  • 601
  • 2
  • 10
  • 24
10
votes
3 answers

How to set a single dimension value in AX 2012?

My problem is setting some dimension values read from an external source. Given the AX 2009 statement: ledgerJournalTrans.Dimension = ledgerTable.Dimension; ledgerJournalTrans.Dimension[1] = "abc"; What is the equivalent way to that in AX…
Jan B. Kjeldsen
  • 17,339
  • 5
  • 30
  • 49
9
votes
4 answers

What is the .toString() varient in X++ or Dynamics AX?

Is there something similar to the famous toString() method of C# in Axapta? I try to run underlying code: info(this.dataSource()); But it gives me this error message: "Argument 'txt' is incompatible with the required type."
Tassisto
  • 8,589
  • 27
  • 91
  • 140
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,347
  • 1
  • 31
  • 69
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,337
  • 5
  • 30
  • 60
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
  • 439
  • 3
  • 6
  • 11
6
votes
2 answers

How do you "Run" a class

I'm still a newbie when it comes to Dynamics AX development. I'm working through a tutorial here. Once finished writing the code in C# and X++ the tutorial says to run the class and messages will be displayed (the result of the test code). I can…
KevinManx
  • 481
  • 1
  • 5
  • 25
6
votes
2 answers

Dynamics AX 2012 - changing the general ledger posting of product receipt

I've have been tasked with extending the general ledger posting for product receipt in an DAX 2012. In 2012 it seems to me that Microsoft har started a transition away from using the traditional LedgerVoucher, LedgerVoucherObject and…
6
votes
2 answers

Dynamics AX 2012 Only One Copy of a Form Open

Anyone have any tips/code snippets for preventing more than one copy of a custom X++ form from being opened at a time? Best case: Attempt to open another copy of the form, and the original gains focus Acceptable: User receives a notice that the form…
Brad
  • 1,337
  • 5
  • 30
  • 60
5
votes
2 answers

Get an error when consuming a WCF server from .Net Core 2.1 but it's fine on .NET

I have a WCF service (AIF) on Microsoft Dynamics AX I can call it without any problem using .NET 4.6.1. However, when I run the same exact code using .NET Core I get an error which states A call to SSPI failed The target principal name is…
Mehrdad Kamelzadeh
  • 1,614
  • 2
  • 19
  • 36
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
  • 414
  • 6
  • 27
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
  • 741
  • 6
  • 21
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…
1
2 3
79 80