Dynamics 365 Business Central: How to get the id, type, length and value of a field by its text name (field name)

Yesterday I saw an interesting question on the D365 forum, how to use field name to find field id. More details: finding the id of a field using the field name only by using the recref and fieldref
So, in this post, I would like to talk about how to get the id, type, length and value of a field by its text name (field name).

Source : Dynamics 365 Lab
Read more…

Does Pass by Value Work in Business Central AL?

The difference between pass-by-reference and pass-by-value is that modifications made to arguments passed by reference in the called function affect the calling function. Therefore, modifications to arguments passed in by value in the called function cannot affect the calling function.

Source : Simplanova
Read more…

Passing By Value Or By Reference In Business Central

As in other programming languages, in AL we can pass a variable by value or by reference. In this short post, you will learn what is the difference between them. Also, you will learn that some data types only support passing by reference in Microsoft Dynamics 365 Business Central.

Source : Business Central Geek
Read more…

How to get field values from other extensions/apps in Business Central without adding dependencies property

Today I would like to talk about how to get field values from other extensions/apps in Business Central without adding dependencies property.

As you might know, when we develop for Business Central, we need to download the symbol file first. These contain the source code of the standard functions.

Source : Dynamics 365 Lab
Read more…

Dynamics 365 Business Central: Copy a single field value from a list page (Copy Cell)

Today I would like to share a mini tip I learned from BC Yammer Group this week, how to copy a single field value from a list page in Web Client more comfortably. You can access this Link directly.

As you might know, we can use Ctrl+C (Cmd+C) to copy the selected rows to Clipboard from a list page in Business Central.

Source : Dynamics 365 Lab
Read more…

Dynamics 365 Business Central: breaking change when adding a return value to a procedure

I’ve received a request from a partner asking why adding a return value to a procedure in a Dynamics 365 Business Central extension that previously had no return value is considered a breaking change during AppSource validation.

Source : Stefano Demiliani
Read more…

D365 Business Central : Using Query to Get Distinct Values

When working with table data, there will be times when we need to retrieve a unique record value from the table (also called SELECT DISTINCT). Unfortunately, D365 Business Central does not provide this logic out of the box. We will need to find a way to do this ourselves.

Source : That NAV Guy
Read more…