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
0
votes
2 answers

How to change command of formcommandbuttonControl dynamically in d365?

I have a form with a formCommandButtonControl in d365. I want to change the command associated to the button dynamically according to the condition in the code. I can't find any base enum to choose the value. switch (x) { case 1: …
Nastaran Hakimi
  • 695
  • 1
  • 16
  • 36
0
votes
2 answers

RecordSortedList and temporary table

I have a performance issue with multiple temporary tables that I'm trying to solve with RecordSortedList, but I'm getting strange results. I have a temporary table that has a couple hundred thousand records being inserted into it, and then used…
rjv
  • 1,058
  • 11
  • 29
0
votes
1 answer

How to name parameter form for SysOperation batch job task in d365?

I have created a batch job using the SysOperation framework, I want to set title of the form which shows the parameters of the job. How can I do that? The title is already shown is the name of the service class and the entry point method. This is…
0
votes
1 answer

Saving form with outer join tables ask for filling mandatory fields of outer table

I have added a table in the purchase order form as a data source. because its data is shown in a tab of the purchase order form. This table is filled in a form that is open from the purchase order form. At first, the link type of the joined source…
Nastaran Hakimi
  • 695
  • 1
  • 16
  • 36
0
votes
1 answer

Using abs function in join statement in X++ does not work

I want to get related BOMVersion of Prodtable records. There is a method in prod table named bomversion : public BOMVersion bomVersion() { BOMVersion bomVersion; // need to remove active from the query select firstonly…
Nastaran Hakimi
  • 695
  • 1
  • 16
  • 36
0
votes
1 answer

Microsoft.Odata.Odataexception: Found an unbalanced bracket expression

I have a .NET 4.6.1 web application that queries Dynamics 365 (F&O) custom entities to retrieve some data. When the result set returned by the query has a single quote in it, the code throws Microsoft.OData.ODataexception: Found an unbalanced…
Dipen
  • 1
  • 3
0
votes
0 answers

After creating a custom projinvoice can't find created design

I need some help here. I created a custom report invoice design for PSAProjInvoice. I did duplicate PSAProjInvoice and worked on a already made design. Created a Controller and PrintMgmtDocTypeHandler class. Created outputitem extension and…
Tweene
  • 257
  • 4
  • 16
0
votes
1 answer

What is the usage of the copy caller query property in display menu item in D365?

There is a form which is linked to the display menu item. I was checking the property of the menu item and see two properties have yes value, (1) neededRecord and (2) CopyCallerQuery. I discovered that when copyCallerQuery property is true, jumping…
Nastaran Hakimi
  • 695
  • 1
  • 16
  • 36
0
votes
0 answers

Disabling security policy for some forms in D365

I want to disable the security policy for some forms. It is better to disable security policy when user clicks on the menu item. Otherwise we should consider all lookup and fields which I think it is not a good approach. i.e. We should use…
Nastaran Hakimi
  • 695
  • 1
  • 16
  • 36
0
votes
1 answer

Filter parent data source with a field which is in another table in D365

Some times we need to filter a form grid based on the status of the transaction reference Id. Assume that we want to show purchase orders with confirm document state in arrival overview form. The document state field is located in the purch table.…
Nastaran Hakimi
  • 695
  • 1
  • 16
  • 36
0
votes
1 answer

Got edit error onmodified field Purchtable createorder x++

Every time Im using this code I get a error "you cannot edit the record in the table Purchtable". I cant proceed the order with it. My task is to get the default address for each site. [ExtensionOf(formdatasourcestr(PurchCreateOrder,…
Tweene
  • 257
  • 4
  • 16
0
votes
0 answers

Define region in x++

I've developed some new features in x++ with visual studio 2015. I have noticed that I cannot collapse If or else If statement. I can collapse and expand the method's body. I need something similar to the region in C# which enables you to separate…
Nastaran Hakimi
  • 695
  • 1
  • 16
  • 36
0
votes
1 answer

Is it possible to create 1 event handler for 2 formDataSourceStr? X++

Change of question. How to override correctly modified field in purchcreateorder? Right now it compiles but still the values didnt show in my form. [ExtensionOf(formdatasourcestr(PurchCreateOrder, PurchTable))] final class…
Tweene
  • 257
  • 4
  • 16
0
votes
1 answer

Code ignores validation, executed original code instead

I have copied an event (klicked) and are trying to do a validation of delivery mode, but the original code gets executed fore the validation. (Even though I have breakpoints activated!) Does any one have any idea why? class…