web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Community blogs

Featured

Latest blog posts

View all
Like (0)
SysMock in D365FO

This post is about mock objects for unit testing in Dynamics 365 Finance and Operations, using the existing SysMock library. Mock objects are used to mimic behaviour of real objects to isolate the parts of code you want to test, to simplify test s...

Martin Dráb 238,732 Most Valuable Professional
Like (0)
Dependency injection in automated tests

When writing automated tests with SysTest framework, you often want to isolate the part you’re testing from the rest of the system. Otherwise your tests may fail for reasons unrelated to what you’re testing, you need to configure things that you a...

Martin Dráb 238,732 Most Valuable Professional
Like (0)
Process exceptions inside transactions

D365 F&O doesn’t allow you to catch (most) exceptions inside database transactions. But there is a way how you can work with exceptions there. For example, I have some logic using Message processor and I noticed that the processor ignores CLR (.NE...

Martin Dráb 238,732 Most Valuable Professional
Like (0)
Details of type initializer exception

My F&O development environment showed an error message when I tried to use Inventory > Transaction on a sales order line. This doesn’t say much about the actual cause. Attaching a debugger didn’t help – there was no unhandled exception and Info.ad...

Martin Dráb 238,732 Most Valuable Professional
Like (0)
Dynamics Minds 2025: SysTest and Acceptance Test Library

In less than a month, I’ll be speaking at Dynamics Minds conference about unit testing in D365 F&O. It’s going to happen on 27th May 2025 at 13:15 (note that changes are possible, therefore always check the agenda). It’ll be a mix of a few topics ...

Martin Dráb 238,732 Most Valuable Professional
Like (0)
Custom properties in monitoring and telemetry

Two years ago, I wrote a blog post Monitoring and telemetry in F&O where, among other things, I showed how to add a custom trace message and even include a custom property: Map properties = new Map(Types::String, Types::String); properties.add('Fe...

Martin Dráb 238,732 Most Valuable Professional
Like (0)
Default fields in Open in Excel

When you open a data entity in Data Connector in Excel (usually from an F&O form by Open in Excel), not all fields must be displayed by default. You can go to Designer and add more fields from Available to Selected. But what if you want some field...

Martin Dráb 238,732 Most Valuable Professional
Like (0)
Electronic reporting: Method returning a list of records

I had a scenario in electronic report where I wanted to reuse existing X++ code that generates some temporary table records for reporting purpose. Therefore I wanted electronic reporting to call my X++ method (for a particular context, an invoice ...

Martin Dráb 238,732 Most Valuable Professional