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…

Working with Mediaset References in Microsoft Dynamics NAV 2017

Mediaset is a new data type introduced with Dynamics NAV 2017. Read the documentation here: https://msdn.microsoft.com/en-us/dynamics-nav/mediaset-data-type.

When working with the Mediaset data type you might want to copy its content from one table to another table but not the same reference.

Bron : Dynamics NAV Team Blog
Lees meer…

How To Update a Class Or Assembly Reference in C/AL And Retain Event Trigger Code

When you reference a .NET class that exposes events, and you switch on the WithEvents property, C/SIDE creates the event triggers for you. If you later want to update the reference to the .NET class, for whatever reason (like, there is a newer version of the assembly), updating the reference will actually delete the event triggers with all the code in them.

Bron : Vjeko.com
Lees meer…