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.
Questions tagged [dynamics-365-operations]
254 questions
2
votes
1 answer
Get an error "An error occurred during report data sets execution" while trying to print any report
I use:
Application release: Microsoft Dynamics 365 for Finance and Operations (July 2017)
Platform release: Update 8 (7.0.4565.16212).
When I try to print ANY report I get the following error message:
What I've tried:
First of all build +…

1gentlemann
- 164
- 1
- 3
- 14
2
votes
1 answer
Update view range in gantt when form is loaded
I'm trying to use a gantt control in D365 FO as a way to visualize appointments in rooms.
Therefore, the rooms are loaded as summaries and the appointments are linked as activities to the rooms.
The user is able to select an appointment from a…

Linus Wagner
- 151
- 1
- 1
- 8
2
votes
1 answer
Getting CORS error while calling Dynamics 365 Operations JSON-Based custom service using Javascript
I am developing a simple SPA application and trying to access a Dynamics 365 for Operations JSON-Based custom service. I am using ADAL.js library for authentication. The way for authentication I am following from This Dynamics Community thread.
But…

Mirza Danish Baig
- 680
- 5
- 18
2
votes
2 answers
Dynamics 365 - How to Debug the code from it’s beginning
I’m working with Microsoft Dynamics 365 for Finance and Operations, Enterprise Edition.
In Visual Studio, is there any way to Debug the code from it's beginning?
For example: When I Login into Dynamics main page, I want to see Line by Line what’s…

Hudson Lima
- 51
- 1
- 4
2
votes
1 answer
How to find a specific class in Dynamics 365?
I'm new on Microsoft Dynamics 365 programming and I've a question that in fact it's consuming me a lot!
Well, I want to make a little customization in code at Fixed Asset Module.
I'm at FixedAsset -> Fixed Assets Jounal, but I don't know how to find…

Hudson Lima
- 51
- 1
- 4
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
1 answer
Dynamics AX x++ can't close first form
I see a strange case when open form twice using FormRun
static void Job780(Args _args)
{
FormRun formRun;
Args args = new Args();
;
args.name(formstr(Form1));
formRun =…

Shadowchamber
- 83
- 2
- 10
1
vote
1 answer
X++ Update_recordset using MaxOf
Is there anyway to use MaxOf on update_recordset on X++?
ttsbegin;
update_recordset asuRepairServiceProdDeviceInfo
setting RepairCompletionDate = **maxof**(asuRepairOrderTrans.ScanEndDateTime)
join asuRepairOrderTrans
where…

Dhen
- 13
- 3
1
vote
1 answer
validate financial dimension on general journal d365fo
I am making a ssrs report and I need to call method that validate financial dimensions on general journal lines .
which method should I call to validate financial dimension ?
I found this code but didn't work for me, all I need is to pass default…

Menna Ahmed
- 9
- 3
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
1
vote
0 answers
Is there any runnable methods or script for Best practice to find out all commented code in D365?
can someone help me with a script or runnable class to find out all the commented code across the project module.
I tried out the manual way of going to each class and finding out the commented code , but its very time consuming. An automated script…

Dhanush Rajashekar
- 11
- 3
1
vote
1 answer
Calculating Age in X++
I am trying to calculate an age in x++ where the customer is born on 1/6/2010 to the selected day of his visit - 1/6/2023 today but the result doesn't give me 13 years old but gives me 12.
real ageDiffReal;
int ageDiffInt;
date…

R Monkey
- 131
- 1
- 10
1
vote
1 answer
Get Dynamics 365 Finance & Operations data entity via HTTP GET as CSV output
Given a Finance & Operations environment, the environmentdomain.com/data/EntityName URL allows OData data retrieval in JSON format.
Is there a way to give extra query string parameters to download the results as CSV using HTTP GET only?
A workaround…

Bernard Vander Beken
- 4,848
- 5
- 54
- 76