Questions tagged [dynamics-ax-2012-r2]

Microsoft Dynamics AX is one of Microsoft’s Enterprise Resource Planning software products. It is part of the Microsoft Dynamics family.

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 are 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 are integrated in the language.

Se also Wikipidia article.

259 questions
1
vote
1 answer

How to get references from C# project to deploy with AX?

I've created a C# class as a wrapper to call a Json rest webservice that will be used in AX, and have added my C# project to AX and can see/reference the methods. In my C# class, I'm using Newtonsoft.Json (Json.net) as a reference to help…
William YK
  • 1,025
  • 12
  • 26
1
vote
1 answer

When I call an AIF service from C# to create a SO, my XML doesn't look like I would expect

I'm experimenting with AIF to create a basic SO from C# following this general guide from Microsoft. I have two questions. The only information I'm passing is this: // Create instances of the entities that are used in the service and …
William YK
  • 1,025
  • 12
  • 26
1
vote
1 answer

InventTrans and InventJournalTrans tables

Starting with: InventJournalName The InventJournalName table contains information for inventory journal names. The table is used to initialize inventory journals and assign the default values from the InventJournalName table to the inventory …
1
vote
1 answer

standardJournalName method from InventJournalName

In InventJournalName table there is JournalNameId column and JournalType. Using: InventJournalNameId inventJournalName; inventJournalName = InventJournalName::standardJournalName(InventJournalType::Movement); I am indeed able to get a…
1
vote
0 answers

AIF custom service TransDate field is rendering as date at 12 PM

I have a bit of a mystery with a Dynamics AX 2012 R2 CU7 custom service. It's really simple and it basically assigns some data to a contract for a downstream system to use. …
Richard
  • 55
  • 1
  • 3
1
vote
1 answer

How to see progress of general ledger batch posting

Is there a way in Dynamics AX 2012 R2, or using a SQL query, to see the progress of a general ledger batch posting? Not looking for a way to add code for the user to see it, but a way for a system admin, for example, to see if it is progressing. …
Tony Hinkle
  • 4,706
  • 7
  • 23
  • 35
1
vote
1 answer

Vendor Invoices - Charges Code & Vendor Ledger Dimension

I have a charge code called FREIGHT set up with the following configurations. Under Credit, I've specified a ledger account of 4800. I now create a Purchase Order, confirm and go through the whole process, and then try to invoice / post it. I'm…
1
vote
1 answer

SQL Recursive CTE 'where-used' / BOM explosion

What I'm trying to do simply is for an item from the BOM table (Bill of Materials) get it's related components/products from BOMVERSION and then for those related components/products get their related components and products etc. down to 7 levels. I…
jhowe
  • 10,198
  • 19
  • 48
  • 66
1
vote
2 answers

Wrong fields reset when method SalesLine.modifiedField is called from code

Take any sales order with a line that has fields SalesLine.Name and SalesLine.ExternalItemId populated. Then run following job trying to modify any field not related to the two above: SalesLine sl = SalesLine::findInventTransId('US01-000025',…
10p
  • 5,488
  • 22
  • 30
1
vote
2 answers

Why does the `FetchMode` query property remove fields from the parent data source?

When opening the query SalesTableListPage from the AOT, you can choose the field MatchingAgreement (shown as "Agreement Header record ID (Record-ID)") in the field lookup. The same is not possible for query SalesUpdate, field MatchingAgreement and…
FH-Inway
  • 4,432
  • 1
  • 20
  • 37
1
vote
1 answer

How can the ToDate be kept after the FromDate in a table record?

I have a table with two fields: FromDate and ToDate. I want to make sure that the ToDate value is always later than the FromDate value. To do this, I want to set the ToDate value to the FromDate value + 1. To do this I have implemented the following…
ulisses
  • 1,549
  • 3
  • 37
  • 85
1
vote
3 answers

AX2012 - ListPageGrid does not update

I'm having a lot of trouble adding another field to a ListPageGrid in one of my Microsoft Dynamics AX 2012 - R3 environments. For some background information, I have 4 different environments which I'm trying to do this on. 2 successful, 2…
1
vote
2 answers

Mass update og Price Lists through CSV

I have this functionality that updates Price Lists from an CSV file, but takes way too long to fulfill (9 hours aprox.). The structure file have 2 main parts, the record lines (rows) and 10 possible dimensions (not AX dimensions) of types of price…
Sebas LT
  • 11
  • 2
1
vote
1 answer

How do you find a user's last used printer in SysLastValue

I've been trying to find where a user's last used printer is stored so that I can clear this usage data (as a few users have an issue where the remembered printer keeps defaulting to the XPS writer, despite us having KB981681 installed & the…
1
vote
1 answer

Microsoft Dynamics AX - Sales Order to Invoice class location

I'm looking to make a modification in the logic where an invoice is made from a Sales Order. In other words, as soon as the Sales Order status changes to "Invoiced", I want to be able to add some additional code there that updates something…