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. This tag refers to the successor of AX 2012, also known as Dynamics 365 for Finance and Operations. AX 7 comes from the product version number which is '7.X'
Questions tagged [dynamics-ax7]
64 questions
4
votes
3 answers
Chain Of Command (method wrapping) in D365FO results in 'Object is not set to an instance of an object'
I am trying to use the new 'Chain Of Command' feature in D365FO by extending CustTable.
We need to check if a value has changed on the update method, before we log it in a new table.
[ExtensionOf(tableStr(CustTable))]
final class…

AinsleyJ
- 41
- 1
- 2
4
votes
1 answer
String filtering with Ax7 oData gives error
I am trying to use the Ax7 oData endpoints to search for sales quotations by Name. Using equality works just fine, but the more advanced filter functions gives me errors.
This simple EQ query works…

Mikael Nitell
- 1,069
- 6
- 16
3
votes
2 answers
MS Dynamics 365 for Operations source not found while debugging
In MS Dynamics 365 for Operations (AX7), I'm trying to debug a form method.
I can set breakpoints. I can start debugging and it stops at breakpoint as it should. But then, when I click F11, an error is shown:
"Source not found"
There is no such…

Aleksandrs Pavliks
- 31
- 3
3
votes
2 answers
AX 365 create Product with x++ code
In AX 2012 we used to create Product and Product master easily through coding by use of some classes like:
ecoresProductService = EcoResProductService::construct();
ecoResEcoResProduct = new EcoResEcoResProduct();
distintMaster = new…

Yasir
- 71
- 2
- 7
3
votes
2 answers
AX7: Creating a method on a View using the extension method (bug?)
Edit: The question is, why won't a display method on a view work?
I'm trying to use the extension method to create a display method on the DirPartyPostalAddressView and as far as I can tell, this might be an AX7 bug or I'm doing it wrong. I'm on the…

Alex Kwitny
- 11,211
- 2
- 49
- 71
2
votes
1 answer
Changing location of $top clause in OData query changes results when Querying MSAX7
I have an ODATA query that pulls the first record from the Dynamics AX table and ignores the $filter clause when the $top parameter is the first parameter. However, it pulls the correct record for the $filter clause when the $top parameter is at the…

sucrerey
- 21
- 3
2
votes
1 answer
How to query entity from Dynamics AX with X++?
I cannot find any way to query data from Dynamics AX (Finance and Operations). And I searched everywhere with google, they all talked about how to query table but not the entity.
Anyone who knows how to do it?
If I want to read the data from…

Zonas Sun
- 51
- 5
2
votes
2 answers
Ax7 - Custom lookup in form datasource field
I'm trying to create a simple lookup in a field of a datasource in a form.
The tables and related forms are BankAccountTable.
1.- Added new field BullCust (extends EDT CustAccount) and field group to new extension BankAccountTable.MyExtension.
2.-…

Bull
- 748
- 1
- 11
- 24
2
votes
2 answers
How can I use the field I've added to the field group? AX7 Dynamics 365
All of my codes are in extensions.
I've added a field into the table, and also added that field into the assigned field group.
Now it is visible on my Design.
and I want to place a code into the event of it where it is modified.
So I've created a…

m1gs
- 197
- 2
- 17
2
votes
3 answers
Upload multiple files at once
I'm looking to upload multiple (100+) files at once and then manipulate them sequentially (or even concurrently if there are no dependencies) using x++. I understand that there is the File::GetFileFromUser(), but I cannot select multiple files using…

rjv
- 1,058
- 11
- 29
2
votes
2 answers
Query metadata for EntitySet in Dynamics 365 for Operations
When querying https://orgURL/data/Customers. I receive a list with customers.
How can I find out the properties/attributes of a Customer, without querying all metadata -> /data/$metadata

Hritcu Andrei
- 172
- 10
2
votes
2 answers
Dynamcis AX 365 OData v4.0, method get Customers from AX 365 with key not found
I’m trying to reach a single entity according to instructions:
[Organization Root URL]/data/Customers('key')
but all I get is HTTP 404 Not Found.
When I try:
[Organization Root URL]/data/Customers
I get all customers just as expected. I am able to…

raza rabbani
- 449
- 3
- 12
2
votes
2 answers
Move an artifact from 1 model to another in AX7
I am wokring in AX7, I need to move some artifacts from Application Suite User Model to my new created model.
Scenario:
I created a model named "My Model"
created a project named "MyProject" and set its model to "My Model"
I have a table named…

Shahrukh Naeem
- 61
- 1
- 10
2
votes
1 answer
Dynamics AX 7 Grid line defaulting
I am creating a new grid in AX 7. Does anybody know how to prevent the grid from creating a "default line"?
Here is what it looks like when I open the form with an empty grid:
Here is what I would like it to look like:
I've played around with the…

rjv
- 1,058
- 11
- 29
1
vote
1 answer
User unauthorized though the token is correct
I'm trying to integrate D365FO with a third party application, I was able to do the proper setup and register my app, fetch the Token as shown below:
I used the resource as the link for D365FO at the development machine, which is…

Hasan A Yousef
- 22,789
- 24
- 132
- 203