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
3 answers
Found more columns than expected column count in Azure data factory while reading CSV stored in ADLS
I am exporting F&O D365 data to ADLS in CSV format. Now, I am trying to read the CSV stored in ADLS and copy into Azure Synapse dedicated SQL pool table using Azure data factory. However, I can create the pipeline and it's working for few tables…

Ajay
- 247
- 1
- 5
- 15
2
votes
1 answer
Addressing UTCDateTime field in data entity URL for patch method in postman ~ D365FO
Greetings for the day!
I'm trying to update (i.e Patch method) PartyLocationPostalAddressesV2 entity via postman for integration purpose. It has one key which contains three fields in it [PartyNumber, LocationID, ValidFrom]. I need to address the…

Keerthanaa Ilangovan
- 21
- 2
2
votes
2 answers
How to find previous weeks date?
The method should retrieve the date in the previous week that corresponds most closely to the specified date.
fromdate = prevMth(systemDateGet());
need to change the above code so that i could get the date of the previous week instead of previous…

mepemba
- 39
- 1
- 4
2
votes
1 answer
For Micosoft Dynamics 365, if a working solution/project git repo exists, how can I import the project into my developer environment?
I'm currently trying to import @FH-Inway's code into my Microsoft Dynamics 365 development environment, both to see if his solution works "as-is", and to try figuring out how, in the future, I might important solutions from colleagues or third…

Brian Kessler
- 2,187
- 6
- 28
- 58
2
votes
2 answers
In D365/X++, why is '(' invalid when I use "this" to indicate the variable lives on the instance?
I have the following class:
public class MyDialogSelect extends RunBase
{
private DialogField nameField;
// Snipped for brevity
public Object dialog()
{
Dialog dialog = super();
nameField =…

Brian Kessler
- 2,187
- 6
- 28
- 58
2
votes
1 answer
How to get next page of records over 10,000 in Dynamics 365 REST API
I am able to query Dynamics 365 API
https://.dynamics.com/data/Ledgers?$filter=AccountingDate+ge+{0}+and+AccountingDate+lt+{1}
Where {0} and {1} are dates (i.e. 2019-03-15)
The problem is that Dynamic 365 API has a limit of 10,000…

webworm
- 10,587
- 33
- 120
- 217
2
votes
1 answer
How to debug composite entity with "Incorrect syntax near the keyword 'FROM'" exception?
I created a new composite entity based on two new entities. Those in turn are based on new views, which are based on new queries. The queries are based on a mix of standard tables and views and custom tables.
Similar composite entities were created…

FH-Inway
- 4,432
- 1
- 20
- 37
2
votes
1 answer
How to use active() method x++
Ok I did it. It works fine. Thanks for help. Here is my code. Now I only need to call my command button in a differend form to disable it and create a info there. Anyone could look about it ? In my code I got reference…

Tweene
- 257
- 4
- 16
2
votes
2 answers
How to search Labels in other language, in Label Search - Dynamics365?
In Dynamics 365, using Label Search, I was able to see only en-US@SYS label
For example, If I want to search in other language: nothing appears
There is any wy to chech/view other Labels language?
Thanks

ulisses
- 1,549
- 3
- 37
- 85
2
votes
1 answer
Calling customer service results in 401 Unauthorized
We are trying to connect to a custom Dynamics 365 Finance service operation but are struggling to authorize.
We've set up an app registration
Redirect_uri set to the dynamics url (root)
Enabled implicit grant (both for access tokens and ID…

Reinard
- 3,624
- 10
- 43
- 61
2
votes
1 answer
D365FO Tile count on workspace doesn't work
Situation is next one:
I created several tiles. Every tile need to show count of records.
Tile "Expired Active Contracts" always shows zero.
There is created simple query with data source table Contract. Ranges are added (ContractStatus; Value:…

DarthCSharper
- 133
- 1
- 13
2
votes
1 answer
While select with if statement syntax - what is the purpose of the if statement?
I have come across a strange syntax that I have never seen in x++ before, but it compiles and works (as far as I can tell). I was curious if anybody has seen or used this before and could explain: what is the purpose of the if statement within the…

rjv
- 1,058
- 11
- 29
2
votes
0 answers
Generating OData client for Dynamics 365 Finance and Operations
We are currently trying to generate a C# OData client from Visual Studio, in order to read data from a Dynamics 365 Finance and Operations tenant.
But the $metadata file is so large that the C# compiler fails with this error!
CS8103: Combined…

Mathieu Renda
- 14,069
- 2
- 35
- 33
2
votes
1 answer
Do you have to do a full package/model build when you rename custom data entity or change some metadata properties?
I have to rename some custom made data entities.
However every time after renaming an entity and changing some of the metadata properties such as data management staging table, public collection name and public entity name, it gives below error on…

prodev42
- 6,389
- 8
- 32
- 35
2
votes
1 answer
Unable to connect to Azure storage
I have to save report to PDF.
I am using this line of code:
File::SendFileToUser(stream, printSettings.parmFileName(_fileName + #extension));
And getting this error on user screen:
Error text:
Sorry, something went wrong and the file wasn't…

Effy Sille
- 179
- 1
- 12