Posts

Showing posts from July, 2017

One more year with MVP Award, Thank you!!!~

Image
Hi Folks,
Its Party time!!!

But, First thing first. A big thanks to all of you, for your faith, support during previous year.  It’s really a great feeling to get connect with you guys.



It’s just a coincident, today I reach to my 250th and I think it’s a perfect post to say thank and share this party with all of you.



Keep sharing you feedback and queries, Enjoy…
Deepak Agarwal aka Harry

Related Post: 1st  Award 2nd Award 3rd Award
4th Award

Important links for Dynamics 365

Image
Hi Folks,
Here are some important links that you check for your routine work, update, RnD, submit a suggestion and many more. 
1. Microsoft Dynamics 365 Roadmap 2. Suggest a new Idea/Suggestion 3. Help and Training 4. Microsoft Dynamics 365 Documentation
Enjoy…. Harry PS: Photo taken from MS site.

How to use Form event ‘OnInitialized’ in Dynaics365

Image
Hi Folk,
In Dynamics365 there are many standard events on Forms, similarly like standard methods on different node of form. Let’s see how we can use ‘OnInitialized’ event on Form Data source and use form object into a different call.

Scenario: On from ‘ProjAdjustmentSplit’ I want to enable/disable a field on certain condition. As D365 urge to not to customize ant standard object than write EventHandlers to achieve your requirement. In earlier version of AX, we simple write this logic either on Form Active method or from DS init method. Here we have to use EventHandlder for the same.  Here we will use ‘OnInitialized’ method and will write an eventHandler for the same.

Let’s take a look.
Approach: Follow below step to get this done,
Step 1: Right click on “OnInitialized’ method and select ‘Copy event handler method’



Step 2: Create a new class and paste this method. /// <summary>
///
     /// </summary>
     /// <param name="sender"></param>
     /// <param …