Using insert recordset in temporary table
I have created two instance of single temporary table eg: table1 and table2,First i filled table1 data and then,I am trying to insert table1 data into table2 using insert_recordset through following...
View ArticleDisaster Recovery for Dynamics 365 (Finance & Operations) online
Hi, Can we backup the D365 (Finance and Operations) DB to Azure storage, Just like we do for Dynamics 365 (CRM). What is best way to do disaster recovery for D365 Online (ERP) apart from requesting...
View ArticleNumber sequence without using class
Hi,Please suggest on how to create a number sequence without using any class in ax 2012 r3.Please advice.Regards,AXTechie 2120
View ArticleAdd a valid time state key to an existing table
In my earlier days I was not aware of the Valid Time State Key functionality. So a table which should've implemented this functionality I built with code. There is no unique index and then on...
View ArticleHow to connect projects to Classes, etc in Modelelement? (Dynamics AX 2012 R2)
When Querying ModelElement in the model database , How do you connect classes to a project? For the classes , methods, etc you can use the roothandle field as a where clause Criteria, but when i am...
View ArticleHow to fetch records between two date fields in X++ query on...
Hi All,I'm facing difficulty while fetching records between two utcdatetime fields by using X++ query on refereceFieldLookup.I've querying a View which has the ValidFrom and ValidTo fields.the data...
View ArticleRead and move all .csv file of a folder in Dynamics 365 for Operation
Dear All,I know D365FO is cloud serviceI have a folder in a private server and after fixed time system will scan all files in the folder for import action.After import success it will move the file to...
View ArticleDebug code in Application Suite
Is there anyway I can debug the class in the Application suite without modifying the code? Thank you.
View ArticleBatch multi-threading
I have a batch job which is running perfectly fine without multi threading.I am trying to make this batch job support multi threading.In order to do so the batch job form should ask user to enter no....
View ArticleHow can i send a nested List response in XML using AX 2012 Custom Service
Hi All,I am trying to achieve the below XML response where when we pass the Customer ID and TransDate as input, system should send the Sales ID's and the Invoice ID's which are related to the input...
View ArticleEmail Body attachment
Hi All,I am using D365 Finance and Operations (Update 11) version. I want to add a body to invoice emails being sent from the system. I have read some helpful links and am trying to replicate the...
View ArticleHow to Debug problem from external application?
HiI created two classes(Contract, and serviceControl), and I have a Service and a ServiceGroup. I drop serviceControl into Service, and drop Service into ServiceGroup. Then I wrote code In C# to...
View ArticleError in Serialization of JSON Data in x++
I am serializing a JSON that looks like this:{ "id": 107, "group_id": 6, "default_billing": "6538", "default_shipping": "6539", "created_at": "2016-08-03 11:48:49", "updated_at": "2018-08-01 09:58:10",...
View ArticleIs there any way same with "group by"
HiIn a table, it has it has ItemNo, InventoryType, and UOM. For example, it look like this So if I use while loop to find ItemNo and UOM for this table, I will get {A0001, ea} three times. But After I...
View Articleexecute bat file with 2 parameters from X++
I would like to execute .bat file from X++.(.bat file include execute stored procedures that output file)Can any suggest some know how.I would like to input two parameters from AX screen (from month...
View ArticleSysTest Framework In D365
Hi All, Can you please tell me what changes comes with SysTest Framework in D365 FO? And How can I use it for my Automation Unit testing ?Looking for your suggestions on this.Thanks.
View ArticleHow to Create a XML attribute through X++ code "<AxTableField...
Hi All, How to create A XML file, where in Subtags consist of Attribute as below <Fields><AxTableField xmlns="" i:type="AxTableFieldString">""</Fields>I have used below code and refer...
View ArticleIssue in adding reference for Metadata API in C# code
I am new to D365. I tried using the metadata API and encountered these errors.There are reference issues of Microsoft.Dynamics.Ax that I could not found on nuget. How can I resolve this issue?
View ArticleAX7 Code upgrade - The Model specified on the project cannot be found
Hi guys!I'm trying to upgrade a custom solution from AX 2012 R3 CU10 to AX 7I've already done the code upgrade process on LCS and the checked in the code to a VSTS project.I'm using a local VM as...
View ArticleAutomated import with composite entity
HiDoes anyone know why if it is possible to setup an automated import (using 'Processing directory','Completed directory' etc) when you are using a composite entity ? I have managed to setup a sales...
View Article