Number sequences in Dynamics 365 Finance and Operations (Dynamics 365) are used to systematically and automatically generate and manage the unique identifiers for different types records throughout the system. There are a large number of types of records that require a number sequence before the record and be successfully created. Some examples are customers, vendors, … Continue reading AX – D365FO – Number Sequences Explained
Author: Marco Saad
AX / D365FO – create Text file and download locally in the web browser with File::SendStringAsFileToUser #d365fo #ax #msdyn365fo
class test { public static void main(Args _args) { str filePath; str fullFilePath; str fileContent = "File Content exmple"; //File path + name filePath = System.IO.Path::GetTempPath(); fullFilePath = filePath + 'f' + guid2str(newGuid()) + '.txt'; //Save file and show in the web browser File::SendStringAsFileToUser(fileContent, fullFilePath); info('File Path : ' + fullFilePath); } }
AX – D365FO – Regenerate Cross reference in AX2012 to see the relationships between objects (Used by)
The Microsoft Dynamics AX cross-reference system allows you to see the relationships between objects. You can see the following: Which other objects use the current objectWhich other objects the current object uses For example, you can get a list of every piece of code that uses a particular method, or you can see which forms … Continue reading AX – D365FO – Regenerate Cross reference in AX2012 to see the relationships between objects (Used by)
AX – D365FO – How to count affected/updated rows in a Update_recordset statement
How to know how many rows have been updated in a Update_recordset statement? It's simple, you can just use rowCount() method of the table after the update statement like shown below update_recordset inventTable setting XXXCommercialGroupId = comunanzaXXX.SubGroupId join comXXX where inventTable.ItemId == comXXX.comunanzaCode && comXXX.SubGroupId != ''; info(strFmt("Copy Items from comXXX Subgroup Id to InventTable … Continue reading AX – D365FO – How to count affected/updated rows in a Update_recordset statement
AX – D365FO – Name and Id of tables in ax 2012
PurchRFQLineMap ( Request for quotation lines 4 )BankGroup ( Bank groups 5 )RFIDProcessStructureTmp ( RFID process structure 6 )BankAccountTable ( Bank accounts 7 )BankAccountTrans ( Bank transactions 8 )BankChequeLayout ( Check layout 9 )BankChequeTable ( Check table 10 )BankDeposit ( Bank deposit 11 )BankTransType ( Bank transaction type 12 )BOM ( BOM lines 18 )BOMCalcTable … Continue reading AX – D365FO – Name and Id of tables in ax 2012
AX – D365FO – How to locate a code based on a label in AX 2012
Open development workspace and click on Tools --> Label --> Label editor Search your label by code or description anc click "Used By". Here you can find all label reference in code
AX – D365FO – Compare an XPO file with an AOT Object
To compare an XPO file with an AOT Object follow these instructions : Apen AOT, choose the object you want to compare and click Import button Choose the XPO file, click on Show Details checkbox, expand the tree, and click Compare button Choose the layout (cus, usr, etc..) you want to compare with XPO and … Continue reading AX – D365FO – Compare an XPO file with an AOT Object
AX – D365FO – Duplicate a report in AX2012
Go to AOT -> SSRS Reports Search the report you want to duplicate and export Choose a location for XPO file Open exported file with notepad Change report name with the new name (in my case I added the suffix _ERA in the name) and generate a new GUID (you can use any GUID generator) … Continue reading AX – D365FO – Duplicate a report in AX2012
AX – D365FO – How to solve error : “The business logic assembly …….., Version=1.0.0.0, Culture=neutral, PublicKeyToken=null does not contain a class for report …….” in a SSRS Project
If this error occur : "The business logic assembly .................., Version=1.0.0.0, Culture=neutral, PublicKeyToken=null does not contain a class for report ............................................." just double click on any data method to solve the problem. Then you can deploy your project
Dynamics 365 Human Resources – Questionnaires
Set up training courses : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-coursesQuestionnaires : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-questionnairesCreate questionnaires : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-design-questionnairesDistribute and schedule questionnaires : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-distribute-questionnairesDistribute questionnaires using scheduling : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-distribute-questionnaires-schedulingView and evaluate the results of questionnaires : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-evaluate-questionnaire-resultsAnalyzing questionnaire results : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-analyze-questionnaire-resultsCreate an open ended question : https://docs.microsoft.com/en-us/dynamics365/human-resources/hr-learning-create-open-ended-question