Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : 2ynt8v3AXReCLsOTaqKTQh

Finance | Project Operations, Human Resources, AX, GP, SL

Goshoom. NET Dev Blog

Dynamics 365 Community / Blogs / Finance | Project Operations, Human Resources, AX, GP, SL / Goshoom. NET Dev Blog

Featured

Latest blog posts

View all
16 Jan 2025
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 232,311 Most Valuable Professional
22 Nov 2024
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 232,311 Most Valuable Professional
20 Nov 2024
Like (1)
Getting attributes in X++

In X++, you can decorate classes and methods with attributes. Attributes were added in AX 2012 (I believe), where the typical use case was a definition of data contracts. They’re much more common in F&O, because they’re also used for CoC and event...

Martin Dráb 232,311 Most Valuable Professional
20 Nov 2024
Like (1)
Run settings for SysTest

When you execute automated tests of X++ code with SysTest, the test service (SysTestService class) gets called with some parameters, defined in SysTestRunnerSettings: You could, for example, set granularity to execute just unit tests and skip inte...

Martin Dráb 232,311 Most Valuable Professional
04 Nov 2024
Like (0)
Detection of code upgrade conflicts in F&O

When you overlayered an application element (e.g. a method or a form) in Dynamics AX, a copy was saved in a higher layer. You modified the object there, therefore you ended up with two copies of the same element – the original one in a lower layer...

Martin Dráb 232,311 Most Valuable Professional
31 Oct 2024
Like (0)
Avoiding code duplication in F&O

In the previous post, I explained that duplicating application elements is expensive and we should avoid it whenever possible. Let me mention a few techniques that you could use. Obviously, you can create metadata extensions, use Chain of Command ...

Martin Dráb 232,311 Most Valuable Professional
14 Oct 2024
Like (0)
GitHub Copilot in Visual Studio

Last time, I mentioned using of GitHub Copilot for X++ development, but I didn’t realize that not everyone is aware of the option of using GitHub Copilot in Visual Studio. A lot of examples on Internet shows it in Visual Studio Code and don’t ment...

Martin Dráb 232,311 Most Valuable Professional
04 Oct 2024
Like (0)
X++ documentation comments by GitHub Copilot

I’ve finally started looking more closely on GitHub Copilot. What it can do with languages like C# is impressive; I also checked that it can help with things like Powershell scripts or Excel formulas. But because I’m still primarily an X++ guy, I’...

Martin Dráb 232,311 Most Valuable Professional