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

ax2012 r3 upgrade kernel tries to create ghost unique index

I am trying to upgrade my AX2012FP to the R3 version , but during the process I am getting errors on the synchronisation (so right after presync) . One of the errors is the following: SQL error description: [Microsoft][SQL Server Native Client…
1
vote
2 answers

Find fieldId through labelid

I would like ask if it is possible to find the fieldId of a specific table through the labelId of the field. Thanks in Advance
Nikos Kou
  • 175
  • 3
  • 17
1
vote
1 answer

Operand types are not compatible with the operator in ax 2012

for bellow code i am getting the error like Operand types are not compatible with the operator. operand types are as followed. str fileName; int hfile; hfile = WinAPIServer::createFile(fileName); the code is directly copied from the bellow…
1
vote
1 answer

Copy table data from one object to another object AX 2012

I'm trying to do a Job which used to Copy and insert Journal Names from one entity to another entity. Below code able to handle only fields only I hardcoded. But I'm trying to do a code which will be useful in future i.e if we add new custom field…
1
vote
2 answers

handle exception in try catch block

I have a switch case scenario where I know beforehand that there is a high level of opportunity that the user might not set the the rules with the right categories. it's totally ok for me as soon as i can pop up a dialog showing instructions what to…
1
vote
2 answers

Update SalesLine Unit price on changing the size in Microsoft Dynamics AX 2012 R2

how to approach this? Change the value of unit price in the Sales line on changing its size, As far as I know the default unit price comes from trade agreements. In this case there would be no size, but for my requirement I should assign value from…
Prasad Koppu
  • 23
  • 1
  • 7
1
vote
0 answers

Dynamics AX Testdata Tansfer Tool with DB Cluster

I'm trying to export data from a Dynamics AX 2012 R2 production environment using the Test Data Transfer Tool. The problem is, that when I run the export command dp.exe EXPORT C:\TDTT20170329 Live2012R2 my-cluster/GM2 I get following error…
elToro
  • 1,003
  • 9
  • 31
1
vote
1 answer

how to find shortname of country from custtable

I need to query the short name of the country name based on custtable. I know the information lies in LogisticsAddressCountryRegionTranslation.shortname; LogisticsAddressCountryRegion.countryregionid; Problem is, going through the relations i…
Sirus
  • 382
  • 1
  • 8
  • 35
1
vote
1 answer

Activate Price for bulk Items . Dynamics AX 2012 R2

I need to Update Prices for bulk of items for each warehouse. The Activate Price button is on InventItemPrice Form (Path: PIM > Released Products > Manage Cost > Item Price). I have a process where I am using the same code of that Activate Price…
Raj
  • 85
  • 14
1
vote
1 answer

Released Products Screen opening with no data AX 2012

I have imported Product,Released Products using DIXF. I have two legal entities like US, AUS. After importing i opened Products, Released Products screens from US legal entity. They are opened perfectly fine. When I move to AUS legal Entity and…
1
vote
1 answer

The operand for the method is not an element ax 2012

I am getting below error when I compile. Operand for the method is not an element for code DataSourceName dataSourceName = queryDataSourceStr(DMF***TargetEntity, DMF****PostalAddressView); Error Line is appearing under "DMF****PostalAddressView".…
Raj
  • 85
  • 14
1
vote
2 answers

How to enter AX 2012 pretending to be other user?

I need to enter in AX 2012 from my windows user with admin privileges and the same time in the current session I need enter as another user without admin privileges. For example, User GLOBAL\jbravetti.
Jonathan Bravetti
  • 2,228
  • 2
  • 15
  • 29
1
vote
2 answers

Menu item not available in UI if user does not have sysadmin role

I have created a form and placed it on UI by using menuitem. I imported the code in test environment. End user doesn't have sysadmin role. So he is not able to see the Form button on UI. When we give sysadmin it showing him the form UI button. How…
1
vote
1 answer

How to Update/Insert/Delete CrossCompany

is possible to make insert, update or delete crossCompany in axapta? i am trying to do that, debugging in my query i have this: select forUpdate crossCompany tlRemoteLocationInfo where tlRemoteLocationInfo.RemoteLocationId ==…
Max Pinto
  • 1,463
  • 3
  • 16
  • 29
1
vote
1 answer

How do I add a default filter in a Dynamics AX 2012 R3 List Page

For example: in the SalesTableListPage I would like to apply a filter automatically when the form opens. I would like this filter to appear in the standard filter area, as shown below. And I need this filter to be done from the AOT, so that the…