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.

1211 questions
3
votes
1 answer

Check objects type

I am using a C# application to do some work and send back the results in AX via a service. I've created a few classes in AX and use their instances in C# then I send the objects back with the help of a classic array. In AX I receive the stuff in a…
3
votes
1 answer

AX 2012 - How can I retrieve the labelid of a field

I want to get the label of a field in a specific language. This could be done through something like: SysLabel::labelId2String(literalstr('@SYS1'), 'en-us'); But to do so, I need the LabelId of the field, which I don't know how to retrieve. Can…
TPeer
  • 117
  • 8
3
votes
1 answer

Highlight a record in a grid on form open

I'm currently running into an issue with the following situation: I have a right click event which executes a static method "inventTransferOrder". In that I have the following code: select firstOnly invTransLine where invTransLine.TransferId ==…
Tekumi
  • 55
  • 1
  • 7
3
votes
1 answer

How to create a display method that relies on two other display methods?

I have a header/lines type of object (think SalesTable/PurchTable), and on the header I have two calculated display methods, "total qty" and "total invoiced". I want to add a simple display that says "Fully Invoiced", which is a display method that…
William YK
  • 1,025
  • 12
  • 26
3
votes
1 answer

How to make query range mandatory?

I have an AOT Query object. How can I make a range a mandatory field?
William YK
  • 1,025
  • 12
  • 26
3
votes
1 answer

xRecord.data method generates record with identical RecId

I understand that the table's data method creates a copy of a record including the system fields. Normally it should generate a new RecID, which is reasonable because otherwise you cannot insert the record in the same table. Now I'm having a case…
elToro
  • 1,003
  • 9
  • 31
3
votes
1 answer

How to get a list of all Display Methods in a table?

I need to get a list of all display methods in a table, and I can't seem to find anything about this on the web. Anyone know how to do this?
Heygar
  • 553
  • 1
  • 7
  • 19
3
votes
1 answer

How to get a list of Companies User Access in Ax 2012?

In Ax 2009, to get a list of companies by user I get it of this way: static container getAllCompanies() { Container companies; DataArea dataArea; CompanyDomainList companyDomainList; AccessRightsList accessRightsList; …
Max Pinto
  • 1,463
  • 3
  • 16
  • 29
3
votes
1 answer

Drop dialog on a list page not disappearing automatically

When I add a drop-dialog to a list page, the drop dialog drops down when I click on it, but does not disappear when I click somewhere else. I am trying to add my own drop-dialog, but I can reproduce this issue with standard Dynamics AX objects. I…
3
votes
2 answers

How to insert label in the info with %n - field's values?

I have to stamp to video a simple string, with label and field's values. I have this code: info (strFmt (" @SYS334481: %1 , @SYS4569: %2 " , myTable.AliasUser, myTable.Day) ); I have an output looklike this : Alias user , Day I haven't the…
ulisses
  • 1,549
  • 3
  • 37
  • 85
3
votes
2 answers

Adding custom filters to list pages

I've created a custom brand new list page with all the required parts. Now I've added a filter to the top similar to ProjProjectsListPage, in fact I have the same Active/All as that form (however with my own custom EDT instead). The filter works…
codemann8
  • 372
  • 7
  • 29
3
votes
1 answer

X++: Highlighting all records in a grid from a code (including not loaded ones)

I can't workout this seemingly simple task. I have a custom CheckBox named PrintAll and what I want is once it gets selected, all rows in a grid gets selected/highlighted. Here's what I have tried: Option 1: Passing CTRL+SHIFT+END. The example…
Donatas
  • 317
  • 1
  • 5
  • 18
3
votes
1 answer

Converting Rows to column values - Return single row

I'm fairly new to SQL programming, and I'm working on a report on our financial postings. The postings are sorted with a string combined of 1 to several dimensions. These dimensions are stored in a database, and I would like to be able to get the…
3
votes
2 answers

Why do all RecIds start with 5637144576?

Here is a completely pointless question... but one that I would like to know the answer to: Why do all RecIds in Ax2012 (And all since v2.5 I think??) start with 5637144576? Why not start with RecId 1, like in TempDB tables? This must be some legacy…
Wessel du Plooy
  • 505
  • 5
  • 18
3
votes
2 answers

NumberSequence - Dynamics ax 2012

I need help. I'm trying to add a few auto-generated number sequences in my tables. I'm doing it by using loadModule() in Class NumberSeqModuleMine: NumberSeqDatatype datatype =…
user3824908