Questions tagged [dynamics-365-operations]

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.

254 questions
0
votes
1 answer

How can I get the syntax correct when using executeQueryWithParameters to join an x++/sql statement in Microsoft Dynamics?

I'm currently looking at the example for "Executing a direct SQL statement" in Dynamics 365 for Finance and Operations Development Cookbook - Fourth Edition. In the text, the following is used to populatestr sqlStatement: sqlStatement = 'SELECT %1,…
Brian Kessler
  • 2,187
  • 6
  • 28
  • 58
0
votes
0 answers

Microsoft D365 FnO - Set the default value of "Send notifications in email" checkbox in User options > Workflows to true

I have a requirement to change the default value of a checkbox in SysUserSetup form to true. The data source of this field is SysUserInfo > EventWorkflowTasksInEmail. I have tried to do this by writing the following code in post event handler of…
Amit
  • 1
  • 1
0
votes
0 answers

Update grid with lookup in D365FO

I have a form with the datasource SalesTable in D365FO, I have a lookup field showing the SalesId and I want to show the information of the SalesTable in the grid based on what is selected in the lookup. Does anyone have the solution? I have read a…
0
votes
1 answer

Lookup Filtering on D365 x++

I am a beginner at d365 finance and operations. I have service and sub-service lookup fields in a form. This field's data sources have a one-to-many relationship with a foreign key. When I select a record in the service field, I want to see only…
Granger
  • 21
  • 1
  • 10
0
votes
0 answers

Configure postman locally in hyper-V

I'm using Hyper-V to learn about Postman and Dynamics 365. I'm currently trying to consume a service that I created in D365FO through Postman, but I am unable to do so. I think I am missing some configuration but I can't figure out what it is. Does…
0
votes
1 answer

D365FO import AAD users using API

I'm trying to find a way to import Azure AD users to Dynamics 365 Finance & Operations (D365FO). It is possible to get all system users using this endpoint (like using Postman): /data/SystemUsers However, not sure how the new user could be imported…
Oleksii
  • 1,479
  • 1
  • 19
  • 35
0
votes
0 answers

Getting the current record of the lookup table

I need to get the value from a lookup field and need to auto-write this value to another string field. I used Modified field event to auto-populate string fields but when it comes to lookup I cannot get the value. I am dealing with this for 3 days.…
Granger
  • 21
  • 1
  • 10
0
votes
1 answer

How can I solve an incompatible types error when trying to develop a dynamic filter query for D365-specific data types in Azure Logic Apps?

I am currently trying to use Azure Logic Apps to List Items Present in a Table in Dynamics 365 Finance & Operations using a dynamic filterQuery detemined by input at runtime as shown below: D365 F&O connector for List Items present in table However,…
Maria Lee
  • 3
  • 1
  • 4
0
votes
0 answers

D365 F&O Dual write filter not working properly for null values

I am trying to exclude some records to sync from F&O to CE via dual write to achieve this I am using filter in DW entity mapping as: ((Reason != "A") && (Reason != "B")) This works as expected when I am having some value in Reason field, however…
Ishita
  • 109
  • 2
  • 10
0
votes
0 answers

Customize Power BI reports in D365 for Finance and Operations

I've extended CustInvoiceTrans table by one custom field, now I wanted to show that field in "Sales and Profitability Performance" Power BI embedd report in D365 FO. I found that this report is using "SALESCUBE" aggregate measurement and there is…
Vish Walia
  • 17
  • 3
0
votes
1 answer

Assignment of legal entity to roles for users via dmf

I m in need to find the data entity which will help to assign legal entity to a role in bulk through dmf. The below link provides information for manual and organization hierarchy for the same…
piku
  • 471
  • 4
  • 12
  • 44
0
votes
1 answer

C# How to retrieve Dynamics Finance and Operations entity records

I am struggling to retrieve an entity records in Microsoft ERP Dynamics Finance and Operations. I was able to get authentication access but when I use the http request it show me an error. My code: string clientId = "clientId"; string…
0
votes
0 answers

Dynamics 365 (Finance And Operations) : CORS issue while using ODATA service endpoint url from pure javascript application

Can someone help me in order to fix the CORS issue. I am successfully able to retrieve the Access Token and with the same access token I can hit the OData endpoint URL to retrieve the result by using postman but in pure JavaScript application I am…
Tanuj
  • 53
  • 1
  • 8
0
votes
1 answer

Efficient way to update design of the form in D365

I always update the design of the form in the active method of the data source. Updating design means enabling or disabling buttons based on the form data source cursor. However, I face the situation in which the user receive the error of…
Nastaran Hakimi
  • 695
  • 1
  • 16
  • 36
0
votes
0 answers

Copy text to Clipboard in AX365

I added a button that will copy the following Text "This is a test" on your clipboard when the user Click on it. Any idea how to do that in x++ for D365 ?