Table casting in AX 2012 and D365O
D365O is a lot more sensitive about casting or should I say AX2012 was too relaxed about it. This post is to show a specific scenario that works differently in the new version of the product.We had a...
View ArticleAzure AD Authentication for Windows Applications
In this post I will describe how you can get the login dialog to pop up when you are developing a windows desktop application. Below is an example of the dialog appearing.Below is a sample code how to...
View ArticleTechnical dive into the Mobile Platform in Update 10
With the recent Platform update 10 they introduced server side coding and made some enhancements to the mobile platform. This brings a lot of flexibility and capabilities. Below I will focus on just...
View ArticleFirst look at Azure Functions
Azure Functions allows you to write code that can be triggered by an event or timer. You don’t need a machine to run it on. All the computing runs on the Azure cloud ie sevrverless computing.Below is a...
View ArticleChain of Command–next() gotcha
UPDATE: 31/10/2017Microsoft reached out and I have to correct my example code. It seems the compiler does not catch it when it is 2 nested conditions. See below code.Be careful when using Chain of...
View ArticleAnalyse SQL performance issues using SQL Query Store for D365FO
Someone at work showed me this. With the production environment the Query Store is enabled. So when you bring it back to a sandbox environment. All that information comes with it. If you connect to the...
View ArticleShow deleted items in Source Control Explorer
Common query I have seen a few times. Thought to share a simple tip.There are times when items are deleted or moved to a different model. In that case you may need to see the deleted items to roll it...
View ArticleRun a class in background–Asynchronies mode
This is not much of a new thing but a reminder. I feel it should be used more often in D365fFO. In prior versions we showed a progress bar and gave the user a nice feeling that something was...
View ArticleWorkflow hierarchy limit checker for D365FO
A couple of years back I wrote a post on a workflow hierarchy limit checker job. It was a simple job that took a starting worker and traversed up the hierarchy. It printed the...
View ArticleIntegration - Create a lead in CRM via a web service in 10 minutes
CRM (Microsoft Dynamics Online – not AX CRM) has an SDK which you could use to integrate to. It can been overwhelming sometimes. So, I decided to use Flow to do the communication for me (HTTP Request...
View ArticleResolve ledger dimension through X++ [D365FO]
A bit of code to show how to resolve ledger dimensions. There are various codes out there but I thought I would write it in an easy way to understand. It is hard code but I did that for illustration...
View ArticleResolve default dimension through X++ [D365FO]
This one is resolving the Default dimension public static void getDefaultDimension() { DimensionNameValueListContract dimensionNameValueListContract = new DimensionNameValueListContract();...
View ArticleResolve Budget dimension through X++ [D365FO]
This one is to resolve budget dimensions. Be careful here to use the right class. Budget plan and Budget register use a different contract class. public static void getBudgetLedgerDimension() { //use...
View ArticleApprove Workflow via email using template placeholders #Dyn365FO
Dynamics 365 for Finance and Operations has placeholders which can be inserted into the instructions. Normally you would want this to show up in the email that is sent. One of the most useful ones is...
View ArticleAdd Spending/Approval limit to Purchase Order Workflow #MSDyn365FO
I feel this is very limiting when you try to use purchase order workflow via hierarchy assignment. The set up is there but you really can’t use it to the end. When you try to set up a stop condition,...
View ArticleAdd a new starting worker for workflow hierarchy approval #MSDyn365FO
This is very simple but not too obvious. There are times when you want to start the hierarchy approval with a specific worker and then have it traverse up the hierarchy.See screenshot below screenshot...
View ArticleBuild a Question and Answer Chatbot #Dyn365FO
I am going to do a series of posts on Chatbots. I have been working on (and off) it for about a year now. I will start slowly and build up on the concepts.The easiest to do is probably Microsofts QnA...
View ArticleBuild and deploy your chatbot #Dyn365FO
This post is a continuation from the last blog post. We will explore what it takes to build and deploy your bot.In the Azure Portal, create a new “Web App Bot” by searching for “bot”. Select Web App...
View ArticleTop 5 tips for developing a Chatbot
This is different from my usual blog posts but I have been sitting on this for some time. I have been working with Chatbots for about 1 year now. Been on and off various engagements. So, I wrote...
View ArticleImport document handling (attachment) files #MSDyn365FO
Out of the box you have limited data entities for migrating attachments. If you search what is already in the AOT, you will see a few various examples. I suggest you look at the...
View Article