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
0
votes
2 answers

How to see table relationships in database diagrams?

I have lots of tables and I know there are relationships between them because I can see some of them from Microsoft AX AOT. When I go to SQL server management studio and use database diagrams option I can add the tables I want but I cant see…
Henrik R
  • 4,742
  • 1
  • 24
  • 23
0
votes
1 answer

Do we have to upgrade to SP2 before upgrading Dynamics AX 4 to AX 2012 R2?

We are in the process of planning an upgrade from Ax 4.0 SP1 to AX 2012 R2 (CU 7). In the Upgrade guide Microsoft "recommends" that you install the newest service pack (For AX 4.0, this would be SP2.) The client and other internal departments are…
0
votes
3 answers

Add Dynamic range to AOT query

I am using AOT query to create a view.Now I want to pass dynamic range to the AOT query which should affect the view also. I tried using TreeNode class to set query properties but it opened a compiler window and plus it throws error if accessed by…
user3805649
  • 19
  • 2
  • 6
0
votes
2 answers

Create new unique field in table CustTable

I'm working on a project around dynamics AX 2012, and I want to add some fields in CustTable. I want to add a unique field that has 11 characters and consists of 4 digits 1: 1 character for sex 2: 2 character for year of birth 3: 2 character for…
Ahmed
  • 259
  • 2
  • 9
  • 26
0
votes
1 answer

Dynamics AX work flow keep receiving lots of deadlock error

Recently see lots of same error message on AX workflow batch job as below : Can not select a record in Table messages workflow (WorkflowMessageTable). Message ID workflow: {00000000-0000-0000-0000-000000000000},…
Lance
  • 11
  • 2
0
votes
2 answers

AX - How to flush Macro from cache

It seems AX Macro remains in cache I had a macro defined in AOT and declared in classDeclaration as I needed to change one of the values I want to force all users to get the new value when they reopen AX but user is still getting the old value of a…
Hugo Alves
  • 13
  • 1
  • 4
0
votes
1 answer

Ax2009 printing from AOS

How is it possible to hide printers that are locally installed on the AOS server for specific users for a AX client that is hosted using terminal services? It still needs to be possible to print to the printers from the AOS while setting up print…
user3660338
  • 296
  • 5
  • 23
0
votes
1 answer

Set a Date Value to a Date Field in AX2012

I'm new in ax2012 and i create a new table with a field of type date, then i create new form to submit rocords In form a create a new dateEdite control and in EDT property I specified TransEdite to show icon calendare in form. My problem is when i…
Ahmed
  • 259
  • 2
  • 9
  • 26
0
votes
2 answers

Dynamics x 2012 SSRS report, cant find DP class in Visual Studio

I don't understand why I couldn't find my DP class in Visual Studio when I was adding a dataset to SSRS report. Then I copyied a standard SalesInvoiceDP class, I couldn't see it either. I can see DP class in the AOT in Visual Studio, but I can't…
Eric
  • 5
  • 2
  • 7
0
votes
1 answer

maxof( fieldid2name( ... ) ) from tableid2name( ... )?

is it possible to get the current max-value of a column, only knowing tableID and fieldID in ax 2009? i know you can get several informations about the field like isMandatory or something, but i need to know the maximum value instead... thanks for…
Nico
0
votes
1 answer

How to pass a table reference/name as a parameter to a method?

Let's say I have in my method this call: fieldNum(_myTableName, HouseNumber); How do I pass the _myTableName from another method? What type should this parameter have? I tried: when _myTableName is int fieldNum(tableId2Name(_myTableName),…
Arturas M
  • 4,120
  • 18
  • 50
  • 80
0
votes
1 answer

How to handle Ctrl+n on a list page form?

I am trying to handle "ctrl+n" (create new record) action on a list page. I would like to start an wizard after ctrl+n is started. On a normal form I can do it on datasource in create() method. Methods on datasources are disabled on the list page. I…
boucekv
  • 1,220
  • 2
  • 20
  • 47
0
votes
2 answers

Except string datatype, not getting any columns populated through AIF Service

I have a simple custom table in AX, for which i need to create a Web service so that data could be populated by an external system. I created a Document service with all the Axd* and Ax* objects involved. Next i wrote a simple console application to…
Harry
  • 145
  • 1
  • 4
  • 13
0
votes
1 answer

Items Unit Price Caluclation

I have two items Item A Qty =1 and unit Cost Price(up) is 60 Item B Qty =1 and unit Cost Price(up) is 40 Total Cost Price(cp) is 100 Overhead 10 % over cp (may vary as per requirement) 100*10/100 = 10 cp + 10 = 110 Markup 10 % over…
0
votes
1 answer

Dynamics ax 2012 deploy to ep not found

i want to deploy a form created in Dynamics AX to EP(SharePoint) .i added this form to Menu Items but i didn't have the command "Deploy to EP".i didn' found it. I think i didn't missed any step.Any help please