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…

D365 Business Central : Hide Enum Values

Enum is great way to centralized your list of options in Business Central. You can define an enum, then use the enum on every objects (such as table, page, report, etc) and they will all have the same list of options.

However, what if you want to hide some of the options on specific pages or tables because it is not valid option for them ? It’s a good design to only provide user with only the options that they are allowed to choose.

Source : That NAV Guy
Read more…

Forbidden Knowledge: How To Find Field Values from External Apps in Business Central

I was working on a report in Microsoft Dynamics 365 Business Central recently, and the client wanted the report to show a value from an extension that was not a dependency for my customizations app. Because I am lazy efficient, I did not want to go to the trouble of adding an entire separate app as a dependency just to get a single field onto one report. Adding dependencies is a lot of work and requires future maintenance, and it just wasn’t worth it.

Source : ArcherPoint
Read more…