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
5
votes
1 answer
FormRun.wait(): method is deprecated, what to use instead?
I am currently working on fixing some BestPractice-Warnings on a bigger project. There i have a few instances where forms are called and are awaited before doing more stuff, this is mostly some dialogs. To await form the following code is used very…

D.J.
- 3,644
- 2
- 15
- 22
4
votes
1 answer
Serialize dynamics ax 365 data contract extension
I am trying to serialize some JSON input to a data contract in Microsoft Dynamics 365 Finance. A simple data contract class works fine, but I cannot get data contract extensions to work. Does any one have experience with this or perhaps a working…

Sander
- 3,942
- 2
- 17
- 22
4
votes
0 answers
401 - Connecting to D365 Finance and Operations using OData and .Net
I'm fairly new to D365 Finance & Operations and came across Microsoft's Service Samples on GitHub. Thought it was a good start to try and connect a simple .NET C# console application to D365. I know that this is a Dynamics AX Integration so if…

bonnu18
- 75
- 1
- 11
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
3
votes
1 answer
Unable to close SysBoxForm in unit test X++
When I close a SysQueryForm (by clicking on Ok button), a system generated dialog box appears on the form as shown below:-
I am writing a unit test to close this dialogue box but when I try to close the sysbox form by using the X++ code…

zester
- 165
- 3
- 12
3
votes
1 answer
D365FO x++ syscomputedcolumn table name
How can you use the syscomputedcolumn class to retrieve a table or field name for an entity? this is fairly easy using virtual field entity postload method something like
public class SysDatabaseLogHeaderEntity extends common
{
public void…

jhowe
- 10,198
- 19
- 48
- 66
3
votes
1 answer
Import failure using the Vendor invoice V2 composite data entity (VendInvoiceV2Entity) in Dynamics 365 (D365) for Finance & Operations
I am trying to import vendor invoice using the composite data entity "Vendor invoice V2" data entity (VendInvoiceV2Entity), but I am getting the following error:
Package execution failed please check event log in DMF service box
'0' 'Vendor invoice…

SHAKIR SHABBIR
- 1,295
- 1
- 14
- 25
3
votes
2 answers
Possibility to modify or extend code in D365FO to suppress thrown error
Original class function creates an SQL query and executes it.
Since there is an syntax error in the query it throws an error. What's the correct way to achieve fixation? Class extension does not work, because CoC executes the complete original…

Nico
- 1,175
- 15
- 33
3
votes
0 answers
D365FO RSAT Action ExecuteHyperlink is not supported
I am using D365FO Task Recorder to document a test case where the user clicks on a hyperlink in a dropdown control to see details of a certain type of item. The downloaded XML runs in the Playback Recorder without issues but RSAT cannot Generate…

Ludovico Ristori
- 53
- 6
3
votes
2 answers
X++ "invalid token" message when calling c# library (How to call the method correctly)
I'm trying to create an excel file using x++ code. However, I'm getting the compile error "invalid token" even though intellisense all works correctly when typing out the code. What is the correct way to call the Add() method in x++ for the…

rjv
- 1,058
- 11
- 29
3
votes
1 answer
Find unused labels
Is there any way I can find labels which are not used in D365 FO (labels which dont have references)?

andjelalj
- 31
- 1
3
votes
1 answer
x++ get resourcename from recid
I've heavily customised the Project Transaction Report (projlisttransproj, and I'm displaying Resource ID. I would like to display the name of this resource instead (see insert method). I'm fairly new to x++ development so step by step would be…

jhowe
- 10,198
- 19
- 48
- 66
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
2
votes
1 answer
Table Cardinality in Microsoft Dynamics 365 F&O
When creating a table in Microsoft Dynamics 365 F&O there are two fields that confuses me and I can't find the right documentation to fullfill them. They are "Cardinality" and "Related table cardinality".
I've tried to search throught this link but…

Emanuel Hiroshi
- 318
- 1
- 7
2
votes
1 answer
Posting Inventory Movement Journal to D365 Finance and Operations via OData API and InventoryMovementJournalHeaders Entity
I am trying to create an Inventory Movement Journal in D365 using the OData API and the InventoryMovementJournalHeaders / InventInventoryMovementJournalHeaderEntity.
I have managed to do similar for the Counting Journal using…

James
- 23
- 5