Questions tagged [axapta]

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 and last version AX 7) 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.

Vote to join tags!

The early versions (from 1.0 to 3.0) were called Axapta, while the later versions (from 3.0 SP6 to AX 2012 and last version AX 7) 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

2556 questions
0
votes
1 answer

Which class generate right click menu?

I would like to check about right menu I need to give info about View details menu. Which class or form manage the menu? -> I need to find label (sys or similar) behind View details button , and I would like to check about how generate this tight…
ulisses
  • 1,549
  • 3
  • 37
  • 85
0
votes
1 answer

Download Microsoft Dynamics AX 2012 service wsdl metadata after validating credentials like AX server domain, user name and password in my wcf service

I am completely new to this Microsoft Dynamics AX 2012 tool and WCF service. I have a self hosted WCF service, where it takes AX 2012 service wsdl URL, AX server domain name, user name and password as inputs and will try to download metadata of this…
0
votes
1 answer

Filter parent data source with a field which is in another table in D365

Some times we need to filter a form grid based on the status of the transaction reference Id. Assume that we want to show purchase orders with confirm document state in arrival overview form. The document state field is located in the purch table.…
Nastaran Hakimi
  • 695
  • 1
  • 16
  • 36
0
votes
2 answers

What are relations on Extended Data Types used for?

I can see that Extended Data Types can have Array Element which seems to make it a composite type. I'll be looking into that later. What are the relations used for? MSDN was woefully crap at explainined what it would actually be used for. Why would…
William Mioch
  • 917
  • 9
  • 21
0
votes
1 answer

Got edit error onmodified field Purchtable createorder x++

Every time Im using this code I get a error "you cannot edit the record in the table Purchtable". I cant proceed the order with it. My task is to get the default address for each site. [ExtensionOf(formdatasourcestr(PurchCreateOrder,…
Tweene
  • 257
  • 4
  • 16
0
votes
1 answer

Job to update all User to default country/region to USA Dynamics AX

I need to write a job that can be run to update all Users to default country/region to USA. Here is the path System administration > Common > Users> All users.
Naresh
  • 63
  • 1
  • 8
0
votes
2 answers

How to get Address using inventsiteid x++

Like in thread tittle. How or by what can I get LocationAddress info having inventsiteid ?? There are so many tables and views im confused. I need to pick site address for current siteid.
Tweene
  • 257
  • 4
  • 16
0
votes
0 answers

Define region in x++

I've developed some new features in x++ with visual studio 2015. I have noticed that I cannot collapse If or else If statement. I can collapse and expand the method's body. I need something similar to the region in C# which enables you to separate…
Nastaran Hakimi
  • 695
  • 1
  • 16
  • 36
0
votes
1 answer

Is it possible to create 1 event handler for 2 formDataSourceStr? X++

Change of question. How to override correctly modified field in purchcreateorder? Right now it compiles but still the values didnt show in my form. [ExtensionOf(formdatasourcestr(PurchCreateOrder, PurchTable))] final class…
Tweene
  • 257
  • 4
  • 16
0
votes
1 answer

How to Join a data source using a `Like` `LEFT`

I first created a SQL query and now I'm converting it into an AOT query in AX 2012 R3. I have everything else working except for one thing. I have a join in my SQL that is: JOIN dbo.INVENTJOURNALTABLE AS INV3 ON INV.INVENTBATCHID LIKE…
Mike
  • 1,853
  • 3
  • 45
  • 75
0
votes
1 answer

Set default data in field x++ PurchCreateOrder

I want to set a default value based on curUserid() in PurchCreateOrder. How can I put data in my field on form extension ? Is there any better option of doing this ? Fields are bound to datasource and I have different fields with…
Tweene
  • 257
  • 4
  • 16
0
votes
1 answer

number sequence event rule issue on Axapta V4

We reached max systemId number sequence. So I increase the max value, then, I set an event rule on system Id numberSequence to check how it increases. I deleted it and I still have a lot of generated records in eventCUD table. AX seem to continue…
Thomas Post
  • 535
  • 2
  • 11
  • 27
0
votes
0 answers

Object reference not set to an instance of an object, Order Not syncing to ERP. Anyone to know about this issue?

I am currently working on Magento store(2.2.5 enterprize), this store is integrated with Microsoft Dynamics AX ERP. I have faced an issue regarding syncing of order's data with Dynamics ERP. When I updated customer_id in sales_order table then an…
Muzamal
  • 1
  • 1
0
votes
1 answer

Code ignores validation, executed original code instead

I have copied an event (klicked) and are trying to do a validation of delivery mode, but the original code gets executed fore the validation. (Even though I have breakpoints activated!) Does any one have any idea why? class…
0
votes
0 answers

AX 2012 View computed column returning Null

I have a View in AX with a computed column: private static server str qty() { #define.THEN(" THEN ") #define.SINGLE_QUOTE("'") return 'CASE T2.ReturnStatus ' + ' WHEN ' +…
joel
  • 156
  • 6
1 2 3
99
100