d365 [D365] Module reference in model cannot be located Sometimes it happens on a D365 DevBox that after a get latest or some copy operation in the PackagesLocalDirectory folder the following error occurs after using "Refresh models" in Visual Studio:Module Reference
d365 [D365] Check Version without client (files) Checking the Platform Update Version from the client is easy:Click the questionmark icon in the top right corner and select "About" to see the version info.But what to do if the
d365 [D365] How to update ISV solutions with version control Often one or more ISV solution can be found in larger projects.Either if they are bought to solve a specific problem in shorter time or to introduce industry specific functionality, they receive
AX [D365] The parent of additional control was not found on the base form In a project with more than 3 ISV solutions installed we encountered the following compile error from time to time while updating to a new version of ISV Solutions:[AxFormExtension/EcoResProductDetailsExtended.ourOwnExtension/Controls/
d365 [D365] Import export projects fail without clear error DMFExecutePackage unhandled exception We recently upgraded to PU39 and restored a database from a UAT environment to a Test environment (DevTest).After that import and export projects failed without a clear error message.The eventlog stated
d365 [D365] How to get SSRS Report design from form letter print management There is a way to get the default report layout by code using the following line:PrintMgmtDocType::construct(PrintMgmtDocumentType::SalesOrderInvoice).getDefaultReportFormat();Finding the report design from the print management settings for a report
d365 [D365] Fix - The devInstall option is not applicable to the current deployable package There is a good documentation on how to install a deployable package on the various types of environments in the Microsoft Docs which I don't want to repeat here.Recently there was a
d365 [D365] How to add custom report designs to print management lookup Creating a new SSRS Report design for a customer is not a big deal.Overwriting the default report design for a specific document type in the print management is also simple, it just
d365 [D365] DevBox performance enhancements After searching to enhance the performance of D365 DevBoxes I tried a lot of stuff. During the analysis one thing stood out clearly:Windows Defender plays a huge role regarding the performance of
d365 [D365] Check .NET version with PowerShell prior to PU37/10.0.13 release As Microsoft states in the requirements for the PU37 / 10.0.13 release coming in October 2020, the Visual Studio tools require Microsoft .NET 4.7.2 runtime.You can read the full
d365 [D365] Get list of Designs of SRS Report by code Recently the requirement to list all designs of a SRSReport came up and the Metadata API is a good fit for the task to accomplish this with as less lines of code as
d365 [D365] SysClassRunner as JavaScript bookmark with parameters With D365fO we have couple of ways to run classes in our environments.The first one is to make a menu item, attach the class to it and put that on a form
d365 [D365] How to add a custom report type to form letter print management setup The docs for D365 F&O describe the process of adding a custom report design to the form letter print management setup very well.But do you know how to introduce a
d365 [D365] Add display method via Extension Adding a display method to a standard table in D365 can be confusing because most parts of the documentation state it should be implemented as static method with the table as only parameter
d365 [D365] Form Adaptors in separate Model When task recordings are used to generate automatic tests, form adaptors are needed in order to make the controls available to the test code.One way to generate or update them is to
d365 [D365] Find TableId from Name TableId's are not really important anymore with D365. But sometimes it can be handy to find it out without creating a runnable class and call tableName2Id().One use case can be if a
d365 [D365] Outer join in view with NULL enum column Sometimes an outer join is necessary in a query to enrich the resulting records with additional data.A recent requirement to filter records of a Data Entity based on an enum field looked
d365 [D365] Create Azure feed from build pipeline Using the pipelines in Azure DevOps to build D365fO packages is a great way to automate builds and share the resulting artifacts.A great way to provide the generated (deployable) packages to other
d365 [D365] DB Sync changed data type on field When changing the data type of a table field (let's say from integer to string) in D365fO, the DB sync will work on the maschine of the developer that made the changes.When
d365 [D365] Azure Dev Ops build with git as source control In a previous article I shared the transition from TFVC to GIT as source control provider with Dynamics 365 for Operations (D356fO).Microsoft does not support Azure Dev Ops (VSTS) automated builds for
d365 [D365] Solve SysExtension cache issues / flush cache Implementing a new class with SysExtensionFramework and noticing the code it never reached is sad. Most of the time it is a caching issue because D365fO is (like previous versions) a master of
d365 [D365] D365FO Ninja Dev Tools Today I was on the hunt for information on the Tags property of some objects and came across an interesting GitHub repo: D365FO Ninja Dev Tools Hichem Chekebkeb has built some very interesting
d365 [D365] Git Cherry-Picking For those of you, who are not familiar with cherry-picking with git, I'll explain it in a few words. What is cherry-picking? There is a little bit of documentation and a lot of
d365 [D365] Migrate from TFVC to GIT Today I finally had time to move one of our projects in VSTS from TFVC to GIT source control! Git has a lot of benefits like working offline (commit, revert, reset etc.), branching
d365 [D365] Get DataSource object from FormDataSourceEventHandler Just a short snippet to show you how to get the DataSource object from a FormDataSourceEventHandler in D365fO because I search it in my Evernote most of the time: FormDataSourceEventHandler(formDataSourceStr(LedgerJournalTable, LedgerJournalTable)