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
X++ [X++] Find doInsert, doUpdate and doDelete with Cross-references (xRef) In Dynamics AX 2012, cross-references can speed up the development drastically! Having them running nightly is recommended and almost standard procedure to set this up when installing a new system. But you'll have
docker [Docker] Run GUI app in linux container on windows host Docker has dozents of advantages and so is one of them to be able to use apps with a GUI isolated in a docker container. For example your Browser, TextEditor or something else.
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)
d365 [D365] Create a new workspace - no code needed D365 for Operations has some nice features for users like workspaces. Workspaces allow users to have a distraction free view on only the information they need for their daily business or task they
d365 [D365] The menu item with name could not be opened A very strange behavior came up often the last time when deploying our customizations to a fresh installed D365 box with PU11 and PU12: The menu item with name sysloadstartpage could not be
VisualStudio [VSTS] Removal of Build Agent is asking for PAT - dont have it anymore Visual Studio Team Services (VSTS) makes it easy to run nightly builds and releases by using build agents for such tasks. But what to do if you want to remove ("unconfigure"
d365 [D365] change client language via URL query parameter As you already noticed, D365fO works with URL query parameters. One example usage is to open a menuitem directly by using &mi=MenuitemName: https://usnconeboxax1aos.cloud.onebox.dynamics.com/?cmp=DEMF&mi=
d365 [D365] Set default model for new projects Back in the days with Dynamics AX 2012 we could use config files to set the default model to start the client with or for the use with Visual Studio and SSRS Reports.
d365 [D365] Search for Table Extensions by type When developing D365 in Visual Studio I often search for objects by filtering on the type also to minimize the results and find my wanted object(s) quickly. A good search query could
d365 [D365] error Parameter name: The static extension method has not been set properly While upgrading an AX2012 R3 solution, I trapped into the following error: Abnormal termination with unhandled exception. System.ArgumentNullException: Value cannot be null. Parameter name: The static extension method has not been set
d365 [D365] ChainOfCommands: call to 'next' should be done only once and unconditionally When using ChainOfCommands (CoC) in D365fO to hook into a standard method, it could be possible to receive the following compile error: call to 'next' should be done only once and unconditionally The
Dynamics Little underestimated helpers: classes AifUtil and AifInfoLog With every customization we make to Dynamics AX (2012), we should first try to find a way to solve the requirement with standard AX. But when there is the need to customize it,
X++ [SSRS] Format Number culture / region specific with text When it comes to SSRS Report Design combined with Dynamics AX 2012, it is very common to fall back to .NET functions to archieve certain goals. When having a normal data field in
X++ [TFS] Object is already checked out to . (empty user) This morning I wanted to check out an object within Dynamics AX 2012 which is connected to a local TFS instance. The system came up with the following error message: '\Forms\CustSettlement'
X++ [X++] Alternative: Get rid of BP error 839: Only foreign key constraints are allowed on this table Property EnforceFKRelation When creating new tables in Dynamics AX 2012, there is a hidden property in the background called EnforceFKRelation. This property defines if the tables enforces ForeignKey Relations or not and is
X++ [X++] Tip: Clear all nodes in shared AOT project I had the need to modify a SharedProject and remove some nodes from it, add groups and add new nodes to it. All by code. One requirement was to clear all content from
Dynamics Use of Args.refField() method Use of method refField() The method refField() of the Args class is used to hard wire the field for a reference lookup to an explicitly defined field no matter how the standard relation
Dynamics [X++] SysEntryPointAttribute parameter When writing custom services an often used attribute is the SysEntryPointAttribute to decorate the service entry method to be called from the framework. This attribute takes one argument of type boolean. [SysEntryPointAttribute(false)
AX Windows Event Log: The description for Event ID ??? from source Microsoft Dynamics AX cannot be found When maintaining Dynamics AX installations, it is necessarry to have a look into the windows event log from time to time. I often get greeted by messages similar to the following as: The
C# [C#] IntelliSense not selecting default item anymore When developing Dynamics AX7 with Visual Studio a handy little helper is IntelliSense. But no matter which language is used (AX7, pure C#, etc.) sometimes I ran into the following problem: IntelliSense does
Dynamics [X++] getFirstSelection global function Today I stumpled upon a global function called getFirstSelection that I never saw before in Dynamics AX 2012. What is getFirstSelection? Basically this is a function residing in the Global class to return