Tuesday, August 10, 2021

Track Objects using Permission Set

Hi All, 

I hope you are doing well. Today I have a very interesting blog for you all. 

We often want to know which objects a particular process is using and do not want to go into the detailed code or debugging. For that, we can use Permission sets. Let's see how we can do that:

Considering the most famous, our own Sales Post process. I want to know what all objects are used for this process. 

The steps are as follows:

Monday, May 31, 2021

Dictionary Datatype in Microsoft Dynamics Business Central

Hi All, 

I hope you'll are doing well. 

Business Central has been adapting a lot from Object Oriented Language and moving closer to most of the functions and features. Dictionary is one of those and is a very useful data type. 

Lets go into details and understand it. I’ll try to put it as simply as possible :)

What is a Dictionary?

It is a collection of (key,value) pair. 

Tuesday, March 2, 2021

Return a List variable by Pass By Reference in Business Central

 Hi All, 

I hope you are doing well. It's feels like forever since I wrote a blog! Although, here I am with an another one. :)

We have always been talking about a different way of passing a value - Pass by reference but how do we use it in AL and for what kind of variables, well let's find out!

Business Central is extending in terms of types of datatypes and objects and sky is the limit. 

Let's talk about a Datatype 'List' which gives you more flexibly and functions than an array. Now, what if you want to return the List? 

Monday, October 26, 2020

Mandatory Affixes as per AppSourceCop Rule AS0011 in Microsoft Dynamics Business Central

 Hi All, 

I hope you'll are doing well. 

Business Central 17 has come up with a lot of improvements and functionalities, and one of them is Mandatory Affixes which is very important for developers w.r.t Code Standardization and managing their objects.

AppSourceCop Rule AS0011: An affix is required

Now, what does that mean! Let's look into it in detail. 

Monday, October 12, 2020

Enum.FromInteger Method in Microsoft Dynamics 365 Business Central

Hi All, 

Long time no see... I hope you'll are doing well. 

We have already discussed Enums in one of the blogs. If you haven't checked it already,  refer: https://jyotsnanav.blogspot.com/2020/06/enum-and-how-to-use-and-extend-them-in.html 

Today, we'll talk about how Enums can be used and returns an enum with the integer value. The method used is Enum.FromInteger

This method takes the Integer (Enum Ordinal) and returns the value of the Enum.

Syntax: